Author: jeff.yuchang
Date: 2010-01-08 11:31:56 -0500 (Fri, 08 Jan 2010)
New Revision: 444
Added:
branches/ODE/ODE-2.0-maven/distro/pom.xml
branches/ODE/ODE-2.0-maven/distro/src/main/
branches/ODE/ODE-2.0-maven/distro/src/main/assembly/
branches/ODE/ODE-2.0-maven/distro/src/main/assembly/jbi.xml
branches/ODE/ODE-2.0-maven/distro/src/main/assembly/war.xml
Log:
* add pom for distro, not fully finished yet.
Added: branches/ODE/ODE-2.0-maven/distro/pom.xml
===================================================================
--- branches/ODE/ODE-2.0-maven/distro/pom.xml (rev 0)
+++ branches/ODE/ODE-2.0-maven/distro/pom.xml 2010-01-08 16:31:56 UTC (rev 444)
@@ -0,0 +1,123 @@
+<?xml version="1.0"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~
http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.ode</groupId>
+ <artifactId>ode-distro</artifactId>
+ <name>ODE :: Distribution</name>
+ <packaging>pom</packaging>
+
+ <parent>
+ <groupId>org.apache.ode</groupId>
+ <artifactId>ode</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ </parent>
+
+ <properties>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.ode</groupId>
+ <artifactId>ode-utils</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ode</groupId>
+ <artifactId>ode-tools</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ode</groupId>
+ <artifactId>ode-bpel-compiler</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ode</groupId>
+ <artifactId>ode-bpel-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ode</groupId>
+ <artifactId>ode-runtimes</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ode</groupId>
+ <artifactId>ode-bpel-schemas</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-pool</groupId>
+ <artifactId>commons-pool</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>rhino</groupId>
+ <artifactId>js</artifactId>
+ <version>1.7R1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>apache-activemq</artifactId>
+ </dependency>
+ </dependencies>
+
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>war-distro</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <finalName>apache-ode-war-${project.version}</finalName>
+ <appendAssemblyId>false</appendAssemblyId>
+ <descriptors>
+ <descriptor>src/main/assembly/war.xml</descriptor>
+ </descriptors>
+ <tarLongFileMode>gnu</tarLongFileMode>
+ </configuration>
+ </execution>
+ <execution>
+ <id>jbi-distro</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <finalName>apache-ode-jbi-${project.version}</finalName>
+ <appendAssemblyId>false</appendAssemblyId>
+ <descriptors>
+ <descriptor>src/main/assembly/jbi.xml</descriptor>
+ </descriptors>
+ <tarLongFileMode>gnu</tarLongFileMode>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
Added: branches/ODE/ODE-2.0-maven/distro/src/main/assembly/jbi.xml
===================================================================
--- branches/ODE/ODE-2.0-maven/distro/src/main/assembly/jbi.xml
(rev 0)
+++ branches/ODE/ODE-2.0-maven/distro/src/main/assembly/jbi.xml 2010-01-08 16:31:56 UTC
(rev 444)
@@ -0,0 +1,159 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~
http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+<assembly>
+ <!-- id typically identifies the "type" (src vs bin etc) of the assembly
-->
+ <id></id>
+ <includeBaseDirectory>true</includeBaseDirectory>
+ <formats>
+ <format>zip</format>
+ </formats>
+
+ <fileSets>
+
+ <fileSet>
+ <directory>src/examples-jbi</directory>
+ <outputDirectory>/examples</outputDirectory>
+ </fileSet>
+
+ <fileSet>
+ <directory>src/bin</directory>
+ <outputDirectory>/bin</outputDirectory>
+ </fileSet>
+
+ <fileSet>
+ <directory>${basedir}/../dao-jpa-db/target/</directory>
+ <outputDirectory>/sql</outputDirectory>
+ <includes>
+ <include>*.sql</include>
+ </includes>
+ <excludes>
+ <exclude>*.partial.sql</exclude>
+ </excludes>
+ </fileSet>
+
+ <fileSet>
+ <directory>${basedir}/../</directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>LICENSE</include>
+ <include>README</include>
+ <include>NOTICE</include>
+ <include>RELEASE_NOTES</include>
+ </includes>
+ </fileSet>
+
+ <fileSet>
+ <directory>${basedir}/../extensions/e4x</directory>
+ <outputDirectory>/extensions/ode-extensions-e4x</outputDirectory>
+ <includes>
+ <include>README</include>
+ </includes>
+ </fileSet>
+
+ <fileSet>
+ <directory>${basedir}/../extensions/e4x/target</directory>
+ <outputDirectory>/extensions/ode-extensions-e4x</outputDirectory>
+ <includes>
+ <include>ode-extensions-e4x*.jar</include>
+ </includes>
+ </fileSet>
+
+ <fileSet>
+ <directory>${basedir}/../extensions/jms-eventpublisher</directory>
+
<outputDirectory>/extensions/ode-extensions-jms-eventpublisher</outputDirectory>
+ <includes>
+ <include>README</include>
+ </includes>
+ </fileSet>
+
+ <fileSet>
+
<directory>${basedir}/../extensions/jms-eventpublisher/target</directory>
+
<outputDirectory>/extensions/ode-extensions-jms-eventpublisher</outputDirectory>
+ <includes>
+ <include>ode-extensions-jms*.jar</include>
+ </includes>
+ </fileSet>
+
+ <fileSet>
+ <directory>${basedir}/../extensions</directory>
+ <outputDirectory>/extensions</outputDirectory>
+ <includes>
+ <include>README.extensions</include>
+ </includes>
+ </fileSet>
+
+ </fileSets>
+
+ <files>
+ <file>
+
<source>${basedir}/../jbi/target/ode-jbi-${project.version}.zip</source>
+ <outputDirectory>/</outputDirectory>
+ </file>
+ </files>
+
+
+ <dependencySets>
+
+ <dependencySet>
+ <outputDirectory>/lib</outputDirectory>
+ <includes>
+ <include>org.apache.ode:ode-utils</include>
+ <include>org.apache.ode:ode-tools</include>
+ <include>org.apache.ode:ode-bpel-compiler</include>
+ <include>org.apache.ode:ode-bpel-api</include>
+ <include>org.apache.ode:ode-runtimes</include>
+ <include>org.apache.ode:ode-bpel-schemas</include>
+ <include>commons-logging:commons-logging</include>
+ <include>org.apache.ode:ode-utils</include>
+ <include>commons-codec:commons-codec</include>
+ <include>commons-collections:commons-collections</include>
+ <include>commons-httpclient:commons-httpclient</include>
+ <include>commons-pool:commons-pool</include>
+ <include>net.sf.saxon:saxon</include>
+ <include>net.sf.saxon:saxon-xpath</include>
+ <include>net.sf.saxon:saxon-dom</include>
+ <include>net.sf.saxon:saxon-xqj</include>
+ <include>jaxen:jaxen</include>
+ <include>log4j:log4j</include>
+ <include>wsdl4j:wsdl4j</include>
+ <include>org.apache.ode:xalan</include>
+ <include>xerces:xercesImpl</include>
+ </includes>
+ </dependencySet>
+
+ <dependencySet>
+ <outputDirectory>/extensions/ode-extensions-e4x/lib</outputDirectory>
+ <includes>
+ <include>rhino:js</include>
+ <include>commons-logging:commons-logging</include>
+ </includes>
+ </dependencySet>
+
+ <dependencySet>
+
<outputDirectory>/extensions/ode-extensions-jms-eventpublisher/lib</outputDirectory>
+ <includes>
+ <include>org.apache.activemq:apache-activemq</include>
+ <include>org.apache.xmlbeans:xmlbeans</include>
+ </includes>
+ </dependencySet>
+
+ </dependencySets>
+
+</assembly>
Added: branches/ODE/ODE-2.0-maven/distro/src/main/assembly/war.xml
===================================================================
--- branches/ODE/ODE-2.0-maven/distro/src/main/assembly/war.xml
(rev 0)
+++ branches/ODE/ODE-2.0-maven/distro/src/main/assembly/war.xml 2010-01-08 16:31:56 UTC
(rev 444)
@@ -0,0 +1,160 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~
http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+<assembly>
+ <!-- id typically identifies the "type" (src vs bin etc) of the assembly
-->
+ <id></id>
+ <includeBaseDirectory>true</includeBaseDirectory>
+ <formats>
+ <format>zip</format>
+ </formats>
+
+ <fileSets>
+
+ <fileSet>
+ <directory>src/examples-war</directory>
+ <outputDirectory>/examples</outputDirectory>
+ </fileSet>
+
+ <fileSet>
+ <directory>src/bin</directory>
+ <outputDirectory>/bin</outputDirectory>
+ </fileSet>
+
+ <fileSet>
+ <directory>${basedir}/../dao-jpa-db/target/</directory>
+ <outputDirectory>/sql</outputDirectory>
+ <includes>
+ <include>*.sql</include>
+ </includes>
+ <excludes>
+ <exclude>*.partial.sql</exclude>
+ </excludes>
+ </fileSet>
+
+ <fileSet>
+ <directory>${basedir}/../</directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>LICENSE</include>
+ <include>README</include>
+ <include>NOTICE</include>
+ <include>RELEASE_NOTES</include>
+ </includes>
+ </fileSet>
+
+ <fileSet>
+ <directory>${basedir}/../extensions/e4x</directory>
+ <outputDirectory>/extensions/ode-extensions-e4x</outputDirectory>
+ <includes>
+ <include>README</include>
+ </includes>
+ </fileSet>
+
+ <fileSet>
+ <directory>${basedir}/../extensions/e4x/target</directory>
+ <outputDirectory>/extensions/ode-extensions-e4x</outputDirectory>
+ <includes>
+ <include>ode-extensions-e4x*.jar</include>
+ </includes>
+ </fileSet>
+
+ <fileSet>
+ <directory>${basedir}/../extensions/jms-eventpublisher</directory>
+
<outputDirectory>/extensions/ode-extensions-jms-eventpublisher</outputDirectory>
+ <includes>
+ <include>README</include>
+ </includes>
+ </fileSet>
+
+ <fileSet>
+
<directory>${basedir}/../extensions/jms-eventpublisher/target</directory>
+
<outputDirectory>/extensions/ode-extensions-jms-eventpublisher</outputDirectory>
+ <includes>
+ <include>ode-extensions-jms*.jar</include>
+ </includes>
+ </fileSet>
+
+ <fileSet>
+ <directory>${basedir}/../extensions</directory>
+ <outputDirectory>/extensions</outputDirectory>
+ <includes>
+ <include>README.extensions</include>
+ </includes>
+ </fileSet>
+
+ </fileSets>
+
+ <files>
+ <file>
+
<source>${basedir}/../axis2-war/target/ode-axis2-war-${project.version}.war</source>
+ <outputDirectory>/</outputDirectory>
+ <destName>ode.war</destName>
+ </file>
+ </files>
+
+
+ <dependencySets>
+
+ <dependencySet>
+ <outputDirectory>/lib</outputDirectory>
+ <includes>
+ <include>org.apache.ode:ode-utils</include>
+ <include>org.apache.ode:ode-tools</include>
+ <include>org.apache.ode:ode-bpel-compiler</include>
+ <include>org.apache.ode:ode-bpel-api</include>
+ <include>org.apache.ode:ode-runtimes</include>
+ <include>org.apache.ode:ode-bpel-schemas</include>
+ <include>commons-logging:commons-logging</include>
+ <include>org.apache.ode:ode-utils</include>
+ <include>commons-codec:commons-codec</include>
+ <include>commons-collections:commons-collections</include>
+ <include>commons-httpclient:commons-httpclient</include>
+ <include>commons-pool:commons-pool</include>
+ <include>net.sf.saxon:saxon</include>
+ <include>net.sf.saxon:saxon-xpath</include>
+ <include>net.sf.saxon:saxon-dom</include>
+ <include>net.sf.saxon:saxon-xqj</include>
+ <include>jaxen:jaxen</include>
+ <include>log4j:log4j</include>
+ <include>wsdl4j:wsdl4j</include>
+ <include>org.apache.ode:xalan</include>
+ <include>xerces:xercesImpl</include>
+ </includes>
+ </dependencySet>
+
+ <dependencySet>
+ <outputDirectory>/extensions/ode-extensions-e4x/lib</outputDirectory>
+ <includes>
+ <include>rhino:js</include>
+ <include>commons-logging:commons-logging</include>
+ </includes>
+ </dependencySet>
+
+ <dependencySet>
+
<outputDirectory>/extensions/ode-extensions-jms-eventpublisher/lib</outputDirectory>
+ <includes>
+ <include>org.apache.activemq:apache-activemq</include>
+ <include>org.apache.xmlbeans:xmlbeans</include>
+ </includes>
+ </dependencySet>
+
+ </dependencySets>
+
+</assembly>