Author: aadamchik
Date: Tue Jan  2 12:00:14 2007
New Revision: 491915

URL: http://svn.apache.org/viewvc?view=rev&rev=491915
Log:
attempting to use maven remote resource plugin to stick the license in all jars

Added:
    incubator/cayenne/main/trunk/framework/cayenne-license/
    incubator/cayenne/main/trunk/framework/cayenne-license/pom.xml
    incubator/cayenne/main/trunk/framework/cayenne-license/src/
    incubator/cayenne/main/trunk/framework/cayenne-license/src/main/
    incubator/cayenne/main/trunk/framework/cayenne-license/src/main/resources/
    
incubator/cayenne/main/trunk/framework/cayenne-license/src/main/resources/LICENSE
      - copied unchanged from r491865, 
incubator/cayenne/main/trunk/doc/src/main/licenses/LICENSE
    
incubator/cayenne/main/trunk/framework/cayenne-license/src/main/resources/NOTICE
      - copied unchanged from r491865, 
incubator/cayenne/main/trunk/doc/src/main/licenses/NOTICE
Removed:
    incubator/cayenne/main/trunk/doc/src/main/licenses/
Modified:
    incubator/cayenne/main/trunk/doc/pom.xml
    incubator/cayenne/main/trunk/framework/pom.xml

Modified: incubator/cayenne/main/trunk/doc/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/doc/pom.xml?view=diff&rev=491915&r1=491914&r2=491915
==============================================================================
--- incubator/cayenne/main/trunk/doc/pom.xml (original)
+++ incubator/cayenne/main/trunk/doc/pom.xml Tue Jan  2 12:00:14 2007
@@ -169,9 +169,6 @@
                                        <include>doc/index.html</include>
                                </includes>
                        </resource>
-                       <resource>
-                               <directory>src/main/licenses</directory>
-                       </resource>
                </resources>
 
                <plugins>

Added: incubator/cayenne/main/trunk/framework/cayenne-license/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/framework/cayenne-license/pom.xml?view=auto&rev=491915
==============================================================================
--- incubator/cayenne/main/trunk/framework/cayenne-license/pom.xml (added)
+++ incubator/cayenne/main/trunk/framework/cayenne-license/pom.xml Tue Jan  2 
12:00:14 2007
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+       Copyright 2006 The Apache Software Foundation
+       
+       Licensed 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.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0";
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+
+       <modelVersion>4.0.0</modelVersion>
+
+       <parent>
+               <groupId>org.apache.cayenne</groupId>
+               <artifactId>cayenne-parent</artifactId>
+               <version>3.0-SNAPSHOT</version>
+       </parent>
+
+       <artifactId>cayenne-license</artifactId>
+       <name>Cayenne License and Notice Bundle</name>
+       <description>Cayenne License and Notice Bundle</description>
+       <packaging>jar</packaging>
+
+       <build>
+               <plugins>
+                       <plugin>
+                               
<artifactId>maven-remote-resources-plugin</artifactId>
+                               <version>1.0-alpha-1</version>
+                               <executions>
+                                       <execution>
+                                               <goals>
+                                                       <goal>bundle</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
+               </plugins>
+       </build>
+</project>

Modified: incubator/cayenne/main/trunk/framework/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/framework/pom.xml?view=diff&rev=491915&r1=491914&r2=491915
==============================================================================
--- incubator/cayenne/main/trunk/framework/pom.xml (original)
+++ incubator/cayenne/main/trunk/framework/pom.xml Tue Jan  2 12:00:14 2007
@@ -33,6 +33,7 @@
     <packaging>pom</packaging>
     
     <modules>
+      <module>cayenne-license</module>
       <module>cayenne-agent</module>
       <module>cayenne-server</module>
       <module>cayenne-client</module>


Reply via email to