Hi, I wrote a Mojo that generates a wrapper.conf file for installing ActiveMQ as a service. One of the things it generates is the class path:
wrapper.java.classpath.1=../lib/wrapper.jar wrapper.java.classpath.2=../lib/activemq-all-5.0-SNAPSHOT.jar wrapper.java.classpath.3=../lib/activemq-core-5.0-SNAPSHOT.jar wrapper.java.classpath.4=../lib/commons-logging-api-1.1.jar wrapper.java.classpath.5=../lib/camel-core-1.2.0.jar ... This works for except when using the assembly:assembly command, the files are archived as their actual snapshot filename (i.e. activeio-core-3.1-20071214.010031-268.jar, activemq-core-5.0-20071208.031023-17.jar). I am retrieving the classpath references by looping over MavenProject#getRuntimeArtifacts and calling Artifact#getFile#getName. I am trying to figure out how to get the true snapshot filename, so so it matches what is bundled through the assembly plugin. Any help would be appreciated. Thanks. -- View this message in context: http://www.nabble.com/Resolving-snapshot-filenames-from-Mojo-tp14338324s177p14338324.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]