Re: Changing WAR default goal
http://maven.apache.org/plugins/maven-war-plugin/exploded.html Above link suggests following configuration : plugin groupIdorg.apache.maven/groupId artifactIdmaven-war-plugin/artifactId version2.1/version goals goalexploded/goal /goals /plugin Version 2.1 is not found. And when I 'mvn package' with version 2.0.2-SNAPSHOT I still have a .war packaging... John Tolentino wrote: mvn war:exploded Please see http://maven.apache.org/plugins/maven-war-plugin/ Other relevant info about plugins: http://maven.apache.org/plugins/index.html Regards, John Frank Mena wrote: How do I change the default goal of a war so that it produces an exploded war instead of .war file when I run the package goal? Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Changing-WAR-default-goal-tf585539s177.html#a7487949 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Changing WAR default goal
It does not work for me too. Even if I use this configuration plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId version2.0.2-SNAPSHOT/version goals goalexploded/goal /goals /plugin or plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId version2.0.2-SNAPSHOT/version executions execution goals goalexploded/goal /goals /execution /executions /plugin mvn package [INFO] [war:war] [INFO] Exploding webapp... Rémy Also The FAQ URL in the maven-war-plugin site is corrupted : http://maven.apache.org/plugins/maven-war-plugin/faq.html = Page Not Found
Changing WAR default goal
How do I change the default goal of a war so that it produces an exploded war instead of .war file when I run the package goal? Frank
Re: Changing WAR default goal
Hi. The war:war goal is executed for all projects with packaging=war. I think overriding this default value is not supported yet. However, doing mvn test war:exploded would be a work-around as package is done after tests have passed. Frank Mena wrote: How do I change the default goal of a war so that it produces an exploded war instead of .war file when I run the package goal? Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Changing WAR default goal
mvn war:exploded Please see http://maven.apache.org/plugins/maven-war-plugin/ Other relevant info about plugins: http://maven.apache.org/plugins/index.html Regards, John Frank Mena wrote: How do I change the default goal of a war so that it produces an exploded war instead of .war file when I run the package goal? Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Changing WAR default goal
Thanks. I was looking to stop the war:war from executing, as it takes time. Frank On 11/20/05, Edwin Punzalan [EMAIL PROTECTED] wrote: Hi. The war:war goal is executed for all projects with packaging=war. I think overriding this default value is not supported yet. However, doing mvn test war:exploded would be a work-around as package is done after tests have passed. Frank Mena wrote: How do I change the default goal of a war so that it produces an exploded war instead of .war file when I run the package goal? Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]