assemblies.my-distribution.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2015 wwwb23prodtminfo.
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 xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd">
<!-- the descriptor ID results in the final name as a classifier :
sf3-jxakn-api-<version>-SNAPSHOT-<id>.jar
-->
<id>api</id>
<formats>
<format>jar</format>
</formats>
<!-- overrides default in-jar folder ${project.build.finalName}/ output-->
<includeBaseDirectory>true</includeBaseDirectory>
<baseDirectory>/</baseDirectory>
<!-- it's going to output a big JAR with all dependencies unpacked (*.class)-->
<dependencySets>
<dependencySet>
<!-- the scope is necessary to import dependency later on -->
<scope>runtime</scope>
<!-- all sf3jswing libraries are unpacked in JAR root folder -->
<includes>
<include>${project.parent.groupId}:${project.parent.artifactId}*</include>
</includes>
<useProjectArtifact>true</useProjectArtifact>
<outputDirectory>/</outputDirectory>
<unpack>true</unpack>
</dependencySet>
<!-- all other libraries are packed in JAR /lib folder -->
<dependencySet>
<!-- the scope is necessary to import dependency later on -->
<scope>runtime</scope>
<excludes>
<exclude>${project.parent.groupId}:${project.parent.artifactId}*</exclude>
</excludes>
<useProjectArtifact>true</useProjectArtifact>
<unpack>false</unpack>
<outputDirectory>/lib</outputDirectory>
</dependencySet>
</dependencySets>
</assembly>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy