2013-06-20 19:06:00 +04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>net.open-esb</groupId>
|
|
|
|
<artifactId>openesb-standalone</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>openesb-standalone-packaging</artifactId>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
|
|
<name>OpenESB - Standalone - Packaging</name>
|
|
|
|
<description>OpenESB runtime in standalone mode - Packaging</description>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<finalName>openesb-standalone-${project.version}</finalName>
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<stripVersion>true</stripVersion>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>open-esb</groupId>
|
|
|
|
<artifactId>core-top</artifactId>
|
|
|
|
<version>${openesb.version}</version>
|
|
|
|
<classifier>distribution</classifier>
|
|
|
|
<type>zip</type>
|
|
|
|
<outputDirectory>${stagingDir}</outputDirectory>
|
|
|
|
<destFileName>openesb-core-distribution.zip</destFileName>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
<execution>
|
|
|
|
<id>${project.artifactId}-fetch-openesb-standalone</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<stripVersion>true</stripVersion>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>net.open-esb</groupId>
|
|
|
|
<artifactId>openesb-standalone-framework</artifactId>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
<outputDirectory>${stagingDir}</outputDirectory>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>net.open-esb</groupId>
|
|
|
|
<artifactId>openesb-standalone-bootstrap</artifactId>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
<outputDirectory>${stagingDir}</outputDirectory>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
<execution>
|
|
|
|
<id>${project.artifactId}-fetch-openesb-standalone-ext</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>com.atomikos</groupId>
|
|
|
|
<artifactId>transactions-jta</artifactId>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
<outputDirectory>${stagingDir}/ext</outputDirectory>
|
|
|
|
</artifactItem>
|
2013-07-15 19:57:22 +04:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>com.atomikos</groupId>
|
|
|
|
<artifactId>transactions</artifactId>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
<outputDirectory>${stagingDir}/ext</outputDirectory>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>com.atomikos</groupId>
|
|
|
|
<artifactId>transactions-api</artifactId>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
<outputDirectory>${stagingDir}/ext</outputDirectory>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>com.atomikos</groupId>
|
|
|
|
<artifactId>atomikos-util</artifactId>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
<outputDirectory>${stagingDir}/ext</outputDirectory>
|
|
|
|
</artifactItem>
|
2013-10-24 00:52:09 +04:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.apache.geronimo.ext.openejb</groupId>
|
|
|
|
<artifactId>javaee-api</artifactId>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
<outputDirectory>${stagingDir}/ext</outputDirectory>
|
|
|
|
</artifactItem>
|
2013-06-20 19:06:00 +04:00
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<version>1.7</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>${project.artifactId}-unzip-openesb-core</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
2013-07-02 17:15:29 +04:00
|
|
|
<unzip src="${stagingDir}/openesb-core-distribution.zip" dest="${project.build.directory}/${project.build.finalName}"/>
|
2013-06-20 19:06:00 +04:00
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
<execution>
|
|
|
|
<id>${project.artifactId}-copy-standalone-libraries</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
2013-07-02 17:15:29 +04:00
|
|
|
<copy todir="${project.build.directory}/${project.build.finalName}/lib">
|
2013-06-20 19:06:00 +04:00
|
|
|
<fileset dir="${stagingDir}">
|
|
|
|
<include name="*.jar"/>
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
<execution>
|
|
|
|
<id>${project.artifactId}-copy-standalone-ext-libraries</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
2013-07-02 17:15:29 +04:00
|
|
|
<copy todir="${project.build.directory}/${project.build.finalName}/lib/ext">
|
2013-06-20 19:06:00 +04:00
|
|
|
<fileset dir="${stagingDir}/ext">
|
|
|
|
<include name="*.jar"/>
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
<execution>
|
|
|
|
<id>${project.artifactId}-copy-standalone-resources</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
2013-07-02 17:15:29 +04:00
|
|
|
<copy todir="${project.build.directory}/${project.build.finalName}">
|
2013-06-20 19:06:00 +04:00
|
|
|
<fileset dir="${basedir}/src/main/resources">
|
|
|
|
<include name="**/*"/>
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
<execution>
|
|
|
|
<id>${project.artifactId}-zip</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
|
|
|
|
<configuration>
|
|
|
|
<target>
|
|
|
|
<delete file="${project.build.directory}/${project.build.finalName}.zip" />
|
2013-07-02 17:15:29 +04:00
|
|
|
|
|
|
|
<mkdir dir="${project.build.directory}/${project.build.finalName}/logs"/>
|
|
|
|
|
2013-06-20 19:06:00 +04:00
|
|
|
<zip destfile="${project.build.directory}/${project.build.finalName}.zip"
|
2013-07-02 17:15:29 +04:00
|
|
|
basedir="${project.build.directory}" includes="${project.build.finalName}/**"
|
2013-06-20 19:06:00 +04:00
|
|
|
/>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<!-- Framework and dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.open-esb</groupId>
|
|
|
|
<artifactId>openesb-standalone-bootstrap</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.open-esb</groupId>
|
|
|
|
<artifactId>openesb-standalone-framework</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2013-07-15 19:57:22 +04:00
|
|
|
<!-- Atomikos -->
|
2013-06-20 19:06:00 +04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.atomikos</groupId>
|
|
|
|
<artifactId>transactions-jta</artifactId>
|
|
|
|
<version>${atomikos.version}</version>
|
|
|
|
</dependency>
|
2013-07-15 19:57:22 +04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.atomikos</groupId>
|
|
|
|
<artifactId>transactions</artifactId>
|
|
|
|
<version>${atomikos.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.atomikos</groupId>
|
|
|
|
<artifactId>transactions-api</artifactId>
|
|
|
|
<version>${atomikos.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.atomikos</groupId>
|
|
|
|
<artifactId>atomikos-util</artifactId>
|
|
|
|
<version>${atomikos.version}</version>
|
|
|
|
</dependency>
|
2013-10-24 00:52:09 +04:00
|
|
|
|
|
|
|
<!-- JavaEE API -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.geronimo.ext.openejb</groupId>
|
|
|
|
<artifactId>javaee-api</artifactId>
|
|
|
|
<version>5.0.3</version>
|
|
|
|
</dependency>
|
2013-06-20 19:06:00 +04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<stagingDir>${project.build.directory}/staging</stagingDir>
|
|
|
|
</properties>
|
|
|
|
</project>
|