On Tue, Jun 22, 2010 at 10:54 AM, D D <[email protected]> wrote: > Is there an easy way to deploy an artifact such it doesn't include version > in its name? > For example: when moduleA is deployed through 'mvn deploy' I > get moduleA-X.Y-SNAPSHOT.jar but what I need is moduleA.jar.
The Maven repo has a fixed structure, so you can't easily change how the artifact gets deployed. (It's surely _possible_, but probably way more work than you want to take on!) If you tell us what problem you're trying to solve by doing this, most likely someone can offer a suggestion. Without knowing more, the Dependency plugin comes to mind -- the dependency:copy goal can strip the version as it copies the artifact to the desired location. Then again, it's entirely possible that you don't really *need* the artifact without the version. :) -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
