Author: rdonkin
Date: Sat Jan 17 10:35:42 2009
New Revision: 735321
URL: http://svn.apache.org/viewvc?rev=735321&view=rev
Log:
Ensure license etc included in jar
Added:
james/mailet/maven-mailetdocs-plugin/trunk/src/main/appended-resources/
james/mailet/maven-mailetdocs-plugin/trunk/src/main/appended-resources/supplemental-models.xml
Modified:
james/mailet/maven-mailetdocs-plugin/trunk/pom.xml
Modified: james/mailet/maven-mailetdocs-plugin/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/james/mailet/maven-mailetdocs-plugin/trunk/pom.xml?rev=735321&r1=735320&r2=735321&view=diff
==============================================================================
--- james/mailet/maven-mailetdocs-plugin/trunk/pom.xml (original)
+++ james/mailet/maven-mailetdocs-plugin/trunk/pom.xml Sat Jan 17 10:35:42 2009
@@ -59,8 +59,18 @@
<url>
http://svn.apache.org/viewcvs.cgi/james/mailet/maven-mailetdocs-plugin/trunk/?root=Apache-SVN
</url>
- </scm>
+ </scm>
+ <repositories>
+ <!-- enable central that is otherwise disabled by the parent pom. -->
+ <repository>
+ <id>central</id>
+ <url>http://repo1.maven.org/maven2</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ </repositories>
<dependencies>
<dependency>
@@ -152,6 +162,28 @@
</goals>
</execution>
</executions>
+ </plugin>
+ <!-- Add NOTICE and LICENSE to generated JAR -->
+ <plugin>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <version>1.0</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ <configuration>
+ <resourceBundles>
+ <resourceBundle>
+ org.apache:apache-jar-resource-bundle:1.4
+ </resourceBundle>
+ </resourceBundles>
+ <properties>
+ <addLicense>true</addLicense>
+ </properties>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Added:
james/mailet/maven-mailetdocs-plugin/trunk/src/main/appended-resources/supplemental-models.xml
URL:
http://svn.apache.org/viewvc/james/mailet/maven-mailetdocs-plugin/trunk/src/main/appended-resources/supplemental-models.xml?rev=735321&view=auto
==============================================================================
---
james/mailet/maven-mailetdocs-plugin/trunk/src/main/appended-resources/supplemental-models.xml
(added)
+++
james/mailet/maven-mailetdocs-plugin/trunk/src/main/appended-resources/supplemental-models.xml
Sat Jan 17 10:35:42 2009
@@ -0,0 +1,106 @@
+<?xml version='1.0'?>
+<!--
+ 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.
+-->
+<supplementalDataModels>
+ <supplement>
+ <project>
+ <groupId>commons-digester</groupId>
+ <artifactId>commons-digester</artifactId>
+ <name>Apache Commons Digester</name>
+ <organization>
+ <name>The Apache Software Foundation</name>
+ <url>http://www.apache.org</url>
+ </organization>
+ <licenses>
+ <license>
+ <name>The Apache Software License, Version 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ </license>
+ </licenses>
+ </project>
+ </supplement>
+ <supplement>
+ <project>
+ <groupId>ant</groupId>
+ <artifactId>ant</artifactId>
+ <name>Apache Ant</name>
+ <organization>
+ <name>The Apache Software Foundation</name>
+ <url>http://www.apache.org</url>
+ </organization>
+ <licenses>
+ <license>
+ <name>The Apache Software License, Version 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ </license>
+ </licenses>
+ </project>
+ </supplement>
+ <supplement>
+ <project>
+ <groupId>commons-beanutils</groupId>
+ <artifactId>commons-beanutils</artifactId>
+ <name>Apache Commons Beanutils</name>
+ <organization>
+ <name>The Apache Software Foundation</name>
+ <url>http://www.apache.org</url>
+ </organization>
+ <licenses>
+ <license>
+ <name>The Apache Software License, Version 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ </license>
+ </licenses>
+ </project>
+ </supplement>
+ <supplement>
+ <project>
+ <groupId>oro</groupId>
+ <artifactId>oro</artifactId>
+ <name>Apache Oro</name>
+ <organization>
+ <name>The Apache Software Foundation</name>
+ <url>http://www.apache.org</url>
+ </organization>
+ <licenses>
+ <license>
+ <name>The Apache Software License, Version 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ </license>
+ </licenses>
+ </project>
+ </supplement>
+ <supplement>
+ <project>
+ <groupId>jmock</groupId>
+ <artifactId>jmock</artifactId>
+ <name>JMock</name>
+ <organization>
+ <name>jMock.org</name>
+ <url>http://jmock.org</url>
+ </organization>
+ <licenses>
+ <license>
+ <name>jMock Project License</name>
+ <url>http://www.jmock.org/license.html</url>
+ </license>
+ </licenses>
+ </project>
+ </supplement>
+</supplementalDataModels>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]