You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ie...@apache.org on 2013/01/05 08:48:23 UTC
svn commit: r1429222 - /james/server/trunk/app/pom.xml
Author: ieugen
Date: Sat Jan 5 07:48:22 2013
New Revision: 1429222
URL: http://svn.apache.org/viewvc?rev=1429222&view=rev
Log:
JAMES-1460 Moved James App distribution build to profile
* James App tar.gz and WAR are now built with '-Pwith-assembly' for faster normal builds
Modified:
james/server/trunk/app/pom.xml
Modified: james/server/trunk/app/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/app/pom.xml?rev=1429222&r1=1429221&r2=1429222&view=diff
==============================================================================
--- james/server/trunk/app/pom.xml (original)
+++ james/server/trunk/app/pom.xml Sat Jan 5 07:48:22 2013
@@ -37,8 +37,6 @@
<properties>
- <james.server.version>3.0-beta5-SNAPSHOT</james.server.version>
-
<!-- For more details see -->
<!-- http://java.sun.com/products/javamail/javadocs/javax/mail/internet/package-summary.html -->
<javamail.system-property1>-Dmail.mime.multipart.ignoremissingendboundary=true</javamail.system-property1>
@@ -78,12 +76,10 @@
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-cli</artifactId>
- <version>${james.server.version}</version>
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-core</artifactId>
- <version>${james.server.version}</version>
<exclusions>
<exclusion>
<artifactId>mail</artifactId>
@@ -94,7 +90,6 @@
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-data-api</artifactId>
- <version>${james.server.version}</version>
<exclusions>
<exclusion>
<artifactId>mail</artifactId>
@@ -105,7 +100,6 @@
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-dnsservice-library</artifactId>
- <version>${james.server.version}</version>
<exclusions>
<exclusion>
<artifactId>mail</artifactId>
@@ -116,17 +110,14 @@
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-filesystem-api</artifactId>
- <version>${james.server.version}</version>
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-lifecycle-api</artifactId>
- <version>${james.server.version}</version>
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-mailetcontainer-api</artifactId>
- <version>${james.server.version}</version>
<exclusions>
<exclusion>
<artifactId>mail</artifactId>
@@ -137,7 +128,6 @@
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-queue-api</artifactId>
- <version>${james.server.version}</version>
<exclusions>
<exclusion>
<artifactId>mail</artifactId>
@@ -148,7 +138,6 @@
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-container-spring</artifactId>
- <version>${james.server.version}</version>
<exclusions>
<exclusion>
<groupId>org.springframework.osgi</groupId>
@@ -167,7 +156,6 @@
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-lifecycle-spring</artifactId>
- <version>${james.server.version}</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
@@ -184,7 +172,6 @@
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-cli</artifactId>
- <version>${james.server.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
@@ -257,7 +244,6 @@
<groupId>org.apache.james</groupId>
<artifactId>james-server-mailetcontainer-camel</artifactId>
<scope>runtime</scope>
- <version>${james.server.version}</version>
<exclusions>
<exclusion>
<artifactId>mail</artifactId>
@@ -269,7 +255,6 @@
<groupId>org.apache.james</groupId>
<artifactId>james-server-mailbox-adapter</artifactId>
<scope>runtime</scope>
- <version>${james.server.version}</version>
<exclusions>
<exclusion>
<artifactId>mail</artifactId>
@@ -281,25 +266,21 @@
<groupId>org.apache.james</groupId>
<artifactId>james-server-dnsservice-api</artifactId>
<scope>runtime</scope>
- <version>${james.server.version}</version>
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-dnsservice-dnsjava</artifactId>
<scope>runtime</scope>
- <version>${james.server.version}</version>
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-protocols-library</artifactId>
<scope>runtime</scope>
- <version>${james.server.version}</version>
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-util</artifactId>
<scope>runtime</scope>
- <version>${james.server.version}</version>
<exclusions>
<exclusion>
<artifactId>mail</artifactId>
@@ -311,7 +292,6 @@
<groupId>org.apache.james</groupId>
<artifactId>james-server-data-library</artifactId>
<scope>runtime</scope>
- <version>${james.server.version}</version>
<exclusions>
<exclusion>
<artifactId>mail</artifactId>
@@ -323,14 +303,12 @@
<groupId>org.apache.james</groupId>
<artifactId>james-server-data-ldap</artifactId>
<scope>runtime</scope>
- <version>${james.server.version}</version>
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-protocols-smtp</artifactId>
<scope>runtime</scope>
- <version>${james.server.version}</version>
<exclusions>
<exclusion>
<artifactId>mail</artifactId>
@@ -347,7 +325,6 @@
<groupId>org.apache.james</groupId>
<artifactId>james-server-protocols-lmtp</artifactId>
<scope>runtime</scope>
- <version>${james.server.version}</version>
<exclusions>
<exclusion>
<artifactId>mail</artifactId>
@@ -359,7 +336,6 @@
<groupId>org.apache.james</groupId>
<artifactId>james-server-protocols-pop3</artifactId>
<scope>runtime</scope>
- <version>${james.server.version}</version>
<exclusions>
<exclusion>
<artifactId>mail</artifactId>
@@ -371,7 +347,6 @@
<groupId>org.apache.james</groupId>
<artifactId>james-server-fetchmail</artifactId>
<scope>runtime</scope>
- <version>${james.server.version}</version>
<exclusions>
<exclusion>
<artifactId>mail</artifactId>
@@ -383,7 +358,6 @@
<groupId>org.apache.james</groupId>
<artifactId>james-server-queue-file</artifactId>
<scope>runtime</scope>
- <version>${james.server.version}</version>
<exclusions>
<exclusion>
<artifactId>mail</artifactId>
@@ -395,7 +369,6 @@
<groupId>org.apache.james</groupId>
<artifactId>james-server-queue-jms</artifactId>
<scope>runtime</scope>
- <version>${james.server.version}</version>
<exclusions>
<exclusion>
<artifactId>mail</artifactId>
@@ -407,7 +380,6 @@
<groupId>org.apache.james</groupId>
<artifactId>james-server-queue-activemq</artifactId>
<scope>runtime</scope>
- <version>${james.server.version}</version>
<exclusions>
<exclusion>
<artifactId>mail</artifactId>
@@ -419,7 +391,6 @@
<groupId>org.apache.james</groupId>
<artifactId>james-server-mailets</artifactId>
<scope>runtime</scope>
- <version>${james.server.version}</version>
<exclusions>
<exclusion>
<artifactId>mail</artifactId>
@@ -512,7 +483,6 @@
<groupId>org.apache.james</groupId>
<artifactId>james-server-data-file</artifactId>
<scope>runtime</scope>
- <version>${james.server.version}</version>
<exclusions>
<exclusion>
<artifactId>mail</artifactId>
@@ -524,13 +494,11 @@
<groupId>org.apache.james</groupId>
<artifactId>james-server-data-jpa</artifactId>
<scope>runtime</scope>
- <version>${james.server.version}</version>
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-data-jdbc</artifactId>
<scope>runtime</scope>
- <version>${james.server.version}</version>
<exclusions>
<exclusion>
<artifactId>mail</artifactId>
@@ -564,13 +532,11 @@
<groupId>javax.mail</groupId>
</exclusion>
</exclusions>
- <version>${james.server.version}</version>
</dependency>
<dependency>
<groupId>org.apache.james</groupId>
<artifactId>james-server-data-jcr</artifactId>
<scope>runtime</scope>
- <version>${james.server.version}</version>
<exclusions>
<exclusion>
<artifactId>mail</artifactId>
@@ -579,461 +545,457 @@
</exclusions>
</dependency>
- <!--
- <dependency>
- <groupId>org.apache.james</groupId>
- <artifactId>apache-james-imap-processor</artifactId>
- <scope>runtime</scope>
- </dependency>
- -->
<dependency>
<groupId>org.apache.james.protocols</groupId>
<artifactId>protocols-imap</artifactId>
<scope>runtime</scope>
- <version>${protocols.version}</version>
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>appassembler-maven-plugin</artifactId>
- <version>1.0</version>
- <configuration>
- <!-- Include etc/ in the beginning of the classpath declaration in the bin scripts -->
- <includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath>
- <configurationDirectory>conf</configurationDirectory>
- <target>${project.build.directory}/appassembler</target>
- <repositoryLayout>flat</repositoryLayout>
- <repositoryName>lib</repositoryName>
- <includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath>
- <environmentSetupFileName>setenv</environmentSetupFileName>
- <!-- set some sane defaults for memory -->
- <extraJvmArguments>${jvm.system-property1} -Xms128m -Xmx512m ${jmx.system-properties}
- ${javamail.system-properties} ${james.system-properties}
- </extraJvmArguments>
- <!-- Generate bin scripts for windows and unix per default -->
- <platforms>
- <platform>windows</platform>
- <platform>unix</platform>
- </platforms>
- <programs>
- <program>
- <mainClass>org.apache.james.app.spring.JamesAppSpringMain</mainClass>
- <!-- call it only run because appassemble will add .bat by default on windows -->
- <name>run</name>
- <!-- Only generate windows bat script for this application -->
- <platforms>
- <platform>windows</platform>
- </platforms>
- </program>
- <program>
- <mainClass>org.apache.james.app.spring.JamesAppSpringMain</mainClass>
- <name>run.sh</name>
- <!-- Only generate unix shell script for this application -->
- <platforms>
- <platform>unix</platform>
- </platforms>
- </program>
- <!-- This create the scripts for the command line administration client. Maybe this should better be moved to the cli module, but I'm not sure yet -->
- <program>
- <mainClass>org.apache.james.cli.ServerCmd</mainClass>
- <!-- call it only run because appassemble will add .bat by default on windows -->
- <name>james-cli</name>
- <!-- Only generate windows bat script for this application -->
+ <profiles>
+ <profile>
+ <id>with-assembly</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>appassembler-maven-plugin</artifactId>
+ <version>1.0</version>
+ <configuration>
+ <!-- Include etc/ in the beginning of the classpath declaration in the bin scripts -->
+ <includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath>
+ <configurationDirectory>conf</configurationDirectory>
+ <target>${project.build.directory}/appassembler</target>
+ <repositoryLayout>flat</repositoryLayout>
+ <repositoryName>lib</repositoryName>
+ <includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath>
+ <environmentSetupFileName>setenv</environmentSetupFileName>
+ <!-- set some sane defaults for memory -->
+ <extraJvmArguments>${jvm.system-property1} -Xms128m -Xmx512m ${jmx.system-properties}
+ ${javamail.system-properties} ${james.system-properties}
+ </extraJvmArguments>
+ <!-- Generate bin scripts for windows and unix per default -->
<platforms>
<platform>windows</platform>
- </platforms>
- </program>
- <program>
- <mainClass>org.apache.james.cli.ServerCmd</mainClass>
- <name>james-cli.sh</name>
- <!-- Only generate unix shell script for the client -->
- <platforms>
<platform>unix</platform>
</platforms>
- </program>
- </programs>
- <daemons>
- <daemon>
- <id>james</id>
- <mainClass>org.apache.james.app.spring.JamesAppSpringMain</mainClass>
- <commandLineArguments>
- <commandLineArgument>start</commandLineArgument>
- </commandLineArguments>
- <platforms>
- <!--
- =======================================================================
-
- JSW relies on software licensed under the following "Tanuki Software License"
+ <programs>
+ <program>
+ <mainClass>org.apache.james.app.spring.JamesAppSpringMain</mainClass>
+ <!-- call it only run because appassemble will add .bat by default on windows -->
+ <name>run</name>
+ <!-- Only generate windows bat script for this application -->
+ <platforms>
+ <platform>windows</platform>
+ </platforms>
+ </program>
+ <program>
+ <mainClass>org.apache.james.app.spring.JamesAppSpringMain</mainClass>
+ <name>run.sh</name>
+ <!-- Only generate unix shell script for this application -->
+ <platforms>
+ <platform>unix</platform>
+ </platforms>
+ </program>
+
+ <!-- This create the scripts for the command line administration client. Maybe this should better be moved to the cli module, but I'm not sure yet -->
+ <program>
+ <mainClass>org.apache.james.cli.ServerCmd</mainClass>
+ <!-- call it only run because appassemble will add .bat by default on windows -->
+ <name>james-cli</name>
+ <!-- Only generate windows bat script for this application -->
+ <platforms>
+ <platform>windows</platform>
+ </platforms>
+ </program>
+ <program>
+ <mainClass>org.apache.james.cli.ServerCmd</mainClass>
+ <name>james-cli.sh</name>
+ <!-- Only generate unix shell script for the client -->
+ <platforms>
+ <platform>unix</platform>
+ </platforms>
+ </program>
+ </programs>
+ <daemons>
+ <daemon>
+ <id>james</id>
+ <mainClass>org.apache.james.app.spring.JamesAppSpringMain</mainClass>
+ <commandLineArguments>
+ <commandLineArgument>start</commandLineArgument>
+ </commandLineArguments>
+ <platforms>
+ <!--
+ =======================================================================
+
+ JSW relies on software licensed under the following "Tanuki Software License"
+
+ BEGIN Tanuki Software License =========================================
+ Copyright (c) 1999, 2006 Tanuki Software, Inc.
+
+ Permission is hereby granted, free of charge, to any person
+ obtaining a copy of the Java Service Wrapper and associated
+ documentation files (the "Software"), to deal in the Software
+ without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sub-license,
+ and/or sell copies of the Software, and to permit persons to
+ whom the Software is furnished to do so, subject to the
+ following conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ OTHER DEALINGS IN THE SOFTWARE.
+
+
+ Portions of the Software have been derived from source code
+ developed by Silver Egg Technology under the following license:
+
+ BEGIN Silver Egg Techology License =================================
+
+ Copyright (c) 2001 Silver Egg Technology
+
+ Permission is hereby granted, free of charge, to any person
+ obtaining a copy of this software and associated documentation
+ files (the "Software"), to deal in the Software without
+ restriction, including without limitation the rights to use,
+ copy, modify, merge, publish, distribute, sub-license, and/or
+ sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following
+ conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ OTHER DEALINGS IN THE SOFTWARE.
+
+ END Silver Egg Techology License =====================================
+ END Tanuki Software License ============================================
+ ========================================================================
+ -->
+ <platform>jsw</platform>
+ </platforms>
+ <generatorConfigurations>
+ <generatorConfiguration>
+
+ <generator>jsw</generator>
+ <includes>
+ <include>linux-x86-32</include>
+ <include>linux-x86-64</include>
+ <include>linux-ppc-64</include>
+ <include>macosx-x86-universal-32</include>
+ <include>macosx-ppc-32</include>
+ <include>solaris-sparc-32</include>
+ <include>solaris-sparc-64</include>
+ <include>solaris-x86-32</include>
+ <include>windows-x86-32</include>
+ </includes>
+
+ <configuration>
+ <!-- add to to the classpath in this order: config files, james jars, user jars.-->
+ <property>
+ <name>configuration.directory.in.classpath.first</name>
+ <value>../conf</value>
+ </property>
+ <property>
+ <name>configuration.directory.in.classpath.last</name>
+ <value>../conf/lib/*</value>
+ </property>
+ <property>
+ <name>set.default.REPO_DIR</name>
+ <value>../lib</value>
+ </property>
+ <property>
+ <name>wrapper.working.dir</name>
+ <value>.</value>
+ </property>
+ <property>
+ <name>wrapper.logfile</name>
+ <value>log/wrapper.log</value>
+ </property>
+ <property>
+ <name>wrapper.java.library.path</name>
+ <value>../lib</value>
+ </property>
+ <property>
+ <name>wrapper.java.initmemory</name>
+ <value>128</value>
+ </property>
+ <property>
+ <name>wrapper.java.maxmemory</name>
+ <value>512</value>
+ </property>
+ <property>
+ <name>wrapper.java.additional.1</name>
+ <value>${jvm.system-property1}</value>
+ </property>
+ <property>
+ <name>wrapper.java.additional.2</name>
+ <value>${jmx.system-property1}</value>
+ </property>
+ <property>
+ <name>wrapper.java.additional.3</name>
+ <value>${jmx.system-property2}</value>
+ </property>
+ <property>
+ <name>wrapper.java.additional.4</name>
+ <value>${javamail.system-property1}</value>
+ </property>
+ <property>
+ <name>wrapper.java.additional.5</name>
+ <value>${javamail.system-property2}</value>
+ </property>
+ <property>
+ <name>wrapper.java.additional.6</name>
+ <value>${javamail.system-property3}</value>
+ </property>
+ <property>
+ <name>wrapper.java.additional.7</name>
+ <value>${javamail.system-property4}</value>
+ </property>
+ <property>
+ <name>wrapper.java.additional.8</name>
+ <value>${javamail.system-property5}</value>
+ </property>
+ <property>
+ <name>wrapper.java.additional.9</name>
+ <value>${javamail.system-property6}</value>
+ </property>
+ <property>
+ <name>wrapper.java.additional.10</name>
+ <value>${javamail.system-property7}</value>
+ </property>
+ <property>
+ <name>wrapper.java.additional.11</name>
+ <value>${javamail.system-property8}</value>
+ </property>
+ <property>
+ <name>wrapper.java.additional.12</name>
+ <value>${javamail.system-property9}</value>
+ </property>
+ <property>
+ <name>wrapper.java.additional.13</name>
+ <value>${javamail.system-property10}</value>
+ </property>
+ <property>
+ <name>wrapper.java.additional.14</name>
+ <value>${james.system-property1}</value>
+ </property>
+ </configuration>
+ </generatorConfiguration>
+ </generatorConfigurations>
- BEGIN Tanuki Software License =========================================
- Copyright (c) 1999, 2006 Tanuki Software, Inc.
+ </daemon>
+ </daemons>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-appassemble</id>
+ <phase>package</phase>
+ <goals>
+ <goal>assemble</goal>
+ <goal>generate-daemons</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.2</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <configuration>
- Permission is hereby granted, free of charge, to any person
- obtaining a copy of the Java Service Wrapper and associated
- documentation files (the "Software"), to deal in the Software
- without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sub-license,
- and/or sell copies of the Software, and to permit persons to
- whom the Software is furnished to do so, subject to the
- following conditions:
-
- The above copyright notice and this permission notice shall be
- included in all copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- OTHER DEALINGS IN THE SOFTWARE.
-
-
- Portions of the Software have been derived from source code
- developed by Silver Egg Technology under the following license:
-
- BEGIN Silver Egg Techology License =================================
-
- Copyright (c) 2001 Silver Egg Technology
-
- Permission is hereby granted, free of charge, to any person
- obtaining a copy of this software and associated documentation
- files (the "Software"), to deal in the Software without
- restriction, including without limitation the rights to use,
- copy, modify, merge, publish, distribute, sub-license, and/or
- sell copies of the Software, and to permit persons to whom the
- Software is furnished to do so, subject to the following
- conditions:
-
- The above copyright notice and this permission notice shall be
- included in all copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- OTHER DEALINGS IN THE SOFTWARE.
-
- END Silver Egg Techology License =====================================
- END Tanuki Software License ============================================
- ========================================================================
- -->
- <platform>jsw</platform>
- </platforms>
- <generatorConfigurations>
- <generatorConfiguration>
+ <tasks>
+ <!-- this is only needed because windows freak out on long cmd lines, so we strip of the absolute path
+ from the lib dir to make windows happy again
+ -->
+ <replace file="${project.build.directory}/appassembler/bin/run.bat"
+ token="%BASEDIR%\lib" value="..\lib"/>
+ <replace file="${project.build.directory}/appassembler/bin/run.sh" token="setenv"
+ value="setenv.sh"/>
+
+ <!-- this is needed because appassembler is not really smart on some settings -->
+ <replace file="${project.build.directory}/appassembler/jsw/james/conf/wrapper.conf"
+ token="lib/wrapper.jar" value="%REPO_DIR%/wrapper.jar"/>
+ <replace file="${project.build.directory}/appassembler/jsw/james/bin/james" token="logs"
+ value="var"/>
+
+ <!-- copy the linux wrapper-linux-x86-32 to wrapper, so use it as default if no matching wrapper was found -->
+ <copy file="${project.build.directory}/appassembler/jsw/james/bin/wrapper-linux-x86-32"
+ tofile="${project.build.directory}/appassembler/jsw/james/bin/wrapper"/>
+ <!-- this is only needed because windows freak out on long cmd lines, so we strip of the absolute path
+ from the lib dir to make windows happy again
+ -->
+ <replace file="${project.build.directory}/appassembler/bin/james-cli.bat"
+ token="%BASEDIR%\lib" value="..\lib"/>
+ <replace file="${project.build.directory}/appassembler/bin/james-cli.sh" token="setenv"
+ value="setenv.sh"/>
+ </tasks>
- <generator>jsw</generator>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <descriptorSourceDirectory>src/assemble/</descriptorSourceDirectory>
+ <tarLongFileMode>gnu</tarLongFileMode>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attached</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <!--
+ The signing process excludes the artifact created by this plugin.
+ The cause seems likely to be project type pom (not war).
+ If this is the case then releasing the war would require
+ reorganisation.
+ -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <configuration>
+ <webResources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <!-- override the destination directory for this resource -->
+ <targetPath>WEB-INF/conf/</targetPath>
+ <excludes>
+ <exclude>log4j.properties</exclude>
+ <exclude>**/lib/**</exclude>
+ </excludes>
+ </resource>
+ <resource>
+ <directory>src/main/resources</directory>
+ <!-- override the destination directory for this resource -->
+ <targetPath>WEB-INF/classes/</targetPath>
<includes>
- <include>linux-x86-32</include>
- <include>linux-x86-64</include>
- <include>linux-ppc-64</include>
- <include>macosx-x86-universal-32</include>
- <include>macosx-ppc-32</include>
- <include>solaris-sparc-32</include>
- <include>solaris-sparc-64</include>
- <include>solaris-x86-32</include>
- <include>windows-x86-32</include>
+ <include>log4j.properties</include>
</includes>
+ </resource>
+ <resource>
+ <directory>src/main/config/war</directory>
+ <!-- override the destination directory for this resource -->
+ <targetPath>WEB-INF/conf/</targetPath>
+
+ </resource>
+ <resource>
+ <directory>src/main/licensing/war</directory>
+ <targetPath>META-INF</targetPath>
+ <excludes>
+ <exclude>licensing.xml</exclude>
+ </excludes>
+ </resource>
+ <resource>
+ <directory>.</directory>
+ <targetPath>META-INF</targetPath>
+ <includes>
+ <include>README*</include>
+ </includes>
+ </resource>
+ </webResources>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-war</id>
+ <phase>package</phase>
+ <goals>
+ <goal>war</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
- <configuration>
- <!-- add to to the classpath in this order: config files, james jars, user jars.-->
- <property>
- <name>configuration.directory.in.classpath.first</name>
- <value>../conf</value>
- </property>
- <property>
- <name>configuration.directory.in.classpath.last</name>
- <value>../conf/lib/*</value>
- </property>
- <property>
- <name>set.default.REPO_DIR</name>
- <value>../lib</value>
- </property>
- <property>
- <name>wrapper.working.dir</name>
- <value>.</value>
- </property>
- <property>
- <name>wrapper.logfile</name>
- <value>log/wrapper.log</value>
- </property>
- <property>
- <name>wrapper.java.library.path</name>
- <value>../lib</value>
- </property>
- <property>
- <name>wrapper.java.initmemory</name>
- <value>128</value>
- </property>
- <property>
- <name>wrapper.java.maxmemory</name>
- <value>512</value>
- </property>
- <property>
- <name>wrapper.java.additional.1</name>
- <value>${jvm.system-property1}</value>
- </property>
- <property>
- <name>wrapper.java.additional.2</name>
- <value>${jmx.system-property1}</value>
- </property>
- <property>
- <name>wrapper.java.additional.3</name>
- <value>${jmx.system-property2}</value>
- </property>
- <property>
- <name>wrapper.java.additional.4</name>
- <value>${javamail.system-property1}</value>
- </property>
- <property>
- <name>wrapper.java.additional.5</name>
- <value>${javamail.system-property2}</value>
- </property>
- <property>
- <name>wrapper.java.additional.6</name>
- <value>${javamail.system-property3}</value>
- </property>
- <property>
- <name>wrapper.java.additional.7</name>
- <value>${javamail.system-property4}</value>
- </property>
- <property>
- <name>wrapper.java.additional.8</name>
- <value>${javamail.system-property5}</value>
- </property>
- <property>
- <name>wrapper.java.additional.9</name>
- <value>${javamail.system-property6}</value>
- </property>
- <property>
- <name>wrapper.java.additional.10</name>
- <value>${javamail.system-property7}</value>
- </property>
- <property>
- <name>wrapper.java.additional.11</name>
- <value>${javamail.system-property8}</value>
- </property>
- <property>
- <name>wrapper.java.additional.12</name>
- <value>${javamail.system-property9}</value>
- </property>
- <property>
- <name>wrapper.java.additional.13</name>
- <value>${javamail.system-property10}</value>
- </property>
- <property>
- <name>wrapper.java.additional.14</name>
- <value>${james.system-property1}</value>
- </property>
- </configuration>
- </generatorConfiguration>
- </generatorConfigurations>
-
- </daemon>
- </daemons>
- </configuration>
- <executions>
- <execution>
- <id>make-appassemble</id>
- <phase>package</phase>
- <goals>
- <goal>assemble</goal>
- <goal>generate-daemons</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.2</version>
- <executions>
- <execution>
- <phase>package</phase>
+ <profile>
+ <id>with-mpt</id>
+ <build>
+ <plugins>
+ <!-- be sure to start up james before run it -->
+ <plugin>
+ <groupId>org.apache.james</groupId>
+ <artifactId>maven-mpt-plugin</artifactId>
+ <version>0.2-SNAPSHOT</version>
<configuration>
-
- <tasks>
- <!-- this is only needed because windows freak out on long cmd lines, so we strip of the absolute path
- from the lib dir to make windows happy again
- -->
- <replace file="${project.build.directory}/appassembler/bin/run.bat"
- token="%BASEDIR%\lib" value="..\lib"/>
- <replace file="${project.build.directory}/appassembler/bin/run.sh" token="setenv"
- value="setenv.sh"/>
-
- <!-- this is needed because appassembler is not really smart on some settings -->
- <replace file="${project.build.directory}/appassembler/jsw/james/conf/wrapper.conf"
- token="lib/wrapper.jar" value="%REPO_DIR%/wrapper.jar"/>
- <replace file="${project.build.directory}/appassembler/jsw/james/bin/james" token="logs"
- value="var"/>
-
- <!-- copy the linux wrapper-linux-x86-32 to wrapper, so use it as default if no matching wrapper was found -->
- <copy file="${project.build.directory}/appassembler/jsw/james/bin/wrapper-linux-x86-32"
- tofile="${project.build.directory}/appassembler/jsw/james/bin/wrapper"/>
- <!-- this is only needed because windows freak out on long cmd lines, so we strip of the absolute path
- from the lib dir to make windows happy again
- -->
- <replace file="${project.build.directory}/appassembler/bin/james-cli.bat"
- token="%BASEDIR%\lib" value="..\lib"/>
- <replace file="${project.build.directory}/appassembler/bin/james-cli.sh" token="setenv"
- value="setenv.sh"/>
- </tasks>
-
+ <mailProtocolTests>
+ <mailProtocolTest>
+ <host>127.0.0.1</host>
+ <port>110</port>
+ <scriptFile>src/mpt/pop3.mpt</scriptFile>
+ <addUsers>
+ <addUser>
+ <host>127.0.0.1</host>
+ <port>4555</port>
+ <scriptFile>src/mpt/adduser.mpt</scriptFile>
+ <user>root</user>
+ <passwd>root</passwd>
+ </addUser>
+ </addUsers>
+ </mailProtocolTest>
+ <mailProtocolTest>
+ <host>127.0.0.1</host>
+ <port>143</port>
+ <scriptFile>src/mpt/imap.mpt</scriptFile>
+ <addUsers>
+ <addUser>
+ <host>127.0.0.1</host>
+ <port>4555</port>
+ <scriptFile>src/mpt/adduser.mpt</scriptFile>
+ <user>root</user>
+ <passwd>root</passwd>
+ </addUser>
+ </addUsers>
+ </mailProtocolTest>
+ <mailProtocolTest>
+ <host>127.0.0.1</host>
+ <port>25</port>
+ <scriptFile>src/mpt/smtp.mpt</scriptFile>
+ <addUsers>
+ <addUser>
+ <host>127.0.0.1</host>
+ <port>4555</port>
+ <scriptFile>src/mpt/adduser.mpt</scriptFile>
+ <user>root</user>
+ <passwd>root</passwd>
+ </addUser>
+ </addUsers>
+ </mailProtocolTest>
+ </mailProtocolTests>
</configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptorSourceDirectory>src/assemble/</descriptorSourceDirectory>
- <tarLongFileMode>gnu</tarLongFileMode>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <phase>package</phase>
- <goals>
- <goal>attached</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <!--
- The signing process excludes the artifact created by this plugin.
- The cause seems likely to be project type pom (not war).
- If this is the case then releasing the war would require
- reorganisation.
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <configuration>
- <webResources>
- <resource>
- <directory>src/main/resources</directory>
- <!-- override the destination directory for this resource -->
- <targetPath>WEB-INF/conf/</targetPath>
- <excludes>
- <exclude>log4j.properties</exclude>
- <exclude>**/lib/**</exclude>
- </excludes>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- <!-- override the destination directory for this resource -->
- <targetPath>WEB-INF/classes/</targetPath>
- <includes>
- <include>log4j.properties</include>
- </includes>
- </resource>
- <resource>
- <directory>src/main/config/war</directory>
- <!-- override the destination directory for this resource -->
- <targetPath>WEB-INF/conf/</targetPath>
-
- </resource>
- <resource>
- <directory>src/main/licensing/war</directory>
- <targetPath>META-INF</targetPath>
- <excludes>
- <exclude>licensing.xml</exclude>
- </excludes>
- </resource>
- <resource>
- <directory>.</directory>
- <targetPath>META-INF</targetPath>
- <includes>
- <include>README*</include>
- </includes>
- </resource>
- </webResources>
- </configuration>
- <executions>
- <execution>
- <id>make-war</id>
- <phase>package</phase>
- <goals>
- <goal>war</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <!-- be sure to start up james before run it -->
- <!--
- <plugin>
- <groupId>org.apache.james</groupId>
- <artifactId>maven-mpt-plugin</artifactId>
- <version>0.2-SNAPSHOT</version>
- <configuration>
- <mailProtocolTests>
- <mailProtocolTest>
- <host>127.0.0.1</host>
- <port>110</port>
- <scriptFile>src/mpt/pop3.mpt</scriptFile>
- <addUsers>
- <addUser>
- <host>127.0.0.1</host>
- <port>4555</port>
- <scriptFile>src/mpt/adduser.mpt</scriptFile>
- <user>root</user>
- <passwd>root</passwd>
- </addUser>
- </addUsers>
- </mailProtocolTest>
- <mailProtocolTest>
- <host>127.0.0.1</host>
- <port>143</port>
- <scriptFile>src/mpt/imap.mpt</scriptFile>
- <addUsers>
- <addUser>
- <host>127.0.0.1</host>
- <port>4555</port>
- <scriptFile>src/mpt/adduser.mpt</scriptFile>
- <user>root</user>
- <passwd>root</passwd>
- </addUser>
- </addUsers>
- </mailProtocolTest>
- <mailProtocolTest>
- <host>127.0.0.1</host>
- <port>25</port>
- <scriptFile>src/mpt/smtp.mpt</scriptFile>
- <addUsers>
- <addUser>
- <host>127.0.0.1</host>
- <port>4555</port>
- <scriptFile>src/mpt/adduser.mpt</scriptFile>
- <user>root</user>
- <passwd>root</passwd>
- </addUser>
- </addUsers>
- </mailProtocolTest>
- </mailProtocolTests>
-
- </configuration>
- </plugin>
- -->
-
- </plugins>
-
- </build>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
- <profiles>
<profile>
<id>with-jetm</id>
<activation>
@@ -1054,6 +1016,7 @@
</dependency>
</dependencies>
</profile>
+
<profile>
<id>make-deb</id>
<build>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: svn commit: r1429222 - /james/server/trunk/app/pom.xml
Posted by Ioan Eugen Stan <st...@gmail.com>.
Hello Eric,
Please see my response inline:
On Sat, Jan 5, 2013 at 10:15 AM, Eric Charles <er...@apache.org> wrote:
> Hi Ioan,
>
> When we will release, do we need to invoked 'mvn release -Pwith-assembly' ?
Yes!
> If yes, is there a way to enforce that profile for (prepare-)release goals?
It seems so, we need to configure the release-plugin:
http://maven.apache.org/maven-release/maven-release-plugin/examples/perform-release.html
I'll commit a few more things before I get to this.
> Thx, Eric
>
> On 05/01/2013 08:48, ieugen@apache.org wrote:
>>
>> Author: ieugen
>> Date: Sat Jan 5 07:48:22 2013
>> New Revision: 1429222
>>
>> URL: http://svn.apache.org/viewvc?rev=1429222&view=rev
>> Log:
>> JAMES-1460 Moved James App distribution build to profile
>>
>> * James App tar.gz and WAR are now built with '-Pwith-assembly' for faster
>> normal builds
>>
>> Modified:
>> james/server/trunk/app/pom.xml
>>
>> Modified: james/server/trunk/app/pom.xml
>> URL:
>> http://svn.apache.org/viewvc/james/server/trunk/app/pom.xml?rev=1429222&r1=1429221&r2=1429222&view=diff
>>
>> ==============================================================================
>> --- james/server/trunk/app/pom.xml (original)
>> +++ james/server/trunk/app/pom.xml Sat Jan 5 07:48:22 2013
>> @@ -37,8 +37,6 @@
>>
>> <properties>
>>
>> - <james.server.version>3.0-beta5-SNAPSHOT</james.server.version>
>> -
>> <!-- For more details see -->
>> <!--
>> http://java.sun.com/products/javamail/javadocs/javax/mail/internet/package-summary.html
>> -->
>>
>> <javamail.system-property1>-Dmail.mime.multipart.ignoremissingendboundary=true</javamail.system-property1>
>> @@ -78,12 +76,10 @@
>> <dependency>
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-cli</artifactId>
>> - <version>${james.server.version}</version>
>> </dependency>
>> <dependency>
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-core</artifactId>
>> - <version>${james.server.version}</version>
>> <exclusions>
>> <exclusion>
>> <artifactId>mail</artifactId>
>> @@ -94,7 +90,6 @@
>> <dependency>
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-data-api</artifactId>
>> - <version>${james.server.version}</version>
>> <exclusions>
>> <exclusion>
>> <artifactId>mail</artifactId>
>> @@ -105,7 +100,6 @@
>> <dependency>
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-dnsservice-library</artifactId>
>> - <version>${james.server.version}</version>
>> <exclusions>
>> <exclusion>
>> <artifactId>mail</artifactId>
>> @@ -116,17 +110,14 @@
>> <dependency>
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-filesystem-api</artifactId>
>> - <version>${james.server.version}</version>
>> </dependency>
>> <dependency>
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-lifecycle-api</artifactId>
>> - <version>${james.server.version}</version>
>> </dependency>
>> <dependency>
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-mailetcontainer-api</artifactId>
>> - <version>${james.server.version}</version>
>> <exclusions>
>> <exclusion>
>> <artifactId>mail</artifactId>
>> @@ -137,7 +128,6 @@
>> <dependency>
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-queue-api</artifactId>
>> - <version>${james.server.version}</version>
>> <exclusions>
>> <exclusion>
>> <artifactId>mail</artifactId>
>> @@ -148,7 +138,6 @@
>> <dependency>
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-container-spring</artifactId>
>> - <version>${james.server.version}</version>
>> <exclusions>
>> <exclusion>
>> <groupId>org.springframework.osgi</groupId>
>> @@ -167,7 +156,6 @@
>> <dependency>
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-lifecycle-spring</artifactId>
>> - <version>${james.server.version}</version>
>> <scope>runtime</scope>
>> <exclusions>
>> <exclusion>
>> @@ -184,7 +172,6 @@
>> <dependency>
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-cli</artifactId>
>> - <version>${james.server.version}</version>
>> <scope>runtime</scope>
>> </dependency>
>> <dependency>
>> @@ -257,7 +244,6 @@
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-mailetcontainer-camel</artifactId>
>> <scope>runtime</scope>
>> - <version>${james.server.version}</version>
>> <exclusions>
>> <exclusion>
>> <artifactId>mail</artifactId>
>> @@ -269,7 +255,6 @@
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-mailbox-adapter</artifactId>
>> <scope>runtime</scope>
>> - <version>${james.server.version}</version>
>> <exclusions>
>> <exclusion>
>> <artifactId>mail</artifactId>
>> @@ -281,25 +266,21 @@
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-dnsservice-api</artifactId>
>> <scope>runtime</scope>
>> - <version>${james.server.version}</version>
>> </dependency>
>> <dependency>
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-dnsservice-dnsjava</artifactId>
>> <scope>runtime</scope>
>> - <version>${james.server.version}</version>
>> </dependency>
>> <dependency>
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-protocols-library</artifactId>
>> <scope>runtime</scope>
>> - <version>${james.server.version}</version>
>> </dependency>
>> <dependency>
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-util</artifactId>
>> <scope>runtime</scope>
>> - <version>${james.server.version}</version>
>> <exclusions>
>> <exclusion>
>> <artifactId>mail</artifactId>
>> @@ -311,7 +292,6 @@
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-data-library</artifactId>
>> <scope>runtime</scope>
>> - <version>${james.server.version}</version>
>> <exclusions>
>> <exclusion>
>> <artifactId>mail</artifactId>
>> @@ -323,14 +303,12 @@
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-data-ldap</artifactId>
>> <scope>runtime</scope>
>> - <version>${james.server.version}</version>
>> </dependency>
>>
>> <dependency>
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-protocols-smtp</artifactId>
>> <scope>runtime</scope>
>> - <version>${james.server.version}</version>
>> <exclusions>
>> <exclusion>
>> <artifactId>mail</artifactId>
>> @@ -347,7 +325,6 @@
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-protocols-lmtp</artifactId>
>> <scope>runtime</scope>
>> - <version>${james.server.version}</version>
>> <exclusions>
>> <exclusion>
>> <artifactId>mail</artifactId>
>> @@ -359,7 +336,6 @@
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-protocols-pop3</artifactId>
>> <scope>runtime</scope>
>> - <version>${james.server.version}</version>
>> <exclusions>
>> <exclusion>
>> <artifactId>mail</artifactId>
>> @@ -371,7 +347,6 @@
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-fetchmail</artifactId>
>> <scope>runtime</scope>
>> - <version>${james.server.version}</version>
>> <exclusions>
>> <exclusion>
>> <artifactId>mail</artifactId>
>> @@ -383,7 +358,6 @@
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-queue-file</artifactId>
>> <scope>runtime</scope>
>> - <version>${james.server.version}</version>
>> <exclusions>
>> <exclusion>
>> <artifactId>mail</artifactId>
>> @@ -395,7 +369,6 @@
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-queue-jms</artifactId>
>> <scope>runtime</scope>
>> - <version>${james.server.version}</version>
>> <exclusions>
>> <exclusion>
>> <artifactId>mail</artifactId>
>> @@ -407,7 +380,6 @@
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-queue-activemq</artifactId>
>> <scope>runtime</scope>
>> - <version>${james.server.version}</version>
>> <exclusions>
>> <exclusion>
>> <artifactId>mail</artifactId>
>> @@ -419,7 +391,6 @@
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-mailets</artifactId>
>> <scope>runtime</scope>
>> - <version>${james.server.version}</version>
>> <exclusions>
>> <exclusion>
>> <artifactId>mail</artifactId>
>> @@ -512,7 +483,6 @@
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-data-file</artifactId>
>> <scope>runtime</scope>
>> - <version>${james.server.version}</version>
>> <exclusions>
>> <exclusion>
>> <artifactId>mail</artifactId>
>> @@ -524,13 +494,11 @@
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-data-jpa</artifactId>
>> <scope>runtime</scope>
>> - <version>${james.server.version}</version>
>> </dependency>
>> <dependency>
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-data-jdbc</artifactId>
>> <scope>runtime</scope>
>> - <version>${james.server.version}</version>
>> <exclusions>
>> <exclusion>
>> <artifactId>mail</artifactId>
>> @@ -564,13 +532,11 @@
>> <groupId>javax.mail</groupId>
>> </exclusion>
>> </exclusions>
>> - <version>${james.server.version}</version>
>> </dependency>
>> <dependency>
>> <groupId>org.apache.james</groupId>
>> <artifactId>james-server-data-jcr</artifactId>
>> <scope>runtime</scope>
>> - <version>${james.server.version}</version>
>> <exclusions>
>> <exclusion>
>> <artifactId>mail</artifactId>
>> @@ -579,461 +545,457 @@
>> </exclusions>
>> </dependency>
>>
>> - <!--
>> - <dependency>
>> - <groupId>org.apache.james</groupId>
>> - <artifactId>apache-james-imap-processor</artifactId>
>> - <scope>runtime</scope>
>> - </dependency>
>> - -->
>> <dependency>
>> <groupId>org.apache.james.protocols</groupId>
>> <artifactId>protocols-imap</artifactId>
>> <scope>runtime</scope>
>> - <version>${protocols.version}</version>
>> </dependency>
>> </dependencies>
>> - <build>
>> - <plugins>
>> - <plugin>
>> - <groupId>org.codehaus.mojo</groupId>
>> - <artifactId>appassembler-maven-plugin</artifactId>
>> - <version>1.0</version>
>> - <configuration>
>> - <!-- Include etc/ in the beginning of the classpath
>> declaration in the bin scripts -->
>> -
>> <includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath>
>> - <configurationDirectory>conf</configurationDirectory>
>> -
>> <target>${project.build.directory}/appassembler</target>
>> - <repositoryLayout>flat</repositoryLayout>
>> - <repositoryName>lib</repositoryName>
>> -
>> <includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath>
>> -
>> <environmentSetupFileName>setenv</environmentSetupFileName>
>> - <!-- set some sane defaults for memory -->
>> - <extraJvmArguments>${jvm.system-property1} -Xms128m
>> -Xmx512m ${jmx.system-properties}
>> - ${javamail.system-properties}
>> ${james.system-properties}
>> - </extraJvmArguments>
>> - <!-- Generate bin scripts for windows and unix per
>> default -->
>> - <platforms>
>> - <platform>windows</platform>
>> - <platform>unix</platform>
>> - </platforms>
>> - <programs>
>> - <program>
>> -
>> <mainClass>org.apache.james.app.spring.JamesAppSpringMain</mainClass>
>> - <!-- call it only run because appassemble
>> will add .bat by default on windows -->
>> - <name>run</name>
>> - <!-- Only generate windows bat script for
>> this application -->
>> - <platforms>
>> - <platform>windows</platform>
>> - </platforms>
>> - </program>
>> - <program>
>> -
>> <mainClass>org.apache.james.app.spring.JamesAppSpringMain</mainClass>
>> - <name>run.sh</name>
>> - <!-- Only generate unix shell script for this
>> application -->
>> - <platforms>
>> - <platform>unix</platform>
>> - </platforms>
>> - </program>
>>
>> - <!-- This create the scripts for the command line
>> administration client. Maybe this should better be moved to the cli module,
>> but I'm not sure yet -->
>> - <program>
>> -
>> <mainClass>org.apache.james.cli.ServerCmd</mainClass>
>> - <!-- call it only run because appassemble
>> will add .bat by default on windows -->
>> - <name>james-cli</name>
>> - <!-- Only generate windows bat script for
>> this application -->
>> + <profiles>
>> + <profile>
>> + <id>with-assembly</id>
>> + <build>
>> + <plugins>
>> + <plugin>
>> + <groupId>org.codehaus.mojo</groupId>
>> +
>> <artifactId>appassembler-maven-plugin</artifactId>
>> + <version>1.0</version>
>> + <configuration>
>> + <!-- Include etc/ in the beginning of the
>> classpath declaration in the bin scripts -->
>> +
>> <includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath>
>> +
>> <configurationDirectory>conf</configurationDirectory>
>> +
>> <target>${project.build.directory}/appassembler</target>
>> + <repositoryLayout>flat</repositoryLayout>
>> + <repositoryName>lib</repositoryName>
>> +
>> <includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath>
>> +
>> <environmentSetupFileName>setenv</environmentSetupFileName>
>> + <!-- set some sane defaults for memory -->
>> + <extraJvmArguments>${jvm.system-property1}
>> -Xms128m -Xmx512m ${jmx.system-properties}
>> + ${javamail.system-properties}
>> ${james.system-properties}
>> + </extraJvmArguments>
>> + <!-- Generate bin scripts for windows and
>> unix per default -->
>> <platforms>
>> <platform>windows</platform>
>> - </platforms>
>> - </program>
>> - <program>
>> -
>> <mainClass>org.apache.james.cli.ServerCmd</mainClass>
>> - <name>james-cli.sh</name>
>> - <!-- Only generate unix shell script for the
>> client -->
>> - <platforms>
>> <platform>unix</platform>
>> </platforms>
>> - </program>
>> - </programs>
>> - <daemons>
>> - <daemon>
>> - <id>james</id>
>> -
>> <mainClass>org.apache.james.app.spring.JamesAppSpringMain</mainClass>
>> - <commandLineArguments>
>> -
>> <commandLineArgument>start</commandLineArgument>
>> - </commandLineArguments>
>> - <platforms>
>> - <!--
>> -
>> =======================================================================
>> -
>> - JSW relies on software licensed under
>> the following "Tanuki Software License"
>> + <programs>
>> + <program>
>> +
>> <mainClass>org.apache.james.app.spring.JamesAppSpringMain</mainClass>
>> + <!-- call it only run because
>> appassemble will add .bat by default on windows -->
>> + <name>run</name>
>> + <!-- Only generate windows bat script
>> for this application -->
>> + <platforms>
>> + <platform>windows</platform>
>> + </platforms>
>> + </program>
>> + <program>
>> +
>> <mainClass>org.apache.james.app.spring.JamesAppSpringMain</mainClass>
>> + <name>run.sh</name>
>> + <!-- Only generate unix shell script
>> for this application -->
>> + <platforms>
>> + <platform>unix</platform>
>> + </platforms>
>> + </program>
>> +
>> + <!-- This create the scripts for the
>> command line administration client. Maybe this should better be moved to the
>> cli module, but I'm not sure yet -->
>> + <program>
>> +
>> <mainClass>org.apache.james.cli.ServerCmd</mainClass>
>> + <!-- call it only run because
>> appassemble will add .bat by default on windows -->
>> + <name>james-cli</name>
>> + <!-- Only generate windows bat script
>> for this application -->
>> + <platforms>
>> + <platform>windows</platform>
>> + </platforms>
>> + </program>
>> + <program>
>> +
>> <mainClass>org.apache.james.cli.ServerCmd</mainClass>
>> + <name>james-cli.sh</name>
>> + <!-- Only generate unix shell script
>> for the client -->
>> + <platforms>
>> + <platform>unix</platform>
>> + </platforms>
>> + </program>
>> + </programs>
>> + <daemons>
>> + <daemon>
>> + <id>james</id>
>> +
>> <mainClass>org.apache.james.app.spring.JamesAppSpringMain</mainClass>
>> + <commandLineArguments>
>> +
>> <commandLineArgument>start</commandLineArgument>
>> + </commandLineArguments>
>> + <platforms>
>> + <!--
>> +
>> =======================================================================
>> +
>> + JSW relies on software
>> licensed under the following "Tanuki Software License"
>> +
>> + BEGIN Tanuki Software License
>> =========================================
>> + Copyright (c) 1999, 2006
>> Tanuki Software, Inc.
>> +
>> + Permission is hereby granted,
>> free of charge, to any person
>> + obtaining a copy of the Java
>> Service Wrapper and associated
>> + documentation files (the
>> "Software"), to deal in the Software
>> + without restriction,
>> including without limitation the rights
>> + to use, copy, modify, merge,
>> publish, distribute, sub-license,
>> + and/or sell copies of the
>> Software, and to permit persons to
>> + whom the Software is
>> furnished to do so, subject to the
>> + following conditions:
>> +
>> + The above copyright notice
>> and this permission notice shall be
>> + included in all copies or
>> substantial portions of the Software.
>> +
>> + THE SOFTWARE IS PROVIDED "AS
>> IS", WITHOUT WARRANTY OF ANY KIND,
>> + EXPRESS OR IMPLIED, INCLUDING
>> BUT NOT LIMITED TO THE WARRANTIES
>> + OF MERCHANTABILITY, FITNESS
>> FOR A PARTICULAR PURPOSE AND
>> + NON-INFRINGEMENT. IN NO EVENT
>> SHALL THE AUTHORS OR COPYRIGHT
>> + HOLDERS BE LIABLE FOR ANY
>> CLAIM, DAMAGES OR OTHER LIABILITY,
>> + WHETHER IN AN ACTION OF
>> CONTRACT, TORT OR OTHERWISE, ARISING
>> + FROM, OUT OF OR IN CONNECTION
>> WITH THE SOFTWARE OR THE USE OR
>> + OTHER DEALINGS IN THE
>> SOFTWARE.
>> +
>> +
>> + Portions of the Software have
>> been derived from source code
>> + developed by Silver Egg
>> Technology under the following license:
>> +
>> + BEGIN Silver Egg Techology
>> License =================================
>> +
>> + Copyright (c) 2001 Silver Egg
>> Technology
>> +
>> + Permission is hereby granted,
>> free of charge, to any person
>> + obtaining a copy of this
>> software and associated documentation
>> + files (the "Software"), to
>> deal in the Software without
>> + restriction, including
>> without limitation the rights to use,
>> + copy, modify, merge, publish,
>> distribute, sub-license, and/or
>> + sell copies of the Software,
>> and to permit persons to whom the
>> + Software is furnished to do
>> so, subject to the following
>> + conditions:
>> +
>> + The above copyright notice
>> and this permission notice shall be
>> + included in all copies or
>> substantial portions of the Software.
>> +
>> + THE SOFTWARE IS PROVIDED "AS
>> IS", WITHOUT WARRANTY OF ANY KIND,
>> + EXPRESS OR IMPLIED, INCLUDING
>> BUT NOT LIMITED TO THE WARRANTIES
>> + OF MERCHANTABILITY, FITNESS
>> FOR A PARTICULAR PURPOSE AND
>> + NON-INFRINGEMENT. IN NO EVENT
>> SHALL THE AUTHORS OR COPYRIGHT
>> + HOLDERS BE LIABLE FOR ANY
>> CLAIM, DAMAGES OR OTHER LIABILITY,
>> + WHETHER IN AN ACTION OF
>> CONTRACT, TORT OR OTHERWISE, ARISING
>> + FROM, OUT OF OR IN CONNECTION
>> WITH THE SOFTWARE OR THE USE OR
>> + OTHER DEALINGS IN THE
>> SOFTWARE.
>> +
>> + END Silver Egg Techology
>> License =====================================
>> + END Tanuki Software License
>> ============================================
>> +
>> ========================================================================
>> + -->
>> + <platform>jsw</platform>
>> + </platforms>
>> + <generatorConfigurations>
>> + <generatorConfiguration>
>> +
>> + <generator>jsw</generator>
>> + <includes>
>> +
>> <include>linux-x86-32</include>
>> +
>> <include>linux-x86-64</include>
>> +
>> <include>linux-ppc-64</include>
>> +
>> <include>macosx-x86-universal-32</include>
>> +
>> <include>macosx-ppc-32</include>
>> +
>> <include>solaris-sparc-32</include>
>> +
>> <include>solaris-sparc-64</include>
>> +
>> <include>solaris-x86-32</include>
>> +
>> <include>windows-x86-32</include>
>> + </includes>
>> +
>> + <configuration>
>> + <!-- add to to the
>> classpath in this order: config files, james jars, user jars.-->
>> + <property>
>> +
>> <name>configuration.directory.in.classpath.first</name>
>> +
>> <value>../conf</value>
>> + </property>
>> + <property>
>> +
>> <name>configuration.directory.in.classpath.last</name>
>> +
>> <value>../conf/lib/*</value>
>> + </property>
>> + <property>
>> +
>> <name>set.default.REPO_DIR</name>
>> + <value>../lib</value>
>> + </property>
>> + <property>
>> +
>> <name>wrapper.working.dir</name>
>> + <value>.</value>
>> + </property>
>> + <property>
>> +
>> <name>wrapper.logfile</name>
>> +
>> <value>log/wrapper.log</value>
>> + </property>
>> + <property>
>> +
>> <name>wrapper.java.library.path</name>
>> + <value>../lib</value>
>> + </property>
>> + <property>
>> +
>> <name>wrapper.java.initmemory</name>
>> + <value>128</value>
>> + </property>
>> + <property>
>> +
>> <name>wrapper.java.maxmemory</name>
>> + <value>512</value>
>> + </property>
>> + <property>
>> +
>> <name>wrapper.java.additional.1</name>
>> +
>> <value>${jvm.system-property1}</value>
>> + </property>
>> + <property>
>> +
>> <name>wrapper.java.additional.2</name>
>> +
>> <value>${jmx.system-property1}</value>
>> + </property>
>> + <property>
>> +
>> <name>wrapper.java.additional.3</name>
>> +
>> <value>${jmx.system-property2}</value>
>> + </property>
>> + <property>
>> +
>> <name>wrapper.java.additional.4</name>
>> +
>> <value>${javamail.system-property1}</value>
>> + </property>
>> + <property>
>> +
>> <name>wrapper.java.additional.5</name>
>> +
>> <value>${javamail.system-property2}</value>
>> + </property>
>> + <property>
>> +
>> <name>wrapper.java.additional.6</name>
>> +
>> <value>${javamail.system-property3}</value>
>> + </property>
>> + <property>
>> +
>> <name>wrapper.java.additional.7</name>
>> +
>> <value>${javamail.system-property4}</value>
>> + </property>
>> + <property>
>> +
>> <name>wrapper.java.additional.8</name>
>> +
>> <value>${javamail.system-property5}</value>
>> + </property>
>> + <property>
>> +
>> <name>wrapper.java.additional.9</name>
>> +
>> <value>${javamail.system-property6}</value>
>> + </property>
>> + <property>
>> +
>> <name>wrapper.java.additional.10</name>
>> +
>> <value>${javamail.system-property7}</value>
>> + </property>
>> + <property>
>> +
>> <name>wrapper.java.additional.11</name>
>> +
>> <value>${javamail.system-property8}</value>
>> + </property>
>> + <property>
>> +
>> <name>wrapper.java.additional.12</name>
>> +
>> <value>${javamail.system-property9}</value>
>> + </property>
>> + <property>
>> +
>> <name>wrapper.java.additional.13</name>
>> +
>> <value>${javamail.system-property10}</value>
>> + </property>
>> + <property>
>> +
>> <name>wrapper.java.additional.14</name>
>> +
>> <value>${james.system-property1}</value>
>> + </property>
>> + </configuration>
>> + </generatorConfiguration>
>> + </generatorConfigurations>
>>
>> - BEGIN Tanuki Software License
>> =========================================
>> - Copyright (c) 1999, 2006 Tanuki
>> Software, Inc.
>> + </daemon>
>> + </daemons>
>> + </configuration>
>> + <executions>
>> + <execution>
>> + <id>make-appassemble</id>
>> + <phase>package</phase>
>> + <goals>
>> + <goal>assemble</goal>
>> + <goal>generate-daemons</goal>
>> + </goals>
>> + </execution>
>> + </executions>
>> + </plugin>
>> + <plugin>
>> + <groupId>org.apache.maven.plugins</groupId>
>> + <artifactId>maven-antrun-plugin</artifactId>
>> + <version>1.2</version>
>> + <executions>
>> + <execution>
>> + <phase>package</phase>
>> + <configuration>
>>
>> - Permission is hereby granted, free of
>> charge, to any person
>> - obtaining a copy of the Java Service
>> Wrapper and associated
>> - documentation files (the "Software"),
>> to deal in the Software
>> - without restriction, including
>> without limitation the rights
>> - to use, copy, modify, merge, publish,
>> distribute, sub-license,
>> - and/or sell copies of the Software,
>> and to permit persons to
>> - whom the Software is furnished to do
>> so, subject to the
>> - following conditions:
>> -
>> - The above copyright notice and this
>> permission notice shall be
>> - included in all copies or substantial
>> portions of the Software.
>> -
>> - THE SOFTWARE IS PROVIDED "AS IS",
>> WITHOUT WARRANTY OF ANY KIND,
>> - EXPRESS OR IMPLIED, INCLUDING BUT NOT
>> LIMITED TO THE WARRANTIES
>> - OF MERCHANTABILITY, FITNESS FOR A
>> PARTICULAR PURPOSE AND
>> - NON-INFRINGEMENT. IN NO EVENT SHALL
>> THE AUTHORS OR COPYRIGHT
>> - HOLDERS BE LIABLE FOR ANY CLAIM,
>> DAMAGES OR OTHER LIABILITY,
>> - WHETHER IN AN ACTION OF CONTRACT,
>> TORT OR OTHERWISE, ARISING
>> - FROM, OUT OF OR IN CONNECTION WITH
>> THE SOFTWARE OR THE USE OR
>> - OTHER DEALINGS IN THE SOFTWARE.
>> -
>> -
>> - Portions of the Software have been
>> derived from source code
>> - developed by Silver Egg Technology
>> under the following license:
>> -
>> - BEGIN Silver Egg Techology License
>> =================================
>> -
>> - Copyright (c) 2001 Silver Egg
>> Technology
>> -
>> - Permission is hereby granted, free of
>> charge, to any person
>> - obtaining a copy of this software and
>> associated documentation
>> - files (the "Software"), to deal in
>> the Software without
>> - restriction, including without
>> limitation the rights to use,
>> - copy, modify, merge, publish,
>> distribute, sub-license, and/or
>> - sell copies of the Software, and to
>> permit persons to whom the
>> - Software is furnished to do so,
>> subject to the following
>> - conditions:
>> -
>> - The above copyright notice and this
>> permission notice shall be
>> - included in all copies or substantial
>> portions of the Software.
>> -
>> - THE SOFTWARE IS PROVIDED "AS IS",
>> WITHOUT WARRANTY OF ANY KIND,
>> - EXPRESS OR IMPLIED, INCLUDING BUT NOT
>> LIMITED TO THE WARRANTIES
>> - OF MERCHANTABILITY, FITNESS FOR A
>> PARTICULAR PURPOSE AND
>> - NON-INFRINGEMENT. IN NO EVENT SHALL
>> THE AUTHORS OR COPYRIGHT
>> - HOLDERS BE LIABLE FOR ANY CLAIM,
>> DAMAGES OR OTHER LIABILITY,
>> - WHETHER IN AN ACTION OF CONTRACT,
>> TORT OR OTHERWISE, ARISING
>> - FROM, OUT OF OR IN CONNECTION WITH
>> THE SOFTWARE OR THE USE OR
>> - OTHER DEALINGS IN THE SOFTWARE.
>> -
>> - END Silver Egg Techology License
>> =====================================
>> - END Tanuki Software License
>> ============================================
>> -
>> ========================================================================
>> - -->
>> - <platform>jsw</platform>
>> - </platforms>
>> - <generatorConfigurations>
>> - <generatorConfiguration>
>> + <tasks>
>> + <!-- this is only needed because
>> windows freak out on long cmd lines, so we strip of the absolute path
>> + from the lib dir to make
>> windows happy again
>> + -->
>> + <replace
>> file="${project.build.directory}/appassembler/bin/run.bat"
>> + token="%BASEDIR%\lib"
>> value="..\lib"/>
>> + <replace
>> file="${project.build.directory}/appassembler/bin/run.sh" token="setenv"
>> + value="setenv.sh"/>
>> +
>> + <!-- this is needed because
>> appassembler is not really smart on some settings -->
>> + <replace
>> file="${project.build.directory}/appassembler/jsw/james/conf/wrapper.conf"
>> + token="lib/wrapper.jar"
>> value="%REPO_DIR%/wrapper.jar"/>
>> + <replace
>> file="${project.build.directory}/appassembler/jsw/james/bin/james"
>> token="logs"
>> + value="var"/>
>> +
>> + <!-- copy the linux
>> wrapper-linux-x86-32 to wrapper, so use it as default if no matching wrapper
>> was found -->
>> + <copy
>> file="${project.build.directory}/appassembler/jsw/james/bin/wrapper-linux-x86-32"
>> +
>> tofile="${project.build.directory}/appassembler/jsw/james/bin/wrapper"/>
>> + <!-- this is only needed because
>> windows freak out on long cmd lines, so we strip of the absolute path
>> + from the lib dir to make
>> windows happy again
>> + -->
>> + <replace
>> file="${project.build.directory}/appassembler/bin/james-cli.bat"
>> + token="%BASEDIR%\lib"
>> value="..\lib"/>
>> + <replace
>> file="${project.build.directory}/appassembler/bin/james-cli.sh"
>> token="setenv"
>> + value="setenv.sh"/>
>> + </tasks>
>>
>> - <generator>jsw</generator>
>> + </configuration>
>> + <goals>
>> + <goal>run</goal>
>> + </goals>
>> + </execution>
>> + </executions>
>> + </plugin>
>> + <plugin>
>> + <artifactId>maven-assembly-plugin</artifactId>
>> + <configuration>
>> +
>> <descriptorSourceDirectory>src/assemble/</descriptorSourceDirectory>
>> + <tarLongFileMode>gnu</tarLongFileMode>
>> + </configuration>
>> + <executions>
>> + <execution>
>> + <id>make-assembly</id>
>> + <phase>package</phase>
>> + <goals>
>> + <goal>attached</goal>
>> + </goals>
>> + </execution>
>> + </executions>
>> + </plugin>
>> + <!--
>> + The signing process excludes the artifact created by
>> this plugin.
>> + The cause seems likely to be project type pom (not
>> war).
>> + If this is the case then releasing the war would
>> require
>> + reorganisation.
>> + -->
>> + <plugin>
>> + <groupId>org.apache.maven.plugins</groupId>
>> + <artifactId>maven-war-plugin</artifactId>
>> + <configuration>
>> + <webResources>
>> + <resource>
>> +
>> <directory>src/main/resources</directory>
>> + <!-- override the destination
>> directory for this resource -->
>> +
>> <targetPath>WEB-INF/conf/</targetPath>
>> + <excludes>
>> +
>> <exclude>log4j.properties</exclude>
>> + <exclude>**/lib/**</exclude>
>> + </excludes>
>> + </resource>
>> + <resource>
>> +
>> <directory>src/main/resources</directory>
>> + <!-- override the destination
>> directory for this resource -->
>> +
>> <targetPath>WEB-INF/classes/</targetPath>
>> <includes>
>> - <include>linux-x86-32</include>
>> - <include>linux-x86-64</include>
>> - <include>linux-ppc-64</include>
>> -
>> <include>macosx-x86-universal-32</include>
>> - <include>macosx-ppc-32</include>
>> -
>> <include>solaris-sparc-32</include>
>> -
>> <include>solaris-sparc-64</include>
>> - <include>solaris-x86-32</include>
>> - <include>windows-x86-32</include>
>> +
>> <include>log4j.properties</include>
>> </includes>
>> + </resource>
>> + <resource>
>> +
>> <directory>src/main/config/war</directory>
>> + <!-- override the destination
>> directory for this resource -->
>> +
>> <targetPath>WEB-INF/conf/</targetPath>
>> +
>> + </resource>
>> + <resource>
>> +
>> <directory>src/main/licensing/war</directory>
>> + <targetPath>META-INF</targetPath>
>> + <excludes>
>> + <exclude>licensing.xml</exclude>
>> + </excludes>
>> + </resource>
>> + <resource>
>> + <directory>.</directory>
>> + <targetPath>META-INF</targetPath>
>> + <includes>
>> + <include>README*</include>
>> + </includes>
>> + </resource>
>> + </webResources>
>> + </configuration>
>> + <executions>
>> + <execution>
>> + <id>make-war</id>
>> + <phase>package</phase>
>> + <goals>
>> + <goal>war</goal>
>> + </goals>
>> + </execution>
>> + </executions>
>> + </plugin>
>> + </plugins>
>> + </build>
>> + </profile>
>>
>> - <configuration>
>> - <!-- add to to the classpath in
>> this order: config files, james jars, user jars.-->
>> - <property>
>> -
>> <name>configuration.directory.in.classpath.first</name>
>> - <value>../conf</value>
>> - </property>
>> - <property>
>> -
>> <name>configuration.directory.in.classpath.last</name>
>> - <value>../conf/lib/*</value>
>> - </property>
>> - <property>
>> -
>> <name>set.default.REPO_DIR</name>
>> - <value>../lib</value>
>> - </property>
>> - <property>
>> -
>> <name>wrapper.working.dir</name>
>> - <value>.</value>
>> - </property>
>> - <property>
>> - <name>wrapper.logfile</name>
>> -
>> <value>log/wrapper.log</value>
>> - </property>
>> - <property>
>> -
>> <name>wrapper.java.library.path</name>
>> - <value>../lib</value>
>> - </property>
>> - <property>
>> -
>> <name>wrapper.java.initmemory</name>
>> - <value>128</value>
>> - </property>
>> - <property>
>> -
>> <name>wrapper.java.maxmemory</name>
>> - <value>512</value>
>> - </property>
>> - <property>
>> -
>> <name>wrapper.java.additional.1</name>
>> -
>> <value>${jvm.system-property1}</value>
>> - </property>
>> - <property>
>> -
>> <name>wrapper.java.additional.2</name>
>> -
>> <value>${jmx.system-property1}</value>
>> - </property>
>> - <property>
>> -
>> <name>wrapper.java.additional.3</name>
>> -
>> <value>${jmx.system-property2}</value>
>> - </property>
>> - <property>
>> -
>> <name>wrapper.java.additional.4</name>
>> -
>> <value>${javamail.system-property1}</value>
>> - </property>
>> - <property>
>> -
>> <name>wrapper.java.additional.5</name>
>> -
>> <value>${javamail.system-property2}</value>
>> - </property>
>> - <property>
>> -
>> <name>wrapper.java.additional.6</name>
>> -
>> <value>${javamail.system-property3}</value>
>> - </property>
>> - <property>
>> -
>> <name>wrapper.java.additional.7</name>
>> -
>> <value>${javamail.system-property4}</value>
>> - </property>
>> - <property>
>> -
>> <name>wrapper.java.additional.8</name>
>> -
>> <value>${javamail.system-property5}</value>
>> - </property>
>> - <property>
>> -
>> <name>wrapper.java.additional.9</name>
>> -
>> <value>${javamail.system-property6}</value>
>> - </property>
>> - <property>
>> -
>> <name>wrapper.java.additional.10</name>
>> -
>> <value>${javamail.system-property7}</value>
>> - </property>
>> - <property>
>> -
>> <name>wrapper.java.additional.11</name>
>> -
>> <value>${javamail.system-property8}</value>
>> - </property>
>> - <property>
>> -
>> <name>wrapper.java.additional.12</name>
>> -
>> <value>${javamail.system-property9}</value>
>> - </property>
>> - <property>
>> -
>> <name>wrapper.java.additional.13</name>
>> -
>> <value>${javamail.system-property10}</value>
>> - </property>
>> - <property>
>> -
>> <name>wrapper.java.additional.14</name>
>> -
>> <value>${james.system-property1}</value>
>> - </property>
>> - </configuration>
>> - </generatorConfiguration>
>> - </generatorConfigurations>
>> -
>> - </daemon>
>> - </daemons>
>> - </configuration>
>> - <executions>
>> - <execution>
>> - <id>make-appassemble</id>
>> - <phase>package</phase>
>> - <goals>
>> - <goal>assemble</goal>
>> - <goal>generate-daemons</goal>
>> - </goals>
>> - </execution>
>> - </executions>
>> - </plugin>
>> - <plugin>
>> - <groupId>org.apache.maven.plugins</groupId>
>> - <artifactId>maven-antrun-plugin</artifactId>
>> - <version>1.2</version>
>> - <executions>
>> - <execution>
>> - <phase>package</phase>
>> + <profile>
>> + <id>with-mpt</id>
>> + <build>
>> + <plugins>
>> + <!-- be sure to start up james before run it -->
>> + <plugin>
>> + <groupId>org.apache.james</groupId>
>> + <artifactId>maven-mpt-plugin</artifactId>
>> + <version>0.2-SNAPSHOT</version>
>> <configuration>
>> -
>> - <tasks>
>> - <!-- this is only needed because windows
>> freak out on long cmd lines, so we strip of the absolute path
>> - from the lib dir to make windows
>> happy again
>> - -->
>> - <replace
>> file="${project.build.directory}/appassembler/bin/run.bat"
>> - token="%BASEDIR%\lib"
>> value="..\lib"/>
>> - <replace
>> file="${project.build.directory}/appassembler/bin/run.sh" token="setenv"
>> - value="setenv.sh"/>
>> -
>> - <!-- this is needed because appassembler
>> is not really smart on some settings -->
>> - <replace
>> file="${project.build.directory}/appassembler/jsw/james/conf/wrapper.conf"
>> - token="lib/wrapper.jar"
>> value="%REPO_DIR%/wrapper.jar"/>
>> - <replace
>> file="${project.build.directory}/appassembler/jsw/james/bin/james"
>> token="logs"
>> - value="var"/>
>> -
>> - <!-- copy the linux wrapper-linux-x86-32
>> to wrapper, so use it as default if no matching wrapper was found -->
>> - <copy
>> file="${project.build.directory}/appassembler/jsw/james/bin/wrapper-linux-x86-32"
>> -
>> tofile="${project.build.directory}/appassembler/jsw/james/bin/wrapper"/>
>> - <!-- this is only needed because windows
>> freak out on long cmd lines, so we strip of the absolute path
>> - from the lib dir to make windows
>> happy again
>> - -->
>> - <replace
>> file="${project.build.directory}/appassembler/bin/james-cli.bat"
>> - token="%BASEDIR%\lib"
>> value="..\lib"/>
>> - <replace
>> file="${project.build.directory}/appassembler/bin/james-cli.sh"
>> token="setenv"
>> - value="setenv.sh"/>
>> - </tasks>
>> -
>> + <mailProtocolTests>
>> + <mailProtocolTest>
>> + <host>127.0.0.1</host>
>> + <port>110</port>
>> +
>> <scriptFile>src/mpt/pop3.mpt</scriptFile>
>> + <addUsers>
>> + <addUser>
>> + <host>127.0.0.1</host>
>> + <port>4555</port>
>> +
>> <scriptFile>src/mpt/adduser.mpt</scriptFile>
>> + <user>root</user>
>> + <passwd>root</passwd>
>> + </addUser>
>> + </addUsers>
>> + </mailProtocolTest>
>> + <mailProtocolTest>
>> + <host>127.0.0.1</host>
>> + <port>143</port>
>> +
>> <scriptFile>src/mpt/imap.mpt</scriptFile>
>> + <addUsers>
>> + <addUser>
>> + <host>127.0.0.1</host>
>> + <port>4555</port>
>> +
>> <scriptFile>src/mpt/adduser.mpt</scriptFile>
>> + <user>root</user>
>> + <passwd>root</passwd>
>> + </addUser>
>> + </addUsers>
>> + </mailProtocolTest>
>> + <mailProtocolTest>
>> + <host>127.0.0.1</host>
>> + <port>25</port>
>> +
>> <scriptFile>src/mpt/smtp.mpt</scriptFile>
>> + <addUsers>
>> + <addUser>
>> + <host>127.0.0.1</host>
>> + <port>4555</port>
>> +
>> <scriptFile>src/mpt/adduser.mpt</scriptFile>
>> + <user>root</user>
>> + <passwd>root</passwd>
>> + </addUser>
>> + </addUsers>
>> + </mailProtocolTest>
>> + </mailProtocolTests>
>> </configuration>
>> - <goals>
>> - <goal>run</goal>
>> - </goals>
>> - </execution>
>> - </executions>
>> - </plugin>
>> -
>> - <plugin>
>> - <artifactId>maven-assembly-plugin</artifactId>
>> - <configuration>
>> -
>> <descriptorSourceDirectory>src/assemble/</descriptorSourceDirectory>
>> - <tarLongFileMode>gnu</tarLongFileMode>
>> - </configuration>
>> - <executions>
>> - <execution>
>> - <id>make-assembly</id>
>> - <phase>package</phase>
>> - <goals>
>> - <goal>attached</goal>
>> - </goals>
>> - </execution>
>> - </executions>
>> - </plugin>
>> -
>> - <!--
>> - The signing process excludes the artifact created by this
>> plugin.
>> - The cause seems likely to be project type pom (not war).
>> - If this is the case then releasing the war would require
>> - reorganisation.
>> - -->
>> - <plugin>
>> - <groupId>org.apache.maven.plugins</groupId>
>> - <artifactId>maven-war-plugin</artifactId>
>> - <configuration>
>> - <webResources>
>> - <resource>
>> - <directory>src/main/resources</directory>
>> - <!-- override the destination directory for
>> this resource -->
>> - <targetPath>WEB-INF/conf/</targetPath>
>> - <excludes>
>> - <exclude>log4j.properties</exclude>
>> - <exclude>**/lib/**</exclude>
>> - </excludes>
>> - </resource>
>> - <resource>
>> - <directory>src/main/resources</directory>
>> - <!-- override the destination directory for
>> this resource -->
>> - <targetPath>WEB-INF/classes/</targetPath>
>> - <includes>
>> - <include>log4j.properties</include>
>> - </includes>
>> - </resource>
>> - <resource>
>> - <directory>src/main/config/war</directory>
>> - <!-- override the destination directory for
>> this resource -->
>> - <targetPath>WEB-INF/conf/</targetPath>
>> -
>> - </resource>
>> - <resource>
>> - <directory>src/main/licensing/war</directory>
>> - <targetPath>META-INF</targetPath>
>> - <excludes>
>> - <exclude>licensing.xml</exclude>
>> - </excludes>
>> - </resource>
>> - <resource>
>> - <directory>.</directory>
>> - <targetPath>META-INF</targetPath>
>> - <includes>
>> - <include>README*</include>
>> - </includes>
>> - </resource>
>> - </webResources>
>> - </configuration>
>> - <executions>
>> - <execution>
>> - <id>make-war</id>
>> - <phase>package</phase>
>> - <goals>
>> - <goal>war</goal>
>> - </goals>
>> - </execution>
>> - </executions>
>> - </plugin>
>> -
>> - <!-- be sure to start up james before run it -->
>> - <!--
>> - <plugin>
>> - <groupId>org.apache.james</groupId>
>> - <artifactId>maven-mpt-plugin</artifactId>
>> - <version>0.2-SNAPSHOT</version>
>> - <configuration>
>> - <mailProtocolTests>
>> - <mailProtocolTest>
>> - <host>127.0.0.1</host>
>> - <port>110</port>
>> - <scriptFile>src/mpt/pop3.mpt</scriptFile>
>> - <addUsers>
>> - <addUser>
>> - <host>127.0.0.1</host>
>> - <port>4555</port>
>> - <scriptFile>src/mpt/adduser.mpt</scriptFile>
>> - <user>root</user>
>> - <passwd>root</passwd>
>> - </addUser>
>> - </addUsers>
>> - </mailProtocolTest>
>> - <mailProtocolTest>
>> - <host>127.0.0.1</host>
>> - <port>143</port>
>> - <scriptFile>src/mpt/imap.mpt</scriptFile>
>> - <addUsers>
>> - <addUser>
>> - <host>127.0.0.1</host>
>> - <port>4555</port>
>> - <scriptFile>src/mpt/adduser.mpt</scriptFile>
>> - <user>root</user>
>> - <passwd>root</passwd>
>> - </addUser>
>> - </addUsers>
>> - </mailProtocolTest>
>> - <mailProtocolTest>
>> - <host>127.0.0.1</host>
>> - <port>25</port>
>> - <scriptFile>src/mpt/smtp.mpt</scriptFile>
>> - <addUsers>
>> - <addUser>
>> - <host>127.0.0.1</host>
>> - <port>4555</port>
>> - <scriptFile>src/mpt/adduser.mpt</scriptFile>
>> - <user>root</user>
>> - <passwd>root</passwd>
>> - </addUser>
>> - </addUsers>
>> - </mailProtocolTest>
>> - </mailProtocolTests>
>> -
>> - </configuration>
>> - </plugin>
>> - -->
>> -
>> - </plugins>
>> -
>> - </build>
>> + </plugin>
>> + </plugins>
>> + </build>
>> + </profile>
>>
>> - <profiles>
>> <profile>
>> <id>with-jetm</id>
>> <activation>
>> @@ -1054,6 +1016,7 @@
>> </dependency>
>> </dependencies>
>> </profile>
>> +
>> <profile>
>> <id>make-deb</id>
>> <build>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-dev-help@james.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
--
Ioan Eugen Stan / CTO / http://axemblr.com
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: svn commit: r1429222 - /james/server/trunk/app/pom.xml
Posted by Eric Charles <er...@apache.org>.
Hi Ioan,
When we will release, do we need to invoked 'mvn release -Pwith-assembly' ?
If yes, is there a way to enforce that profile for (prepare-)release goals?
Thx, Eric
On 05/01/2013 08:48, ieugen@apache.org wrote:
> Author: ieugen
> Date: Sat Jan 5 07:48:22 2013
> New Revision: 1429222
>
> URL: http://svn.apache.org/viewvc?rev=1429222&view=rev
> Log:
> JAMES-1460 Moved James App distribution build to profile
>
> * James App tar.gz and WAR are now built with '-Pwith-assembly' for faster normal builds
>
> Modified:
> james/server/trunk/app/pom.xml
>
> Modified: james/server/trunk/app/pom.xml
> URL: http://svn.apache.org/viewvc/james/server/trunk/app/pom.xml?rev=1429222&r1=1429221&r2=1429222&view=diff
> ==============================================================================
> --- james/server/trunk/app/pom.xml (original)
> +++ james/server/trunk/app/pom.xml Sat Jan 5 07:48:22 2013
> @@ -37,8 +37,6 @@
>
> <properties>
>
> - <james.server.version>3.0-beta5-SNAPSHOT</james.server.version>
> -
> <!-- For more details see -->
> <!-- http://java.sun.com/products/javamail/javadocs/javax/mail/internet/package-summary.html -->
> <javamail.system-property1>-Dmail.mime.multipart.ignoremissingendboundary=true</javamail.system-property1>
> @@ -78,12 +76,10 @@
> <dependency>
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-cli</artifactId>
> - <version>${james.server.version}</version>
> </dependency>
> <dependency>
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-core</artifactId>
> - <version>${james.server.version}</version>
> <exclusions>
> <exclusion>
> <artifactId>mail</artifactId>
> @@ -94,7 +90,6 @@
> <dependency>
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-data-api</artifactId>
> - <version>${james.server.version}</version>
> <exclusions>
> <exclusion>
> <artifactId>mail</artifactId>
> @@ -105,7 +100,6 @@
> <dependency>
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-dnsservice-library</artifactId>
> - <version>${james.server.version}</version>
> <exclusions>
> <exclusion>
> <artifactId>mail</artifactId>
> @@ -116,17 +110,14 @@
> <dependency>
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-filesystem-api</artifactId>
> - <version>${james.server.version}</version>
> </dependency>
> <dependency>
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-lifecycle-api</artifactId>
> - <version>${james.server.version}</version>
> </dependency>
> <dependency>
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-mailetcontainer-api</artifactId>
> - <version>${james.server.version}</version>
> <exclusions>
> <exclusion>
> <artifactId>mail</artifactId>
> @@ -137,7 +128,6 @@
> <dependency>
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-queue-api</artifactId>
> - <version>${james.server.version}</version>
> <exclusions>
> <exclusion>
> <artifactId>mail</artifactId>
> @@ -148,7 +138,6 @@
> <dependency>
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-container-spring</artifactId>
> - <version>${james.server.version}</version>
> <exclusions>
> <exclusion>
> <groupId>org.springframework.osgi</groupId>
> @@ -167,7 +156,6 @@
> <dependency>
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-lifecycle-spring</artifactId>
> - <version>${james.server.version}</version>
> <scope>runtime</scope>
> <exclusions>
> <exclusion>
> @@ -184,7 +172,6 @@
> <dependency>
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-cli</artifactId>
> - <version>${james.server.version}</version>
> <scope>runtime</scope>
> </dependency>
> <dependency>
> @@ -257,7 +244,6 @@
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-mailetcontainer-camel</artifactId>
> <scope>runtime</scope>
> - <version>${james.server.version}</version>
> <exclusions>
> <exclusion>
> <artifactId>mail</artifactId>
> @@ -269,7 +255,6 @@
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-mailbox-adapter</artifactId>
> <scope>runtime</scope>
> - <version>${james.server.version}</version>
> <exclusions>
> <exclusion>
> <artifactId>mail</artifactId>
> @@ -281,25 +266,21 @@
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-dnsservice-api</artifactId>
> <scope>runtime</scope>
> - <version>${james.server.version}</version>
> </dependency>
> <dependency>
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-dnsservice-dnsjava</artifactId>
> <scope>runtime</scope>
> - <version>${james.server.version}</version>
> </dependency>
> <dependency>
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-protocols-library</artifactId>
> <scope>runtime</scope>
> - <version>${james.server.version}</version>
> </dependency>
> <dependency>
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-util</artifactId>
> <scope>runtime</scope>
> - <version>${james.server.version}</version>
> <exclusions>
> <exclusion>
> <artifactId>mail</artifactId>
> @@ -311,7 +292,6 @@
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-data-library</artifactId>
> <scope>runtime</scope>
> - <version>${james.server.version}</version>
> <exclusions>
> <exclusion>
> <artifactId>mail</artifactId>
> @@ -323,14 +303,12 @@
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-data-ldap</artifactId>
> <scope>runtime</scope>
> - <version>${james.server.version}</version>
> </dependency>
>
> <dependency>
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-protocols-smtp</artifactId>
> <scope>runtime</scope>
> - <version>${james.server.version}</version>
> <exclusions>
> <exclusion>
> <artifactId>mail</artifactId>
> @@ -347,7 +325,6 @@
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-protocols-lmtp</artifactId>
> <scope>runtime</scope>
> - <version>${james.server.version}</version>
> <exclusions>
> <exclusion>
> <artifactId>mail</artifactId>
> @@ -359,7 +336,6 @@
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-protocols-pop3</artifactId>
> <scope>runtime</scope>
> - <version>${james.server.version}</version>
> <exclusions>
> <exclusion>
> <artifactId>mail</artifactId>
> @@ -371,7 +347,6 @@
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-fetchmail</artifactId>
> <scope>runtime</scope>
> - <version>${james.server.version}</version>
> <exclusions>
> <exclusion>
> <artifactId>mail</artifactId>
> @@ -383,7 +358,6 @@
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-queue-file</artifactId>
> <scope>runtime</scope>
> - <version>${james.server.version}</version>
> <exclusions>
> <exclusion>
> <artifactId>mail</artifactId>
> @@ -395,7 +369,6 @@
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-queue-jms</artifactId>
> <scope>runtime</scope>
> - <version>${james.server.version}</version>
> <exclusions>
> <exclusion>
> <artifactId>mail</artifactId>
> @@ -407,7 +380,6 @@
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-queue-activemq</artifactId>
> <scope>runtime</scope>
> - <version>${james.server.version}</version>
> <exclusions>
> <exclusion>
> <artifactId>mail</artifactId>
> @@ -419,7 +391,6 @@
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-mailets</artifactId>
> <scope>runtime</scope>
> - <version>${james.server.version}</version>
> <exclusions>
> <exclusion>
> <artifactId>mail</artifactId>
> @@ -512,7 +483,6 @@
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-data-file</artifactId>
> <scope>runtime</scope>
> - <version>${james.server.version}</version>
> <exclusions>
> <exclusion>
> <artifactId>mail</artifactId>
> @@ -524,13 +494,11 @@
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-data-jpa</artifactId>
> <scope>runtime</scope>
> - <version>${james.server.version}</version>
> </dependency>
> <dependency>
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-data-jdbc</artifactId>
> <scope>runtime</scope>
> - <version>${james.server.version}</version>
> <exclusions>
> <exclusion>
> <artifactId>mail</artifactId>
> @@ -564,13 +532,11 @@
> <groupId>javax.mail</groupId>
> </exclusion>
> </exclusions>
> - <version>${james.server.version}</version>
> </dependency>
> <dependency>
> <groupId>org.apache.james</groupId>
> <artifactId>james-server-data-jcr</artifactId>
> <scope>runtime</scope>
> - <version>${james.server.version}</version>
> <exclusions>
> <exclusion>
> <artifactId>mail</artifactId>
> @@ -579,461 +545,457 @@
> </exclusions>
> </dependency>
>
> - <!--
> - <dependency>
> - <groupId>org.apache.james</groupId>
> - <artifactId>apache-james-imap-processor</artifactId>
> - <scope>runtime</scope>
> - </dependency>
> - -->
> <dependency>
> <groupId>org.apache.james.protocols</groupId>
> <artifactId>protocols-imap</artifactId>
> <scope>runtime</scope>
> - <version>${protocols.version}</version>
> </dependency>
> </dependencies>
> - <build>
> - <plugins>
> - <plugin>
> - <groupId>org.codehaus.mojo</groupId>
> - <artifactId>appassembler-maven-plugin</artifactId>
> - <version>1.0</version>
> - <configuration>
> - <!-- Include etc/ in the beginning of the classpath declaration in the bin scripts -->
> - <includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath>
> - <configurationDirectory>conf</configurationDirectory>
> - <target>${project.build.directory}/appassembler</target>
> - <repositoryLayout>flat</repositoryLayout>
> - <repositoryName>lib</repositoryName>
> - <includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath>
> - <environmentSetupFileName>setenv</environmentSetupFileName>
> - <!-- set some sane defaults for memory -->
> - <extraJvmArguments>${jvm.system-property1} -Xms128m -Xmx512m ${jmx.system-properties}
> - ${javamail.system-properties} ${james.system-properties}
> - </extraJvmArguments>
> - <!-- Generate bin scripts for windows and unix per default -->
> - <platforms>
> - <platform>windows</platform>
> - <platform>unix</platform>
> - </platforms>
> - <programs>
> - <program>
> - <mainClass>org.apache.james.app.spring.JamesAppSpringMain</mainClass>
> - <!-- call it only run because appassemble will add .bat by default on windows -->
> - <name>run</name>
> - <!-- Only generate windows bat script for this application -->
> - <platforms>
> - <platform>windows</platform>
> - </platforms>
> - </program>
> - <program>
> - <mainClass>org.apache.james.app.spring.JamesAppSpringMain</mainClass>
> - <name>run.sh</name>
> - <!-- Only generate unix shell script for this application -->
> - <platforms>
> - <platform>unix</platform>
> - </platforms>
> - </program>
>
> - <!-- This create the scripts for the command line administration client. Maybe this should better be moved to the cli module, but I'm not sure yet -->
> - <program>
> - <mainClass>org.apache.james.cli.ServerCmd</mainClass>
> - <!-- call it only run because appassemble will add .bat by default on windows -->
> - <name>james-cli</name>
> - <!-- Only generate windows bat script for this application -->
> + <profiles>
> + <profile>
> + <id>with-assembly</id>
> + <build>
> + <plugins>
> + <plugin>
> + <groupId>org.codehaus.mojo</groupId>
> + <artifactId>appassembler-maven-plugin</artifactId>
> + <version>1.0</version>
> + <configuration>
> + <!-- Include etc/ in the beginning of the classpath declaration in the bin scripts -->
> + <includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath>
> + <configurationDirectory>conf</configurationDirectory>
> + <target>${project.build.directory}/appassembler</target>
> + <repositoryLayout>flat</repositoryLayout>
> + <repositoryName>lib</repositoryName>
> + <includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath>
> + <environmentSetupFileName>setenv</environmentSetupFileName>
> + <!-- set some sane defaults for memory -->
> + <extraJvmArguments>${jvm.system-property1} -Xms128m -Xmx512m ${jmx.system-properties}
> + ${javamail.system-properties} ${james.system-properties}
> + </extraJvmArguments>
> + <!-- Generate bin scripts for windows and unix per default -->
> <platforms>
> <platform>windows</platform>
> - </platforms>
> - </program>
> - <program>
> - <mainClass>org.apache.james.cli.ServerCmd</mainClass>
> - <name>james-cli.sh</name>
> - <!-- Only generate unix shell script for the client -->
> - <platforms>
> <platform>unix</platform>
> </platforms>
> - </program>
> - </programs>
> - <daemons>
> - <daemon>
> - <id>james</id>
> - <mainClass>org.apache.james.app.spring.JamesAppSpringMain</mainClass>
> - <commandLineArguments>
> - <commandLineArgument>start</commandLineArgument>
> - </commandLineArguments>
> - <platforms>
> - <!--
> - =======================================================================
> -
> - JSW relies on software licensed under the following "Tanuki Software License"
> + <programs>
> + <program>
> + <mainClass>org.apache.james.app.spring.JamesAppSpringMain</mainClass>
> + <!-- call it only run because appassemble will add .bat by default on windows -->
> + <name>run</name>
> + <!-- Only generate windows bat script for this application -->
> + <platforms>
> + <platform>windows</platform>
> + </platforms>
> + </program>
> + <program>
> + <mainClass>org.apache.james.app.spring.JamesAppSpringMain</mainClass>
> + <name>run.sh</name>
> + <!-- Only generate unix shell script for this application -->
> + <platforms>
> + <platform>unix</platform>
> + </platforms>
> + </program>
> +
> + <!-- This create the scripts for the command line administration client. Maybe this should better be moved to the cli module, but I'm not sure yet -->
> + <program>
> + <mainClass>org.apache.james.cli.ServerCmd</mainClass>
> + <!-- call it only run because appassemble will add .bat by default on windows -->
> + <name>james-cli</name>
> + <!-- Only generate windows bat script for this application -->
> + <platforms>
> + <platform>windows</platform>
> + </platforms>
> + </program>
> + <program>
> + <mainClass>org.apache.james.cli.ServerCmd</mainClass>
> + <name>james-cli.sh</name>
> + <!-- Only generate unix shell script for the client -->
> + <platforms>
> + <platform>unix</platform>
> + </platforms>
> + </program>
> + </programs>
> + <daemons>
> + <daemon>
> + <id>james</id>
> + <mainClass>org.apache.james.app.spring.JamesAppSpringMain</mainClass>
> + <commandLineArguments>
> + <commandLineArgument>start</commandLineArgument>
> + </commandLineArguments>
> + <platforms>
> + <!--
> + =======================================================================
> +
> + JSW relies on software licensed under the following "Tanuki Software License"
> +
> + BEGIN Tanuki Software License =========================================
> + Copyright (c) 1999, 2006 Tanuki Software, Inc.
> +
> + Permission is hereby granted, free of charge, to any person
> + obtaining a copy of the Java Service Wrapper and associated
> + documentation files (the "Software"), to deal in the Software
> + without restriction, including without limitation the rights
> + to use, copy, modify, merge, publish, distribute, sub-license,
> + and/or sell copies of the Software, and to permit persons to
> + whom the Software is furnished to do so, subject to the
> + following conditions:
> +
> + The above copyright notice and this permission notice shall be
> + included in all copies or substantial portions of the Software.
> +
> + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
> + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> + NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
> + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
> + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
> + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
> + OTHER DEALINGS IN THE SOFTWARE.
> +
> +
> + Portions of the Software have been derived from source code
> + developed by Silver Egg Technology under the following license:
> +
> + BEGIN Silver Egg Techology License =================================
> +
> + Copyright (c) 2001 Silver Egg Technology
> +
> + Permission is hereby granted, free of charge, to any person
> + obtaining a copy of this software and associated documentation
> + files (the "Software"), to deal in the Software without
> + restriction, including without limitation the rights to use,
> + copy, modify, merge, publish, distribute, sub-license, and/or
> + sell copies of the Software, and to permit persons to whom the
> + Software is furnished to do so, subject to the following
> + conditions:
> +
> + The above copyright notice and this permission notice shall be
> + included in all copies or substantial portions of the Software.
> +
> + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
> + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> + NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
> + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
> + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
> + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
> + OTHER DEALINGS IN THE SOFTWARE.
> +
> + END Silver Egg Techology License =====================================
> + END Tanuki Software License ============================================
> + ========================================================================
> + -->
> + <platform>jsw</platform>
> + </platforms>
> + <generatorConfigurations>
> + <generatorConfiguration>
> +
> + <generator>jsw</generator>
> + <includes>
> + <include>linux-x86-32</include>
> + <include>linux-x86-64</include>
> + <include>linux-ppc-64</include>
> + <include>macosx-x86-universal-32</include>
> + <include>macosx-ppc-32</include>
> + <include>solaris-sparc-32</include>
> + <include>solaris-sparc-64</include>
> + <include>solaris-x86-32</include>
> + <include>windows-x86-32</include>
> + </includes>
> +
> + <configuration>
> + <!-- add to to the classpath in this order: config files, james jars, user jars.-->
> + <property>
> + <name>configuration.directory.in.classpath.first</name>
> + <value>../conf</value>
> + </property>
> + <property>
> + <name>configuration.directory.in.classpath.last</name>
> + <value>../conf/lib/*</value>
> + </property>
> + <property>
> + <name>set.default.REPO_DIR</name>
> + <value>../lib</value>
> + </property>
> + <property>
> + <name>wrapper.working.dir</name>
> + <value>.</value>
> + </property>
> + <property>
> + <name>wrapper.logfile</name>
> + <value>log/wrapper.log</value>
> + </property>
> + <property>
> + <name>wrapper.java.library.path</name>
> + <value>../lib</value>
> + </property>
> + <property>
> + <name>wrapper.java.initmemory</name>
> + <value>128</value>
> + </property>
> + <property>
> + <name>wrapper.java.maxmemory</name>
> + <value>512</value>
> + </property>
> + <property>
> + <name>wrapper.java.additional.1</name>
> + <value>${jvm.system-property1}</value>
> + </property>
> + <property>
> + <name>wrapper.java.additional.2</name>
> + <value>${jmx.system-property1}</value>
> + </property>
> + <property>
> + <name>wrapper.java.additional.3</name>
> + <value>${jmx.system-property2}</value>
> + </property>
> + <property>
> + <name>wrapper.java.additional.4</name>
> + <value>${javamail.system-property1}</value>
> + </property>
> + <property>
> + <name>wrapper.java.additional.5</name>
> + <value>${javamail.system-property2}</value>
> + </property>
> + <property>
> + <name>wrapper.java.additional.6</name>
> + <value>${javamail.system-property3}</value>
> + </property>
> + <property>
> + <name>wrapper.java.additional.7</name>
> + <value>${javamail.system-property4}</value>
> + </property>
> + <property>
> + <name>wrapper.java.additional.8</name>
> + <value>${javamail.system-property5}</value>
> + </property>
> + <property>
> + <name>wrapper.java.additional.9</name>
> + <value>${javamail.system-property6}</value>
> + </property>
> + <property>
> + <name>wrapper.java.additional.10</name>
> + <value>${javamail.system-property7}</value>
> + </property>
> + <property>
> + <name>wrapper.java.additional.11</name>
> + <value>${javamail.system-property8}</value>
> + </property>
> + <property>
> + <name>wrapper.java.additional.12</name>
> + <value>${javamail.system-property9}</value>
> + </property>
> + <property>
> + <name>wrapper.java.additional.13</name>
> + <value>${javamail.system-property10}</value>
> + </property>
> + <property>
> + <name>wrapper.java.additional.14</name>
> + <value>${james.system-property1}</value>
> + </property>
> + </configuration>
> + </generatorConfiguration>
> + </generatorConfigurations>
>
> - BEGIN Tanuki Software License =========================================
> - Copyright (c) 1999, 2006 Tanuki Software, Inc.
> + </daemon>
> + </daemons>
> + </configuration>
> + <executions>
> + <execution>
> + <id>make-appassemble</id>
> + <phase>package</phase>
> + <goals>
> + <goal>assemble</goal>
> + <goal>generate-daemons</goal>
> + </goals>
> + </execution>
> + </executions>
> + </plugin>
> + <plugin>
> + <groupId>org.apache.maven.plugins</groupId>
> + <artifactId>maven-antrun-plugin</artifactId>
> + <version>1.2</version>
> + <executions>
> + <execution>
> + <phase>package</phase>
> + <configuration>
>
> - Permission is hereby granted, free of charge, to any person
> - obtaining a copy of the Java Service Wrapper and associated
> - documentation files (the "Software"), to deal in the Software
> - without restriction, including without limitation the rights
> - to use, copy, modify, merge, publish, distribute, sub-license,
> - and/or sell copies of the Software, and to permit persons to
> - whom the Software is furnished to do so, subject to the
> - following conditions:
> -
> - The above copyright notice and this permission notice shall be
> - included in all copies or substantial portions of the Software.
> -
> - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
> - OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> - NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
> - HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
> - WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
> - FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
> - OTHER DEALINGS IN THE SOFTWARE.
> -
> -
> - Portions of the Software have been derived from source code
> - developed by Silver Egg Technology under the following license:
> -
> - BEGIN Silver Egg Techology License =================================
> -
> - Copyright (c) 2001 Silver Egg Technology
> -
> - Permission is hereby granted, free of charge, to any person
> - obtaining a copy of this software and associated documentation
> - files (the "Software"), to deal in the Software without
> - restriction, including without limitation the rights to use,
> - copy, modify, merge, publish, distribute, sub-license, and/or
> - sell copies of the Software, and to permit persons to whom the
> - Software is furnished to do so, subject to the following
> - conditions:
> -
> - The above copyright notice and this permission notice shall be
> - included in all copies or substantial portions of the Software.
> -
> - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
> - OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> - NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
> - HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
> - WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
> - FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
> - OTHER DEALINGS IN THE SOFTWARE.
> -
> - END Silver Egg Techology License =====================================
> - END Tanuki Software License ============================================
> - ========================================================================
> - -->
> - <platform>jsw</platform>
> - </platforms>
> - <generatorConfigurations>
> - <generatorConfiguration>
> + <tasks>
> + <!-- this is only needed because windows freak out on long cmd lines, so we strip of the absolute path
> + from the lib dir to make windows happy again
> + -->
> + <replace file="${project.build.directory}/appassembler/bin/run.bat"
> + token="%BASEDIR%\lib" value="..\lib"/>
> + <replace file="${project.build.directory}/appassembler/bin/run.sh" token="setenv"
> + value="setenv.sh"/>
> +
> + <!-- this is needed because appassembler is not really smart on some settings -->
> + <replace file="${project.build.directory}/appassembler/jsw/james/conf/wrapper.conf"
> + token="lib/wrapper.jar" value="%REPO_DIR%/wrapper.jar"/>
> + <replace file="${project.build.directory}/appassembler/jsw/james/bin/james" token="logs"
> + value="var"/>
> +
> + <!-- copy the linux wrapper-linux-x86-32 to wrapper, so use it as default if no matching wrapper was found -->
> + <copy file="${project.build.directory}/appassembler/jsw/james/bin/wrapper-linux-x86-32"
> + tofile="${project.build.directory}/appassembler/jsw/james/bin/wrapper"/>
> + <!-- this is only needed because windows freak out on long cmd lines, so we strip of the absolute path
> + from the lib dir to make windows happy again
> + -->
> + <replace file="${project.build.directory}/appassembler/bin/james-cli.bat"
> + token="%BASEDIR%\lib" value="..\lib"/>
> + <replace file="${project.build.directory}/appassembler/bin/james-cli.sh" token="setenv"
> + value="setenv.sh"/>
> + </tasks>
>
> - <generator>jsw</generator>
> + </configuration>
> + <goals>
> + <goal>run</goal>
> + </goals>
> + </execution>
> + </executions>
> + </plugin>
> + <plugin>
> + <artifactId>maven-assembly-plugin</artifactId>
> + <configuration>
> + <descriptorSourceDirectory>src/assemble/</descriptorSourceDirectory>
> + <tarLongFileMode>gnu</tarLongFileMode>
> + </configuration>
> + <executions>
> + <execution>
> + <id>make-assembly</id>
> + <phase>package</phase>
> + <goals>
> + <goal>attached</goal>
> + </goals>
> + </execution>
> + </executions>
> + </plugin>
> + <!--
> + The signing process excludes the artifact created by this plugin.
> + The cause seems likely to be project type pom (not war).
> + If this is the case then releasing the war would require
> + reorganisation.
> + -->
> + <plugin>
> + <groupId>org.apache.maven.plugins</groupId>
> + <artifactId>maven-war-plugin</artifactId>
> + <configuration>
> + <webResources>
> + <resource>
> + <directory>src/main/resources</directory>
> + <!-- override the destination directory for this resource -->
> + <targetPath>WEB-INF/conf/</targetPath>
> + <excludes>
> + <exclude>log4j.properties</exclude>
> + <exclude>**/lib/**</exclude>
> + </excludes>
> + </resource>
> + <resource>
> + <directory>src/main/resources</directory>
> + <!-- override the destination directory for this resource -->
> + <targetPath>WEB-INF/classes/</targetPath>
> <includes>
> - <include>linux-x86-32</include>
> - <include>linux-x86-64</include>
> - <include>linux-ppc-64</include>
> - <include>macosx-x86-universal-32</include>
> - <include>macosx-ppc-32</include>
> - <include>solaris-sparc-32</include>
> - <include>solaris-sparc-64</include>
> - <include>solaris-x86-32</include>
> - <include>windows-x86-32</include>
> + <include>log4j.properties</include>
> </includes>
> + </resource>
> + <resource>
> + <directory>src/main/config/war</directory>
> + <!-- override the destination directory for this resource -->
> + <targetPath>WEB-INF/conf/</targetPath>
> +
> + </resource>
> + <resource>
> + <directory>src/main/licensing/war</directory>
> + <targetPath>META-INF</targetPath>
> + <excludes>
> + <exclude>licensing.xml</exclude>
> + </excludes>
> + </resource>
> + <resource>
> + <directory>.</directory>
> + <targetPath>META-INF</targetPath>
> + <includes>
> + <include>README*</include>
> + </includes>
> + </resource>
> + </webResources>
> + </configuration>
> + <executions>
> + <execution>
> + <id>make-war</id>
> + <phase>package</phase>
> + <goals>
> + <goal>war</goal>
> + </goals>
> + </execution>
> + </executions>
> + </plugin>
> + </plugins>
> + </build>
> + </profile>
>
> - <configuration>
> - <!-- add to to the classpath in this order: config files, james jars, user jars.-->
> - <property>
> - <name>configuration.directory.in.classpath.first</name>
> - <value>../conf</value>
> - </property>
> - <property>
> - <name>configuration.directory.in.classpath.last</name>
> - <value>../conf/lib/*</value>
> - </property>
> - <property>
> - <name>set.default.REPO_DIR</name>
> - <value>../lib</value>
> - </property>
> - <property>
> - <name>wrapper.working.dir</name>
> - <value>.</value>
> - </property>
> - <property>
> - <name>wrapper.logfile</name>
> - <value>log/wrapper.log</value>
> - </property>
> - <property>
> - <name>wrapper.java.library.path</name>
> - <value>../lib</value>
> - </property>
> - <property>
> - <name>wrapper.java.initmemory</name>
> - <value>128</value>
> - </property>
> - <property>
> - <name>wrapper.java.maxmemory</name>
> - <value>512</value>
> - </property>
> - <property>
> - <name>wrapper.java.additional.1</name>
> - <value>${jvm.system-property1}</value>
> - </property>
> - <property>
> - <name>wrapper.java.additional.2</name>
> - <value>${jmx.system-property1}</value>
> - </property>
> - <property>
> - <name>wrapper.java.additional.3</name>
> - <value>${jmx.system-property2}</value>
> - </property>
> - <property>
> - <name>wrapper.java.additional.4</name>
> - <value>${javamail.system-property1}</value>
> - </property>
> - <property>
> - <name>wrapper.java.additional.5</name>
> - <value>${javamail.system-property2}</value>
> - </property>
> - <property>
> - <name>wrapper.java.additional.6</name>
> - <value>${javamail.system-property3}</value>
> - </property>
> - <property>
> - <name>wrapper.java.additional.7</name>
> - <value>${javamail.system-property4}</value>
> - </property>
> - <property>
> - <name>wrapper.java.additional.8</name>
> - <value>${javamail.system-property5}</value>
> - </property>
> - <property>
> - <name>wrapper.java.additional.9</name>
> - <value>${javamail.system-property6}</value>
> - </property>
> - <property>
> - <name>wrapper.java.additional.10</name>
> - <value>${javamail.system-property7}</value>
> - </property>
> - <property>
> - <name>wrapper.java.additional.11</name>
> - <value>${javamail.system-property8}</value>
> - </property>
> - <property>
> - <name>wrapper.java.additional.12</name>
> - <value>${javamail.system-property9}</value>
> - </property>
> - <property>
> - <name>wrapper.java.additional.13</name>
> - <value>${javamail.system-property10}</value>
> - </property>
> - <property>
> - <name>wrapper.java.additional.14</name>
> - <value>${james.system-property1}</value>
> - </property>
> - </configuration>
> - </generatorConfiguration>
> - </generatorConfigurations>
> -
> - </daemon>
> - </daemons>
> - </configuration>
> - <executions>
> - <execution>
> - <id>make-appassemble</id>
> - <phase>package</phase>
> - <goals>
> - <goal>assemble</goal>
> - <goal>generate-daemons</goal>
> - </goals>
> - </execution>
> - </executions>
> - </plugin>
> - <plugin>
> - <groupId>org.apache.maven.plugins</groupId>
> - <artifactId>maven-antrun-plugin</artifactId>
> - <version>1.2</version>
> - <executions>
> - <execution>
> - <phase>package</phase>
> + <profile>
> + <id>with-mpt</id>
> + <build>
> + <plugins>
> + <!-- be sure to start up james before run it -->
> + <plugin>
> + <groupId>org.apache.james</groupId>
> + <artifactId>maven-mpt-plugin</artifactId>
> + <version>0.2-SNAPSHOT</version>
> <configuration>
> -
> - <tasks>
> - <!-- this is only needed because windows freak out on long cmd lines, so we strip of the absolute path
> - from the lib dir to make windows happy again
> - -->
> - <replace file="${project.build.directory}/appassembler/bin/run.bat"
> - token="%BASEDIR%\lib" value="..\lib"/>
> - <replace file="${project.build.directory}/appassembler/bin/run.sh" token="setenv"
> - value="setenv.sh"/>
> -
> - <!-- this is needed because appassembler is not really smart on some settings -->
> - <replace file="${project.build.directory}/appassembler/jsw/james/conf/wrapper.conf"
> - token="lib/wrapper.jar" value="%REPO_DIR%/wrapper.jar"/>
> - <replace file="${project.build.directory}/appassembler/jsw/james/bin/james" token="logs"
> - value="var"/>
> -
> - <!-- copy the linux wrapper-linux-x86-32 to wrapper, so use it as default if no matching wrapper was found -->
> - <copy file="${project.build.directory}/appassembler/jsw/james/bin/wrapper-linux-x86-32"
> - tofile="${project.build.directory}/appassembler/jsw/james/bin/wrapper"/>
> - <!-- this is only needed because windows freak out on long cmd lines, so we strip of the absolute path
> - from the lib dir to make windows happy again
> - -->
> - <replace file="${project.build.directory}/appassembler/bin/james-cli.bat"
> - token="%BASEDIR%\lib" value="..\lib"/>
> - <replace file="${project.build.directory}/appassembler/bin/james-cli.sh" token="setenv"
> - value="setenv.sh"/>
> - </tasks>
> -
> + <mailProtocolTests>
> + <mailProtocolTest>
> + <host>127.0.0.1</host>
> + <port>110</port>
> + <scriptFile>src/mpt/pop3.mpt</scriptFile>
> + <addUsers>
> + <addUser>
> + <host>127.0.0.1</host>
> + <port>4555</port>
> + <scriptFile>src/mpt/adduser.mpt</scriptFile>
> + <user>root</user>
> + <passwd>root</passwd>
> + </addUser>
> + </addUsers>
> + </mailProtocolTest>
> + <mailProtocolTest>
> + <host>127.0.0.1</host>
> + <port>143</port>
> + <scriptFile>src/mpt/imap.mpt</scriptFile>
> + <addUsers>
> + <addUser>
> + <host>127.0.0.1</host>
> + <port>4555</port>
> + <scriptFile>src/mpt/adduser.mpt</scriptFile>
> + <user>root</user>
> + <passwd>root</passwd>
> + </addUser>
> + </addUsers>
> + </mailProtocolTest>
> + <mailProtocolTest>
> + <host>127.0.0.1</host>
> + <port>25</port>
> + <scriptFile>src/mpt/smtp.mpt</scriptFile>
> + <addUsers>
> + <addUser>
> + <host>127.0.0.1</host>
> + <port>4555</port>
> + <scriptFile>src/mpt/adduser.mpt</scriptFile>
> + <user>root</user>
> + <passwd>root</passwd>
> + </addUser>
> + </addUsers>
> + </mailProtocolTest>
> + </mailProtocolTests>
> </configuration>
> - <goals>
> - <goal>run</goal>
> - </goals>
> - </execution>
> - </executions>
> - </plugin>
> -
> - <plugin>
> - <artifactId>maven-assembly-plugin</artifactId>
> - <configuration>
> - <descriptorSourceDirectory>src/assemble/</descriptorSourceDirectory>
> - <tarLongFileMode>gnu</tarLongFileMode>
> - </configuration>
> - <executions>
> - <execution>
> - <id>make-assembly</id>
> - <phase>package</phase>
> - <goals>
> - <goal>attached</goal>
> - </goals>
> - </execution>
> - </executions>
> - </plugin>
> -
> - <!--
> - The signing process excludes the artifact created by this plugin.
> - The cause seems likely to be project type pom (not war).
> - If this is the case then releasing the war would require
> - reorganisation.
> - -->
> - <plugin>
> - <groupId>org.apache.maven.plugins</groupId>
> - <artifactId>maven-war-plugin</artifactId>
> - <configuration>
> - <webResources>
> - <resource>
> - <directory>src/main/resources</directory>
> - <!-- override the destination directory for this resource -->
> - <targetPath>WEB-INF/conf/</targetPath>
> - <excludes>
> - <exclude>log4j.properties</exclude>
> - <exclude>**/lib/**</exclude>
> - </excludes>
> - </resource>
> - <resource>
> - <directory>src/main/resources</directory>
> - <!-- override the destination directory for this resource -->
> - <targetPath>WEB-INF/classes/</targetPath>
> - <includes>
> - <include>log4j.properties</include>
> - </includes>
> - </resource>
> - <resource>
> - <directory>src/main/config/war</directory>
> - <!-- override the destination directory for this resource -->
> - <targetPath>WEB-INF/conf/</targetPath>
> -
> - </resource>
> - <resource>
> - <directory>src/main/licensing/war</directory>
> - <targetPath>META-INF</targetPath>
> - <excludes>
> - <exclude>licensing.xml</exclude>
> - </excludes>
> - </resource>
> - <resource>
> - <directory>.</directory>
> - <targetPath>META-INF</targetPath>
> - <includes>
> - <include>README*</include>
> - </includes>
> - </resource>
> - </webResources>
> - </configuration>
> - <executions>
> - <execution>
> - <id>make-war</id>
> - <phase>package</phase>
> - <goals>
> - <goal>war</goal>
> - </goals>
> - </execution>
> - </executions>
> - </plugin>
> -
> - <!-- be sure to start up james before run it -->
> - <!--
> - <plugin>
> - <groupId>org.apache.james</groupId>
> - <artifactId>maven-mpt-plugin</artifactId>
> - <version>0.2-SNAPSHOT</version>
> - <configuration>
> - <mailProtocolTests>
> - <mailProtocolTest>
> - <host>127.0.0.1</host>
> - <port>110</port>
> - <scriptFile>src/mpt/pop3.mpt</scriptFile>
> - <addUsers>
> - <addUser>
> - <host>127.0.0.1</host>
> - <port>4555</port>
> - <scriptFile>src/mpt/adduser.mpt</scriptFile>
> - <user>root</user>
> - <passwd>root</passwd>
> - </addUser>
> - </addUsers>
> - </mailProtocolTest>
> - <mailProtocolTest>
> - <host>127.0.0.1</host>
> - <port>143</port>
> - <scriptFile>src/mpt/imap.mpt</scriptFile>
> - <addUsers>
> - <addUser>
> - <host>127.0.0.1</host>
> - <port>4555</port>
> - <scriptFile>src/mpt/adduser.mpt</scriptFile>
> - <user>root</user>
> - <passwd>root</passwd>
> - </addUser>
> - </addUsers>
> - </mailProtocolTest>
> - <mailProtocolTest>
> - <host>127.0.0.1</host>
> - <port>25</port>
> - <scriptFile>src/mpt/smtp.mpt</scriptFile>
> - <addUsers>
> - <addUser>
> - <host>127.0.0.1</host>
> - <port>4555</port>
> - <scriptFile>src/mpt/adduser.mpt</scriptFile>
> - <user>root</user>
> - <passwd>root</passwd>
> - </addUser>
> - </addUsers>
> - </mailProtocolTest>
> - </mailProtocolTests>
> -
> - </configuration>
> - </plugin>
> - -->
> -
> - </plugins>
> -
> - </build>
> + </plugin>
> + </plugins>
> + </build>
> + </profile>
>
> - <profiles>
> <profile>
> <id>with-jetm</id>
> <activation>
> @@ -1054,6 +1016,7 @@
> </dependency>
> </dependencies>
> </profile>
> +
> <profile>
> <id>make-deb</id>
> <build>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org