here is my problem, I made an EJB with maven and 2 test clients, a test client without maven, only added jnp-client and the EJB to it’s class path, work like a charm a test client using MAVEN, added the EJB through the POM and jnp-client, does not work this is my EJB : it’s POM : this is my
Tag: maven
A fatal error has been detected by the Java Runtime Environment. EXCEPTION_ACCESS_VIOLATION
I have java 1.6, maven 2, activeMQ 5.5 and functional tests with testng. When I launch it in Idea then OK, but when I try to launch them with maven from console then process suspends after trying to send message via activeMQ and after some time crashes with the following error in log: I have no idea what’s going on.
What sort of configuration issues or problems might make Maven Assembly plugin go slowly?
Our multi-module Maven project used to take 4-6 minutes to build. Over the past few months, it has increased to 20+ minutes per build. One symptom is that sometimes the build appears to pause until I hit <enter>. However, the Maven build still runs fine (6 minutes, no pauses) on our build server. The build command is mvn clean package
How to download SNAPSHOT version from maven SNAPSHOT repository?
So I have a project and I do regular releases to maven without a problem. I now want to make available a SNAPSHOT version of this project. So I do ‘mvn clean deploy’. Everything works as you can see below: [INFO] Retrieving previous build number from sonatype-nexus-snapshots Uploading: https://oss.sonatype.org/content/repositories/snapshots/me/soliveirajr/menta-regex/0.9.6-SNAPSHOT/menta-regex-0.9.6-20111010.153035-2.jar 5K uploaded (menta-regex-0.9.6-20111010.153035-2.jar) I go to my sonatype manager and I
How do I figure out and change which version of Java Maven is using to execute?
When running our Maven build, a member of my team gets a NoSuchMethodError in one of the dependant plug-ins when executing. However, when we run java -version from her command line, it indicates Java 1.6.0_26. The error obviously seems to be screaming that Maven is using Java 5. How do I figure out and change what version of Java is
IntelliJ inspection gives “Cannot resolve symbol” but still compiles code
Platform: IntelliJ Community Edition 10.0.3 SDK: jdk1.6.0_21 OS: Windows 7 So I have a strange situation with IntelliJ that has me completely stumped. I setup a Maven project and add log4j as a dependency in the pom.xml file. The IDEA inspections run fine and my unit tests all compile and run. I then added hunnysoft’s jmime library to my local
Maven: best way of linking custom external JAR to my project?
It’s my first couple of days learning Maven and I’m still struggling with the basics. I have an external .jar file (not available in the public repos) that I need to reference in my project and I’m trying to figure out what my best option is. It’s a small scale project without a central repository for libraries, so it has
How does Archiva compare to Nexus?
There are a few similar questions already, but most are either focused on Nexus vs. Artifactory, or are a few years old. I wanted to get a sense of where the two project stand these days. My impression is that Nexus is the best regarded repository manager, but I do tend to (slightly) prefer purely Free projects (hey, a little
How can I scan a maven repository?
I’m developing a code-sharing plugin for eclipse (for a bachelor thesis project). Currently I’m trying to scan a maven repository and generate a package list. I can download and parse a pom.xml using the maven.model classes, but I can’t figure out which maven classes are responsible for parsing of archetype-catalog.xml Is there a non maven parser? Can I just scan
What are unused/undeclared dependencies in Maven? What to do with them?
Maven dependency:analyze complains about the dependencies in my project. How does it determine which are unused and which are undeclared? What should I do about them? Example: Note: A lot of these dependencies are used in my runtime container and I declared them as provided to avoid having the same library on the classpath twice with different versions. Answer Not