You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by dr...@apache.org on 2017/09/21 12:41:42 UTC
brooklyn-dist git commit: Add LICENSE and NOTICE file back to the RPM
and DEB packages
Repository: brooklyn-dist
Updated Branches:
refs/heads/0.12.0 94bc57e6a -> 416ebc774
Add LICENSE and NOTICE file back to the RPM and DEB packages
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/commit/416ebc77
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/tree/416ebc77
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/diff/416ebc77
Branch: refs/heads/0.12.0
Commit: 416ebc77473452e26f95a41c771feabf138979db
Parents: 94bc57e
Author: Thomas Bouron <th...@cloudsoftcorp.com>
Authored: Thu Sep 21 11:17:07 2017 +0100
Committer: Duncan Godwin <dr...@googlemail.com>
Committed: Thu Sep 21 13:41:14 2017 +0100
----------------------------------------------------------------------
deb-packaging/pom.xml | 22 ++++++++++++++++++++++
rpm-packaging/pom.xml | 16 ++++++++++++++++
2 files changed, 38 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/416ebc77/deb-packaging/pom.xml
----------------------------------------------------------------------
diff --git a/deb-packaging/pom.xml b/deb-packaging/pom.xml
index 7c7d040..8e79c55 100644
--- a/deb-packaging/pom.xml
+++ b/deb-packaging/pom.xml
@@ -184,6 +184,28 @@
</mapper>
</data>
<data>
+ <src>${project.build.directory}/deps/apache-brooklyn-${project.version}/LICENSE</src>
+ <type>file</type>
+ <mapper>
+ <type>perm</type>
+ <prefix>/opt/brooklyn-${project.version}</prefix>
+ <user>brooklyn</user>
+ <group>brooklyn</group>
+ <filemode>${brooklyn.file.permission.global}</filemode>
+ </mapper>
+ </data>
+ <data>
+ <src>${project.build.directory}/deps/apache-brooklyn-${project.version}/NOTICE</src>
+ <type>file</type>
+ <mapper>
+ <type>perm</type>
+ <prefix>/opt/brooklyn-${project.version}</prefix>
+ <user>brooklyn</user>
+ <group>brooklyn</group>
+ <filemode>${brooklyn.file.permission.global}</filemode>
+ </mapper>
+ </data>
+ <data>
<type>template</type>
<paths>
<path>/opt/brooklyn-${project.version}/data/log</path>
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/416ebc77/rpm-packaging/pom.xml
----------------------------------------------------------------------
diff --git a/rpm-packaging/pom.xml b/rpm-packaging/pom.xml
index d7f9da2..58874b6 100644
--- a/rpm-packaging/pom.xml
+++ b/rpm-packaging/pom.xml
@@ -186,6 +186,22 @@
</sources>
</mapping>
<mapping>
+ <directory>/opt/brooklyn-${project.version}</directory>
+ <sources>
+ <source>
+ <location>${project.build.directory}/deps/apache-brooklyn-${project.version}/LICENSE</location>
+ </source>
+ </sources>
+ </mapping>
+ <mapping>
+ <directory>/opt/brooklyn-${project.version}</directory>
+ <sources>
+ <source>
+ <location>${project.build.directory}/deps/apache-brooklyn-${project.version}/NOTICE</location>
+ </source>
+ </sources>
+ </mapping>
+ <mapping>
<directory>/lib/systemd/system</directory>
<directoryIncluded>false</directoryIncluded>
<filemode>${brooklyn.file.permission.global}</filemode>