Author: eric
Date: Mon Feb 13 13:24:34 2012
New Revision: 1243498
URL: http://svn.apache.org/viewvc?rev=1243498&view=rev
Log:
pom tuning and empty folder creation to help maven and eclipse (HUPA-83)
Added:
james/hupa/trunk/mock/src/test/
james/hupa/trunk/mock/src/test/java/
james/hupa/trunk/shared/src/test/
james/hupa/trunk/shared/src/test/java/
james/hupa/trunk/widgets/src/test/
james/hupa/trunk/widgets/src/test/java/
Modified:
james/hupa/trunk/client/pom.xml
james/hupa/trunk/mock/pom.xml
james/hupa/trunk/pom.xml
james/hupa/trunk/server/pom.xml
james/hupa/trunk/shared/pom.xml
james/hupa/trunk/widgets/pom.xml
Modified: james/hupa/trunk/client/pom.xml
URL:
http://svn.apache.org/viewvc/james/hupa/trunk/client/pom.xml?rev=1243498&r1=1243497&r2=1243498&view=diff
==============================================================================
--- james/hupa/trunk/client/pom.xml (original)
+++ james/hupa/trunk/client/pom.xml Mon Feb 13 13:24:34 2012
@@ -22,22 +22,16 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
-
<parent>
<groupId>org.apache.hupa</groupId>
<artifactId>hupa-parent</artifactId>
<version>0.0.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
-
- <groupId>org.apache.hupa</groupId>
<artifactId>hupa-client</artifactId>
- <version>0.0.2-SNAPSHOT</version>
<packaging>war</packaging>
-
- <name>hupa</name>
+ <name>Apache James Hupa</name>
<description>A GWT based IMAP webmail</description>
-
<dependencies>
<dependency>
<groupId>org.apache.hupa</groupId>
@@ -56,19 +50,11 @@
<artifactId>cobogw</artifactId>
</dependency>
<dependency>
- <groupId>net.customware.gwt.dispatch
- </groupId>
+ <groupId>net.customware.gwt.dispatch</groupId>
<artifactId>gwt-dispatch</artifactId>
</dependency>
<dependency>
- <groupId>com.googlecode.gwt.inject</groupId>
- <artifactId>gin</artifactId>
- <version>1.5</version>
- <classifier>2.2.0</classifier>
- </dependency>
- <dependency>
- <groupId>net.customware.gwt.presenter
- </groupId>
+ <groupId>net.customware.gwt.presenter</groupId>
<artifactId>gwt-presenter</artifactId>
</dependency>
<dependency>
@@ -85,52 +71,57 @@
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
- <artifactId>gwt-servlet</artifactId>
- </dependency>
- <dependency>
- <groupId>org.json</groupId>
- <artifactId>json</artifactId>
- </dependency>
- <dependency>
- <groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.validation</groupId>
+ <artifactId>validation-api</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-dev</artifactId>
</dependency>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
+ <groupId>com.google.gwt.inject</groupId>
+ <artifactId>gin</artifactId>
</dependency>
<dependency>
- <groupId>org.easymock</groupId>
- <artifactId>easymock</artifactId>
+ <groupId>javax.validation</groupId>
+ <artifactId>validation-api</artifactId>
+ <scope>provided</scope>
</dependency>
- <dependency>
- <groupId>com.google.web.bindery</groupId>
- <artifactId>requestfactory-server</artifactId>
+<!-- Adding java.validation:validation-api with classifier source
breaks the maven build
+ and makes the project unsable in eclipse -->
+<!-- <dependency> -->
+<!-- <groupId>javax.validation</groupId> -->
+<!-- <artifactId>validation-api</artifactId> -->
+<!-- <classifier>sources</classifier> -->
+<!-- <scope>provided</scope> -->
+<!-- </dependency> -->
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-validator</artifactId>
+ <version>4.2.0.Final</version>
</dependency>
<dependency>
- <groupId>javax.validation</groupId>
- <artifactId>validation-api</artifactId>
+ <groupId>org.json</groupId>
+ <artifactId>json</artifactId>
</dependency>
<dependency>
- <groupId>javax.validation</groupId>
- <artifactId>validation-api</artifactId>
- <classifier>sources</classifier>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
</dependency>
<dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-validator-annotation-processor</artifactId>
+ <groupId>org.easymock</groupId>
+ <artifactId>easymock</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
- <version>1.6.1</version>
</dependency>
</dependencies>
-
<build>
<outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
<plugins>
@@ -140,8 +131,9 @@
<configuration>
<runTarget>Hupa.html</runTarget>
<extraJvmArgs>
-
-Dhupa.config.file=${project.parent.basedir}/server/src/main/webapp/WEB-INF/conf/config.properties
+ -Xmx512M -Xss128M
-Dhupa.config.file=${project.parent.basedir}/server/src/main/webapp/WEB-INF/conf/config.properties
</extraJvmArgs>
+ <localWorkers>1</localWorkers>
<compileReport>true</compileReport>
<disableClassMetadata>true</disableClassMetadata>
<disableCastChecking>true</disableCastChecking>
@@ -155,23 +147,23 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <useSystemClassLoader>false</useSystemClassLoader>
- <additionalClasspathElements>
-
<additionalClasspathElement>${basedir}/src/test/java</additionalClasspathElement>
-
<additionalClasspathElement>${basedir}/src/main/java</additionalClasspathElement>
- </additionalClasspathElements>
- </configuration>
- </plugin>
+<!-- maven-sure-fire-plugin configurations commented - Why was
this needed ? -->
+<!-- <plugin> -->
+<!-- <groupId>org.apache.maven.plugins</groupId> -->
+<!-- <artifactId>maven-surefire-plugin</artifactId> -->
+<!-- <configuration> -->
+<!-- <useSystemClassLoader>false</useSystemClassLoader> -->
+<!-- <additionalClasspathElements> -->
+<!--
<additionalClasspathElement>${basedir}/src/test/java</additionalClasspathElement>
-->
+<!--
<additionalClasspathElement>${basedir}/src/main/java</additionalClasspathElement>
-->
+<!-- </additionalClasspathElements> -->
+<!-- </configuration> -->
+<!-- </plugin> -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
- <webXml>src/main/webapp/WEB-INF/web.xml
- </webXml>
+ <webXml>src/main/webapp/WEB-INF/web.xml</webXml>
<webResources>
<!-- this is a ugly hack but I'm not sure howto solve
it -->
<!-- This take care of including the config file
within the war -->
@@ -191,9 +183,7 @@
<wtpversion>2.0</wtpversion>
<additionalBuildcommands>
<buildCommand>
- <name>
- com.google.gwt.eclipse.core.gwtProjectValidator
- </name>
+
<name>com.google.gwt.eclipse.core.gwtProjectValidator</name>
</buildCommand>
</additionalBuildcommands>
<additionalProjectnatures>
Modified: james/hupa/trunk/mock/pom.xml
URL:
http://svn.apache.org/viewvc/james/hupa/trunk/mock/pom.xml?rev=1243498&r1=1243497&r2=1243498&view=diff
==============================================================================
--- james/hupa/trunk/mock/pom.xml (original)
+++ james/hupa/trunk/mock/pom.xml Mon Feb 13 13:24:34 2012
@@ -22,21 +22,16 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
-
<parent>
<groupId>org.apache.hupa</groupId>
<artifactId>hupa-parent</artifactId>
<version>0.0.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
-
- <groupId>org.apache.hupa</groupId>
<artifactId>hupa-mock</artifactId>
<packaging>jar</packaging>
-
- <name>hupa-mock</name>
+ <name>Apache James Hupa Mock</name>
<description>Mock objects for hupa</description>
-
<dependencies>
<dependency>
<groupId>org.apache.hupa</groupId>
@@ -76,13 +71,11 @@
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
</dependency>
-
<dependency>
<groupId>net.customware.gwt.dispatch
</groupId>
<artifactId>gwt-dispatch</artifactId>
</dependency>
-
<dependency>
<groupId>gwtupload</groupId>
<artifactId>gwtupload</artifactId>
@@ -106,7 +99,6 @@
<dependency>
<groupId>com.google.code.guice</groupId>
<artifactId>guice-servlet</artifactId>
- <version>3.0</version>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
Modified: james/hupa/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/james/hupa/trunk/pom.xml?rev=1243498&r1=1243497&r2=1243498&view=diff
==============================================================================
--- james/hupa/trunk/pom.xml (original)
+++ james/hupa/trunk/pom.xml Mon Feb 13 13:24:34 2012
@@ -22,24 +22,20 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
-
<parent>
<groupId>org.apache.james</groupId>
<artifactId>james-project</artifactId>
<version>1.9-SNAPSHOT</version>
<relativePath></relativePath>
</parent>
-
<groupId>org.apache.hupa</groupId>
<artifactId>hupa-parent</artifactId>
<version>0.0.2-SNAPSHOT</version>
<packaging>pom</packaging>
-
- <name>hupa-parent</name>
+ <name>Apache James Hupa Parent</name>
<description>Hupa is a GWT based Webmail</description>
<url>http://james.apache.org/hupa</url>
<inceptionYear>2009</inceptionYear>
-
<modules>
<module>mock</module>
<module>shared</module>
@@ -47,7 +43,6 @@
<module>widgets</module>
<module>client</module>
</modules>
-
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/james/hupa/trunk</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/james/hupa/trunk</developerConnection>
@@ -57,19 +52,16 @@
<system>JIRA</system>
<url>http://issues.apache.org/jira/browse/Hupa</url>
</issueManagement>
-
<distributionManagement>
<site>
<id>hupa-website</id>
<url>scpexe://people.apache.org/www/james.apache.org/hupa/</url>
</site>
</distributionManagement>
-
<properties>
<gwtVersion>2.4.0</gwtVersion>
<gwtMavenVersion>2.4.0</gwtMavenVersion>
</properties>
-
<dependencyManagement>
<dependencies>
<dependency>
@@ -92,25 +84,10 @@
<artifactId>hupa-widgets</artifactId>
<version>${project.version}</version>
</dependency>
-
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1.1</version>
- <exclusions>
- <exclusion>
- <groupId>logkit</groupId>
- <artifactId>logkit</artifactId>
- </exclusion>
- <exclusion>
- <groupId>avalon-framework</groupId>
- <artifactId>avalon-framework</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<dependency>
<groupId>log4j</groupId>
@@ -139,10 +116,9 @@
</exclusions>
</dependency>
<dependency>
- <groupId>com.googlecode.gwt.inject</groupId>
+ <groupId>com.google.gwt.inject</groupId>
<artifactId>gin</artifactId>
- <version>1.5</version>
- <classifier>2.2.0</classifier>
+ <version>1.5.0</version>
</dependency>
<dependency>
<groupId>javax.inject</groupId>
Modified: james/hupa/trunk/server/pom.xml
URL:
http://svn.apache.org/viewvc/james/hupa/trunk/server/pom.xml?rev=1243498&r1=1243497&r2=1243498&view=diff
==============================================================================
--- james/hupa/trunk/server/pom.xml (original)
+++ james/hupa/trunk/server/pom.xml Mon Feb 13 13:24:34 2012
@@ -22,22 +22,16 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
-
<parent>
<groupId>org.apache.hupa</groupId>
<artifactId>hupa-parent</artifactId>
<version>0.0.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
-
- <groupId>org.apache.hupa</groupId>
<artifactId>hupa-server</artifactId>
- <version>0.0.2-SNAPSHOT</version>
<packaging>jar</packaging>
-
- <name>hupa-server</name>
+ <name>Apache James Hupa Server</name>
<description>Servercode implementation to access IMAP Mailbox</description>
-
<dependencies>
<dependency>
<groupId>org.apache.hupa</groupId>
@@ -64,10 +58,6 @@
<artifactId>logkit</artifactId>
</exclusion>
<exclusion>
- <groupId>avalon-framework</groupId>
- <artifactId>avalon-framework</artifactId>
- </exclusion>
- <exclusion>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
</exclusion>
@@ -81,13 +71,11 @@
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
</dependency>
-
<dependency>
<groupId>net.customware.gwt.dispatch
</groupId>
<artifactId>gwt-dispatch</artifactId>
</dependency>
-
<dependency>
<groupId>gwtupload</groupId>
<artifactId>gwtupload</artifactId>
@@ -111,7 +99,6 @@
<dependency>
<groupId>com.google.code.guice</groupId>
<artifactId>guice-servlet</artifactId>
- <version>3.0</version>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
@@ -128,7 +115,6 @@
<scope>test</scope>
</dependency>
</dependencies>
-
<build>
<outputDirectory>war/WEB-INF/classes</outputDirectory>
<plugins>
Modified: james/hupa/trunk/shared/pom.xml
URL:
http://svn.apache.org/viewvc/james/hupa/trunk/shared/pom.xml?rev=1243498&r1=1243497&r2=1243498&view=diff
==============================================================================
--- james/hupa/trunk/shared/pom.xml (original)
+++ james/hupa/trunk/shared/pom.xml Mon Feb 13 13:24:34 2012
@@ -22,22 +22,16 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
-
<parent>
<groupId>org.apache.hupa</groupId>
<artifactId>hupa-parent</artifactId>
<version>0.0.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
-
- <groupId>org.apache.hupa</groupId>
<artifactId>hupa-shared</artifactId>
- <version>0.0.2-SNAPSHOT</version>
<packaging>jar</packaging>
-
- <name>hupa-shared</name>
+ <name>Apache James Hupa Shared</name>
<description>Shared code for the client and server</description>
-
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
@@ -53,7 +47,6 @@
<scope>test</scope>
</dependency>
</dependencies>
-
<build>
<plugins>
<plugin>
Modified: james/hupa/trunk/widgets/pom.xml
URL:
http://svn.apache.org/viewvc/james/hupa/trunk/widgets/pom.xml?rev=1243498&r1=1243497&r2=1243498&view=diff
==============================================================================
--- james/hupa/trunk/widgets/pom.xml (original)
+++ james/hupa/trunk/widgets/pom.xml Mon Feb 13 13:24:34 2012
@@ -22,22 +22,16 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
-
<parent>
<groupId>org.apache.hupa</groupId>
<artifactId>hupa-parent</artifactId>
<version>0.0.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
-
- <groupId>org.apache.hupa</groupId>
<artifactId>hupa-widgets</artifactId>
- <version>0.0.2-SNAPSHOT</version>
<packaging>jar</packaging>
-
- <name>hupa-widgets</name>
+ <name>Apache James Hupa Widgets</name>
<description>Collection of reusable widgets</description>
-
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
@@ -52,7 +46,6 @@
<artifactId>cobogw</artifactId>
</dependency>
</dependencies>
-
<build>
<resources>
<resource>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]