I tried it with this command but my problem is the created zip file does not contain the deployed jar file. It still has a -SNAPSHOT postfix which is quite ugly.
On Tue, Apr 8, 2008 at 1:44 AM, Luke Daley <[EMAIL PROTECTED]> wrote: > > > On 07/04/2008, at 11:14 PM, Michael Mühlebach wrote: > > > > I want to create an assembly and deploy it but I have some troubles with > it. > > > > I tried it with the command: > > > > mvn assembly:single deploy > > > > I got almost what I expected except: All artifacts from my project, > > including the one I executed maven for, are snapshot versions! (have > > the classifier -SNAPSHOT instead of a build date and number). > > What have I done wrong or did I misunderstand the assembly/deploy build > cycle?! > > > > I am not sure exactly what you are trying to do, but if you are trying to > create another build artifact (such as a distribution zip or something) and > have it deployed along side your built jars (or whatever) then you might > want to look at the assembly:attached goal. > > http://maven.apache.org/plugins/maven-assembly-plugin/attached-mojo.html > > LD. > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
