Title: [1054] trunk/servicemix-console/pom.xml: Comment from NAP:
Revision
1054
Author
foconer
Date
2005-12-09 01:55:28 -0500 (Fri, 09 Dec 2005)

Log Message

Comment from NAP:
This module is a webapp, so it should produce a servicemix-console-*-SNAPSHOT.war.

It does now, but without the geronimo deployment descriptor. To include it, the plan.xml should be renamed to geronimo-web.xml and placed in the WEB-INF.

Modified Paths

Diff

Modified: trunk/servicemix-console/pom.xml (1053 => 1054)

--- trunk/servicemix-console/pom.xml	2005-12-08 22:29:36 UTC (rev 1053)
+++ trunk/servicemix-console/pom.xml	2005-12-09 06:55:28 UTC (rev 1054)
@@ -12,7 +12,7 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>servicemix</groupId>
     <artifactId>servicemix-console</artifactId>
-    <packaging>jar</packaging>
+    <packaging>war</packaging>
     <name>ServiceMix :: Console</name>
     <dependencies>
         <dependency>
@@ -80,4 +80,15 @@
             <artifactId>geronimo-spec-j2ee-connector</artifactId>
         </dependency>
     </dependencies>
+    <build>
+      <plugins>
+         <plugin>
+           <groupId>org.apache.maven.plugins</groupId>
+           <artifactId>maven-war-plugin</artifactId>
+           <configuration>
+             <warSourceDirectory>src/webapp/</warSourceDirectory>
+           </configuration>
+         </plugin>
+      </plugins>
+    </build>
 </project>

Reply via email to