You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2018/04/09 08:37:10 UTC
[sling-org-apache-sling-karaf-distribution] 03/05: move LICENSE and
NOTICE to distribution's root and remove META-INF
This is an automated email from the ASF dual-hosted git repository.
olli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-karaf-distribution.git
commit 6fe597f4dec73d451117dc3bc81b113f73291cf3
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Sun Apr 8 13:52:54 2018 +0200
move LICENSE and NOTICE to distribution's root and remove META-INF
---
pom.xml | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/pom.xml b/pom.xml
index 9a5f61e..1d48fdc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -520,6 +520,26 @@
<javase>1.8</javase>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <target>
+ <!-- see maven-remote-resources-plugin in Sling parent -->
+ <move file="${project.build.directory}/assembly/META-INF/LICENSE" tofile="${project.build.directory}/assembly/LICENSE"/>
+ <move file="${project.build.directory}/assembly/META-INF/NOTICE" tofile="${project.build.directory}/assembly/NOTICE"/>
+ <delete dir="${project.build.directory}/assembly/META-INF"/>
+ </target>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
--
To stop receiving notification emails like this one, please contact
olli@apache.org.