tagged [maven-2]
"Faceted Project Problem (Java Version Mismatch)" error message
"Faceted Project Problem (Java Version Mismatch)" error message Eclipse's "problems" tab is displaying this error: > Description: Java compiler level does not match the version of the installed Java p...
Is there a way to hide Maven 2 "target/" folder in Eclipse 3?
Is there a way to hide Maven 2 "target/" folder in Eclipse 3? I'm using maven 2.0.9 with Eclipse 3.3.2. I'm used to launching a fresh build once per day by a `mvn clean install`. Then, if I refresh my...
How to manually install an artifact in Maven 2?
How to manually install an artifact in Maven 2? I've encountered some errors when I tried to install an artifact manually with Maven 2. I wanted to install a jar from a local directory with the comman...
- Modified
- 30 Jul at 22:32
Maven Deploy To Multiple Tomcat Servers
Maven Deploy To Multiple Tomcat Servers What is the most minimal example of deploying a war to multiple tomcat servers using maven that can be written? I've tried the following URLs and asked the mail...
- Modified
- 18 Apr at 01:18
Convert Existing Eclipse Project to Maven Project
Convert Existing Eclipse Project to Maven Project For a project at work, we're considering using the Maven plugin for Eclipse to automate our builds. Right now the procedure is far more complicated th...
Maven: add a dependency to a jar by relative path
Maven: add a dependency to a jar by relative path I have a proprietary jar that I want to add to my pom as a dependency. But I don't want to add it to a repository. The reason is that I want my usual ...
- Modified
- 9 Feb at 14:36
Setting Java heap space under Maven 2 on Windows
Setting Java heap space under Maven 2 on Windows I get this message during build of my project > java.lang.OutOfMemoryError: Java heap space How do I increase heap space, I've got 8Gb or RAM its impo...
- Modified
- 7 Feb at 20:58
How do I get my Maven Integration tests to run
How do I get my Maven Integration tests to run I have a maven2 multi-module project and in each of my child modules I have JUnit tests that are named `Test.java` and `Integration.java` for unit tests ...
Debugging in Maven?
Debugging in Maven? Is it possible to launch a debugger such as jdb from Maven? I have a file that compiles the project successfully. However, the program hangs somewhere and I would really like to la...
Maven2: Best practice for Enterprise Project (EAR file)
Maven2: Best practice for Enterprise Project (EAR file) I am just switching from Ant to Maven and am trying to figure out the best practice to set up a EAR file based Enterprise project? Let's say I w...
- Modified
- 25 Feb at 16:58
How to use NSIS with Maven2 and continuous integration?
How to use NSIS with Maven2 and continuous integration? I want to include an installer created by NSIS into a Java project organized with Maven2. How can I incorporate this so that the installer is au...
- Modified
- 9 Jul at 01:20
Force re-download of release dependency using Maven
Force re-download of release dependency using Maven I'm working on a project with dependency X. X, in turn, depends on Y. I used to explicitly include Y in my project's pom. However, it was not used a...
- Modified
- 24 Dec at 15:8
Maven dependency for Servlet 3.0 API?
Maven dependency for Servlet 3.0 API? How can I tell Maven 2 to load the Servlet 3.0 API? I tried: I use [http://repository.jboss.com/maven2/](http://repository.jboss.com/maven2/) but what repository ...
- Modified
- 26 Sep at 13:24
How do I execute a program using Maven?
How do I execute a program using Maven? I would like to have a Maven goal trigger the execution of a java class. I'm trying to migrate over a `Makefile` with the lines: And I would like `mvn neotest` ...
- Modified
- 18 Mar at 18:23
How to change the alias of a key within a keystore?
How to change the alias of a key within a keystore? I signed my JWS application [MemorizEasy](http://memorizeasy.mysimpatico.com) with a key whose alias is: I don't remember why I chose such a long al...
- Modified
- 13 Aug at 11:23
Maven Error: Could not find or load main class
Maven Error: Could not find or load main class I'm using a Java Maven program and I don't know what to enter as the ``. I've tried all kinds of things based off of [numerous](https://stackoverflow.com...
- Modified
- 23 May at 12:9
Missing Maven dependencies in Eclipse project
Missing Maven dependencies in Eclipse project We have a project set up with maven for resolving dependancies. It usually works fine, but now I am trying to compile and run it on a new PC and I have pr...
Eclipse WTP publishing configuration
Eclipse WTP publishing configuration I have a web project that is built with maven. I have the project in eclipse as a WTP project (generated using mvn eclipse:eclipse), and it is associated with a gl...
- Modified
- 6 Oct at 23:28
Maven artifact and groupId naming
Maven artifact and groupId naming I'm currently in the process of moving some project from Ant to Maven. Conformist as I am, I want to use well-established conventions for finding `groupId` and `artif...
- Modified
- 30 Jun at 12:26
Which maven dependencies to include for spring 3.0?
Which maven dependencies to include for spring 3.0? I am trying to do my first project with Spring 3.0 (and maven). I have been using Spring 2.5 (and primer versions) in quite some projects. Neverthel...
- Modified
- 10 Feb at 14:55
Can I add jars to Maven 2 build classpath without installing them?
Can I add jars to Maven 2 build classpath without installing them? Maven 2 is driving me crazy during the experimentation / quick and dirty mock-up phase of development. I have a `pom.xml` file that d...
Maven grails plugin issue
Maven grails plugin issue I'm trying to create the pom for an existing grails project via: mvn grails:create-pom -DgroupId=ourcompany.com Now, we have our maven repository available in a local nexus r...
How do I get Maven to use the correct repositories?
How do I get Maven to use the correct repositories? I have just checked out some projects and need to build them, however I installed Maven quite some time ago (6 months maybe?) and really haven't use...
- Modified
- 4 May at 17:2
How do I install Maven with Yum?
How do I install Maven with Yum? I'm trying to learn much about either yum or maven. I've inherited this code and I don't want to spend more time than I have to in this environment. I've got yum. My i...
Maven parent pom vs modules pom
Maven parent pom vs modules pom There seem to be several ways to structure parent poms in a multiproject build and I wondering if anyone had any thoughts on what the advantages / drawbacks are in each...
- Modified
- 2 Jan at 18:3