mvn Commands Not Working with containerId and containerUrl
Maven commands are not working with containerId and containerUrl. For Command Below its always downloading Jetty 8 Server:
Yes thanks. It's clear now.
The core change with Codehaus Cargo 1.9.x is that the Maven plugin has moved form a Maven 2 plugin compatible with Maven 3 towards a Maven 3 only plugin, which under the hood implies that the way the plugin works is different.
In particular, in Maven 2 one would create the MOJO’s attributes as follows (as Javadoc):
ın Maven 3, these became annotations:
There is nothing you have done wrong - This is a bug on Codehaus Cargo, which will be fixed with version 1.9.2. You can see the code changes on https://github.com/codehaus-cargo/cargo/commit/2553d1351b19225b19e80916001e4c61e49193eb
Does this help?
I didn't get u. What do u mean by Maven 2 Style and Maven 3 Style. Is their any other way in Maven 3 plugin to make it working.
Good catch - It seems indeed these parameters were still in the Maven2-style (i.e., put as Javadoc comments) instead of the Maven3 style (annotations).
This will be fixed with version 1.9.2.