You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by dj...@apache.org on 2006/09/30 21:14:44 UTC

svn commit: r451639 - in /incubator/openejb/trunk/openejb2: ./ modules/ modules/openejb-builder/ modules/openejb-core/ modules/openejb-pkgen-builder/

Author: djencks
Date: Sat Sep 30 12:14:43 2006
New Revision: 451639

URL: http://svn.apache.org/viewvc?view=rev&rev=451639
Log:
OPENEJB-276 add LICENSE.txt and NOTICE.txt files to jars

Added:
    incubator/openejb/trunk/openejb2/LICENSE.txt
      - copied unchanged from r451633, incubator/openejb/trunk/openejb2/LICENSE
    incubator/openejb/trunk/openejb2/NOTICE.txt
      - copied unchanged from r451633, incubator/openejb/trunk/openejb2/NOTICE
    incubator/openejb/trunk/openejb2/modules/LICENSE.txt
      - copied unchanged from r451633, incubator/openejb/trunk/openejb2/LICENSE
    incubator/openejb/trunk/openejb2/modules/NOTICE.txt
      - copied unchanged from r451633, incubator/openejb/trunk/openejb2/NOTICE
    incubator/openejb/trunk/openejb2/modules/openejb-builder/LICENSE.txt
      - copied unchanged from r451633, incubator/openejb/trunk/openejb2/LICENSE
    incubator/openejb/trunk/openejb2/modules/openejb-builder/NOTICE.txt
      - copied unchanged from r451633, incubator/openejb/trunk/openejb2/NOTICE
    incubator/openejb/trunk/openejb2/modules/openejb-core/LICENSE.txt
      - copied unchanged from r451633, incubator/openejb/trunk/openejb2/LICENSE
    incubator/openejb/trunk/openejb2/modules/openejb-core/NOTICE.txt
      - copied unchanged from r451633, incubator/openejb/trunk/openejb2/NOTICE
    incubator/openejb/trunk/openejb2/modules/openejb-pkgen-builder/LICENSE.txt
      - copied unchanged from r451633, incubator/openejb/trunk/openejb2/LICENSE
    incubator/openejb/trunk/openejb2/modules/openejb-pkgen-builder/NOTICE.txt
      - copied unchanged from r451633, incubator/openejb/trunk/openejb2/NOTICE
Removed:
    incubator/openejb/trunk/openejb2/LICENSE
    incubator/openejb/trunk/openejb2/NOTICE
Modified:
    incubator/openejb/trunk/openejb2/pom.xml

Modified: incubator/openejb/trunk/openejb2/pom.xml
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb2/pom.xml?view=diff&rev=451639&r1=451638&r2=451639
==============================================================================
--- incubator/openejb/trunk/openejb2/pom.xml (original)
+++ incubator/openejb/trunk/openejb2/pom.xml Sat Sep 30 12:14:43 2006
@@ -700,6 +700,43 @@
                 </plugin>
             </plugins>
         </pluginManagement>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.geronimo.genesis.plugins</groupId>
+                <artifactId>tools-maven-plugin</artifactId>
+
+                <!-- Tools includes custom packagings, install as extention to pick them up -->
+                <extensions>true</extensions>
+
+                <executions>
+                    <execution>
+                        <id>validate-java-version</id>
+                        <phase>validate</phase>
+                        <goals>
+                            <goal>require-java-version</goal>
+                        </goals>
+                        <configuration>
+                            <version>1.4*</version>
+                        </configuration>
+                    </execution>
+
+                    <!--
+                    NOTE: This will copy LICENSE.txt and NOTICE.txt to classes/META-INF.
+
+                          Its a itty-bitty HACK to avoid adding resource definitions to
+                          the build, which causes the Eclipse plugin to generate invalid
+                          .classpath files. :-(
+                    -->
+                    <execution>
+                        <id>install-legal-files</id>
+                        <phase>generate-resources</phase>
+                        <goals>
+                            <goal>copy-legal-files</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
     </build>
 
     <modules>