Skip to content

Commit

Permalink
Restore the btm-dist project to make publication easier.
Browse files Browse the repository at this point in the history
  • Loading branch information
brettwooldridge committed Feb 25, 2015
1 parent 6f50fd8 commit 1072c30
Show file tree
Hide file tree
Showing 41 changed files with 1,821 additions and 0 deletions.
4 changes: 4 additions & 0 deletions btm-dist/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.iml
*.ipr
*.iws
target/
108 changes: 108 additions & 0 deletions btm-dist/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.codehaus.btm</groupId>
<artifactId>btm-parent</artifactId>
<version>3.0.0-SNAPSHOT</version>
</parent>

<artifactId>btm-dist</artifactId>
<packaging>pom</packaging>
<name>Bitronix Transaction Manager :: Distribution</name>

<dependencies>
<dependency>
<groupId>org.codehaus.btm</groupId>
<artifactId>btm</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.codehaus.btm</groupId>
<artifactId>btm</artifactId>
<scope>runtime</scope>
<classifier>test-sources</classifier>
</dependency>
<dependency>
<groupId>org.codehaus.btm</groupId>
<artifactId>btm</artifactId>
<scope>runtime</scope>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.codehaus.btm</groupId>
<artifactId>btm</artifactId>
<scope>runtime</scope>
<classifier>javadoc</classifier>
</dependency>

<dependency>
<groupId>org.codehaus.btm</groupId>
<artifactId>btm-jetty6-lifecycle</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.codehaus.btm</groupId>
<artifactId>btm-jetty7-lifecycle</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.codehaus.btm</groupId>
<artifactId>btm-tomcat55-lifecycle</artifactId>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>javax.transaction</groupId>
<artifactId>jta</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jms_1.1_spec</artifactId>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<descriptors>
<descriptor>${basedir}/src/main/assembly/distribution.xml</descriptor>
</descriptors>
<tarLongFileMode>gnu</tarLongFileMode>
<finalName>btm-dist-${project.version}</finalName>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</plugin>
</plugins>
</build>

</project>
134 changes: 134 additions & 0 deletions btm-dist/src/main/assembly/distribution.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
<?xml version="1.0" encoding="UTF-8"?>
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1 http://maven.apache.org/xsd/assembly-1.1.1.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<id>dist</id>
<formats>
<format>zip</format>
</formats>

<dependencySets>
<!-- main project -->
<dependencySet>
<outputDirectory/>
<includes>
<include>org.codehaus.btm:btm:jar</include>
</includes>
<excludes>
<exclude>org.codehaus.btm:btm:jar:sources</exclude>
<exclude>org.codehaus.btm:btm:jar:test-sources</exclude>
<exclude>org.codehaus.btm:btm:jar:javadoc</exclude>
</excludes>
<useProjectArtifact>false</useProjectArtifact>
</dependencySet>
<!-- integration jars -->
<dependencySet>
<outputDirectory>integration</outputDirectory>
<includes>
<include>org.codehaus.btm:btm-jetty6-lifecycle:jar</include>
<include>org.codehaus.btm:btm-jetty7-lifecycle:jar</include>
<include>org.codehaus.btm:btm-tomcat55-lifecycle:jar</include>
</includes>
<useProjectArtifact>false</useProjectArtifact>
</dependencySet>
<!-- main sources -->
<dependencySet>
<outputDirectory>src</outputDirectory>
<unpack>true</unpack>
<unpackOptions>
<excludes>
<exclude>META-INF/**</exclude>
</excludes>
</unpackOptions>
<includes>
<include>org.codehaus.btm:btm:jar:sources</include>
</includes>
<useProjectArtifact>false</useProjectArtifact>
</dependencySet>
<!-- test sources -->
<dependencySet>
<outputDirectory>test</outputDirectory>
<unpack>true</unpack>
<unpackOptions>
<excludes>
<exclude>META-INF/**</exclude>
</excludes>
</unpackOptions>
<includes>
<include>org.codehaus.btm:btm:jar:test-sources</include>
</includes>
<useProjectArtifact>false</useProjectArtifact>
</dependencySet>
<!-- javadoc -->
<dependencySet>
<outputDirectory>doc/api</outputDirectory>
<unpack>true</unpack>
<unpackOptions>
<excludes>
<exclude>META-INF/**</exclude>
</excludes>
</unpackOptions>
<includes>
<include>org.codehaus.btm:btm:jar:javadoc</include>
</includes>
<useProjectArtifact>false</useProjectArtifact>
</dependencySet>
<!-- 3rd party libraries -->
<dependencySet>
<outputDirectory>/lib</outputDirectory>
<scope>runtime</scope>
<excludes>
<exclude>javax.transaction:*</exclude>
<exclude>org.codehaus.btm:*</exclude>
</excludes>
<useProjectArtifact>false</useProjectArtifact>
</dependencySet>
<!-- 3rd party test libraries -->
<dependencySet>
<outputDirectory>/test-lib</outputDirectory>
<scope>test</scope>
<includes>
<include>junit:*</include>
<include>org.mockito:*</include>
</includes>
<useProjectArtifact>false</useProjectArtifact>
</dependencySet>
</dependencySets>

<fileSets>
<fileSet>
<directory>${basedir}/src/main/dist</directory>
<includes>
<include>license.txt</include>
<include>build.xml</include>
<include>doc/**/*</include>
</includes>
<filtered>false</filtered>
<outputDirectory/>
</fileSet>
<fileSet>
<directory>${basedir}/src/main/dist</directory>
<includes>
<include>build.properties</include>
</includes>
<filtered>true</filtered>
<outputDirectory/>
</fileSet>
<fileSet>
<directory>${basedir}/src/main/dist/release-notes</directory>
<includes>
<include>release-notes-${project.version}.txt</include>
</includes>
<outputDirectory/>
</fileSet>
<fileSet>
<directory>${basedir}/src/main/dist/3rdparty-licenses</directory>
<includes>
<include>*</include>
</includes>
<outputDirectory>lib</outputDirectory>
</fileSet>
</fileSets>

</assembly>
Loading

0 comments on commit 1072c30

Please sign in to comment.