Author: norman
Date: Sat Aug 29 17:50:22 2009
New Revision: 809175
URL: http://svn.apache.org/viewvc?rev=809175&view=rev
Log:
Start to refactor for multimodule project
Modified:
labs/hupa/pom.xml
Modified: labs/hupa/pom.xml
URL:
http://svn.apache.org/viewvc/labs/hupa/pom.xml?rev=809175&r1=809174&r2=809175&view=diff
==============================================================================
--- labs/hupa/pom.xml (original)
+++ labs/hupa/pom.xml Sat Aug 29 17:50:22 2009
@@ -3,15 +3,20 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.hupa</groupId>
<artifactId>hupa</artifactId>
- <name>Hupa</name>
+ <name>hupa</name>
<version>0.0.1-SNAPSHOT</version>
<description>
Hupa is a GWT based Webmail
</description>
<url>http://labs.apache.org</url>
<inceptionYear>2009</inceptionYear>
- <packaging>war</packaging>
+ <packaging>pom</packaging>
+ <modules>
+ <module>shared</module>
+ <module>client</module>
+ <module>server</module>
+ </modules>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
@@ -114,70 +119,15 @@
</properties>
<build>
- <outputDirectory>war/WEB-INF/classes</outputDirectory>
<plugins>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>2.0-beta-5</version>
</plugin>
- <!-- configure the GWT-Maven plugin -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>gwt-maven-plugin</artifactId>
- <version>1.1</version>
- <configuration>
- <!--
- <module>org.apache.hupa.Hupa</module>
- -->
-
<runTarget>org.apache.hupa.Hupa/Hupa.html</runTarget>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <!--
- If you want to use the target/web.xml file
mergewebxml produces,
- tell the war plugin to use it. Also, exclude
what you want from the
- final artifact here.
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <configuration>
- <!--
- <warSourceDirectory>war</warSourceDirectory>
- -->
- <webXml>src/main/webapp/WEB-INF/web.xml</webXml>
- <webResources>
- <resource>
- <directory>war</directory>
- <excludes>
-
<exclude>**/hupa/*</exclude>
- </excludes>
- </resource>
- </webResources>
- <warName>${project.name}</warName>
- </configuration>
- <!--
- <configuration>
- <webResources>
-
- <resource>
- <directory>war</directory>
- <excludes>
-
<exclude>**/hupa/*</exclude>
- </excludes>
- </resource>
- </webResources>
- </configuration>
- -->
- </plugin>
+
+
<!-- tell the compiler we can use 1.5 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -229,8 +179,25 @@
</activation>
</profile>
</profiles>
+<dependencyManagement>
<dependencies>
+ <dependency>
+ <groupId>org.apache.hupa</groupId>
+ <artifactId>hupa-server</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hupa</groupId>
+ <artifactId>hupa-shared</artifactId>
+ <version>${project.version}</version>
+
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.5</version>
+</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
@@ -336,4 +303,5 @@
<scope>test</scope>
</dependency>
</dependencies>
+</dependencyManagement>
</project>
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]