Do NOT use the Maven Ant tasks.. they are outdated and based on Maven 2.
Instead use the dep resolution library used in Maven itself called Eclipse
Aether and its Ant tasks..
http://eclipse.org/aether/
http://wiki.eclipse.org/Aether/Ant_Tasks
Zk W wrote on 13.05.2015 20:25:
Hi Justin
I’d like to invoke exec-maven-plugin with different arguments during different
phases of the build, and I’m failing. I hope somebody can help me.
This is what works:
parent pom: (invokes a code generator)
pluginManagement
plugins
plugin
You'll probably have to give each execution a unique id.
On Wed, May 13, 2015, 18:32 Manfred Moser manf...@mosabuam.com wrote:
You should be able to just add another execution into the project pom. The
plugin mgt will be inherited and merged and voila.
manfred
Johannes Ernst wrote on
You should be able to just add another execution into the project pom. The
plugin mgt will be inherited and merged and voila.
manfred
Johannes Ernst wrote on 13.05.2015 14:17:
I’d like to invoke exec-maven-plugin with different arguments during
different phases of the build, and I’m failing.
Hi All
We are new to Maven and we are an ant shop.
We like to use Maven's dependency management feature, not ivy.
1- Can we just use Maven's dependency management feature to work with our
ant build script ?
2- Since .m2 is the default folder for all the jars, do we use ant copy
task to copy
Hi Chris
Thanks for replying. We like to use ant as our main build process, not
maven so the maven-antrun wouldnt apply here.
On Wed, May 13, 2015 at 8:14 PM, Christopher ctubb...@apache.org wrote:
One maven plugin which might help is the
One maven plugin which might help is the
https://maven.apache.org/plugins/maven-antrun-plugin/ , which allows
you to execute ant tasks within maven. I've seen some projects do this
to mavenize an ant project a bit (though, usually they end up
transitioning completely... eventually).
Another
https://maven.apache.org/ant-tasks/
1. There is a task to resolve/retrieve dependencies.
2. The dependency task can create classpath and fileset refids for the
dependencies, and per-dependency properties, so you shouldn't have to worry
about copy jars to and fro.
3. There are examples at the
Correct. If you use the same id it should override the config in the inherited
one and stick to have one config.
Btw. just run
mvn help:effective-pom
to see the inheritance in action.
Or use the M2e pom editor and check out the effctive pom tab.
manfred
Christopher wrote on 13.05.2015
Hi Justin
Thanks for replying.
Let us think more of your suggestion here and update.
Thanks
On Wed, May 13, 2015 at 8:14 PM, Justin Georgeson jgeorge...@lgc.com
wrote:
https://maven.apache.org/ant-tasks/
1. There is a task to resolve/retrieve dependencies.
2. The dependency task can
Hi
I am using this feature the first time and it does not seem to work
mvn clean deploy -DdeployAtEnd=true
Each module displays this string at deploy phase
[INFO] *--- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ x*
[INFO] Deploying x:0.0.1-SNAPSHOT at end
Once the whole
Am Wed, 13 May 2015 22:47:15 -0700
schrieb Dan Tran dant...@gmail.com:
I am using this feature the first time and it does not seem to work
mvn clean deploy -DdeployAtEnd=true
Each module displays this string at deploy phase
[INFO] *--- maven-deploy-plugin:2.8.2:deploy
12 matches
Mail list logo