openjpa/openjpa-project/assembly.xml

118 lines
4.5 KiB
XML

<assembly>
<id></id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>true</includeBaseDirectory>
<fileSets>
<fileSet>
<includes>
<include>README*</include>
<include>LICENSE*</include>
<include>NOTICE*</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>
</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>
<dependencySet>
<outputDirectory>/modules</outputDirectory>
<unpack>false</unpack>
<includes>
<include>org.apache.openjpa:openjpa-lib</include>
<include>org.apache.openjpa:openjpa-kernel</include>
<include>org.apache.openjpa:openjpa-kernel-4</include>
<include>org.apache.openjpa:openjpa-kernel-5</include>
<include>org.apache.openjpa:openjpa-jdbc</include>
<include>org.apache.openjpa:openjpa-jdbc-5</include>
<include>org.apache.openjpa:openjpa-persistence</include>
<include>org.apache.openjpa:openjpa-persistence-jdbc</include>
<include>org.apache.openjpa:openjpa-xmlstore</include>
</includes>
</dependencySet>
<dependencySet>
<outputDirectory>/</outputDirectory>
<unpack>false</unpack>
<includes>
<include>org.apache.openjpa:openjpa-all</include>
</includes>
</dependencySet>
</dependencySets>
</assembly>