Author: hfnukal
Date: 2011-06-03 11:41:26 -0400 (Fri, 03 Jun 2011)
New Revision: 6591
Modified:
epp/portal/branches/EPP-5-1-tmp/distribution/pom.xml
Log:
Optimize dependency, exclude unwanted transitive dependency.
Modified: epp/portal/branches/EPP-5-1-tmp/distribution/pom.xml
===================================================================
--- epp/portal/branches/EPP-5-1-tmp/distribution/pom.xml 2011-06-03 15:39:17 UTC (rev
6590)
+++ epp/portal/branches/EPP-5-1-tmp/distribution/pom.xml 2011-06-03 15:41:26 UTC (rev
6591)
@@ -18,18 +18,21 @@
<eap.version>5.1.0</eap.version>
<eap.dir>jboss-eap-5.1</eap.dir>
<epp.dir>jboss-epp-5.1.1</epp.dir>
-
- <sso.version>1.0.2-epp-DEV01</sso.version>
-
- <epp.profiles>default,production,all</epp.profiles>
</properties>
<modules>
- <module>serverAddon</module>
+ <module>integration.war</module>
+ <module>ear</module>
</modules>
-
+
+ <!-- NOTE: These dependency declarations are only required to sort this project to
the
+ end of the line in the multimodule build.
+
+ Since we only include the child1 module in our assembly, we only need to ensure
this
+ distribution project builds AFTER that one...
+ -->
<dependencies>
-<!-- <dependency>
+ <dependency>
<groupId>org.exoplatform.portal</groupId>
<artifactId>exo.portal.packaging.jboss-as.ear</artifactId>
<version>${project.version}</version>
@@ -54,212 +57,13 @@
<version>5.1.1-epp-CR01-SNAPSHOT</version>
<type>war</type>
</dependency>
- -->
- <!-- Profile EPP files -->
<dependency>
- <groupId>org.exoplatform.portal.deploy</groupId>
- <artifactId>serverAddon</artifactId>
- <version>5.1.1-epp-CR01-SNAPSHOT</version>
- <classifier>bin</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
<groupId>org.exoplatform.portal.distribution</groupId>
<artifactId>portletbridge</artifactId>
<version>5.1.1-epp-CR01-SNAPSHOT</version>
<classifier>bin</classifier>
<type>zip</type>
</dependency>
-
- <dependency>
- <groupId>org.gatein.sso</groupId>
- <artifactId>sso-packaging</artifactId>
- <version>${sso.version}</version>
- <type>zip</type>
- <exclusions>
- <exclusion>
- <artifactId>ant</artifactId>
- <groupId>org.apache.ant</groupId>
- </exclusion>
- <exclusion>
- <artifactId>ant-launcher</artifactId>
- <groupId>org.apache.ant</groupId>
- </exclusion>
- <exclusion>
- <artifactId>antlr</artifactId>
- <groupId>antlr</groupId>
- </exclusion>
- <exclusion>
- <artifactId>bcel</artifactId>
- <groupId>bcel</groupId>
- </exclusion>
- <exclusion>
- <artifactId>carol</artifactId>
- <groupId>org.objectweb.carol</groupId>
- </exclusion>
- <exclusion>
- <artifactId>commons-logging</artifactId>
- <groupId>commons-logging</groupId>
- </exclusion>
- <exclusion>
- <artifactId>ejb3-persistence</artifactId>
- <groupId>org.hibernate</groupId>
- </exclusion>
- <exclusion>
- <artifactId>exo.tool.framework.junit</artifactId>
- <groupId>org.exoplatform.tool</groupId>
- </exclusion>
- <exclusion>
- <artifactId>fontbox</artifactId>
- <groupId>org.apache.pdfbox</groupId>
- </exclusion>
- <exclusion>
- <artifactId>geronimo-stax-api_1.0_spec</artifactId>
- <groupId>org.apache.geronimo.specs</groupId>
- </exclusion>
- <exclusion>
- <artifactId>hibernate-annotations</artifactId>
- <groupId>org.hibernate</groupId>
- </exclusion>
- <exclusion>
- <artifactId>hibernate-core</artifactId>
- <groupId>org.hibernate</groupId>
- </exclusion>
- <exclusion>
- <artifactId>howl-logger</artifactId>
- <groupId>howl</groupId>
- </exclusion>
- <exclusion>
- <artifactId>jaxb-api</artifactId>
- <groupId>javax.xml.bind</groupId>
- </exclusion>
- <exclusion>
- <artifactId>jboss-negotiation-spnego</artifactId>
- <groupId>org.jboss.security</groupId>
- </exclusion>
- <exclusion>
- <artifactId>jbosscache-core</artifactId>
- <groupId>org.jboss.cache</groupId>
- </exclusion>
- <exclusion>
- <artifactId>jboss-common-core</artifactId>
- <groupId>org.jboss</groupId>
- </exclusion>
- <exclusion>
- <artifactId>jbossjts</artifactId>
- <groupId>jboss.jbossts</groupId>
- </exclusion>
- <exclusion>
- <artifactId>jboss-vfs</artifactId>
- <groupId>org.jboss</groupId>
- </exclusion>
- <exclusion>
- <artifactId>jbossts-common</artifactId>
- <groupId>jboss.jbossts</groupId>
- </exclusion>
- <exclusion>
- <artifactId>jempbox</artifactId>
- <groupId>org.apache.pdfbox</groupId>
- </exclusion>
- <exclusion>
- <artifactId>jline</artifactId>
- <groupId>jline</groupId>
- </exclusion>
- <exclusion>
- <artifactId>jmock</artifactId>
- <groupId>jmock</groupId>
- </exclusion>
- <exclusion>
- <artifactId>junit</artifactId>
- <groupId>junit</groupId>
- </exclusion>
- <exclusion>
- <artifactId>jotm_jrmp_stubs</artifactId>
- <groupId>jotm</groupId>
- </exclusion>
- <exclusion>
- <artifactId>jotm</artifactId>
- <groupId>jotm</groupId>
- </exclusion>
- <exclusion>
- <artifactId>jta</artifactId>
- <groupId>javax.transaction</groupId>
- </exclusion>
- <exclusion>
- <artifactId>jtidy</artifactId>
- <groupId>jtidy</groupId>
- </exclusion>
- <exclusion>
- <artifactId>mail</artifactId>
- <groupId>javax.mail</groupId>
- </exclusion>
- <exclusion>
- <artifactId>pull-parser</artifactId>
- <groupId>pull-parser</groupId>
- </exclusion>
- <exclusion>
- <artifactId>quartz</artifactId>
- <groupId>quartz</groupId>
- </exclusion>
- <exclusion>
- <artifactId>reflext.apt</artifactId>
- <groupId>org.reflext</groupId>
- </exclusion>
- <exclusion>
- <artifactId>axis-saaj</artifactId>
- <groupId>org.apache.axis</groupId>
- </exclusion>
- <exclusion>
- <artifactId>servlet-api</artifactId>
- <groupId>javax.servlet</groupId>
- </exclusion>
- <exclusion>
- <artifactId>slf4j-api</artifactId>
- <groupId>org.slf4j</groupId>
- </exclusion>
- <exclusion>
- <artifactId>stax-api</artifactId>
- <groupId>stax</groupId>
- </exclusion>
- <exclusion>
- <artifactId>stax-api</artifactId>
- <groupId>javax.xml.stream</groupId>
- </exclusion>
- <exclusion>
- <artifactId>xapool</artifactId>
- <groupId>com.experlog</groupId>
- </exclusion>
- <exclusion>
- <artifactId>xdoclet</artifactId>
- <groupId>xdoclet</groupId>
- </exclusion>
- <exclusion>
- <artifactId>xdoclet-hibernate-module</artifactId>
- <groupId>xdoclet</groupId>
- </exclusion>
- <exclusion>
- <artifactId>xdoclet-xdoclet-module</artifactId>
- <groupId>xdoclet</groupId>
- </exclusion>
- <exclusion>
- <artifactId>xjavadoc</artifactId>
- <groupId>xdoclet</groupId>
- </exclusion>
- <exclusion>
- <artifactId>xml-apis</artifactId>
- <groupId>xml-apis</groupId>
- </exclusion>
- <exclusion>
- <artifactId>xmlbeans</artifactId>
- <groupId>org.apache.xmlbeans</groupId>
- </exclusion>
- <exclusion>
- <artifactId>axis-ant</artifactId>
- <groupId>org.apache.axis</groupId>
- </exclusion>
- </exclusions>
- </dependency>
<!-- EAP overlay -->
<dependency>
@@ -268,30 +72,6 @@
<version>5.1.0</version>
<type>zip</type>
</dependency>
- <dependency>
- <artifactId>slf4j-jdk14</artifactId>
- <groupId>org.slf4j</groupId>
- <type>jar</type>
- <version>1.5.6</version>
- <exclusions>
- <exclusion>
- <artifactId>slf4j-api</artifactId>
- <groupId>org.slf4j</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <artifactId>xml-apis</artifactId>
- <groupId>xml-apis</groupId>
- <type>jar</type>
- <version>1.0.b2</version>
- <exclusions>
- <exclusion>
- <artifactId>xml-apis</artifactId>
- <groupId>xml-apis</groupId>
- </exclusion>
- </exclusions>
- </dependency>
</dependencies>
<build>
@@ -332,7 +112,8 @@
</executions>
</plugin>-->
-
+
+
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
@@ -350,7 +131,7 @@
</execution>
</executions>
</plugin>
- <plugin>
+<!-- <plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<executions>
@@ -362,60 +143,12 @@
</goals>
<configuration>
<target>
- <echo>Find EAP directory</echo>
- <path id="eap.path">
- <dirset
dir="${project.build.directory}/${project.build.finalName}-bin/"
includes="jboss-eap-*"/>
- </path>
- <property name="eap.path"
refid="eap.path"/>
- <echo message="eap.path: ${eap.path}"/>
-
- <echo>Finnd EPP directory</echo>
- <property name="epp.path"
value="${project.build.directory}/${project.build.finalName}-bin/${epp.dir}"/>
- <echo message="epp.path: ${epp.path}"/>
-
- <echo>Renaming directories for unziped
modules</echo>
- <move
file="${eap.path}/gatein-sso-${sso.version}"
toFile="${eap.path}/gatein-sso"/>
- <move file="${eap.path}"
toFile="${epp.path}"/>
-
- <ant antfile="src/build.xml">
- <target name="patch"/>
- <property name="toConfiguration"
value="default"/>
- </ant>
-
-
- <ant antfile="src/build.xml">
- <target name="patch"/>
- <property name="toConfiguration"
value="production"/>
- </ant>
-
-
- <ant antfile="src/build.xml">
- <target name="patch"/>
- <property name="toConfiguration"
value="all"/>
- </ant>
-
+ <move
file="${project.build.directory}/${project.build.finalName}-bin/${eap.dir}"
toFile="${project.build.directory}/${project.build.finalName}-bin/${epp.dir}"/>
</target>
</configuration>
</execution>
</executions>
- </plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <execution>
- <id>distro-package</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- <configuration>
- <descriptors>
- <descriptor>src/zip.xml</descriptor>
- </descriptors>
- </configuration>
- </execution>
- </executions>
- </plugin>
+ </plugin>-->
</plugins>
</build>
</project>
\ No newline at end of file
Show replies by date