I haven't been able to figure out how to set the primary artifact file for an Ant based plugin similar to the way it can be set in a Java based a plugin.
A simple example of what I'd like to be able to do is provided by the zip plugin in the sandbox (See line 162 of http://svn.apache.org/viewvc/maven/sandbox/trunk/plugins/maven-zip-plugin/src/main/java/org/apache/maven/plugins/zip/ZipMojo.java?view=markup). How would you achieve a similar result if you were implementing the Zip plugin using Ant? A brute force way might be to nest an invocation of install:install-file and it appears that there is a way to declare this via the lifecycle.xml but I wasn't able to grok how you would do this. Hopefully, I've missed something obvious and this is a pretty straightforward use case with an equally straightforward solution and I would much appreciate any pointers that would shed light on this topic. Best regards, Gabe -- View this message in context: http://maven.40175.n5.nabble.com/How-to-set-primary-artifact-from-an-Ant-based-Plugin-tp510598p510598.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
