add DISCLAIMER to samples source bundle

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

Branch: refs/heads/develop
Commit: d0dea8437d17cacec5bbd2e73fc5276f60df461d
Parents: 67d8fdf
Author: Dale LaBossiere <dlab...@us.ibm.com>
Authored: Mon Oct 2 13:55:00 2017 -0400
Committer: Dale LaBossiere <dlab...@us.ibm.com>
Committed: Mon Oct 2 13:55:00 2017 -0400

----------------------------------------------------------------------
 pom.xml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-edgent-samples/blob/d0dea843/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index f5032e3..794cc89 100644
--- a/pom.xml
+++ b/pom.xml
@@ -312,6 +312,28 @@
     </pluginManagement>
 
     <plugins>
+
+      <!-- Make sure the DISCLAIMER contains the incubator version -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-remote-resources-plugin</artifactId>
+        <version>1.5</version><!--$NO-MVN-MAN-VER$-->
+        <executions>
+          <execution>
+            <id>process-resource-bundles</id>
+            <goals>
+              <goal>process</goal>
+            </goals>
+            <configuration>
+              <resourceBundles>
+                
<resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
+                <!-- Will generate META-INF/DISCLAIMER  -->
+                
<resourceBundle>org.apache.apache.resources:apache-incubator-disclaimer-resource-bundle:1.2-SNAPSHOT</resourceBundle>
+              </resourceBundles>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
       <plugin>
         <!-- build an uber JAR -->
         <groupId>org.apache.maven.plugins</groupId>

Reply via email to