Hi all,

I have now the following part in the pom:

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>generate-version-info</id>
<goals>
<goal>run</goal>
</goals>
<phase>process-sources</phase>
<configuration>
<tasks>
<ant antfile="${basedir}/build-version-info.xml" target="buildInfo" />
</tasks>
</configuration>
</execution>
</executions>
</plugin>


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 artifacts are build?

Can anybody point me into the right direction please?

Thanks a lot and best regards,

Thomas



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to