Top "Maven-2" questions

Apache Maven is a software project management and comprehension tool.

Difference of Maven JAXB plugins

I have determined that two JAXB plugins for Maven 2 exist, with some different configurations. The one is from Sun: http://…

java maven-2 jaxb maven maven-plugin
How to run Tomcat 7 using Maven 2 Tomcat plugin?

I am using Maven 2 and I have an external Tomcat 7. I was wondering how to run Tomcat 7 from using Maven …

maven-2 maven tomcat7 maven-tomcat-plugin
Finding the root directory of a multi module maven reactor project

I want to use the maven-dependency-plugin to copy artifacts from all sub-modules of my multi-module project to a directory that …

maven-2 directory module root
JDK tools.jar as maven dependency

I would like to put JDK tools.jar as compile dependency. I found some examples that indicate to use the …

java maven-2 tools.jar
List of dependency jar files in Maven

Using Maven 2, is there a way I can list out the jar dependencies as just the file names? mvn dependency:…

java maven-2 dependencies classpath
Alternate port for Tomcat (not 8080) when starting with Maven?

Is there an easy way to specify an alternate port for Tomcat in the pom or on the commandline. I'd …

tomcat maven-2
Using the Nexus rest API to get latest artifact version for given groupid/artifactId

I am trying to use the nexus REST api to get the latest version of a maven artifact. I am …

maven-2 maven nexus
Different dependencies for different build profiles

Is it possible to have a different set of dependencies in a maven pom.xml file for different profiles? e.…

java maven-2 build-process dependencies
Maven - how can I add an arbitrary classpath entry to a jar?

I have an unusual situation where I need to add an arbitrary classpath entry (that points to a jar file) …

maven-2 build jar classpath
How to execute maven plugin execution directly from command line?

I have a plugin (antrun) with an execution configured which has an id and is not bound to any phase. …

maven-2