openjpa/openjpa-project/assembly.xml

109 lines
4.2 KiB
XML

<assembly>
<id>binary</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>true</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>target/aggregate</directory>
<outputDirectory>/</outputDirectory>
</fileSet>
<fileSet>
<includes>
<include>README</include>
<include>DISCLAIMER</include>
<include>LICENSE</include>
<include>STATUS</include>
<include>NOTICE</include>
<include>README.txt</include>
<include>DISCLAIMER.txt</include>
<include>LICENSE.txt</include>
<include>STATUS.txt</include>
<include>NOTICE.txt</include>
</includes>
</fileSet>
<!--
<fileSet>
<directory>licenses</directory>
<outputDirectory>/lib</outputDirectory>
<includes>
<include>*</include>
</includes>
</fileSet>
<fileSet>
<directory>target/examples</directory>
<outputDirectory>/examples</outputDirectory>
</fileSet>
-->
<fileSet>
<directory>target/manual</directory>
<outputDirectory>docs/manual</outputDirectory>
</fileSet>
<fileSet>
<directory>src/doc/manual/img</directory>
<outputDirectory>docs/manual/img</outputDirectory>
</fileSet>
<fileSet>
<directory>src/doc/manual/css</directory>
<outputDirectory>docs/manual/css</outputDirectory>
</fileSet>
<fileSet>
<directory>../target/site/apidocs</directory>
<outputDirectory>docs/javadoc</outputDirectory>
</fileSet>
<fileSet>
<directory>../openjpa-examples/src/main/java</directory>
<outputDirectory>examples</outputDirectory>
</fileSet>
</fileSets>
<dependencySets>
<dependencySet>
<outputDirectory>/lib</outputDirectory>
<unpack>false</unpack>
<scope>runtime</scope>
<excludes>
<!-- only used for the ant tasks, which will already have it -->
<exclude>ant:ant</exclude>
<exclude>ant:ant-xalan2</exclude>
<exclude>ant:ant-trax</exclude>
<exclude>bcel:bcel</exclude>
<!-- exclude empty distribution jars -->
<exclude>openjpa:openjpa-project</exclude>
<!-- already included in JDK 1.5 -->
<exclude>xerces:xerces</exclude>
<exclude>xerces:xercesImpl</exclude>
<exclude>xalan:xalan</exclude>
<exclude>xml-apis:xml-apis</exclude>
<exclude>xerces:xmlParserAPIs</exclude>
<!-- not required for release -->
<exclude>hsqldb:hsqldb</exclude>
<!-- only required for persistence server -->
<exclude>javax.servlet:servlet-api</exclude>
<!-- optional log implementation -->
<exclude>log4j:log4j</exclude>
<!-- optional -->
<exclude>junit:junit</exclude>
<!-- these are placed in the modules/ directory -->
<exclude>org.apache.openjpa:openjpa-all</exclude>
<exclude>org.apache.openjpa:openjpa-lib</exclude>
<exclude>org.apache.openjpa:openjpa-kernel</exclude>
<exclude>org.apache.openjpa:openjpa-kernel-4</exclude>
<exclude>org.apache.openjpa:openjpa-kernel-5</exclude>
<exclude>org.apache.openjpa:openjpa-jdbc</exclude>
<exclude>org.apache.openjpa:openjpa-jdbc-5</exclude>
<exclude>org.apache.openjpa:openjpa-persistence</exclude>
<exclude>org.apache.openjpa:openjpa-persistence-jdbc</exclude>
<exclude>org.apache.openjpa:openjpa-xmlstore</exclude>
</excludes>
</dependencySet>
</dependencySets>
</assembly>