You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ml...@planwerk6.de on 2007/10/24 18:21:19 UTC
release plugin and antrun task
hi,
i want to use the release plugin like this:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<goals>antrun:run</goals>
</configuration>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<echo>hallo</echo>
</tasks>
of course the ant task is something different in reality.
It runs like this and doesn't execute the task:
[...]
[INFO] Executing: mvn antrun:run --no-plugin-updates -P
production -DperformRelease=true
...
[INFO] task-segment: [antrun:run]
[INFO] ----------------------------------------------------------------------------
[INFO] [antrun:run]
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
...
I guess i got to bind my antrun task to a special lifecycle, but which
lifecycle? please help me.
kind regards,
janning
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org