openjpa/openjpa-project/assembly.xml

140 lines
5.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2006 The Apache Software Foundation.
Licensed 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>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>
<include>RELEASE-NOTES</include>
<include>RELEASE-NOTES.html</include>
<include>RELEASE-NOTES.txt</include>
<include>CHANGES</include>
<include>CHANGES.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>/</outputDirectory>
<unpack>false</unpack>
<scope>runtime</scope>
<outputFileNameMapping>openjpa-${version}.${extension}</outputFileNameMapping>
<includes>
<include>org.apache.openjpa:openjpa-all</include>
</includes>
</dependencySet>
<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>
<exclude>org.apache.openjpa:openjpa-examples</exclude>
</excludes>
</dependencySet>
</dependencySets>
</assembly>