[jboss-cvs] JBossAS SVN: r82652 - in projects/jboss-cl/branches/Branch_2_0: build and 4 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jan 6 18:54:39 EST 2009


Author: pgier
Date: 2009-01-06 18:54:39 -0500 (Tue, 06 Jan 2009)
New Revision: 82652

Added:
   projects/jboss-cl/branches/Branch_2_0/build/src/assembly/dist-with-deps.xml
Removed:
   projects/jboss-cl/branches/Branch_2_0/classloader/pom-jdk14.xml
Modified:
   projects/jboss-cl/branches/Branch_2_0/
   projects/jboss-cl/branches/Branch_2_0/build/pom.xml
   projects/jboss-cl/branches/Branch_2_0/build/src/assembly/dist.xml
   projects/jboss-cl/branches/Branch_2_0/build/src/assembly/src.xml
   projects/jboss-cl/branches/Branch_2_0/classloader/pom.xml
   projects/jboss-cl/branches/Branch_2_0/classloading-vfs/pom.xml
   projects/jboss-cl/branches/Branch_2_0/classloading/pom.xml
   projects/jboss-cl/branches/Branch_2_0/pom.xml
Log:
[JBBUILD-507] Updates to building the dist zips.


Property changes on: projects/jboss-cl/branches/Branch_2_0
___________________________________________________________________
Name: svn:ignore
   - jboss-cl-aggregator.iws
jboss-cl-aggregator.ipr
jboss-cl-aggregator.iml

   + jboss-cl-aggregator.iws
jboss-cl-aggregator.ipr
jboss-cl-aggregator.iml
.classpath
.project


Modified: projects/jboss-cl/branches/Branch_2_0/build/pom.xml
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/build/pom.xml	2009-01-06 23:53:16 UTC (rev 82651)
+++ projects/jboss-cl/branches/Branch_2_0/build/pom.xml	2009-01-06 23:54:39 UTC (rev 82652)
@@ -10,7 +10,7 @@
   <version>2.0.2-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>JBoss ClassLoader Distribution Build</name>
-  <url>http://www.jboss.com/products/jbossmc</url>
+  <url>http://www.jboss.org/jbossmc</url>
   <description>JBoss ClassLoader Distribution Build</description>
 
   <build>
@@ -18,14 +18,41 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>
-        <configuration>
-          <descriptors>
-            <descriptor>src/assembly/dist.xml</descriptor>
-            <descriptor>src/assembly/src.xml</descriptor>
-          </descriptors>
-        </configuration>
+        <version>2.2-beta-2</version>
+        <executions>
+          <execution>
+            <id>make-assembly</id>
+            <phase>package</phase>
+            <goals>
+              <goal>attached</goal>
+            </goals>
+            <configuration>
+              <finalName>jboss-cl-${project.version}</finalName>
+              <descriptors>
+                <descriptor>src/assembly/dist.xml</descriptor>
+                <descriptor>src/assembly/dist-with-deps.xml</descriptor>
+                <descriptor>src/assembly/src.xml</descriptor>
+              </descriptors>
+            </configuration>
+          </execution>
+        </executions>
       </plugin>
     </plugins>
   </build>
   
+  <dependencies>
+      <dependency>
+        <groupId>org.jboss.cl</groupId>
+        <artifactId>jboss-classloader</artifactId>
+      </dependency>
+      <dependency>
+        <groupId>org.jboss.cl</groupId>
+        <artifactId>jboss-classloading</artifactId>
+      </dependency>
+      <dependency>
+        <groupId>org.jboss.cl</groupId>
+        <artifactId>jboss-classloading-vfs</artifactId>
+      </dependency>
+  </dependencies>
+  
 </project>
\ No newline at end of file

Added: projects/jboss-cl/branches/Branch_2_0/build/src/assembly/dist-with-deps.xml
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/build/src/assembly/dist-with-deps.xml	                        (rev 0)
+++ projects/jboss-cl/branches/Branch_2_0/build/src/assembly/dist-with-deps.xml	2009-01-06 23:54:39 UTC (rev 82652)
@@ -0,0 +1,11 @@
+<assembly>
+  <id>with-deps</id>
+  <formats>
+    <format>zip</format>
+  </formats>
+  <dependencySets>
+    <dependencySet>
+      <outputDirectory>/</outputDirectory>
+    </dependencySet>
+  </dependencySets>
+</assembly>


Property changes on: projects/jboss-cl/branches/Branch_2_0/build/src/assembly/dist-with-deps.xml
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:keywords
   + Author Date Id Revision
Name: svn:eol-style
   + native

Modified: projects/jboss-cl/branches/Branch_2_0/build/src/assembly/dist.xml
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/build/src/assembly/dist.xml	2009-01-06 23:53:16 UTC (rev 82651)
+++ projects/jboss-cl/branches/Branch_2_0/build/src/assembly/dist.xml	2009-01-06 23:54:39 UTC (rev 82652)
@@ -1,20 +1,11 @@
 <assembly>
   <formats>
-    <!--<format>tar.gz</format>-->
     <format>zip</format>
   </formats>
-  <fileSets>
-    <fileSet>
-      <directory>../classloader/target/classes</directory>
-      <outputDirectory></outputDirectory>
-    </fileSet>
-    <fileSet>
-      <directory>../classloading/target/classes</directory>
-      <outputDirectory></outputDirectory>
-    </fileSet>
-    <fileSet>
-      <directory>../classloading-vfs/target/classes</directory>
-      <outputDirectory></outputDirectory>
-    </fileSet>
-  </fileSets>
+  <dependencySets>
+    <dependencySet>
+      <outputDirectory>/</outputDirectory>
+      <useTransitiveDependencies>false</useTransitiveDependencies>
+    </dependencySet>
+  </dependencySets>
 </assembly>

Modified: projects/jboss-cl/branches/Branch_2_0/build/src/assembly/src.xml
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/build/src/assembly/src.xml	2009-01-06 23:53:16 UTC (rev 82651)
+++ projects/jboss-cl/branches/Branch_2_0/build/src/assembly/src.xml	2009-01-06 23:54:39 UTC (rev 82652)
@@ -1,11 +1,9 @@
 <assembly>
   <id>src</id>
   <formats>
-    <!--<format>tar.gz</format>-->
     <format>zip</format>
   </formats>
   <fileSets>
-    <!-- Include everything from the root of the project except the target dirs -->
     <fileSet>
       <directory>..</directory>
       <outputDirectory></outputDirectory>

Deleted: projects/jboss-cl/branches/Branch_2_0/classloader/pom-jdk14.xml
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/classloader/pom-jdk14.xml	2009-01-06 23:53:16 UTC (rev 82651)
+++ projects/jboss-cl/branches/Branch_2_0/classloader/pom-jdk14.xml	2009-01-06 23:54:39 UTC (rev 82652)
@@ -1,200 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  - Notes for building and running tests.
-  - Do to some limitations of the maven surefire plugin, the tests must
-  - occur in a separate lifecycle from the build.
-  -
-  - mvn -f pom-jdk14.xml install  -  This will build the jdk14 version of the project.
-  - mvn -f pom-jdk14.xml -Prun-jdk14-tests surefire:test  -  This will run the tests using a jdk1.4 jvm  
-  -    Note: the tests will not work by calling mvn test, it must be performed by calling surefire directly.
-  -->
-<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">
-  <parent>
-    <groupId>org.jboss.microcontainer-jdk14</groupId>
-    <artifactId>jboss-microcontainer-jdk14</artifactId>
-    <version>2.0.0-SNAPSHOT</version>
-    <relativePath>../build/pom-jdk14.xml</relativePath>
-  </parent>
-  <modelVersion>4.0.0</modelVersion>
-  <artifactId>jboss-classloader-jdk14</artifactId>
-  <packaging>jar</packaging>
-  <name>JBoss Microcontainer ClassLoader</name>
-  <url>http://www.jboss.com/products/jbossmc</url>
-  <description>JBoss ClassLoader</description>
-  <build>
-    <testResources>
-      <testResource>
-        <directory>src/resources/tests</directory>
-      </testResource>
-    </testResources>
-    <plugins>
-      <plugin>
-        <groupId>org.jboss.maven.plugins</groupId>
-        <artifactId>maven-jboss-retro-plugin</artifactId>
-        <version>1.0-beta-1</version>
-        <executions>
-          <execution>
-            <id>weave-classes</id>
-            <goals>
-              <goal>weave</goal>
-            </goals>
-            <configuration>
-              <outputDirectory>${project.build.directory}/classes-jdk14</outputDirectory>
-            </configuration>
-          </execution>
-          <execution>
-            <id>weave-test-classes</id>
-            <goals>
-              <goal>weave-tests</goal>
-            </goals>
-            <configuration>
-              <outputDirectory>${project.build.directory}/test-classes-jdk14</outputDirectory>
-            </configuration>
-          </execution>
-        </executions>
-        <configuration>
-          <weaverClass>org.jboss.weaver.retro.WeaverRetroJdk14</weaverClass>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <configuration>
-          <classesDirectory>${project.build.directory}/classes-jdk14</classesDirectory>
-        </configuration>
-      </plugin>
-      <plugin>
-        <!-- Skip the tests here because the jdk14 tests have
-          -  to be run in a separate profile.
-          -->
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <skip>true</skip>              
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-  
-  <profiles>
-    <!-- Note: to run the jdk14 tests, the surefire plugin must be called outside
-      -  of the lifecycle.  In other words it should be called directly from the command
-      -  line like this
-      -     mvn -f pom-jdk14.xml -Prun-jdk14-tests surefire:test
-      -->
-    <profile>
-      <id>run-jdk14-tests</id>
-      <properties>
-        <microcontainer.outputDirectory>target/classes-jdk14</microcontainer.outputDirectory>
-        <microcontainer.testOutputDirectory>target/test-classes-jdk14</microcontainer.testOutputDirectory>
-      </properties>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-enforcer-plugin</artifactId>
-            <version>1.0-alpha-3</version>
-            <executions>
-              <execution>
-                <id>enforce-jdk14-property</id>
-                <goals>
-                  <goal>enforce-once</goal>
-                </goals>
-                <configuration>
-                  <rules>
-                    <requireProperty>
-                      <property>java14_home</property>
-                      <message>
-                        The property java14_home should be set to a valid installation of jdk1.4.  The jdk14 tests cannot be run without this property.
-                      </message>
-                    </requireProperty>
-                  </rules>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <jvm>${java14_home}/bin/java</jvm>
-              <forkMode>always</forkMode>
-              <skip>false</skip>  
-              <redirectTestOutputToFile>true</redirectTestOutputToFile> 
-              <testFailureIgnore>true</testFailureIgnore>  
-              <useSystemClassLoader>true</useSystemClassLoader>    
-              <reportsDirectory>${project.build.directory}/surefire-reports-jdk14</reportsDirectory>
-              <includes>
-                <include>**/*TestCase.java</include>
-              </includes>
-              <excludes>
-                <exclude>**/IsolatedClassLoaderUnitTestCase.java</exclude>
-                <exclude>**/DelegateUnitTestCase.java</exclude>
-              </excludes>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-  
-  <!-- Do not add version information here, use ../build/pom.xml instead -->
-  <dependencyManagement>
-    <dependencies>
-      <dependency>
-        <groupId>org.jboss</groupId>
-        <artifactId>jboss-test-jdk14</artifactId>
-        <version>${version.org.jboss.test}</version>
-      </dependency>
-      <dependency>
-        <groupId>junit</groupId>
-        <artifactId>junit</artifactId>
-        <version>${version.junit}</version>
-        <scope>compile</scope>
-      </dependency>
-    </dependencies>
-  </dependencyManagement>
-  <dependencies>
-    <!-- Global dependencies -->
-    <dependency>
-	    <groupId>org.jboss</groupId>
-	    <artifactId>jboss-classloading-spi-jdk14</artifactId>
-      <version>${version.jboss.classloading.spi}</version>
-     </dependency>
-    <dependency>
-	    <groupId>org.jboss</groupId>
-	    <artifactId>jboss-common-core-jdk14</artifactId>
-	  </dependency>
-    <dependency>
-      <groupId>org.jboss</groupId>
-      <artifactId>jboss-common-logging-spi-jdk14</artifactId>
-    </dependency>
-	  <!-- Test dependencies -->
-    <dependency>
-      <groupId>org.jboss</groupId>
-      <artifactId>jboss-test-jdk14</artifactId>
-    </dependency>
-    <dependency>
-	    <groupId>junit</groupId>
-	    <artifactId>junit</artifactId>
-    </dependency>
-    <!-- Runtime dependencies -->
-    <dependency>
-      <groupId>jboss</groupId>
-      <artifactId>jboss-backport-concurrent</artifactId>
-      <scope>runtime</scope>
-    </dependency>
-    <dependency>
-      <groupId>javax.management</groupId>
-      <artifactId>jmxri</artifactId>
-      <scope>runtime</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.jboss</groupId>
-      <artifactId>jboss-retro</artifactId>
-      <classifier>rt</classifier>
-      <scope>runtime</scope>
-    </dependency>
-  </dependencies>  
-</project>

Modified: projects/jboss-cl/branches/Branch_2_0/classloader/pom.xml
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/classloader/pom.xml	2009-01-06 23:53:16 UTC (rev 82651)
+++ projects/jboss-cl/branches/Branch_2_0/classloader/pom.xml	2009-01-06 23:54:39 UTC (rev 82652)
@@ -8,7 +8,7 @@
   <artifactId>jboss-classloader</artifactId>
   <packaging>jar</packaging>
   <name>JBoss ClassLoader</name>
-  <url>http://www.jboss.com/products/jbossmc</url>
+  <url>http://www.jboss.org/jbossmc</url>
   <description>JBoss ClassLoader</description>
 
   <!-- Do not add version information here, use ../pom.xml instead -->

Modified: projects/jboss-cl/branches/Branch_2_0/classloading/pom.xml
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/classloading/pom.xml	2009-01-06 23:53:16 UTC (rev 82651)
+++ projects/jboss-cl/branches/Branch_2_0/classloading/pom.xml	2009-01-06 23:54:39 UTC (rev 82652)
@@ -8,7 +8,7 @@
   <artifactId>jboss-classloading</artifactId>
   <packaging>jar</packaging>
   <name>JBoss ClassLoading</name>
-  <url>http://www.jboss.com/products/jbossmc</url>
+  <url>http://www.jboss.org/jbossmc</url>
   <description>JBoss ClassLoading</description>
   
   <!-- Do not add version information here, use ../pom.xml instead -->

Modified: projects/jboss-cl/branches/Branch_2_0/classloading-vfs/pom.xml
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/classloading-vfs/pom.xml	2009-01-06 23:53:16 UTC (rev 82651)
+++ projects/jboss-cl/branches/Branch_2_0/classloading-vfs/pom.xml	2009-01-06 23:54:39 UTC (rev 82652)
@@ -9,7 +9,7 @@
   <artifactId>jboss-classloading-vfs</artifactId>
   <packaging>jar</packaging>
   <name>JBoss ClassLoading VFS</name>
-  <url>http://www.jboss.com/products/jbossmc</url>
+  <url>http://www.jboss.org/jbossmc</url>
   <description>JBoss ClassLoading VFS</description>
   
   <!-- Do not add version information here, use ../pom.xml instead -->

Modified: projects/jboss-cl/branches/Branch_2_0/pom.xml
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/pom.xml	2009-01-06 23:53:16 UTC (rev 82651)
+++ projects/jboss-cl/branches/Branch_2_0/pom.xml	2009-01-06 23:54:39 UTC (rev 82652)
@@ -70,19 +70,6 @@
     <pluginManagement>
       <plugins>
         <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-assembly-plugin</artifactId>
-          <executions>
-            <execution>
-              <id>make-assembly</id>
-              <phase>package</phase>
-              <goals>
-                <goal>attached</goal>
-              </goals>
-            </execution>
-          </executions>
-        </plugin>
-        <plugin>
           <artifactId>maven-idea-plugin</artifactId>
           <configuration>
             <downloadSources>true</downloadSources>




More information about the jboss-cvs-commits mailing list