diff options
author | Gintas Grigelionis <gintas@apache.org> | 2018-10-27 10:36:49 +0200 |
---|---|---|
committer | Gintas Grigelionis <gintas@apache.org> | 2018-10-27 10:36:49 +0200 |
commit | 99b2c646d30b3c30a39007e0add2f45a65cc1a74 (patch) | |
tree | 3c52f329e4b217192e5ee306f3a97bd7f82a3ab0 /src/etc/poms/ant-swing | |
parent | fbe6a53be56713a5993b6918e6fd394b9cfe8acb (diff) | |
download | ant-99b2c646d30b3c30a39007e0add2f45a65cc1a74.tar.gz |
Make contents of jar files similar to those built by Ant
Diffstat (limited to 'src/etc/poms/ant-swing')
-rw-r--r-- | src/etc/poms/ant-swing/pom.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/etc/poms/ant-swing/pom.xml b/src/etc/poms/ant-swing/pom.xml index 5447dfd79..61b1b0896 100644 --- a/src/etc/poms/ant-swing/pom.xml +++ b/src/etc/poms/ant-swing/pom.xml @@ -55,7 +55,31 @@ </includes> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <index>true</index> + <manifest> + <addExtensions>true</addExtensions> + <addDefaultImplementationEntries>true</addDefaultImplementationEntries> + <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> + </manifest> + </archive> + </configuration> + </plugin> </plugins> + <resources> + <resource> + <directory>../../../..</directory> + <targetPath>META-INF</targetPath> + <includes> + <include>LICENSE</include> + <include>NOTICE</include> + </includes> + </resource> + </resources> <sourceDirectory>../../../../src/main</sourceDirectory> <testSourceDirectory>../../../../src/testcases</testSourceDirectory> <outputDirectory>../../../../target/${project.artifactId}/classes</outputDirectory> |