You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ba...@apache.org on 2008/05/10 12:49:18 UTC

svn commit: r655044 - in /james/jsieve/trunk: pom.xml src/main/appended-resources/ src/main/appended-resources/supplemental-models.xml

Author: bago
Date: Sat May 10 03:49:18 2008
New Revision: 655044

URL: http://svn.apache.org/viewvc?rev=655044&view=rev
Log:
Add remote-resources plugin configuration for better m2 notice generation. (not used ATM, but doesn't hurt)

Added:
    james/jsieve/trunk/src/main/appended-resources/
    james/jsieve/trunk/src/main/appended-resources/supplemental-models.xml   (with props)
Modified:
    james/jsieve/trunk/pom.xml

Modified: james/jsieve/trunk/pom.xml
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/pom.xml?rev=655044&r1=655043&r2=655044&view=diff
==============================================================================
--- james/jsieve/trunk/pom.xml (original)
+++ james/jsieve/trunk/pom.xml Sat May 10 03:49:18 2008
@@ -230,6 +230,33 @@
           </execution>
         </executions>
       </plugin>
+      <!-- Add NOTICE and LICENSE to generated JAR -->
+      <plugin>
+        <artifactId>maven-remote-resources-plugin</artifactId>
+        <version>1.0-alpha-5</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>process</goal>
+            </goals>
+            <configuration>
+              <resourceBundles>
+                <resourceBundle>org.apache:apache-jar-resource-bundle:1.2</resourceBundle>
+              </resourceBundles>
+              <properties>
+	              <!--  <preProjectText>PRE PROCESS TEXT</preProjectText>  -->
+	              <postProjectText>This product includes/uses software, JUnit (http://www.junit.org/),
+developed by Kent Beck, Erich Gamma, and David Saff
+License: Common Public License Version 1.0  (http://www.opensource.org/licenses/cpl.php)
+
+This file is automatically generated by dependencies declared in pom.xml
+								</postProjectText>
+	              <addLicense>true</addLicense>
+              </properties>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 

Added: james/jsieve/trunk/src/main/appended-resources/supplemental-models.xml
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/src/main/appended-resources/supplemental-models.xml?rev=655044&view=auto
==============================================================================
--- james/jsieve/trunk/src/main/appended-resources/supplemental-models.xml (added)
+++ james/jsieve/trunk/src/main/appended-resources/supplemental-models.xml Sat May 10 03:49:18 2008
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<supplementalDataModels>
+  <!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed  under the  License is distributed on an "AS IS" BASIS,
+  WITHOUT  WARRANTIES OR CONDITIONS  OF ANY KIND, either  express  or
+  implied.
+  
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  -->
+  <supplement>
+    <project>
+      <groupId>oro</groupId>
+      <artifactId>oro</artifactId>
+      <name>Apache Jakarta ORO</name>
+      <url>http://jakarta.apache.org/oro/index.html</url>
+      <organization>
+        <name>The Apache Software Foundation</name>
+        <url>http://www.apache.org/</url>
+      </organization>
+      <licenses>
+        <license>
+          <name>Apache License, Version 2.0</name>
+          <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
+          <distribution>repo</distribution>
+        </license>
+      </licenses>
+    </project>
+  </supplement>
+  <supplement>
+    <project>
+      <groupId>commons-beanutils</groupId>
+      <artifactId>commons-beanutils</artifactId>
+      <name>Apache Commons Beanutils</name>
+      <url>http://commons.apache.org/beanutils/</url>
+      <organization>
+        <name>The Apache Software Foundation</name>
+        <url>http://www.apache.org/</url>
+      </organization>
+      <licenses>
+        <license>
+          <name>Apache License, Version 2.0</name>
+          <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
+          <distribution>repo</distribution>
+        </license>
+      </licenses>
+    </project>
+  </supplement>
+  <!-- Also added manually in pom.xml appeneded text because test
+       dependencies are not automatically included by the NOTICE 
+       generator -->
+  <supplement>
+    <project>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <name>JUnit</name>
+      <url>http://www.junit.org/</url>
+      <organization>
+      	<name>Kent Beck, Erich Gamma, and David Saff</name>
+      </organization>
+      <licenses>
+        <license>
+          <name>Common Public License Version 1.0</name>
+          <url>http://www.opensource.org/licenses/cpl.php</url>
+        </license>
+      </licenses>
+    </project>
+  </supplement>
+</supplementalDataModels>
\ No newline at end of file

Propchange: james/jsieve/trunk/src/main/appended-resources/supplemental-models.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: james/jsieve/trunk/src/main/appended-resources/supplemental-models.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org