labs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simo...@apache.org
Subject svn commit: r762584 - /labs/magma/trunk/maven-magma-plugin/src/main/java/org/apache/magma/tools/maven/MagmaWarExploded.java
Date Tue, 07 Apr 2009 00:53:44 GMT
Author: simoneg
Date: Tue Apr  7 00:53:43 2009
New Revision: 762584

URL: http://svn.apache.org/viewvc?rev=762584&view=rev
Log:
LABS-333 : make the project a "war" project when magma:war is called.

Modified:
    labs/magma/trunk/maven-magma-plugin/src/main/java/org/apache/magma/tools/maven/MagmaWarExploded.java

Modified: labs/magma/trunk/maven-magma-plugin/src/main/java/org/apache/magma/tools/maven/MagmaWarExploded.java
URL: http://svn.apache.org/viewvc/labs/magma/trunk/maven-magma-plugin/src/main/java/org/apache/magma/tools/maven/MagmaWarExploded.java?rev=762584&r1=762583&r2=762584&view=diff
==============================================================================
--- labs/magma/trunk/maven-magma-plugin/src/main/java/org/apache/magma/tools/maven/MagmaWarExploded.java
(original)
+++ labs/magma/trunk/maven-magma-plugin/src/main/java/org/apache/magma/tools/maven/MagmaWarExploded.java
Tue Apr  7 00:53:43 2009
@@ -21,6 +21,8 @@
 	public void execute() throws MojoExecutionException, MojoFailureException {
 		super.execute();
 		
+		project.setPackaging("war");
+		
 		getLog().info("Creating WAR file structure");
 		warfolder = new File(baseout.getParentFile(), "war-exploded");
 		warfolder.mkdirs();



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org


Mime
View raw message