I have a simple pom and added an ant-run to the compile but it only executes then when I do the following:
mvn install antrun:run
mvn install -- doesn't process ... |
I am trying to migrate a Java application built by Ant to Maven2. among other the build perform the following operations:
1) Running a javadoc doclet to find annotated Java files to ... |
I would like to breakup certain phases in the maven life cycle into sub phases. I would like to control the execution flow from one sub-phase to another, sort of like ... |
I have two set of integration tests in one maven project - automatic and manual tests. The manual tests are few but tedious - they require pulling the plug of servers ... |
I have a plugin which transforms the compiled classes. This transformation needs to be done for both the module's classes and the module's test classes. Thus, I bind the ... |
I have just translated an ant project into maven however since maven does not really deal with deployment I introduce some antrun into the build. However when I try to execute ... |
I am mavenizing an ant project. One module includes XSD files that are used to generate source files using Castor. I have everything working if I run:
mvn castor:generate package
However I am ... |
|
I have some ant task in my .pom, which copies exploded .war to the server. I want it to be run after creation of exploded .war. What should I enter in ... |
I require to generate some sources, so i attached a plugin goal to the generate-sources lifecycle phase.
When I run mvn package it works fine, but when I run mvn install ... |
I have a maven project that builds a war file.
Including the yui compressor in my maven build file is causing files, found in src/main/resources/ unrelated to any js files, processed during ... |
I have a maven plugin that should run in the compile phase, so in the project that consumes my plugin, I have to do something like this:
<executions>
<execution>
<phase>compile</phase>
...
|
I am trying to tweak the phase when a maven plugin execution will run in maven-2.
My specific issue is with attempting to run the cobertura:instrument step bound to the lifecycle ... |
Do you know of a way to list all Maven plugins (with their versions) that are going to be executed for a particular phase? This should include all plugins set in ... |
I have defined maven assembly plugin and have set pom to execute the plugin(assembly.xml) in "compile" phase. assembly.xml - it gets the jars/files using "dependencySet" and I replace few files with ... |
Given a <plugin> element in a pom.xml, how do I find the default phase that it binds to?
For example, I'd like to know which phase of the Maven lifecycle does the ... |
I'm playing around with writing a maven plugin for the first time. I've written a simple plugin with a goal that writes a hello world message to the output. ... |
Is it possible to run the maven-compiler-plugin in process-sources only for specific packages?
I know the correct way to do this is to extract the needed classes in a extra module but ... |