[jboss-cvs] JBossAS SVN: r84527 - in projects/jboss-cl/tags: 2.0.3.GA and 5 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Feb 20 08:32:35 EST 2009


Author: alesj
Date: 2009-02-20 08:32:35 -0500 (Fri, 20 Feb 2009)
New Revision: 84527

Added:
   projects/jboss-cl/tags/2.0.3.GA/
   projects/jboss-cl/tags/2.0.3.GA/build/pom.xml
   projects/jboss-cl/tags/2.0.3.GA/classloader/pom.xml
   projects/jboss-cl/tags/2.0.3.GA/classloader/src/main/java/org/jboss/classloader/spi/base/ClassLoadingTask.java
   projects/jboss-cl/tags/2.0.3.GA/classloading-vfs/pom.xml
   projects/jboss-cl/tags/2.0.3.GA/classloading/pom.xml
   projects/jboss-cl/tags/2.0.3.GA/pom.xml
Removed:
   projects/jboss-cl/tags/2.0.3.GA/build/pom.xml
   projects/jboss-cl/tags/2.0.3.GA/classloader/pom.xml
   projects/jboss-cl/tags/2.0.3.GA/classloader/src/main/java/org/jboss/classloader/spi/base/ClassLoadingTask.java
   projects/jboss-cl/tags/2.0.3.GA/classloading-vfs/pom.xml
   projects/jboss-cl/tags/2.0.3.GA/classloading/pom.xml
   projects/jboss-cl/tags/2.0.3.GA/pom.xml
Log:
[maven-release-plugin]  copy for tag 2.0.3.GA

Copied: projects/jboss-cl/tags/2.0.3.GA (from rev 84506, projects/jboss-cl/branches/Branch_2_0)

Deleted: projects/jboss-cl/tags/2.0.3.GA/build/pom.xml
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/build/pom.xml	2009-02-20 11:51:10 UTC (rev 84506)
+++ projects/jboss-cl/tags/2.0.3.GA/build/pom.xml	2009-02-20 13:32:35 UTC (rev 84527)
@@ -1,58 +0,0 @@
-<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.cl</groupId>
-    <artifactId>jboss-cl</artifactId>
-    <version>2.0.3-SNAPSHOT</version>
-  </parent>
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.jboss.cl</groupId>
-  <artifactId>jboss-cl-dist</artifactId>
-  <version>2.0.3-SNAPSHOT</version>
-  <packaging>pom</packaging>
-  <name>JBoss ClassLoader Distribution Build</name>
-  <url>http://www.jboss.org/jbossmc</url>
-  <description>JBoss ClassLoader Distribution Build</description>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <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

Copied: projects/jboss-cl/tags/2.0.3.GA/build/pom.xml (from rev 84526, projects/jboss-cl/branches/Branch_2_0/build/pom.xml)
===================================================================
--- projects/jboss-cl/tags/2.0.3.GA/build/pom.xml	                        (rev 0)
+++ projects/jboss-cl/tags/2.0.3.GA/build/pom.xml	2009-02-20 13:32:35 UTC (rev 84527)
@@ -0,0 +1,58 @@
+<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.cl</groupId>
+    <artifactId>jboss-cl</artifactId>
+    <version>2.0.3.GA</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.jboss.cl</groupId>
+  <artifactId>jboss-cl-dist</artifactId>
+  <version>2.0.3.GA</version>
+  <packaging>pom</packaging>
+  <name>JBoss ClassLoader Distribution Build</name>
+  <url>http://www.jboss.org/jbossmc</url>
+  <description>JBoss ClassLoader Distribution Build</description>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <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

Deleted: projects/jboss-cl/tags/2.0.3.GA/classloader/pom.xml
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/classloader/pom.xml	2009-02-20 11:51:10 UTC (rev 84506)
+++ projects/jboss-cl/tags/2.0.3.GA/classloader/pom.xml	2009-02-20 13:32:35 UTC (rev 84527)
@@ -1,87 +0,0 @@
-<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.cl</groupId>
-    <artifactId>jboss-cl</artifactId>
-    <version>2.0.3-SNAPSHOT</version>
-  </parent>
-  <modelVersion>4.0.0</modelVersion>
-  <artifactId>jboss-classloader</artifactId>
-  <packaging>jar</packaging>
-  <name>JBoss ClassLoader</name>
-  <url>http://www.jboss.org/jbossmc</url>
-  <description>JBoss ClassLoader</description>
-
-  <!-- Do not add version information here, use ../pom.xml instead -->
-  <dependencyManagement>
-    <dependencies>
-      <dependency>
-        <groupId>org.jboss.test</groupId>
-        <artifactId>jboss-test</artifactId>
-        <version>${version.org.jboss.test}</version>
-        <scope>compile</scope>
-      </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.integration</groupId>
-      <artifactId>jboss-classloading-spi</artifactId>
-      <exclusions>
-        <exclusion>
-          <groupId>org.jboss</groupId>
-          <artifactId>jboss-common-core</artifactId>
-        </exclusion>
-      </exclusions>
-     </dependency>
-     
-    <dependency>
-      <groupId>org.jboss.logging</groupId>
-      <artifactId>jboss-logging-spi</artifactId>
-     </dependency>
-     
-    <dependency>
-      <groupId>org.jboss</groupId>
-      <artifactId>jboss-common-core</artifactId>
-      <exclusions>
-        <exclusion>
-          <groupId>jboss</groupId>
-          <artifactId>jboss-common-logging-spi</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>apache-httpclient</groupId>
-          <artifactId>commons-httpclient</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>apache-slide</groupId>
-          <artifactId>webdavlib</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>apache-xerces</groupId>
-          <artifactId>xml-apis</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    
-    <!-- Test dependencies -->
-    <dependency>
-      <groupId>org.jboss.test</groupId>
-      <artifactId>jboss-test</artifactId>
-      <optional>true</optional>
-    </dependency>
-    
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <optional>true</optional>
-    </dependency>
-    
-  </dependencies>  
-</project>
\ No newline at end of file

Copied: projects/jboss-cl/tags/2.0.3.GA/classloader/pom.xml (from rev 84526, projects/jboss-cl/branches/Branch_2_0/classloader/pom.xml)
===================================================================
--- projects/jboss-cl/tags/2.0.3.GA/classloader/pom.xml	                        (rev 0)
+++ projects/jboss-cl/tags/2.0.3.GA/classloader/pom.xml	2009-02-20 13:32:35 UTC (rev 84527)
@@ -0,0 +1,87 @@
+<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.cl</groupId>
+    <artifactId>jboss-cl</artifactId>
+    <version>2.0.3.GA</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>jboss-classloader</artifactId>
+  <packaging>jar</packaging>
+  <name>JBoss ClassLoader</name>
+  <url>http://www.jboss.org/jbossmc</url>
+  <description>JBoss ClassLoader</description>
+
+  <!-- Do not add version information here, use ../pom.xml instead -->
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>org.jboss.test</groupId>
+        <artifactId>jboss-test</artifactId>
+        <version>${version.org.jboss.test}</version>
+        <scope>compile</scope>
+      </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.integration</groupId>
+      <artifactId>jboss-classloading-spi</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.jboss</groupId>
+          <artifactId>jboss-common-core</artifactId>
+        </exclusion>
+      </exclusions>
+     </dependency>
+     
+    <dependency>
+      <groupId>org.jboss.logging</groupId>
+      <artifactId>jboss-logging-spi</artifactId>
+     </dependency>
+     
+    <dependency>
+      <groupId>org.jboss</groupId>
+      <artifactId>jboss-common-core</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>jboss</groupId>
+          <artifactId>jboss-common-logging-spi</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>apache-httpclient</groupId>
+          <artifactId>commons-httpclient</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>apache-slide</groupId>
+          <artifactId>webdavlib</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>apache-xerces</groupId>
+          <artifactId>xml-apis</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    
+    <!-- Test dependencies -->
+    <dependency>
+      <groupId>org.jboss.test</groupId>
+      <artifactId>jboss-test</artifactId>
+      <optional>true</optional>
+    </dependency>
+    
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <optional>true</optional>
+    </dependency>
+    
+  </dependencies>  
+</project>
\ No newline at end of file

Deleted: projects/jboss-cl/tags/2.0.3.GA/classloader/src/main/java/org/jboss/classloader/spi/base/ClassLoadingTask.java
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/classloader/src/main/java/org/jboss/classloader/spi/base/ClassLoadingTask.java	2009-02-20 11:51:10 UTC (rev 84506)
+++ projects/jboss-cl/tags/2.0.3.GA/classloader/src/main/java/org/jboss/classloader/spi/base/ClassLoadingTask.java	2009-02-20 13:32:35 UTC (rev 84527)
@@ -1,482 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2007, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.classloader.spi.base;
-
-import java.io.PrintWriter;
-import java.io.StringWriter;
-import java.security.AccessController;
-import java.security.CodeSource;
-import java.security.PrivilegedAction;
-import java.security.ProtectionDomain;
-
-import org.jboss.classloader.plugins.ClassLoaderUtils;
-import org.jboss.classloader.spi.Loader;
-import org.jboss.logging.Logger;
-
-/**
- * ClassLoadingTask.
- * 
- * @author Scott.Stark at jboss.org
- * @author <a href="adrian at jboss.com">Adrian Brock</a>
- * @version $Revision: 1.1 $
- */
-class ClassLoadingTask
-{
-   /** The log */
-   protected static Logger log = Logger.getLogger("org.jboss.detailed.classloader.ClassLoadinTask");
-
-   /**
-    * TaskState.
-    */
-   enum TaskState
-   {
-      /** Found the classloader */
-      FOUND_CLASS_LOADER,
-      
-      /** Next event */
-      NEXT_EVENT,
-      
-      /** Waiting on event */
-      WAIT_EVENT,
-      
-      /** Finished */
-      FINISHED,
-   }
-
-   /** The class name */
-   private String className;
-   
-   /** The reques thread */ 
-   private Thread requestingThread;
-   
-   /** The requesting classloader */
-   private ClassLoader classLoader;
-   
-   /** The loaded class */
-   private Class<?> loadedClass;
-   
-   /** The error during the load */
-   private Throwable loadException;
-   
-   /** The number of ThreadTasks remaining */
-   private int threadTaskCount;
-
-   /** The state of the requestingThread */
-   private TaskState state;
-   
-   /** The Logger trace level flag */
-   private boolean trace = log.isTraceEnabled();
-
-   /** The number of class circularity errors */
-   private int numCCE;
-
-   /**
-    * Create a new ClassLoadingTask.
-    * 
-    * @param className the class name
-    * @param classLoader the requesting the classloader
-    * @param requestingThread the requesting thread
-    */
-   ClassLoadingTask(String className, ClassLoader classLoader, Thread requestingThread)
-   {
-      this.className = className;
-      this.requestingThread = requestingThread;
-      this.classLoader = classLoader;
-   }
-
-   /**
-    * Get the className.
-    * 
-    * @return the className.
-    */
-   String getClassName()
-   {
-      return className;
-   }
-
-   /**
-    * Get the loadedClass.
-    * 
-    * @return the loadedClass.
-    */
-   synchronized Class<?> getLoadedClass()
-   {
-      return loadedClass;
-   }
-
-   /**
-    * Get the loadException.
-    * 
-    * @return the loadException.
-    */
-   synchronized Throwable getLoadException()
-   {
-      return loadException;
-   }
-
-   /**
-    * Get the numCCE.
-    * 
-    * @return the numCCE.
-    */
-   synchronized int incrementNumCCE()
-   {
-      return numCCE;
-   }
-
-   /**
-    * Get the requestingThread.
-    * 
-    * @return the requestingThread.
-    */
-   Thread getRequestingThread()
-   {
-      return requestingThread;
-   }
-
-   /**
-    * Get the state.
-    * 
-    * @return the state.
-    */
-   synchronized TaskState getState()
-   {
-      return state;
-   }
-
-   /**
-    * Set the task into the finished state
-    * 
-    * @param loadedClass the loaded class
-    */
-   synchronized void finish(Class<?> loadedClass)
-   {
-      this.loadedClass = loadedClass;
-      state = TaskState.FINISHED;
-   }
-
-   /**
-    * Set the task into the found classloader state
-    */
-   synchronized void foundClassLoader()
-   {
-      state = TaskState.FOUND_CLASS_LOADER;
-   }
-
-   /**
-    * Set the task into the finished state
-    */
-   synchronized void finish()
-   {
-      state = TaskState.FINISHED;
-   }
-
-   /**
-    * Set the task into the wait on event state
-    */
-   synchronized void waitOnEvent()
-   {
-      state = TaskState.WAIT_EVENT;
-   }
-
-   /**
-    * Set the task into the next event state
-    */
-   synchronized void nextEvent()
-   {
-      state = TaskState.NEXT_EVENT;
-   }
-   
-   /**
-    * Get the threadTaskCount.
-    * 
-    * @return the threadTaskCount.
-    */
-   synchronized int getThreadTaskCount()
-   {
-      return threadTaskCount;
-   }
-
-   @Override
-   public String toString()
-   {
-      StringBuilder builder = new StringBuilder();
-      builder.append(getClass().getSimpleName());
-      builder.append('@').append(Integer.toHexString(System.identityHashCode(this)));
-      builder.append('{');
-      builder.append("className=").append(className);
-      builder.append(" requestingThread=").append(requestingThread);
-      builder.append(" requestingClassLoader: ").append(classLoader);
-      if (loadedClass != null)
-      {
-         builder.append(" loadedClass=");
-         ClassLoaderUtils.classToString(loadedClass, builder);
-      }
-      if (loadException != null)
-         builder.append(" loadException: ").append(loadException);
-      builder.append(" threadTaskCount: ").append(threadTaskCount);
-      builder.append(" state: ").append(state);
-      if (numCCE > 0)
-         builder.append(", #CCE: ").append(numCCE);
-      builder.append('}');
-      if( trace && loadException != null )
-      {
-         StringWriter sw = new StringWriter();
-         PrintWriter pw = new PrintWriter(sw);
-         loadException.printStackTrace(pw);
-         builder.append("loadException details:\n");
-         builder.append(sw.toString());
-      }
-      return builder.toString();
-   }
-
-   /**
-    * Creaqte a new thread task
-    * 
-    * @param loader the loader
-    * @param thread the thread
-    * @param reschedule whether this is a reschedule
-    * @param releaseInNextTask whether to release in the next task
-    * @return the thread task
-    */
-   synchronized ThreadTask newThreadTask(Loader loader, Thread thread, boolean reschedule, boolean releaseInNextTask)
-   {
-      // Only update the threadTaskCount if this is not a reschedule
-      if (reschedule == false)
-         ++threadTaskCount;
-      return new ThreadTask(loader, thread, releaseInNextTask);
-   }
-   
-   /**
-    * Set the load exception
-    * 
-    * @param t the throwable
-    */
-   synchronized void setLoadError(Throwable t)
-   {
-       --threadTaskCount;
-        if (trace)
-            log.trace("setLoadedError, error="+t);
-       loadException = t;
-   }
-   
-
-   /** 
-    * This is called from run on success or failure to mark the end
-    * of the load attempt. This must decrement the threadTaskCount or
-    * the ClassLoadingTask will never complete.
-    * 
-    * @param theClass the loaded class
-    */
-   private synchronized void setLoadedClass(Class<?> theClass)
-   {
-      --threadTaskCount;
-      if (trace)
-         log.trace("setLoadedClass, theClass=" + theClass);
-
-      // Warn about duplicate classes
-      if (this.loadedClass != null && theClass != null)
-      {
-         StringBuilder builder = new StringBuilder();
-         builder.append("Duplicate class found: ").append(className).append('\n');
-         ProtectionDomain pd = getProtectionDomain(loadedClass);
-         CodeSource cs = pd != null ? pd.getCodeSource() : null;
-         builder.append("Current CS: ").append(cs).append('\n');
-         pd = getProtectionDomain(theClass);
-         cs = pd != null ? pd.getCodeSource() : null;
-         builder.append("Duplicate CS: ").append(cs);
-         log.warn(builder.toString());
-      }
-
-      // Accept the first class
-      if (theClass != null && loadedClass == null)
-         this.loadedClass = theClass;
-   }
-
-   /** 
-    * Thread Task
-    */
-   class ThreadTask
-   {
-      /** The loader */
-      private Loader loader;
-      
-      /** The thread that owns the ucl monitor */
-      private Thread thread;
-      
-      /** Whether to release in the next task */
-      private boolean releaseInNextTask;
-
-      /**
-       * Create a new ThreadTask.
-       * 
-       * @param loader the loader
-       * @param thread the thread
-       * @param releaseInNextTask whether to release in the next task
-       */
-      ThreadTask(Loader loader, Thread thread, boolean releaseInNextTask)
-      {
-         this.loader = loader;
-         this.thread = thread;
-         this.releaseInNextTask = releaseInNextTask;
-      }
-
-      /**
-       * Get the className.
-       * 
-       * @return the className.
-       */
-      String getClassName()
-      {
-         return className;
-      }
-
-      /**
-       * Get the loadedClass.
-       * 
-       * @return the loadedClass.
-       */
-      Class<?> getLoadedClass()
-      {
-         return loadedClass;
-      }
-
-      @Override
-      public String toString()
-      {
-         StringBuilder builder = new StringBuilder();
-         builder.append("{thread=").append(thread);
-         builder.append(" loader=").append(loader);
-         builder.append(" requestingThread=").append(requestingThread);
-         builder.append(" releaseInNextTask=").append(releaseInNextTask);
-         builder.append("}");
-         return builder.toString();
-      }
-      
-      /**
-       * Get the classloading task
-       * 
-       * @return the classloading task
-       */
-      ClassLoadingTask getLoadTask()
-      {
-         return ClassLoadingTask.this;
-      }
-
-      /**
-       * Get the loader.
-       * 
-       * @return the loader.
-       */
-      Loader getLoader()
-      {
-         return loader;
-      }
-
-      /**
-       * Get the classloader for this task
-       * 
-       * @return the classloader
-       */
-      BaseClassLoader getClassLoader()
-      {
-         if (loader instanceof BaseDelegateLoader)
-         {
-            BaseDelegateLoader delegateLoader = (BaseDelegateLoader) loader;
-            BaseClassLoaderPolicy policy = delegateLoader.getPolicy();
-            if (policy == null)
-               throw new IllegalStateException("Null classloader policy for " + loader);
-            return policy.getClassLoader();
-         }
-         return null;
-      }
-      
-      /**
-       * Get the thread.
-       * 
-       * @return the thread.
-       */
-      synchronized Thread getThread()
-      {
-         return thread;
-      }
-
-      /**
-       * Set the thread.
-       * 
-       * @param thread the thread.
-       */
-      synchronized void setThread(Thread thread)
-      {
-         this.thread = thread;
-      }
-
-      /**
-       * Get the releaseInNextTask.
-       * 
-       * @return the releaseInNextTask.
-       */
-      boolean isReleaseInNextTask()
-      {
-         return releaseInNextTask;
-      }
-
-      /**
-       * Run the class load
-       * 
-       * @throws ClassNotFoundException
-       */
-      void run() throws ClassNotFoundException
-      {
-         if (loadedClass == null)
-         {
-            Class<?> theClass = loader.loadClass(className);
-            setLoadedClass(theClass);
-         }
-         else if (trace)
-         {
-            log.trace("Already found class(" + loadedClass + "), skipping load class");
-         }
-      }
-   }
-   
-   /**
-    * Get the protection domain for a class
-    * 
-    * @param clazz the class
-    * @return the protected domain or null if it doesn't have one
-    */
-   private static final ProtectionDomain getProtectionDomain(final Class<?> clazz)
-   {
-      SecurityManager sm = System.getSecurityManager();
-      if (sm == null)
-         return clazz.getProtectionDomain();
-      
-      return AccessController.doPrivileged(new PrivilegedAction<ProtectionDomain>()
-      {
-         public ProtectionDomain run()
-         {
-            return clazz.getProtectionDomain();
-         }
-      });
-   }
-}

Copied: projects/jboss-cl/tags/2.0.3.GA/classloader/src/main/java/org/jboss/classloader/spi/base/ClassLoadingTask.java (from rev 84523, projects/jboss-cl/branches/Branch_2_0/classloader/src/main/java/org/jboss/classloader/spi/base/ClassLoadingTask.java)
===================================================================
--- projects/jboss-cl/tags/2.0.3.GA/classloader/src/main/java/org/jboss/classloader/spi/base/ClassLoadingTask.java	                        (rev 0)
+++ projects/jboss-cl/tags/2.0.3.GA/classloader/src/main/java/org/jboss/classloader/spi/base/ClassLoadingTask.java	2009-02-20 13:32:35 UTC (rev 84527)
@@ -0,0 +1,482 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.classloader.spi.base;
+
+import java.io.PrintWriter;
+import java.io.StringWriter;
+import java.security.AccessController;
+import java.security.CodeSource;
+import java.security.PrivilegedAction;
+import java.security.ProtectionDomain;
+
+import org.jboss.classloader.plugins.ClassLoaderUtils;
+import org.jboss.classloader.spi.Loader;
+import org.jboss.logging.Logger;
+
+/**
+ * ClassLoadingTask.
+ * 
+ * @author Scott.Stark at jboss.org
+ * @author <a href="adrian at jboss.com">Adrian Brock</a>
+ * @version $Revision: 1.1 $
+ */
+class ClassLoadingTask
+{
+   /** The log */
+   protected static Logger log = Logger.getLogger("org.jboss.detailed.classloader.ClassLoadingTask");
+
+   /**
+    * TaskState.
+    */
+   enum TaskState
+   {
+      /** Found the classloader */
+      FOUND_CLASS_LOADER,
+      
+      /** Next event */
+      NEXT_EVENT,
+      
+      /** Waiting on event */
+      WAIT_EVENT,
+      
+      /** Finished */
+      FINISHED,
+   }
+
+   /** The class name */
+   private String className;
+   
+   /** The reques thread */ 
+   private Thread requestingThread;
+   
+   /** The requesting classloader */
+   private ClassLoader classLoader;
+   
+   /** The loaded class */
+   private Class<?> loadedClass;
+   
+   /** The error during the load */
+   private Throwable loadException;
+   
+   /** The number of ThreadTasks remaining */
+   private int threadTaskCount;
+
+   /** The state of the requestingThread */
+   private TaskState state;
+   
+   /** The Logger trace level flag */
+   private boolean trace = log.isTraceEnabled();
+
+   /** The number of class circularity errors */
+   private int numCCE;
+
+   /**
+    * Create a new ClassLoadingTask.
+    * 
+    * @param className the class name
+    * @param classLoader the requesting the classloader
+    * @param requestingThread the requesting thread
+    */
+   ClassLoadingTask(String className, ClassLoader classLoader, Thread requestingThread)
+   {
+      this.className = className;
+      this.requestingThread = requestingThread;
+      this.classLoader = classLoader;
+   }
+
+   /**
+    * Get the className.
+    * 
+    * @return the className.
+    */
+   String getClassName()
+   {
+      return className;
+   }
+
+   /**
+    * Get the loadedClass.
+    * 
+    * @return the loadedClass.
+    */
+   synchronized Class<?> getLoadedClass()
+   {
+      return loadedClass;
+   }
+
+   /**
+    * Get the loadException.
+    * 
+    * @return the loadException.
+    */
+   synchronized Throwable getLoadException()
+   {
+      return loadException;
+   }
+
+   /**
+    * Get the numCCE.
+    * 
+    * @return the numCCE.
+    */
+   synchronized int incrementNumCCE()
+   {
+      return numCCE;
+   }
+
+   /**
+    * Get the requestingThread.
+    * 
+    * @return the requestingThread.
+    */
+   Thread getRequestingThread()
+   {
+      return requestingThread;
+   }
+
+   /**
+    * Get the state.
+    * 
+    * @return the state.
+    */
+   synchronized TaskState getState()
+   {
+      return state;
+   }
+
+   /**
+    * Set the task into the finished state
+    * 
+    * @param loadedClass the loaded class
+    */
+   synchronized void finish(Class<?> loadedClass)
+   {
+      this.loadedClass = loadedClass;
+      state = TaskState.FINISHED;
+   }
+
+   /**
+    * Set the task into the found classloader state
+    */
+   synchronized void foundClassLoader()
+   {
+      state = TaskState.FOUND_CLASS_LOADER;
+   }
+
+   /**
+    * Set the task into the finished state
+    */
+   synchronized void finish()
+   {
+      state = TaskState.FINISHED;
+   }
+
+   /**
+    * Set the task into the wait on event state
+    */
+   synchronized void waitOnEvent()
+   {
+      state = TaskState.WAIT_EVENT;
+   }
+
+   /**
+    * Set the task into the next event state
+    */
+   synchronized void nextEvent()
+   {
+      state = TaskState.NEXT_EVENT;
+   }
+   
+   /**
+    * Get the threadTaskCount.
+    * 
+    * @return the threadTaskCount.
+    */
+   synchronized int getThreadTaskCount()
+   {
+      return threadTaskCount;
+   }
+
+   @Override
+   public String toString()
+   {
+      StringBuilder builder = new StringBuilder();
+      builder.append(getClass().getSimpleName());
+      builder.append('@').append(Integer.toHexString(System.identityHashCode(this)));
+      builder.append('{');
+      builder.append("className=").append(className);
+      builder.append(" requestingThread=").append(requestingThread);
+      builder.append(" requestingClassLoader: ").append(classLoader);
+      if (loadedClass != null)
+      {
+         builder.append(" loadedClass=");
+         ClassLoaderUtils.classToString(loadedClass, builder);
+      }
+      if (loadException != null)
+         builder.append(" loadException: ").append(loadException);
+      builder.append(" threadTaskCount: ").append(threadTaskCount);
+      builder.append(" state: ").append(state);
+      if (numCCE > 0)
+         builder.append(", #CCE: ").append(numCCE);
+      builder.append('}');
+      if( trace && loadException != null )
+      {
+         StringWriter sw = new StringWriter();
+         PrintWriter pw = new PrintWriter(sw);
+         loadException.printStackTrace(pw);
+         builder.append("loadException details:\n");
+         builder.append(sw.toString());
+      }
+      return builder.toString();
+   }
+
+   /**
+    * Creaqte a new thread task
+    * 
+    * @param loader the loader
+    * @param thread the thread
+    * @param reschedule whether this is a reschedule
+    * @param releaseInNextTask whether to release in the next task
+    * @return the thread task
+    */
+   synchronized ThreadTask newThreadTask(Loader loader, Thread thread, boolean reschedule, boolean releaseInNextTask)
+   {
+      // Only update the threadTaskCount if this is not a reschedule
+      if (reschedule == false)
+         ++threadTaskCount;
+      return new ThreadTask(loader, thread, releaseInNextTask);
+   }
+   
+   /**
+    * Set the load exception
+    * 
+    * @param t the throwable
+    */
+   synchronized void setLoadError(Throwable t)
+   {
+       --threadTaskCount;
+        if (trace)
+            log.trace("setLoadedError, error="+t);
+       loadException = t;
+   }
+   
+
+   /** 
+    * This is called from run on success or failure to mark the end
+    * of the load attempt. This must decrement the threadTaskCount or
+    * the ClassLoadingTask will never complete.
+    * 
+    * @param theClass the loaded class
+    */
+   private synchronized void setLoadedClass(Class<?> theClass)
+   {
+      --threadTaskCount;
+      if (trace)
+         log.trace("setLoadedClass, theClass=" + theClass);
+
+      // Warn about duplicate classes
+      if (this.loadedClass != null && theClass != null)
+      {
+         StringBuilder builder = new StringBuilder();
+         builder.append("Duplicate class found: ").append(className).append('\n');
+         ProtectionDomain pd = getProtectionDomain(loadedClass);
+         CodeSource cs = pd != null ? pd.getCodeSource() : null;
+         builder.append("Current CS: ").append(cs).append('\n');
+         pd = getProtectionDomain(theClass);
+         cs = pd != null ? pd.getCodeSource() : null;
+         builder.append("Duplicate CS: ").append(cs);
+         log.warn(builder.toString());
+      }
+
+      // Accept the first class
+      if (theClass != null && loadedClass == null)
+         this.loadedClass = theClass;
+   }
+
+   /** 
+    * Thread Task
+    */
+   class ThreadTask
+   {
+      /** The loader */
+      private Loader loader;
+      
+      /** The thread that owns the ucl monitor */
+      private Thread thread;
+      
+      /** Whether to release in the next task */
+      private boolean releaseInNextTask;
+
+      /**
+       * Create a new ThreadTask.
+       * 
+       * @param loader the loader
+       * @param thread the thread
+       * @param releaseInNextTask whether to release in the next task
+       */
+      ThreadTask(Loader loader, Thread thread, boolean releaseInNextTask)
+      {
+         this.loader = loader;
+         this.thread = thread;
+         this.releaseInNextTask = releaseInNextTask;
+      }
+
+      /**
+       * Get the className.
+       * 
+       * @return the className.
+       */
+      String getClassName()
+      {
+         return className;
+      }
+
+      /**
+       * Get the loadedClass.
+       * 
+       * @return the loadedClass.
+       */
+      Class<?> getLoadedClass()
+      {
+         return loadedClass;
+      }
+
+      @Override
+      public String toString()
+      {
+         StringBuilder builder = new StringBuilder();
+         builder.append("{thread=").append(thread);
+         builder.append(" loader=").append(loader);
+         builder.append(" requestingThread=").append(requestingThread);
+         builder.append(" releaseInNextTask=").append(releaseInNextTask);
+         builder.append("}");
+         return builder.toString();
+      }
+      
+      /**
+       * Get the classloading task
+       * 
+       * @return the classloading task
+       */
+      ClassLoadingTask getLoadTask()
+      {
+         return ClassLoadingTask.this;
+      }
+
+      /**
+       * Get the loader.
+       * 
+       * @return the loader.
+       */
+      Loader getLoader()
+      {
+         return loader;
+      }
+
+      /**
+       * Get the classloader for this task
+       * 
+       * @return the classloader
+       */
+      BaseClassLoader getClassLoader()
+      {
+         if (loader instanceof BaseDelegateLoader)
+         {
+            BaseDelegateLoader delegateLoader = (BaseDelegateLoader) loader;
+            BaseClassLoaderPolicy policy = delegateLoader.getPolicy();
+            if (policy == null)
+               throw new IllegalStateException("Null classloader policy for " + loader);
+            return policy.getClassLoader();
+         }
+         return null;
+      }
+      
+      /**
+       * Get the thread.
+       * 
+       * @return the thread.
+       */
+      synchronized Thread getThread()
+      {
+         return thread;
+      }
+
+      /**
+       * Set the thread.
+       * 
+       * @param thread the thread.
+       */
+      synchronized void setThread(Thread thread)
+      {
+         this.thread = thread;
+      }
+
+      /**
+       * Get the releaseInNextTask.
+       * 
+       * @return the releaseInNextTask.
+       */
+      boolean isReleaseInNextTask()
+      {
+         return releaseInNextTask;
+      }
+
+      /**
+       * Run the class load
+       * 
+       * @throws ClassNotFoundException
+       */
+      void run() throws ClassNotFoundException
+      {
+         if (loadedClass == null)
+         {
+            Class<?> theClass = loader.loadClass(className);
+            setLoadedClass(theClass);
+         }
+         else if (trace)
+         {
+            log.trace("Already found class(" + loadedClass + "), skipping load class");
+         }
+      }
+   }
+   
+   /**
+    * Get the protection domain for a class
+    * 
+    * @param clazz the class
+    * @return the protected domain or null if it doesn't have one
+    */
+   private static final ProtectionDomain getProtectionDomain(final Class<?> clazz)
+   {
+      SecurityManager sm = System.getSecurityManager();
+      if (sm == null)
+         return clazz.getProtectionDomain();
+      
+      return AccessController.doPrivileged(new PrivilegedAction<ProtectionDomain>()
+      {
+         public ProtectionDomain run()
+         {
+            return clazz.getProtectionDomain();
+         }
+      });
+   }
+}

Deleted: projects/jboss-cl/tags/2.0.3.GA/classloading/pom.xml
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/classloading/pom.xml	2009-02-20 11:51:10 UTC (rev 84506)
+++ projects/jboss-cl/tags/2.0.3.GA/classloading/pom.xml	2009-02-20 13:32:35 UTC (rev 84527)
@@ -1,126 +0,0 @@
-<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.cl</groupId>
-    <artifactId>jboss-cl</artifactId>
-    <version>2.0.3-SNAPSHOT</version>
-  </parent>
-  <modelVersion>4.0.0</modelVersion>
-  <artifactId>jboss-classloading</artifactId>
-  <packaging>jar</packaging>
-  <name>JBoss ClassLoading</name>
-  <url>http://www.jboss.org/jbossmc</url>
-  <description>JBoss ClassLoading</description>
-  
-  <!-- Do not add version information here, use ../pom.xml instead -->
-  <dependencies>
-  
-    <!-- Global dependencies -->
-    <dependency>
-      <groupId>org.jboss</groupId>
-      <artifactId>jboss-common-core</artifactId>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.jboss.logging</groupId>
-      <artifactId>jboss-logging-spi</artifactId>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.jboss.cl</groupId>
-      <artifactId>jboss-classloader</artifactId>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.jboss.microcontainer</groupId>
-      <artifactId>jboss-dependency</artifactId>
-      <exclusions>
-        <exclusion>
-          <groupId>org.jboss</groupId>
-          <artifactId>jboss-common-core</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>jboss</groupId>
-          <artifactId>jboss-common-logging-spi</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.jboss.microcontainer</groupId>
-      <artifactId>jboss-kernel</artifactId>
-      <optional>true</optional>
-      <exclusions>
-        <exclusion>
-          <groupId>org.jboss.microcontainer</groupId>
-          <artifactId>jboss-dependency</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>org.jboss</groupId>
-          <artifactId>jboss-common-core</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>jboss</groupId>
-          <artifactId>jboss-common-logging-spi</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>org.jboss</groupId>
-          <artifactId>jbossxb</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.jboss</groupId>
-      <artifactId>jbossxb</artifactId>
-      <optional>true</optional>
-      <exclusions>
-        <exclusion>
-          <groupId>org.jboss</groupId>
-          <artifactId>jboss-reflect</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>org.jboss</groupId>
-          <artifactId>jboss-common-core</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>jboss</groupId>
-          <artifactId>jboss-common-logging-spi</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.jboss.man</groupId>
-      <artifactId>jboss-managed</artifactId>
-      <optional>true</optional>
-      <exclusions>
-        <exclusion>
-          <groupId>org.jboss</groupId>
-          <artifactId>jboss-reflect</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>org.jboss</groupId>
-          <artifactId>jboss-common-core</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>jboss</groupId>
-          <artifactId>jboss-common-logging-spi</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    
-    <!-- Test dependencies -->
-    <dependency>
-      <groupId>org.jboss.test</groupId>
-      <artifactId>jboss-test</artifactId>
-      <scope>test</scope>
-    </dependency>
-    
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-    
-  </dependencies>  
-</project>
\ No newline at end of file

Copied: projects/jboss-cl/tags/2.0.3.GA/classloading/pom.xml (from rev 84526, projects/jboss-cl/branches/Branch_2_0/classloading/pom.xml)
===================================================================
--- projects/jboss-cl/tags/2.0.3.GA/classloading/pom.xml	                        (rev 0)
+++ projects/jboss-cl/tags/2.0.3.GA/classloading/pom.xml	2009-02-20 13:32:35 UTC (rev 84527)
@@ -0,0 +1,126 @@
+<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.cl</groupId>
+    <artifactId>jboss-cl</artifactId>
+    <version>2.0.3.GA</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>jboss-classloading</artifactId>
+  <packaging>jar</packaging>
+  <name>JBoss ClassLoading</name>
+  <url>http://www.jboss.org/jbossmc</url>
+  <description>JBoss ClassLoading</description>
+  
+  <!-- Do not add version information here, use ../pom.xml instead -->
+  <dependencies>
+  
+    <!-- Global dependencies -->
+    <dependency>
+      <groupId>org.jboss</groupId>
+      <artifactId>jboss-common-core</artifactId>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.jboss.logging</groupId>
+      <artifactId>jboss-logging-spi</artifactId>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.jboss.cl</groupId>
+      <artifactId>jboss-classloader</artifactId>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.jboss.microcontainer</groupId>
+      <artifactId>jboss-dependency</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.jboss</groupId>
+          <artifactId>jboss-common-core</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>jboss</groupId>
+          <artifactId>jboss-common-logging-spi</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.jboss.microcontainer</groupId>
+      <artifactId>jboss-kernel</artifactId>
+      <optional>true</optional>
+      <exclusions>
+        <exclusion>
+          <groupId>org.jboss.microcontainer</groupId>
+          <artifactId>jboss-dependency</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.jboss</groupId>
+          <artifactId>jboss-common-core</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>jboss</groupId>
+          <artifactId>jboss-common-logging-spi</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.jboss</groupId>
+          <artifactId>jbossxb</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.jboss</groupId>
+      <artifactId>jbossxb</artifactId>
+      <optional>true</optional>
+      <exclusions>
+        <exclusion>
+          <groupId>org.jboss</groupId>
+          <artifactId>jboss-reflect</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.jboss</groupId>
+          <artifactId>jboss-common-core</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>jboss</groupId>
+          <artifactId>jboss-common-logging-spi</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.jboss.man</groupId>
+      <artifactId>jboss-managed</artifactId>
+      <optional>true</optional>
+      <exclusions>
+        <exclusion>
+          <groupId>org.jboss</groupId>
+          <artifactId>jboss-reflect</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.jboss</groupId>
+          <artifactId>jboss-common-core</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>jboss</groupId>
+          <artifactId>jboss-common-logging-spi</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    
+    <!-- Test dependencies -->
+    <dependency>
+      <groupId>org.jboss.test</groupId>
+      <artifactId>jboss-test</artifactId>
+      <scope>test</scope>
+    </dependency>
+    
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <scope>test</scope>
+    </dependency>
+    
+  </dependencies>  
+</project>
\ No newline at end of file

Deleted: projects/jboss-cl/tags/2.0.3.GA/classloading-vfs/pom.xml
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/classloading-vfs/pom.xml	2009-02-20 11:51:10 UTC (rev 84506)
+++ projects/jboss-cl/tags/2.0.3.GA/classloading-vfs/pom.xml	2009-02-20 13:32:35 UTC (rev 84527)
@@ -1,128 +0,0 @@
-<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.cl</groupId>
-    <artifactId>jboss-cl</artifactId>
-    <version>2.0.3-SNAPSHOT</version>
-    <relativePath>../build</relativePath>
-  </parent>
-  <modelVersion>4.0.0</modelVersion>
-  <artifactId>jboss-classloading-vfs</artifactId>
-  <packaging>jar</packaging>
-  <name>JBoss ClassLoading VFS</name>
-  <url>http://www.jboss.org/jbossmc</url>
-  <description>JBoss ClassLoading VFS</description>
-  
-  <!-- Do not add version information here, use ../pom.xml instead -->
-  <dependencies>
-    
-    <!-- Global dependencies -->
-    <dependency>
-      <groupId>org.jboss</groupId>
-      <artifactId>jboss-common-core</artifactId>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.jboss.logging</groupId>
-      <artifactId>jboss-logging-spi</artifactId>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.jboss.cl</groupId>
-      <artifactId>jboss-classloading</artifactId>
-      <exclusions>
-        <exclusion>
-          <groupId>org.jboss.microcontainer</groupId>
-          <artifactId>jboss-kernel</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.jboss.microcontainer</groupId>
-      <artifactId>jboss-kernel</artifactId>
-      <exclusions>
-        <exclusion>
-          <groupId>org.jboss</groupId>
-          <artifactId>jboss-common-core</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>jboss</groupId>
-          <artifactId>jboss-common-logging-spi</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>org.jboss</groupId>
-          <artifactId>jbossxb</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.jboss</groupId>
-      <artifactId>jbossxb</artifactId>
-      <optional>true</optional>
-      <exclusions>
-        <exclusion>
-          <groupId>org.jboss</groupId>
-          <artifactId>jboss-reflect</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>org.jboss</groupId>
-          <artifactId>jboss-common-core</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>jboss</groupId>
-          <artifactId>jboss-common-logging-spi</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.jboss.man</groupId>
-      <artifactId>jboss-managed</artifactId>
-      <optional>true</optional>
-      <exclusions>
-        <exclusion>
-          <groupId>org.jboss</groupId>
-          <artifactId>jboss-reflect</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>org.jboss</groupId>
-          <artifactId>jboss-common-core</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>jboss</groupId>
-          <artifactId>jboss-common-logging-spi</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.jboss</groupId>
-      <artifactId>jboss-vfs</artifactId>
-      <exclusions>
-        <exclusion>
-          <groupId>org.jboss</groupId>
-          <artifactId>jboss-common-core</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>jboss</groupId>
-          <artifactId>jboss-common-logging-spi</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    
-    <!-- Test dependencies -->
-    <dependency>
-      <groupId>org.jboss.test</groupId>
-      <artifactId>jboss-test</artifactId>
-      <scope>test</scope>
-    </dependency>
-    
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-    
-  </dependencies>  
-</project>
\ No newline at end of file

Copied: projects/jboss-cl/tags/2.0.3.GA/classloading-vfs/pom.xml (from rev 84526, projects/jboss-cl/branches/Branch_2_0/classloading-vfs/pom.xml)
===================================================================
--- projects/jboss-cl/tags/2.0.3.GA/classloading-vfs/pom.xml	                        (rev 0)
+++ projects/jboss-cl/tags/2.0.3.GA/classloading-vfs/pom.xml	2009-02-20 13:32:35 UTC (rev 84527)
@@ -0,0 +1,128 @@
+<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.cl</groupId>
+    <artifactId>jboss-cl</artifactId>
+    <version>2.0.3.GA</version>
+    <relativePath>../build</relativePath>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>jboss-classloading-vfs</artifactId>
+  <packaging>jar</packaging>
+  <name>JBoss ClassLoading VFS</name>
+  <url>http://www.jboss.org/jbossmc</url>
+  <description>JBoss ClassLoading VFS</description>
+  
+  <!-- Do not add version information here, use ../pom.xml instead -->
+  <dependencies>
+    
+    <!-- Global dependencies -->
+    <dependency>
+      <groupId>org.jboss</groupId>
+      <artifactId>jboss-common-core</artifactId>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.jboss.logging</groupId>
+      <artifactId>jboss-logging-spi</artifactId>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.jboss.cl</groupId>
+      <artifactId>jboss-classloading</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.jboss.microcontainer</groupId>
+          <artifactId>jboss-kernel</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.jboss.microcontainer</groupId>
+      <artifactId>jboss-kernel</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.jboss</groupId>
+          <artifactId>jboss-common-core</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>jboss</groupId>
+          <artifactId>jboss-common-logging-spi</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.jboss</groupId>
+          <artifactId>jbossxb</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.jboss</groupId>
+      <artifactId>jbossxb</artifactId>
+      <optional>true</optional>
+      <exclusions>
+        <exclusion>
+          <groupId>org.jboss</groupId>
+          <artifactId>jboss-reflect</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.jboss</groupId>
+          <artifactId>jboss-common-core</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>jboss</groupId>
+          <artifactId>jboss-common-logging-spi</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.jboss.man</groupId>
+      <artifactId>jboss-managed</artifactId>
+      <optional>true</optional>
+      <exclusions>
+        <exclusion>
+          <groupId>org.jboss</groupId>
+          <artifactId>jboss-reflect</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.jboss</groupId>
+          <artifactId>jboss-common-core</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>jboss</groupId>
+          <artifactId>jboss-common-logging-spi</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.jboss</groupId>
+      <artifactId>jboss-vfs</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.jboss</groupId>
+          <artifactId>jboss-common-core</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>jboss</groupId>
+          <artifactId>jboss-common-logging-spi</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    
+    <!-- Test dependencies -->
+    <dependency>
+      <groupId>org.jboss.test</groupId>
+      <artifactId>jboss-test</artifactId>
+      <scope>test</scope>
+    </dependency>
+    
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <scope>test</scope>
+    </dependency>
+    
+  </dependencies>  
+</project>
\ No newline at end of file

Deleted: projects/jboss-cl/tags/2.0.3.GA/pom.xml
===================================================================
--- projects/jboss-cl/branches/Branch_2_0/pom.xml	2009-02-20 11:51:10 UTC (rev 84506)
+++ projects/jboss-cl/tags/2.0.3.GA/pom.xml	2009-02-20 13:32:35 UTC (rev 84527)
@@ -1,301 +0,0 @@
-<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.jboss</groupId>
-    <artifactId>jboss-parent</artifactId>
-    <version>4</version>
-  </parent>
-  <groupId>org.jboss.cl</groupId>
-  <artifactId>jboss-cl</artifactId>
-  <version>2.0.3-SNAPSHOT</version>
-  <packaging>pom</packaging>
-  <name>JBoss ClassLoader Parent POM</name>
-  <url>http://www.jboss.com/products/jbossmc</url>
-  <description>
-    JBoss ClassLoader
-  </description>
-  <scm>
-    <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/jboss-cl/branches/Branch_2_0/</connection>
-    <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/jboss-cl/branches/Branch_2_0/</developerConnection>
-    <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-cl/branches/Branch_2_0</url>
-  </scm>
-
-  <modules>
-    <module>classloader</module>
-    <module>classloading</module>
-    <module>classloading-vfs</module>
-    <module>build</module>
-  </modules>
-  
-  <properties>
-    <version.jboss.vfs>2.0.1.GA</version.jboss.vfs>
-    <version.jboss.man>2.0.0.GA</version.jboss.man>
-    <version.jboss.microcontainer>2.0.3.GA</version.jboss.microcontainer>
-    <version.jboss.common.core>2.2.10.GA</version.jboss.common.core>
-    <version.jboss.logging.spi>2.0.5.GA</version.jboss.logging.spi>
-    <version.jboss.classloading.spi>5.0.3.GA</version.jboss.classloading.spi>
-    <version.jbossxb>2.0.0.GA</version.jbossxb>
-    <version.org.jboss.test>1.1.1.GA</version.org.jboss.test>
-    <version.junit>4.4</version.junit>
-  </properties>
-
-  <build>
-    <outputDirectory>${microcontainer.outputDirectory}</outputDirectory>
-    <testOutputDirectory>${microcontainer.testOutputDirectory}</testOutputDirectory>
-    <finalName>${artifactId}</finalName>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <version>2.0.2</version>
-        <configuration>
-          <source>1.5</source>
-          <target>1.5</target>
-          <showDeprecation>true</showDeprecation>
-          <showWarnings>true</showWarnings>
-          <optimize>true</optimize>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-release-plugin</artifactId>
-        <version>2.0-beta-7</version>
-        <configuration>
-          <generateReleasePoms>false</generateReleasePoms>
-          <tagBase>https://svn.jboss.org/repos/jbossas/projects/jboss-cl/tags</tagBase>
-          <autoVersionSubmodules>true</autoVersionSubmodules>
-        </configuration>
-      </plugin>
-    </plugins>
-    <pluginManagement>
-      <plugins>
-        <plugin>
-          <artifactId>maven-idea-plugin</artifactId>
-          <configuration>
-            <downloadSources>true</downloadSources>
-          </configuration>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-jar-plugin</artifactId>
-          <version>2.2</version>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-surefire-plugin</artifactId>
-          <version>2.4.1</version>
-          <configuration>
-            <redirectTestOutputToFile>true</redirectTestOutputToFile>
-            <includes>
-              <include>org/jboss/test/**/*TestCase.java</include>
-            </includes>
-          </configuration>
-        </plugin>
-        <plugin>
-          <!-- Configure javadoc plugin with APIviz -->
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-javadoc-plugin</artifactId>
-          <configuration>
-            <doclet>net.gleamynode.apiviz.APIviz</doclet>
-            <docletArtifact>
-              <groupId>net.gleamynode.apiviz</groupId>
-              <artifactId>apiviz</artifactId>
-              <version>1.1.0</version>
-            </docletArtifact>
-            <encoding>UTF-8</encoding>
-          </configuration>
-        </plugin>        
-      </plugins>
-    </pluginManagement>
-  </build>
-  
-  <repositories>
-    <repository>
-      <id>repository.jboss.org</id>
-      <name>JBoss Repository</name>
-      <layout>default</layout>
-      <url>http://repository.jboss.org/maven2/</url>
-      <snapshots>
-        <enabled>false</enabled>
-      </snapshots>
-    </repository>
-    <repository>
-      <id>snapshots.jboss.org</id>
-      <name>JBoss Snapshots Repository</name>
-      <layout>default</layout>
-      <url>http://snapshots.jboss.org/maven2/</url>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-      <releases>
-        <enabled>false</enabled>
-      </releases>
-    </repository>
-    <!-- APIviz repository -->
-    <repository>
-      <id>apiviz.release</id>
-      <name>APIviz releases</name>
-      <url>http://apiviz.googlecode.com/svn/site/repo/mvn/release</url>
-      <releases>
-        <enabled>true</enabled>
-      </releases>
-      <snapshots>
-        <enabled>false</enabled>
-      </snapshots>
-    </repository>
-  </repositories>
-  
-  <reporting>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-project-info-reports-plugin</artifactId>
-        <reportSets>
-          <reportSet>
-            <reports>
-              <report>dependencies</report>
-              <report>issue-tracking</report>
-              <report>license</report>
-              <report>scm</report>
-            </reports>
-          </reportSet>
-        </reportSets>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>findbugs-maven-plugin</artifactId>
-        <version>1.0.0</version>
-      </plugin>
-    </plugins>
-  </reporting>
-  
-  <dependencyManagement>
-    <!-- The parent pom manages the inter-dependencies of the modules. -->
-    <dependencies>
-    
-      <dependency>
-        <groupId>org.jboss.cl</groupId>
-        <artifactId>jboss-classloader</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      
-      <dependency>
-        <groupId>org.jboss.cl</groupId>
-        <artifactId>jboss-classloading</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      
-      <dependency>
-        <groupId>org.jboss.cl</groupId>
-        <artifactId>jboss-classloading-vfs</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      
-      <dependency>
-        <groupId>org.jboss.man</groupId>
-        <artifactId>jboss-managed</artifactId>
-        <version>${version.jboss.man}</version>
-      </dependency>
-      
-      <dependency>
-        <groupId>org.jboss.microcontainer</groupId>
-        <artifactId>jboss-dependency</artifactId>
-        <version>${version.jboss.microcontainer}</version>
-      </dependency>
-      
-      <dependency>
-        <groupId>org.jboss.microcontainer</groupId>
-        <artifactId>jboss-kernel</artifactId>
-        <version>${version.jboss.microcontainer}</version>
-      </dependency>
-      
-      <dependency>
-        <groupId>org.jboss</groupId>
-        <artifactId>jboss-common-core</artifactId>
-        <version>${version.jboss.common.core}</version>
-      </dependency>
-      
-      <dependency>
-        <groupId>org.jboss.logging</groupId>
-        <artifactId>jboss-logging-spi</artifactId>
-        <version>${version.jboss.logging.spi}</version>
-      </dependency>
-
-      <dependency>
-        <groupId>org.jboss.integration</groupId>
-        <artifactId>jboss-classloading-spi</artifactId>
-        <version>${version.jboss.classloading.spi}</version>
-      </dependency>
-      
-      <dependency>
-        <groupId>org.jboss</groupId>
-        <artifactId>jbossxb</artifactId>
-        <version>${version.jbossxb}</version>
-      </dependency>
-      
-      <dependency>
-        <groupId>org.jboss</groupId>
-        <artifactId>jboss-vfs</artifactId>
-        <version>${version.jboss.vfs}</version>
-      </dependency>
-      
-      <!-- test dependencies -->
-      <dependency>
-        <groupId>org.jboss.test</groupId>
-        <artifactId>jboss-test</artifactId>
-        <version>${version.org.jboss.test}</version>
-        <scope>test</scope>
-      </dependency>
-      
-      <dependency>
-        <groupId>junit</groupId>
-        <artifactId>junit</artifactId>
-        <version>${version.junit}</version>
-        <scope>test</scope>
-      </dependency>
-      
-    </dependencies>
-  </dependencyManagement>
-
-  <profiles>
-    <profile>
-      <id>default</id>
-      <activation>
-        <activeByDefault>true</activeByDefault>
-      </activation>
-      <properties>
-        <microcontainer.outputDirectory>target/classes</microcontainer.outputDirectory>
-        <microcontainer.testOutputDirectory>target/tests-classes</microcontainer.testOutputDirectory>
-      </properties>
-    </profile>
-    <profile>
-      <id>eclipse</id>
-      <build>
-        <defaultGoal>process-test-resources</defaultGoal>
-        <plugins>
-          <plugin>
-            <artifactId>maven-eclipse-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>eclipse</id>
-                <phase>process-test-resources</phase>
-                <goals>
-                  <goal>eclipse</goal>
-                </goals>
-              </execution>
-            </executions>
-            <configuration>
-              <downloadSources>true</downloadSources>
-              <buildOutputDirectory>${microcontainer.outputDirectory}</buildOutputDirectory>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-      <properties>
-        <microcontainer.outputDirectory>eclipse-target/classes</microcontainer.outputDirectory>
-        <microcontainer.testOutputDirectory>eclipse-target/tests-classes</microcontainer.testOutputDirectory>
-      </properties>
-    </profile>
-  </profiles>
-
-</project>
\ No newline at end of file

Copied: projects/jboss-cl/tags/2.0.3.GA/pom.xml (from rev 84526, projects/jboss-cl/branches/Branch_2_0/pom.xml)
===================================================================
--- projects/jboss-cl/tags/2.0.3.GA/pom.xml	                        (rev 0)
+++ projects/jboss-cl/tags/2.0.3.GA/pom.xml	2009-02-20 13:32:35 UTC (rev 84527)
@@ -0,0 +1,301 @@
+<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.jboss</groupId>
+    <artifactId>jboss-parent</artifactId>
+    <version>4</version>
+  </parent>
+  <groupId>org.jboss.cl</groupId>
+  <artifactId>jboss-cl</artifactId>
+  <version>2.0.3.GA</version>
+  <packaging>pom</packaging>
+  <name>JBoss ClassLoader Parent POM</name>
+  <url>http://www.jboss.com/products/jbossmc</url>
+  <description>
+    JBoss ClassLoader
+  </description>
+  <scm>
+    <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/jboss-cl/tags/2.0.3.GA</connection>
+    <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/jboss-cl/tags/2.0.3.GA</developerConnection>
+    <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-cl/tags/2.0.3.GA</url>
+  </scm>
+
+  <modules>
+    <module>classloader</module>
+    <module>classloading</module>
+    <module>classloading-vfs</module>
+    <module>build</module>
+  </modules>
+  
+  <properties>
+    <version.jboss.vfs>2.1.0.GA</version.jboss.vfs>
+    <version.jboss.man>2.0.0.GA</version.jboss.man>
+    <version.jboss.microcontainer>2.0.4.GA</version.jboss.microcontainer>
+    <version.jboss.common.core>2.2.10.GA</version.jboss.common.core>
+    <version.jboss.logging.spi>2.0.5.GA</version.jboss.logging.spi>
+    <version.jboss.classloading.spi>5.0.3.GA</version.jboss.classloading.spi>
+    <version.jbossxb>2.0.0.GA</version.jbossxb>
+    <version.org.jboss.test>1.1.1.GA</version.org.jboss.test>
+    <version.junit>4.4</version.junit>
+  </properties>
+
+  <build>
+    <outputDirectory>${microcontainer.outputDirectory}</outputDirectory>
+    <testOutputDirectory>${microcontainer.testOutputDirectory}</testOutputDirectory>
+    <finalName>${artifactId}</finalName>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>2.0.2</version>
+        <configuration>
+          <source>1.5</source>
+          <target>1.5</target>
+          <showDeprecation>true</showDeprecation>
+          <showWarnings>true</showWarnings>
+          <optimize>true</optimize>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-release-plugin</artifactId>
+        <version>2.0-beta-7</version>
+        <configuration>
+          <generateReleasePoms>false</generateReleasePoms>
+          <tagBase>https://svn.jboss.org/repos/jbossas/projects/jboss-cl/tags</tagBase>
+          <autoVersionSubmodules>true</autoVersionSubmodules>
+        </configuration>
+      </plugin>
+    </plugins>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <artifactId>maven-idea-plugin</artifactId>
+          <configuration>
+            <downloadSources>true</downloadSources>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-jar-plugin</artifactId>
+          <version>2.2</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-surefire-plugin</artifactId>
+          <version>2.4.1</version>
+          <configuration>
+            <redirectTestOutputToFile>true</redirectTestOutputToFile>
+            <includes>
+              <include>org/jboss/test/**/*TestCase.java</include>
+            </includes>
+          </configuration>
+        </plugin>
+        <plugin>
+          <!-- Configure javadoc plugin with APIviz -->
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-javadoc-plugin</artifactId>
+          <configuration>
+            <doclet>net.gleamynode.apiviz.APIviz</doclet>
+            <docletArtifact>
+              <groupId>net.gleamynode.apiviz</groupId>
+              <artifactId>apiviz</artifactId>
+              <version>1.1.0</version>
+            </docletArtifact>
+            <encoding>UTF-8</encoding>
+          </configuration>
+        </plugin>        
+      </plugins>
+    </pluginManagement>
+  </build>
+  
+  <repositories>
+    <repository>
+      <id>repository.jboss.org</id>
+      <name>JBoss Repository</name>
+      <layout>default</layout>
+      <url>http://repository.jboss.org/maven2/</url>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+    </repository>
+    <repository>
+      <id>snapshots.jboss.org</id>
+      <name>JBoss Snapshots Repository</name>
+      <layout>default</layout>
+      <url>http://snapshots.jboss.org/maven2/</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+    </repository>
+    <!-- APIviz repository -->
+    <repository>
+      <id>apiviz.release</id>
+      <name>APIviz releases</name>
+      <url>http://apiviz.googlecode.com/svn/site/repo/mvn/release</url>
+      <releases>
+        <enabled>true</enabled>
+      </releases>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+    </repository>
+  </repositories>
+  
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-project-info-reports-plugin</artifactId>
+        <reportSets>
+          <reportSet>
+            <reports>
+              <report>dependencies</report>
+              <report>issue-tracking</report>
+              <report>license</report>
+              <report>scm</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>findbugs-maven-plugin</artifactId>
+        <version>1.0.0</version>
+      </plugin>
+    </plugins>
+  </reporting>
+  
+  <dependencyManagement>
+    <!-- The parent pom manages the inter-dependencies of the modules. -->
+    <dependencies>
+    
+      <dependency>
+        <groupId>org.jboss.cl</groupId>
+        <artifactId>jboss-classloader</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      
+      <dependency>
+        <groupId>org.jboss.cl</groupId>
+        <artifactId>jboss-classloading</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      
+      <dependency>
+        <groupId>org.jboss.cl</groupId>
+        <artifactId>jboss-classloading-vfs</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      
+      <dependency>
+        <groupId>org.jboss.man</groupId>
+        <artifactId>jboss-managed</artifactId>
+        <version>${version.jboss.man}</version>
+      </dependency>
+      
+      <dependency>
+        <groupId>org.jboss.microcontainer</groupId>
+        <artifactId>jboss-dependency</artifactId>
+        <version>${version.jboss.microcontainer}</version>
+      </dependency>
+      
+      <dependency>
+        <groupId>org.jboss.microcontainer</groupId>
+        <artifactId>jboss-kernel</artifactId>
+        <version>${version.jboss.microcontainer}</version>
+      </dependency>
+      
+      <dependency>
+        <groupId>org.jboss</groupId>
+        <artifactId>jboss-common-core</artifactId>
+        <version>${version.jboss.common.core}</version>
+      </dependency>
+      
+      <dependency>
+        <groupId>org.jboss.logging</groupId>
+        <artifactId>jboss-logging-spi</artifactId>
+        <version>${version.jboss.logging.spi}</version>
+      </dependency>
+
+      <dependency>
+        <groupId>org.jboss.integration</groupId>
+        <artifactId>jboss-classloading-spi</artifactId>
+        <version>${version.jboss.classloading.spi}</version>
+      </dependency>
+      
+      <dependency>
+        <groupId>org.jboss</groupId>
+        <artifactId>jbossxb</artifactId>
+        <version>${version.jbossxb}</version>
+      </dependency>
+      
+      <dependency>
+        <groupId>org.jboss</groupId>
+        <artifactId>jboss-vfs</artifactId>
+        <version>${version.jboss.vfs}</version>
+      </dependency>
+      
+      <!-- test dependencies -->
+      <dependency>
+        <groupId>org.jboss.test</groupId>
+        <artifactId>jboss-test</artifactId>
+        <version>${version.org.jboss.test}</version>
+        <scope>test</scope>
+      </dependency>
+      
+      <dependency>
+        <groupId>junit</groupId>
+        <artifactId>junit</artifactId>
+        <version>${version.junit}</version>
+        <scope>test</scope>
+      </dependency>
+      
+    </dependencies>
+  </dependencyManagement>
+
+  <profiles>
+    <profile>
+      <id>default</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+      <properties>
+        <microcontainer.outputDirectory>target/classes</microcontainer.outputDirectory>
+        <microcontainer.testOutputDirectory>target/tests-classes</microcontainer.testOutputDirectory>
+      </properties>
+    </profile>
+    <profile>
+      <id>eclipse</id>
+      <build>
+        <defaultGoal>process-test-resources</defaultGoal>
+        <plugins>
+          <plugin>
+            <artifactId>maven-eclipse-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>eclipse</id>
+                <phase>process-test-resources</phase>
+                <goals>
+                  <goal>eclipse</goal>
+                </goals>
+              </execution>
+            </executions>
+            <configuration>
+              <downloadSources>true</downloadSources>
+              <buildOutputDirectory>${microcontainer.outputDirectory}</buildOutputDirectory>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+      <properties>
+        <microcontainer.outputDirectory>eclipse-target/classes</microcontainer.outputDirectory>
+        <microcontainer.testOutputDirectory>eclipse-target/tests-classes</microcontainer.testOutputDirectory>
+      </properties>
+    </profile>
+  </profiles>
+
+</project>
\ No newline at end of file




More information about the jboss-cvs-commits mailing list