Executing ant, but only once

2010-08-26 Thread Thomas Trepper
Hi all, I have now the following part in the pom: org.apache.maven.plugins maven-antrun-plugin generate-version-info run process-sources which should execute an ant-task, which modifies and replaces some entries in the sources. I want this be executed only ONCE and before any

[Solved] Re: Question to: "No primary artifact to install..."

2010-08-26 Thread Thomas Trepper
Hi all, I got the error, it was something inside the old pom, I accidently forgot to save before testing. Sorry for the inconvenience und thank you all very much for your help. Thomas Am 26.08.2010 16:12, schrieb Thomas Trepper: Hi Mathus, thanks a lot for your help. I have updated

Re: Question to: "No primary artifact to install..."

2010-08-26 Thread Thomas Trepper
he way you show is ant'ish, and it's not getting to the point where a classical mvn package just package the project, even when not knowing anything about your project. Cheers 2010/8/26 Thomas Trepper Yes, I tried that first, but it did not work and during the experiments to

Re: Question to: "No primary artifact to install..."

2010-08-26 Thread Thomas Trepper
mvn command line? Why not just "mvn install"? /Anders On Thu, Aug 26, 2010 at 14:20, Thomas Trepper wrote: Hi all, this is a snippet from my build, which says, that I have an artifact and attached artifacts, but, whatever I am doing, I always get the message: No primary artifact

Re: Question to: "No primary artifact to install..."

2010-08-26 Thread Thomas Trepper
d attached artifacts. On Thu, Aug 26, 2010 at 8:20 AM, Thomas Trepper wrote: Hi all, this is a snippet from my build, which says, that I have an artifact and attached artifacts, but, whatever I am doing, I always get the message: No primary artifact to install, installing attached artifacts

Question to: "No primary artifact to install..."

2010-08-26 Thread Thomas Trepper
Hi all, this is a snippet from my build, which says, that I have an artifact and attached artifacts, but, whatever I am doing, I always get the message: No primary artifact to install, installing attached artifacts instead. Can anybody point me to the right direction please? Thanks a lot an