You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2015/04/22 03:17:57 UTC
svn commit: r1675236 - in /ofbiz/branches/OFBIZ-6271: ./ framework/
framework/base/ framework/base/lib/ framework/base/lib/commons/
framework/base/lib/j2eespecs/ framework/base/lib/scripting/
framework/catalina/ framework/catalina/lib/ framework/entity...
Author: doogie
Date: Wed Apr 22 01:17:56 2015
New Revision: 1675236
URL: http://svn.apache.org/r1675236
Log:
Move the build logic to a separate pom; this should make it easier for
external modules to implement their own building/packaging.
Added:
ofbiz/branches/OFBIZ-6271/ofbiz-component-pom.xml
- copied, changed from r1675228, ofbiz/branches/OFBIZ-6271/pom.xml
Modified:
ofbiz/branches/OFBIZ-6271/framework/base/lib/commons/pom.xml
ofbiz/branches/OFBIZ-6271/framework/base/lib/j2eespecs/pom.xml
ofbiz/branches/OFBIZ-6271/framework/base/lib/pom.xml
ofbiz/branches/OFBIZ-6271/framework/base/lib/scripting/pom.xml
ofbiz/branches/OFBIZ-6271/framework/base/pom.xml
ofbiz/branches/OFBIZ-6271/framework/catalina/lib/pom.xml
ofbiz/branches/OFBIZ-6271/framework/catalina/pom.xml
ofbiz/branches/OFBIZ-6271/framework/entity/lib/jdbc/pom.xml
ofbiz/branches/OFBIZ-6271/framework/entity/lib/pom.xml
ofbiz/branches/OFBIZ-6271/framework/entity/pom.xml
ofbiz/branches/OFBIZ-6271/framework/geronimo/lib/pom.xml
ofbiz/branches/OFBIZ-6271/framework/geronimo/pom.xml
ofbiz/branches/OFBIZ-6271/framework/pom.xml
ofbiz/branches/OFBIZ-6271/framework/start/pom.xml
ofbiz/branches/OFBIZ-6271/pom.xml
Modified: ofbiz/branches/OFBIZ-6271/framework/base/lib/commons/pom.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-6271/framework/base/lib/commons/pom.xml?rev=1675236&r1=1675235&r2=1675236&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-6271/framework/base/lib/commons/pom.xml (original)
+++ ofbiz/branches/OFBIZ-6271/framework/base/lib/commons/pom.xml Wed Apr 22 01:17:56 2015
@@ -22,9 +22,9 @@ under the License.
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.ofbiz</groupId>
- <artifactId>ofbiz-framework</artifactId>
+ <artifactId>ofbiz-component</artifactId>
<version>TRUNK</version>
- <relativePath>../../../pom.xml</relativePath>
+ <relativePath>../../../../ofbiz-component-pom.xml</relativePath>
</parent>
<artifactId>ofbiz-base-lib-commons</artifactId>
<packaging>pom</packaging>
Modified: ofbiz/branches/OFBIZ-6271/framework/base/lib/j2eespecs/pom.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-6271/framework/base/lib/j2eespecs/pom.xml?rev=1675236&r1=1675235&r2=1675236&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-6271/framework/base/lib/j2eespecs/pom.xml (original)
+++ ofbiz/branches/OFBIZ-6271/framework/base/lib/j2eespecs/pom.xml Wed Apr 22 01:17:56 2015
@@ -22,9 +22,9 @@ under the License.
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.ofbiz</groupId>
- <artifactId>ofbiz-framework</artifactId>
+ <artifactId>ofbiz-component</artifactId>
<version>TRUNK</version>
- <relativePath>../../../pom.xml</relativePath>
+ <relativePath>../../../../ofbiz-component-pom.xml</relativePath>
</parent>
<artifactId>ofbiz-base-lib-j2eespecs</artifactId>
<packaging>pom</packaging>
Modified: ofbiz/branches/OFBIZ-6271/framework/base/lib/pom.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-6271/framework/base/lib/pom.xml?rev=1675236&r1=1675235&r2=1675236&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-6271/framework/base/lib/pom.xml (original)
+++ ofbiz/branches/OFBIZ-6271/framework/base/lib/pom.xml Wed Apr 22 01:17:56 2015
@@ -22,9 +22,9 @@ under the License.
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.ofbiz</groupId>
- <artifactId>ofbiz-framework</artifactId>
+ <artifactId>ofbiz-component</artifactId>
<version>TRUNK</version>
- <relativePath>../../pom.xml</relativePath>
+ <relativePath>../../../ofbiz-component-pom.xml</relativePath>
</parent>
<artifactId>ofbiz-base-lib</artifactId>
<packaging>pom</packaging>
Modified: ofbiz/branches/OFBIZ-6271/framework/base/lib/scripting/pom.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-6271/framework/base/lib/scripting/pom.xml?rev=1675236&r1=1675235&r2=1675236&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-6271/framework/base/lib/scripting/pom.xml (original)
+++ ofbiz/branches/OFBIZ-6271/framework/base/lib/scripting/pom.xml Wed Apr 22 01:17:56 2015
@@ -22,9 +22,9 @@ under the License.
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.ofbiz</groupId>
- <artifactId>ofbiz-framework</artifactId>
+ <artifactId>ofbiz-component</artifactId>
<version>TRUNK</version>
- <relativePath>../../../pom.xml</relativePath>
+ <relativePath>../../../../ofbiz-component-pom.xml</relativePath>
</parent>
<artifactId>ofbiz-base-lib-scripting</artifactId>
<packaging>pom</packaging>
Modified: ofbiz/branches/OFBIZ-6271/framework/base/pom.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-6271/framework/base/pom.xml?rev=1675236&r1=1675235&r2=1675236&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-6271/framework/base/pom.xml (original)
+++ ofbiz/branches/OFBIZ-6271/framework/base/pom.xml Wed Apr 22 01:17:56 2015
@@ -22,9 +22,9 @@ under the License.
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.ofbiz</groupId>
- <artifactId>ofbiz-framework</artifactId>
+ <artifactId>ofbiz-component</artifactId>
<version>TRUNK</version>
- <relativePath>../pom.xml</relativePath>
+ <relativePath>../../ofbiz-component-pom.xml</relativePath>
</parent>
<artifactId>ofbiz-base</artifactId>
Modified: ofbiz/branches/OFBIZ-6271/framework/catalina/lib/pom.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-6271/framework/catalina/lib/pom.xml?rev=1675236&r1=1675235&r2=1675236&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-6271/framework/catalina/lib/pom.xml (original)
+++ ofbiz/branches/OFBIZ-6271/framework/catalina/lib/pom.xml Wed Apr 22 01:17:56 2015
@@ -22,9 +22,9 @@ under the License.
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.ofbiz</groupId>
- <artifactId>ofbiz-framework</artifactId>
+ <artifactId>ofbiz-component</artifactId>
<version>TRUNK</version>
- <relativePath>../../pom.xml</relativePath>
+ <relativePath>../../../ofbiz-component-pom.xml</relativePath>
</parent>
<artifactId>ofbiz-catalina-lib</artifactId>
<packaging>pom</packaging>
Modified: ofbiz/branches/OFBIZ-6271/framework/catalina/pom.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-6271/framework/catalina/pom.xml?rev=1675236&r1=1675235&r2=1675236&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-6271/framework/catalina/pom.xml (original)
+++ ofbiz/branches/OFBIZ-6271/framework/catalina/pom.xml Wed Apr 22 01:17:56 2015
@@ -22,9 +22,9 @@ under the License.
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.ofbiz</groupId>
- <artifactId>ofbiz-framework</artifactId>
+ <artifactId>ofbiz-component</artifactId>
<version>TRUNK</version>
- <relativePath>../pom.xml</relativePath>
+ <relativePath>../../ofbiz-component-pom.xml</relativePath>
</parent>
<artifactId>ofbiz-catalina</artifactId>
Modified: ofbiz/branches/OFBIZ-6271/framework/entity/lib/jdbc/pom.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-6271/framework/entity/lib/jdbc/pom.xml?rev=1675236&r1=1675235&r2=1675236&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-6271/framework/entity/lib/jdbc/pom.xml (original)
+++ ofbiz/branches/OFBIZ-6271/framework/entity/lib/jdbc/pom.xml Wed Apr 22 01:17:56 2015
@@ -22,9 +22,9 @@ under the License.
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.ofbiz</groupId>
- <artifactId>ofbiz-framework</artifactId>
+ <artifactId>ofbiz-component</artifactId>
<version>TRUNK</version>
- <relativePath>../../../pom.xml</relativePath>
+ <relativePath>../../../../ofbiz-component-pom.xml</relativePath>
</parent>
<artifactId>ofbiz-entity-lib-jdbc</artifactId>
<packaging>pom</packaging>
Modified: ofbiz/branches/OFBIZ-6271/framework/entity/lib/pom.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-6271/framework/entity/lib/pom.xml?rev=1675236&r1=1675235&r2=1675236&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-6271/framework/entity/lib/pom.xml (original)
+++ ofbiz/branches/OFBIZ-6271/framework/entity/lib/pom.xml Wed Apr 22 01:17:56 2015
@@ -22,9 +22,9 @@ under the License.
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.ofbiz</groupId>
- <artifactId>ofbiz-framework</artifactId>
+ <artifactId>ofbiz-component</artifactId>
<version>TRUNK</version>
- <relativePath>../../pom.xml</relativePath>
+ <relativePath>../../../ofbiz-component-pom.xml</relativePath>
</parent>
<artifactId>ofbiz-entity-lib</artifactId>
<packaging>pom</packaging>
Modified: ofbiz/branches/OFBIZ-6271/framework/entity/pom.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-6271/framework/entity/pom.xml?rev=1675236&r1=1675235&r2=1675236&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-6271/framework/entity/pom.xml (original)
+++ ofbiz/branches/OFBIZ-6271/framework/entity/pom.xml Wed Apr 22 01:17:56 2015
@@ -22,9 +22,9 @@ under the License.
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.ofbiz</groupId>
- <artifactId>ofbiz-framework</artifactId>
+ <artifactId>ofbiz-component</artifactId>
<version>TRUNK</version>
- <relativePath>../pom.xml</relativePath>
+ <relativePath>../../ofbiz-component-pom.xml</relativePath>
</parent>
<artifactId>ofbiz-entity</artifactId>
Modified: ofbiz/branches/OFBIZ-6271/framework/geronimo/lib/pom.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-6271/framework/geronimo/lib/pom.xml?rev=1675236&r1=1675235&r2=1675236&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-6271/framework/geronimo/lib/pom.xml (original)
+++ ofbiz/branches/OFBIZ-6271/framework/geronimo/lib/pom.xml Wed Apr 22 01:17:56 2015
@@ -22,9 +22,9 @@ under the License.
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.ofbiz</groupId>
- <artifactId>ofbiz-framework</artifactId>
+ <artifactId>ofbiz-component</artifactId>
<version>TRUNK</version>
- <relativePath>../../pom.xml</relativePath>
+ <relativePath>../../../ofbiz-component-pom.xml</relativePath>
</parent>
<artifactId>ofbiz-geronimo-lib</artifactId>
<packaging>pom</packaging>
Modified: ofbiz/branches/OFBIZ-6271/framework/geronimo/pom.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-6271/framework/geronimo/pom.xml?rev=1675236&r1=1675235&r2=1675236&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-6271/framework/geronimo/pom.xml (original)
+++ ofbiz/branches/OFBIZ-6271/framework/geronimo/pom.xml Wed Apr 22 01:17:56 2015
@@ -22,9 +22,9 @@ under the License.
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.ofbiz</groupId>
- <artifactId>ofbiz-framework</artifactId>
+ <artifactId>ofbiz-component</artifactId>
<version>TRUNK</version>
- <relativePath>../pom.xml</relativePath>
+ <relativePath>../../ofbiz-component-pom.xml</relativePath>
</parent>
<artifactId>ofbiz-geronimo</artifactId>
Modified: ofbiz/branches/OFBIZ-6271/framework/pom.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-6271/framework/pom.xml?rev=1675236&r1=1675235&r2=1675236&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-6271/framework/pom.xml (original)
+++ ofbiz/branches/OFBIZ-6271/framework/pom.xml Wed Apr 22 01:17:56 2015
@@ -22,9 +22,9 @@ under the License.
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.ofbiz</groupId>
- <artifactId>ofbiz-parent</artifactId>
+ <artifactId>ofbiz-component</artifactId>
<version>TRUNK</version>
- <relativePath>../pom.xml</relativePath>
+ <relativePath>../ofbiz-component-pom.xml</relativePath>
</parent>
<artifactId>ofbiz-framework</artifactId>
<packaging>pom</packaging>
Modified: ofbiz/branches/OFBIZ-6271/framework/start/pom.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-6271/framework/start/pom.xml?rev=1675236&r1=1675235&r2=1675236&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-6271/framework/start/pom.xml (original)
+++ ofbiz/branches/OFBIZ-6271/framework/start/pom.xml Wed Apr 22 01:17:56 2015
@@ -22,9 +22,9 @@ under the License.
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.ofbiz</groupId>
- <artifactId>ofbiz-framework</artifactId>
+ <artifactId>ofbiz-component</artifactId>
<version>TRUNK</version>
- <relativePath>../pom.xml</relativePath>
+ <relativePath>../../ofbiz-component-pom.xml</relativePath>
</parent>
<artifactId>ofbiz-start</artifactId>
Copied: ofbiz/branches/OFBIZ-6271/ofbiz-component-pom.xml (from r1675228, ofbiz/branches/OFBIZ-6271/pom.xml)
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-6271/ofbiz-component-pom.xml?p2=ofbiz/branches/OFBIZ-6271/ofbiz-component-pom.xml&p1=ofbiz/branches/OFBIZ-6271/pom.xml&r1=1675228&r2=1675236&rev=1675236&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-6271/pom.xml (original)
+++ ofbiz/branches/OFBIZ-6271/ofbiz-component-pom.xml Wed Apr 22 01:17:56 2015
@@ -20,13 +20,14 @@ under the License.
<project>
<modelVersion>4.0.0</modelVersion>
- <groupId>org.apache.ofbiz</groupId>
- <artifactId>ofbiz-parent</artifactId>
- <version>TRUNK</version>
+ <parent>
+ <groupId>org.apache.ofbiz</groupId>
+ <artifactId>ofbiz-parent</artifactId>
+ <version>TRUNK</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <artifactId>ofbiz-component</artifactId>
<packaging>pom</packaging>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
<build>
<directory>build/lib</directory>
@@ -314,7 +315,4 @@ under the License.
<outputDirectory>target/site</outputDirectory>
</reporting>
- <modules>
- <module>framework</module>
- </modules>
</project>
Modified: ofbiz/branches/OFBIZ-6271/pom.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-6271/pom.xml?rev=1675236&r1=1675235&r2=1675236&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-6271/pom.xml (original)
+++ ofbiz/branches/OFBIZ-6271/pom.xml Wed Apr 22 01:17:56 2015
@@ -28,292 +28,6 @@ under the License.
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
- <build>
- <directory>build/lib</directory>
- <outputDirectory>build/classes</outputDirectory>
- <testOutputDirectory>build/test-classes</testOutputDirectory>
- <finalName>${project.artifactId}</finalName>
- <sourceDirectory>src</sourceDirectory>
- <testSourceDirectory>src</testSourceDirectory>
- <resources>
- <resource>
- <directory>src</directory>
- <excludes>
- <exclude>main/**</exclude>
- <exclude>test/**</exclude>
- </excludes>
- <includes>
- <include>**/*.properties</include>
- <include>**/*.groovy</include>
- <include>**/*.xml</include>
- <include>**/*.bsh</include>
- <include>**/*.logic</include>
- <include>**/*.hs</include>
- <include>**/*.jacl</include>
- <include>**/*.py</include>
- <include>META-INF/**</include>
- </includes>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- </resource>
- <resource>
- <directory>dtd</directory>
- <includes>
- <include>*.dtd</include>
- </includes>
- </resource>
- </resources>
- <testResources>
- <testResource>
- <directory>src/test/resources</directory>
- <includes>
- <include>META-INF/**</include>
- </includes>
- </testResource>
- </testResources>
- <scriptSourceDirectory>scripts</scriptSourceDirectory>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>1.4</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.3</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.2</version>
- </plugin>
- <plugin>
- <groupId>org.commonjava.maven.plugins</groupId>
- <artifactId>directory-maven-plugin</artifactId>
- <version>0.1</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.18.1</version>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <executions>
- <execution>
- <id>enforce-maven</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireMavenVersion>
- <version>3.0</version>
- </requireMavenVersion>
- <requireJavaVersion>
- <version>1.7</version>
- </requireJavaVersion>
- </rules>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <inherited>false</inherited>
- <configuration>
- <descriptors>
- <descriptor>${project.basedir}/assembly/LICENSE+NOTICE.xml</descriptor>
- </descriptors>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <phase>initialize</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>2.3</version>
- <configuration>
- <includes>**/*</includes>
- <overWriteReleases>true</overWriteReleases>
- <overWriteSnapshots>true</overWriteSnapshots>
- </configuration>
- <executions>
- <execution>
- <id>unpack-LICENSE+NOTICE</id>
- <phase>process-resources</phase>
- <goals>
- <goal>unpack</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.apache.ofbiz</groupId>
- <artifactId>ofbiz-parent</artifactId>
- <version>TRUNK</version>
- <type>zip</type>
- <classifier>assembly-LICENSE+NOTICE</classifier>
- <overWrite>true</overWrite>
- <outputDirectory>${project.build.outputDirectory}/META-INF</outputDirectory>
- <includes>*</includes>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- <execution>
- <id>unpack-LICENSE+NOTICE-test</id>
- <phase>process-test-resources</phase>
- <goals>
- <goal>unpack</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.apache.ofbiz</groupId>
- <artifactId>ofbiz-parent</artifactId>
- <version>TRUNK</version>
- <type>zip</type>
- <classifier>assembly-LICENSE+NOTICE</classifier>
- <overWrite>true</overWrite>
- <outputDirectory>${project.build.testOutputDirectory}/META-INF</outputDirectory>
- <includes>*</includes>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.7</source>
- <target>1.7</target>
- <compilerArgs>
- <arg>-Xlint:-path</arg>
- <!--
- Please leave this line here. It makes it easier to enable/disable it.
- <arg>-Xlint:unchecked</arg>
- -->
- </compilerArgs>
- </configuration>
- <executions>
- <execution>
- <id>default-compile</id>
- <phase>compile</phase>
- <configuration>
- <excludes>
- <exclude>**/test/*.java</exclude>
- </excludes>
- </configuration>
- </execution>
- <execution>
- <id>default-testCompile</id>
- <phase>test-compile</phase>
- <configuration>
- <testIncludes>
- <testInclude>**/test/*.java</testInclude>
- </testIncludes>
- <testExcludes>
- <testExclude>*</testExclude>
- </testExcludes>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <executions>
- <execution>
- <id>default-test-jar</id>
- <goals>
- <goal>test-jar</goal>
- </goals>
- <configuration>
- <testIncludes>
- <testInclude>**/test/*</testInclude>
- <testInclude>**/META-INF/*</testInclude>
- </testIncludes>
- <testExcludes>
- <testExclude>**</testExclude>
- </testExcludes>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <createDependencyReducedPom>false</createDependencyReducedPom>
- <additionalClasspathElements>
- <additionalClasspathElement>${project.basedir}/config</additionalClasspathElement>
- </additionalClasspathElements>
- <systemPropertyVariables>
- <ofbiz.home>${ofbiz.home.dir}</ofbiz.home>
- </systemPropertyVariables>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.commonjava.maven.plugins</groupId>
- <artifactId>directory-maven-plugin</artifactId>
- <configuration>
- <property>ofbiz.home.dir</property>
- <project>
- <groupId>org.apache.ofbiz</groupId>
- <artifactId>ofbiz-parent</artifactId>
- </project>
- </configuration>
- <executions>
- <execution>
- <id>ofbiz-home-dir.clean</id>
- <goals>
- <goal>highest-basedir</goal>
- </goals>
- <phase>pre-clean</phase>
- </execution>
- <execution>
- <id>ofbiz-home-dir.default</id>
- <goals>
- <goal>highest-basedir</goal>
- </goals>
- <phase>validate</phase>
- </execution>
- <execution>
- <id>ofbiz-home-dir.site</id>
- <goals>
- <goal>highest-basedir</goal>
- </goals>
- <phase>pre-site</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <reporting>
- <outputDirectory>target/site</outputDirectory>
- </reporting>
-
<modules>
<module>framework</module>
</modules>