hi, thanks, now it works! my pom has just dependencies (other jars and so libraries), and i use assembly and antrun. the result is: * an empty jar how can i avoid that it is produced? * the zip, created by assembly * i have to use two commands to get the result where it should be: m2 assembly:assembly m2 antrun:run the other question i have: how can i use buildmanagement to upload it, so i just have to use one command for the build/deploy? i saw http://jira.codehaus.org/browse/MNG-483, but i am unsure if it fixes it, and if yes, how i should use it? -solo.
On 9/7/05, Kenney Westerhof <[EMAIL PROTECTED]> wrote: > > On Tue, 6 Sep 2005, solo turn wrote: > > > Hi, > > This is really more appropriate on the user list, so moving it there. > > > i tried to use m2 because of concise pom.xml files ... and now i tried > to do > > an ftp upload of the result. is there another way then to do it with an > > antrun-plugin, which requires a > > 10-levels-deep-i-have-no-idea-where-i-am-in-my-editor any-more > construct? > > Sure, use m2 deploy. You have to setup distributionManagement in > the pom: > > http://maven.apache.org/maven2/maven-model/maven.html#class_DistributionManagement > > And: get a real editor and use proper indenting, that should make the pom > more readable. > > <project> > <build> > <plugins> > <plugin> > <executions> > <execution> > <configuration> > <tasks> > <ftp ....../> > > > hmm.. 9 levels.. almost 10, indeed! :) > > -- Kenney > > > > > -solo. > > > > -- > Kenney Westerhof > http://www.neonics.com > GPG public key: http://www.gods.nl/~forge/kenneyw.key >
