airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject svn commit: r1232573 - in /incubator/airavata/airavata-master-pom: branches/0.2-incubating-SNAPSHOT/pom.xml trunk/pom.xml
Date Tue, 17 Jan 2012 21:08:42 GMT
Author: lahiru
Date: Tue Jan 17 21:08:42 2012
New Revision: 1232573

URL: http://svn.apache.org/viewvc?rev=1232573&view=rev
Log:
adding changes to maven-jar-plugin configuration.

Modified:
    incubator/airavata/airavata-master-pom/branches/0.2-incubating-SNAPSHOT/pom.xml
    incubator/airavata/airavata-master-pom/trunk/pom.xml

Modified: incubator/airavata/airavata-master-pom/branches/0.2-incubating-SNAPSHOT/pom.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/airavata-master-pom/branches/0.2-incubating-SNAPSHOT/pom.xml?rev=1232573&r1=1232572&r2=1232573&view=diff
==============================================================================
--- incubator/airavata/airavata-master-pom/branches/0.2-incubating-SNAPSHOT/pom.xml (original)
+++ incubator/airavata/airavata-master-pom/branches/0.2-incubating-SNAPSHOT/pom.xml Tue Jan
17 21:08:42 2012
@@ -103,6 +103,40 @@
           </packagingExcludes>
         </configuration>
       </plugin>      
+     <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <!-- copy legal files added/appended by maven-remote-resources-plugin
+               from /WEB-INF/classes/META-INF/ to root /META-INF folder as expected
+               for war artifacts, see RAVE-168
+          -->
+          <webResources>
+            <resource>
+              <directory>${project.build.directory}/classes/META-INF</directory>
+              <includes>
+                <include>LICENSE</include>
+                <include>NOTICE</include>
+                <include>DEPENDENCIES</include>
+                <include>DISCLAIMER</include>
+              </includes>
+              <targetPath>META-INF</targetPath>
+              <filtering>false</filtering>
+            </resource>
+          </webResources>
+          <!-- exclude legal files added/appended by maven-remote-resources-plugin
+               under /WEB-INF/classes/META-INF/ as for war artifacts these should (see above)
+               be provided under /META-INF/ instead, see RAVE-168
+           -->
+          <packagingExcludes>
+            WEB-INF/classes/META-INF/LICENSE,
+            WEB-INF/classes/META-INF/NOTICE,
+            WEB-INF/classes/META-INF/DISCLAIMER,
+            WEB-INF/classes/META-INF/DEPENDENCIES
+          </packagingExcludes>
+        </configuration>
+      </plugin>
+
     </plugins>
   </build>
   

Modified: incubator/airavata/airavata-master-pom/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/airavata-master-pom/trunk/pom.xml?rev=1232573&r1=1232572&r2=1232573&view=diff
==============================================================================
--- incubator/airavata/airavata-master-pom/trunk/pom.xml (original)
+++ incubator/airavata/airavata-master-pom/trunk/pom.xml Tue Jan 17 21:08:42 2012
@@ -103,6 +103,40 @@
           </packagingExcludes>
         </configuration>
       </plugin>      
+     <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <!-- copy legal files added/appended by maven-remote-resources-plugin
+               from /WEB-INF/classes/META-INF/ to root /META-INF folder as expected
+               for war artifacts, see RAVE-168
+          -->
+          <webResources>
+            <resource>
+              <directory>${project.build.directory}/classes/META-INF</directory>
+              <includes>
+                <include>LICENSE</include>
+                <include>NOTICE</include>
+                <include>DEPENDENCIES</include>
+                <include>DISCLAIMER</include>
+              </includes>
+              <targetPath>META-INF</targetPath>
+              <filtering>false</filtering>
+            </resource>
+          </webResources>
+          <!-- exclude legal files added/appended by maven-remote-resources-plugin
+               under /WEB-INF/classes/META-INF/ as for war artifacts these should (see above)
+               be provided under /META-INF/ instead, see RAVE-168
+           -->
+          <packagingExcludes>
+            WEB-INF/classes/META-INF/LICENSE,
+            WEB-INF/classes/META-INF/NOTICE,
+            WEB-INF/classes/META-INF/DISCLAIMER,
+            WEB-INF/classes/META-INF/DEPENDENCIES
+          </packagingExcludes>
+        </configuration>
+      </plugin>
+
     </plugins>
   </build>
   



Mime
View raw message