thank you Nick that can can work if i put "post-verify" like a phase seeyou
2008/8/12 Nick Stolwijk <[EMAIL PROTECTED]> > There is no "assembly phase". The assembly plugin is bounded to one of the > lifecycle phases. I think it is package by default. Take a look at [1] to > see all the phases. Also, inside a phase you cannot be sure as the order of > the plugins, so if you want to verify something of the package phase, I > guess you could bind it to the "verify" phase. > > Hth > > [1] > http://cvs.peopleware.be/training/maven/maven2/buildLifecyclePhases.html > > Nick Stolwijk > ~Java Developer~ > > Iprofs BV. > Claus Sluterweg 125 > 2012 WS Haarlem > www.iprofs.nl > > > On Tue, Aug 12, 2008 at 2:56 PM, MedElb <[EMAIL PROTECTED]> wrote: > > > Hi all, > > i'm using the antrun plugin to put a simple message or copying file at > the > > end of the assembly plugin, > > te problem is that the message is not displayed after the assembly is > done > > neither the files are moved > > > > my conf is > > > > <build> > > .... > > > > <plugin> > > <artifactId>maven-antrun-plugin</artifactId> > > <version>1.1</version> > > <executions> > > <execution> > > <phase>*post-assembly*</phase> > > <configuration> > > <tasks> > > <echo message="Debut de tache de > déplacement > > du fichier"/> > > <copy > > > > > file="${project.build.directory}/target/distribution/*osp.${assembly.extention}" > > tofile="${project.build.directory}/target/*alias.${assembly.extention}"/> > > <delete > > dir="${project.build.directory}/target/distribution/*.*" /> > > <!-- > > <copy > > file="${project.build.directory}/target/*alias.${assembly.extention}" > > > > tofile="${project.build.directory}/target/assembly"/> > > --> > > </tasks> > > > > </configuration> > > <goals> > > <goal>run</goal> > > </goals> > > </execution> > > </executions> > > </plugin> > > </build> > > > > my question is how to associate an ant task to the end of my assembly > phase > > i use that maven command : > > > > mvn assembly:assembly -Dmaven.test.skip > > > > > > best regards > > >
