You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2015/04/21 22:50:32 UTC

[11/19] incubator-brooklyn git commit: Add DISCLAIMER file to Maven artifacts

Add DISCLAIMER file to Maven artifacts

Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/aab6a764
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/aab6a764
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/aab6a764

Branch: refs/heads/master
Commit: aab6a7642a6143546bec7bceeaf6c99faddaf3bc
Parents: f5bf31f
Author: Richard Downer <ri...@apache.org>
Authored: Fri Apr 17 16:01:59 2015 +0100
Committer: Richard Downer <ri...@apache.org>
Committed: Fri Apr 17 16:26:11 2015 +0100

----------------------------------------------------------------------
 pom.xml                                         | 20 ++++++++++++++++++++
 usage/cli/src/main/license/DISCLAIMER           |  8 ++++++++
 usage/cli/src/test/license/DISCLAIMER           |  8 ++++++++
 usage/dist/src/main/license/DISCLAIMER          |  8 ++++++++
 usage/jsgui/src/main/license/DISCLAIMER         |  8 ++++++++
 usage/jsgui/src/test/license/DISCLAIMER         |  8 ++++++++
 utils/jmx/jmxmp-ssl-agent/pom.xml               |  5 +++++
 .../src/main/license/DISCLAIMER.shaded          |  8 ++++++++
 8 files changed, 73 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/aab6a764/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 7de32ec..962bc30 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1231,6 +1231,26 @@
                 </excludes>
               </configuration>
             </plugin>
+
+            <!-- Add off-the-schelf LICENSE, NOTICE and DISCLAIMER to each jar. Where off-the-shelf isn't suitable
+               - for submodules, they can disable this processing and intergrate their own files. -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-remote-resources-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>process</goal>
+                        </goals>
+                        <configuration>
+                            <resourceBundles>
+                                <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
+                                <resourceBundle>org.apache:apache-incubator-disclaimer-resource-bundle:1.1</resourceBundle>
+                            </resourceBundles>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
         <extensions>
             <extension>

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/aab6a764/usage/cli/src/main/license/DISCLAIMER
----------------------------------------------------------------------
diff --git a/usage/cli/src/main/license/DISCLAIMER b/usage/cli/src/main/license/DISCLAIMER
new file mode 100644
index 0000000..9e6119b
--- /dev/null
+++ b/usage/cli/src/main/license/DISCLAIMER
@@ -0,0 +1,8 @@
+
+Apache Brooklyn is an effort undergoing incubation at The Apache Software Foundation (ASF), 
+sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until 
+a further review indicates that the infrastructure, communications, and decision making process 
+have stabilized in a manner consistent with other successful ASF projects. While incubation 
+status is not necessarily a reflection of the completeness or stability of the code, it does 
+indicate that the project has yet to be fully endorsed by the ASF.
+

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/aab6a764/usage/cli/src/test/license/DISCLAIMER
----------------------------------------------------------------------
diff --git a/usage/cli/src/test/license/DISCLAIMER b/usage/cli/src/test/license/DISCLAIMER
new file mode 100644
index 0000000..9e6119b
--- /dev/null
+++ b/usage/cli/src/test/license/DISCLAIMER
@@ -0,0 +1,8 @@
+
+Apache Brooklyn is an effort undergoing incubation at The Apache Software Foundation (ASF), 
+sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until 
+a further review indicates that the infrastructure, communications, and decision making process 
+have stabilized in a manner consistent with other successful ASF projects. While incubation 
+status is not necessarily a reflection of the completeness or stability of the code, it does 
+indicate that the project has yet to be fully endorsed by the ASF.
+

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/aab6a764/usage/dist/src/main/license/DISCLAIMER
----------------------------------------------------------------------
diff --git a/usage/dist/src/main/license/DISCLAIMER b/usage/dist/src/main/license/DISCLAIMER
new file mode 100644
index 0000000..9e6119b
--- /dev/null
+++ b/usage/dist/src/main/license/DISCLAIMER
@@ -0,0 +1,8 @@
+
+Apache Brooklyn is an effort undergoing incubation at The Apache Software Foundation (ASF), 
+sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until 
+a further review indicates that the infrastructure, communications, and decision making process 
+have stabilized in a manner consistent with other successful ASF projects. While incubation 
+status is not necessarily a reflection of the completeness or stability of the code, it does 
+indicate that the project has yet to be fully endorsed by the ASF.
+

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/aab6a764/usage/jsgui/src/main/license/DISCLAIMER
----------------------------------------------------------------------
diff --git a/usage/jsgui/src/main/license/DISCLAIMER b/usage/jsgui/src/main/license/DISCLAIMER
new file mode 100644
index 0000000..9e6119b
--- /dev/null
+++ b/usage/jsgui/src/main/license/DISCLAIMER
@@ -0,0 +1,8 @@
+
+Apache Brooklyn is an effort undergoing incubation at The Apache Software Foundation (ASF), 
+sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until 
+a further review indicates that the infrastructure, communications, and decision making process 
+have stabilized in a manner consistent with other successful ASF projects. While incubation 
+status is not necessarily a reflection of the completeness or stability of the code, it does 
+indicate that the project has yet to be fully endorsed by the ASF.
+

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/aab6a764/usage/jsgui/src/test/license/DISCLAIMER
----------------------------------------------------------------------
diff --git a/usage/jsgui/src/test/license/DISCLAIMER b/usage/jsgui/src/test/license/DISCLAIMER
new file mode 100644
index 0000000..9e6119b
--- /dev/null
+++ b/usage/jsgui/src/test/license/DISCLAIMER
@@ -0,0 +1,8 @@
+
+Apache Brooklyn is an effort undergoing incubation at The Apache Software Foundation (ASF), 
+sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until 
+a further review indicates that the infrastructure, communications, and decision making process 
+have stabilized in a manner consistent with other successful ASF projects. While incubation 
+status is not necessarily a reflection of the completeness or stability of the code, it does 
+indicate that the project has yet to be fully endorsed by the ASF.
+

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/aab6a764/utils/jmx/jmxmp-ssl-agent/pom.xml
----------------------------------------------------------------------
diff --git a/utils/jmx/jmxmp-ssl-agent/pom.xml b/utils/jmx/jmxmp-ssl-agent/pom.xml
index aad0abe..d48ddd9 100644
--- a/utils/jmx/jmxmp-ssl-agent/pom.xml
+++ b/utils/jmx/jmxmp-ssl-agent/pom.xml
@@ -78,6 +78,7 @@
                                 <resources>
                                     <resource>META-INF/LICENSE</resource>
                                     <resource>META-INF/NOTICE</resource>
+                                    <resource>META-INF/DISCLAIMER</resource>
                                 </resources>
                             </transformer>
                             <!-- Replace it with license/notice for the shaded artifact -->
@@ -89,6 +90,10 @@
                                 <resource>META-INF/NOTICE</resource>
                                 <file>src/main/license/NOTICE.shaded</file>
                             </transformer>
+                            <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
+                                <resource>META-INF/DISCLAIMER</resource>
+                                <file>src/main/license/DISCLAIMER.shaded</file>
+                            </transformer>
                         </transformers>
                     </configuration>
                 </plugin>

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/aab6a764/utils/jmx/jmxmp-ssl-agent/src/main/license/DISCLAIMER.shaded
----------------------------------------------------------------------
diff --git a/utils/jmx/jmxmp-ssl-agent/src/main/license/DISCLAIMER.shaded b/utils/jmx/jmxmp-ssl-agent/src/main/license/DISCLAIMER.shaded
new file mode 100644
index 0000000..9e6119b
--- /dev/null
+++ b/utils/jmx/jmxmp-ssl-agent/src/main/license/DISCLAIMER.shaded
@@ -0,0 +1,8 @@
+
+Apache Brooklyn is an effort undergoing incubation at The Apache Software Foundation (ASF), 
+sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until 
+a further review indicates that the infrastructure, communications, and decision making process 
+have stabilized in a manner consistent with other successful ASF projects. While incubation 
+status is not necessarily a reflection of the completeness or stability of the code, it does 
+indicate that the project has yet to be fully endorsed by the ASF.
+