Problem solved with -Darguments=-Dmaven.tomcat.url=http://...... option. http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html#arguments
thanks On 9/24/07, Alexandre Gomes <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm using the release plugin as [1] but, when the plugin calls > tomcat:redeploy [2], it ignores the -Dmaven.tomcat.url option. > > How can I pass a -Dsomething to the goals called by release plugin > from -Dgoals option? Is that clear? > > > [1] > mvn -e release:perform -P homologacao -Dgoals=tomcat:redeploy > -Dtag=seaup-2_0_22 -Dusername=alegomes > -Dmaven.tomcat.url=http://192.168.1.68:8080/manager > > [2] > [INFO] Executing goals 'tomcat:redeploy'... > [INFO] Executing: mvn tomcat:redeploy --no-plugin-updates -P > homologacao -DperformRelease=true > > [3] > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'tomcat'. > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building SEAUP > [INFO] task-segment: [tomcat:redeploy] > [INFO] > ---------------------------------------------------------------------------- > [INFO] [tomcat:redeploy] > [INFO] Redeploying application at http://localhost:8080/seaup > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Cannot invoke Tomcat manager > > > thanks > Alexandre > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
