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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to