[jboss-cvs] JBossAS SVN: r82803 - in projects/integration/tags: 6.0.0.Alpha1 and 8 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Jan 13 07:33:40 EST 2009
Author: emuckenhuber
Date: 2009-01-13 07:33:39 -0500 (Tue, 13 Jan 2009)
New Revision: 82803
Added:
projects/integration/tags/6.0.0.Alpha1/
projects/integration/tags/6.0.0.Alpha1/build/pom.xml
projects/integration/tags/6.0.0.Alpha1/jboss-classloading-spi/pom.xml
projects/integration/tags/6.0.0.Alpha1/jboss-corba-ots-spi/pom.xml
projects/integration/tags/6.0.0.Alpha1/jboss-deployment-spi/pom.xml
projects/integration/tags/6.0.0.Alpha1/jboss-jca-spi/pom.xml
projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/
projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/pom.xml
projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/AttachmentStore.java
projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/DeploymentRepository.java
projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/DeploymentRepositoryFactory.java
projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/Profile.java
projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileKey.java
projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileRepository.java
projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileService.java
projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/metadata/
projects/integration/tags/6.0.0.Alpha1/jboss-transaction-spi/pom.xml
projects/integration/tags/6.0.0.Alpha1/pom.xml
Removed:
projects/integration/tags/6.0.0.Alpha1/build/pom.xml
projects/integration/tags/6.0.0.Alpha1/jboss-classloading-spi/pom.xml
projects/integration/tags/6.0.0.Alpha1/jboss-corba-ots-spi/pom.xml
projects/integration/tags/6.0.0.Alpha1/jboss-deployment-spi/pom.xml
projects/integration/tags/6.0.0.Alpha1/jboss-jca-spi/pom.xml
projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/
projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/pom.xml
projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/AttachmentsSerializer.java
projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/DeploymentRepository.java
projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/DeploymentRepositoryFactory.java
projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/Profile.java
projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileConfiguration.java
projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileKey.java
projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileRepository.java
projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileService.java
projects/integration/tags/6.0.0.Alpha1/jboss-transaction-spi/pom.xml
projects/integration/tags/6.0.0.Alpha1/pom.xml
Log:
[maven-release-plugin] copy for tag 6.0.0.Alpha1
Copied: projects/integration/tags/6.0.0.Alpha1 (from rev 82794, projects/integration/trunk)
Deleted: projects/integration/tags/6.0.0.Alpha1/build/pom.xml
===================================================================
--- projects/integration/trunk/build/pom.xml 2009-01-13 08:24:02 UTC (rev 82794)
+++ projects/integration/tags/6.0.0.Alpha1/build/pom.xml 2009-01-13 12:33:39 UTC (rev 82803)
@@ -1,50 +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.integration</groupId>
- <artifactId>jboss-integration-parent</artifactId>
- <version>5.0.4-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>jboss-integration</artifactId>
- <version>5.0.4-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>JBoss Integration 5.0 Aggregate Build</name>
- <url>http://www.jboss.com</url>
- <description>
- The JBoss Integration SPI classes
- </description>
-
- <profiles>
- <profile>
- <id>assembly</id>
- <activation>
- <property>
- <name>!skip.assembly</name>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>attached</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <descriptors>
- <descriptor>src/assembly/bin.xml</descriptor>
- <descriptor>src/assembly/sources.xml</descriptor>
- </descriptors>
- </configuration>
- <inherited>false</inherited>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
-</project>
\ No newline at end of file
Copied: projects/integration/tags/6.0.0.Alpha1/build/pom.xml (from rev 82802, projects/integration/trunk/build/pom.xml)
===================================================================
--- projects/integration/tags/6.0.0.Alpha1/build/pom.xml (rev 0)
+++ projects/integration/tags/6.0.0.Alpha1/build/pom.xml 2009-01-13 12:33:39 UTC (rev 82803)
@@ -0,0 +1,50 @@
+<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.integration</groupId>
+ <artifactId>jboss-integration-parent</artifactId>
+ <version>6.0.0.Alpha1</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jboss-integration</artifactId>
+ <version>6.0.0.Alpha1</version>
+ <packaging>pom</packaging>
+ <name>JBoss Integration 6.0.0 Aggregate Build</name>
+ <url>http://www.jboss.com</url>
+ <description>
+ The JBoss Integration SPI classes
+ </description>
+
+ <profiles>
+ <profile>
+ <id>assembly</id>
+ <activation>
+ <property>
+ <name>!skip.assembly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>attached</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <descriptors>
+ <descriptor>src/assembly/bin.xml</descriptor>
+ <descriptor>src/assembly/sources.xml</descriptor>
+ </descriptors>
+ </configuration>
+ <inherited>false</inherited>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+</project>
\ No newline at end of file
Deleted: projects/integration/tags/6.0.0.Alpha1/jboss-classloading-spi/pom.xml
===================================================================
--- projects/integration/trunk/jboss-classloading-spi/pom.xml 2009-01-13 08:24:02 UTC (rev 82794)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-classloading-spi/pom.xml 2009-01-13 12:33:39 UTC (rev 82803)
@@ -1,20 +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.integration</groupId>
- <artifactId>jboss-integration-parent</artifactId>
- <version>5.0.4-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>jboss-classloading-spi</artifactId>
- <version>5.0.4-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>JBoss ClassLoading 5.0.0 SPI</name>
- <url>http://www.jboss.org</url>
- <description>The Java ClassLoading 5.0.0 SPI classes</description>
- <dependencies>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-common-core</artifactId>
- </dependency>
- </dependencies>
-</project>
\ No newline at end of file
Copied: projects/integration/tags/6.0.0.Alpha1/jboss-classloading-spi/pom.xml (from rev 82802, projects/integration/trunk/jboss-classloading-spi/pom.xml)
===================================================================
--- projects/integration/tags/6.0.0.Alpha1/jboss-classloading-spi/pom.xml (rev 0)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-classloading-spi/pom.xml 2009-01-13 12:33:39 UTC (rev 82803)
@@ -0,0 +1,20 @@
+<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.integration</groupId>
+ <artifactId>jboss-integration-parent</artifactId>
+ <version>6.0.0.Alpha1</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jboss-classloading-spi</artifactId>
+ <version>6.0.0.Alpha1</version>
+ <packaging>jar</packaging>
+ <name>JBoss ClassLoading 6.0.0 SPI</name>
+ <url>http://www.jboss.org</url>
+ <description>The Java ClassLoading 6.0.0 SPI classes</description>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-core</artifactId>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Deleted: projects/integration/tags/6.0.0.Alpha1/jboss-corba-ots-spi/pom.xml
===================================================================
--- projects/integration/trunk/jboss-corba-ots-spi/pom.xml 2009-01-13 08:24:02 UTC (rev 82794)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-corba-ots-spi/pom.xml 2009-01-13 12:33:39 UTC (rev 82803)
@@ -1,24 +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.integration</groupId>
- <artifactId>jboss-integration-parent</artifactId>
- <version>5.0.4-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>jboss-corba-ots-spi</artifactId>
- <version>5.0.4-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>JBoss CORBA OTS 5.0.0 SPI</name>
- <url>http://www.jboss.org</url>
- <description>SPI to be implemented by CORBA OTS providers for JBoss 5.0.0</description>
- <dependencies>
- <dependency>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-transaction-api</artifactId>
- </dependency>
- <dependency>
- <groupId>jacorb</groupId>
- <artifactId>jacorb</artifactId>
- </dependency>
- </dependencies>
-</project>
\ No newline at end of file
Copied: projects/integration/tags/6.0.0.Alpha1/jboss-corba-ots-spi/pom.xml (from rev 82802, projects/integration/trunk/jboss-corba-ots-spi/pom.xml)
===================================================================
--- projects/integration/tags/6.0.0.Alpha1/jboss-corba-ots-spi/pom.xml (rev 0)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-corba-ots-spi/pom.xml 2009-01-13 12:33:39 UTC (rev 82803)
@@ -0,0 +1,24 @@
+<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.integration</groupId>
+ <artifactId>jboss-integration-parent</artifactId>
+ <version>6.0.0.Alpha1</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jboss-corba-ots-spi</artifactId>
+ <version>6.0.0.Alpha1</version>
+ <packaging>jar</packaging>
+ <name>JBoss CORBA OTS 6.0.0 SPI</name>
+ <url>http://www.jboss.org</url>
+ <description>SPI to be implemented by CORBA OTS providers for JBoss 6.0.0</description>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-transaction-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>jacorb</groupId>
+ <artifactId>jacorb</artifactId>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Deleted: projects/integration/tags/6.0.0.Alpha1/jboss-deployment-spi/pom.xml
===================================================================
--- projects/integration/trunk/jboss-deployment-spi/pom.xml 2009-01-13 08:24:02 UTC (rev 82794)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-deployment-spi/pom.xml 2009-01-13 12:33:39 UTC (rev 82803)
@@ -1,14 +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.integration</groupId>
- <artifactId>jboss-integration-parent</artifactId>
- <version>5.0.4-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>jboss-deployment-spi</artifactId>
- <version>5.0.4-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>JBoss Deployment 5.0.0 SPI</name>
- <url>http://www.jboss.org</url>
- <description>The JBossAS Deployment 5.0.0 SPI classes</description>
-</project>
Copied: projects/integration/tags/6.0.0.Alpha1/jboss-deployment-spi/pom.xml (from rev 82802, projects/integration/trunk/jboss-deployment-spi/pom.xml)
===================================================================
--- projects/integration/tags/6.0.0.Alpha1/jboss-deployment-spi/pom.xml (rev 0)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-deployment-spi/pom.xml 2009-01-13 12:33:39 UTC (rev 82803)
@@ -0,0 +1,14 @@
+<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.integration</groupId>
+ <artifactId>jboss-integration-parent</artifactId>
+ <version>6.0.0.Alpha1</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jboss-deployment-spi</artifactId>
+ <version>6.0.0.Alpha1</version>
+ <packaging>jar</packaging>
+ <name>JBoss Deployment 6.0.0 SPI</name>
+ <url>http://www.jboss.org</url>
+ <description>The JBossAS Deployment 6.0.0 SPI classes</description>
+</project>
Deleted: projects/integration/tags/6.0.0.Alpha1/jboss-jca-spi/pom.xml
===================================================================
--- projects/integration/trunk/jboss-jca-spi/pom.xml 2009-01-13 08:24:02 UTC (rev 82794)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-jca-spi/pom.xml 2009-01-13 12:33:39 UTC (rev 82803)
@@ -1,31 +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.integration</groupId>
- <artifactId>jboss-integration-parent</artifactId>
- <version>5.0.4-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>jboss-jca-spi</artifactId>
- <version>5.0.4-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>JBoss JCA 5.0.0 SPI</name>
- <url>http://www.jboss.org</url>
- <description>The JBoss JCA 5.0.0 SPI classes</description>
- <dependencies>
- <dependency>
- <groupId>org.jboss.aop</groupId>
- <artifactId>jboss-aop</artifactId>
- <classifier>client</classifier>
- <exclusions>
- <exclusion>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-common-core</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-jca-api</artifactId>
- </dependency>
- </dependencies>
-</project>
\ No newline at end of file
Copied: projects/integration/tags/6.0.0.Alpha1/jboss-jca-spi/pom.xml (from rev 82802, projects/integration/trunk/jboss-jca-spi/pom.xml)
===================================================================
--- projects/integration/tags/6.0.0.Alpha1/jboss-jca-spi/pom.xml (rev 0)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-jca-spi/pom.xml 2009-01-13 12:33:39 UTC (rev 82803)
@@ -0,0 +1,31 @@
+<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.integration</groupId>
+ <artifactId>jboss-integration-parent</artifactId>
+ <version>6.0.0.Alpha1</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jboss-jca-spi</artifactId>
+ <version>6.0.0.Alpha1</version>
+ <packaging>jar</packaging>
+ <name>JBoss JCA 6.0.0 SPI</name>
+ <url>http://www.jboss.org</url>
+ <description>The JBoss JCA 6.0.0 SPI classes</description>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.aop</groupId>
+ <artifactId>jboss-aop</artifactId>
+ <classifier>client</classifier>
+ <exclusions>
+ <exclusion>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-core</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-jca-api</artifactId>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Copied: projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi (from rev 82796, projects/integration/trunk/jboss-profileservice-spi)
Deleted: projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/pom.xml
===================================================================
--- projects/integration/trunk/jboss-profileservice-spi/pom.xml 2009-01-13 10:05:26 UTC (rev 82796)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/pom.xml 2009-01-13 12:33:39 UTC (rev 82803)
@@ -1,40 +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.integration</groupId>
- <artifactId>jboss-integration-parent</artifactId>
- <version>6.0.0-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>jboss-profileservice-spi</artifactId>
- <version>6.0.0-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>JBoss ProfileService 6.0.0 SPI</name>
- <url>http://www.jboss.org</url>
- <description>The Java ProfileService 6.0.0 SPI classes</description>
- <dependencies>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-common-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.man</groupId>
- <artifactId>jboss-managed</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.man</groupId>
- <artifactId>jboss-metatype</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.deployers</groupId>
- <artifactId>jboss-deployers-vfs-spi</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-vfs</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.deployers</groupId>
- <artifactId>jboss-deployers-core-spi</artifactId>
- </dependency>
- </dependencies>
-</project>
Copied: projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/pom.xml (from rev 82802, projects/integration/trunk/jboss-profileservice-spi/pom.xml)
===================================================================
--- projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/pom.xml (rev 0)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/pom.xml 2009-01-13 12:33:39 UTC (rev 82803)
@@ -0,0 +1,40 @@
+<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.integration</groupId>
+ <artifactId>jboss-integration-parent</artifactId>
+ <version>6.0.0.Alpha1</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jboss-profileservice-spi</artifactId>
+ <version>6.0.0.Alpha1</version>
+ <packaging>jar</packaging>
+ <name>JBoss ProfileService 6.0.0 SPI</name>
+ <url>http://www.jboss.org</url>
+ <description>The Java ProfileService 6.0.0 SPI classes</description>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.man</groupId>
+ <artifactId>jboss-managed</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.man</groupId>
+ <artifactId>jboss-metatype</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.deployers</groupId>
+ <artifactId>jboss-deployers-vfs-spi</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-vfs</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.deployers</groupId>
+ <artifactId>jboss-deployers-core-spi</artifactId>
+ </dependency>
+ </dependencies>
+</project>
Copied: projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/AttachmentStore.java (from rev 82801, projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/AttachmentStore.java)
===================================================================
--- projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/AttachmentStore.java (rev 0)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/AttachmentStore.java 2009-01-13 12:33:39 UTC (rev 82803)
@@ -0,0 +1,65 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.profileservice.spi;
+
+import java.net.URI;
+
+import org.jboss.deployers.vfs.spi.client.VFSDeployment;
+import org.jboss.managed.api.ManagedComponent;
+import org.jboss.virtual.VirtualFile;
+
+/**
+ * The AttachmentStore.
+ *
+ * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
+ * @version $Revision$
+ */
+public interface AttachmentStore
+{
+
+ /**
+ * Get the uri where the attachments are stored.
+ *
+ * @return the attachment store root.
+ */
+ URI getAttachmentStoreRoot();
+
+ /**
+ * Persist the changes of the managed component.
+ *
+ * @param deployment the deployment.
+ * @param comp the managed component.
+ * @throws Exception
+ */
+ void updateDeployment(VFSDeployment deployment, ManagedComponent comp) throws Exception;
+
+ /**
+ * Load the deployment with the persisted attachments.
+ *
+ * @param vfsPath the deployment path.
+ * @return the deployment.
+ * @throws Exception
+ */
+ VFSDeployment loadDeploymentData(VirtualFile vfsPath) throws Exception;
+
+}
+
Deleted: projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/AttachmentsSerializer.java
===================================================================
--- projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/AttachmentsSerializer.java 2009-01-13 10:05:26 UTC (rev 82796)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/AttachmentsSerializer.java 2009-01-13 12:33:39 UTC (rev 82803)
@@ -1,39 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * by the @authors tag. See the copyright.txt 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.profileservice.spi;
-
-
-/**
- * An interface that allows externalization of the attachment
- * serialization details.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision:$
- */
-public interface AttachmentsSerializer
-{
-
- public void saveAttachment(String baseName, Object attachment) throws Exception;
-
- public <T> T loadAttachment(String baseName, Class<T> expected) throws Exception;
-
-}
Deleted: projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/DeploymentRepository.java
===================================================================
--- projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/DeploymentRepository.java 2009-01-13 10:05:26 UTC (rev 82796)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/DeploymentRepository.java 2009-01-13 12:33:39 UTC (rev 82803)
@@ -1,279 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * by the @authors tag. See the copyright.txt 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.profileservice.spi;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.URI;
-import java.net.URISyntaxException;
-import java.util.Collection;
-import java.util.Set;
-
-import org.jboss.deployers.spi.attachments.Attachments;
-import org.jboss.deployers.vfs.spi.client.VFSDeployment;
-import org.jboss.managed.api.ManagedComponent;
-import org.jboss.managed.api.ManagedDeployment.DeploymentPhase;
-import org.jboss.virtual.VirtualFile;
-
-/**
- * An interface for managing the contents of a Profile.
- *
- * @author Scott.Stark at jboss.org
- * @author adrian at jboss.org
- * @version $Revision$
- */
-public interface DeploymentRepository
-{
- /**
- * Get the admin attachments root path
- * @return path to the root directory for attachments
- */
- public String getAttachmentsRoot();
- /**
- * Set the admin attachments root path
- * @param root - path to the root directory for attachments
- */
- public void setAttachmentsRoot(String root);
-
- /**
- * Create the repository
- * @throws Exception
- */
- public void create() throws Exception;
- /**
- * Load the repository contents
- * @throws Exception
- */
- public void load() throws Exception;
- /**
- * Delete the repository
- * @throws Exception
- */
- public void remove() throws Exception;
- /**
- * Get the time any contents were last modified
- * @return
- */
- public long getLastModified();
-
- /**
- * Get the URI of the root of deployments for the given phase.
- * @param phase - the phase of deployment
- * @return URI of the root of deployments for the given phase.
- */
- public URI getDeploymentURI(DeploymentPhase phase);
- /**
- * Get the URI of the root of deployments for the given phase.
- * @param phase - the phase of deployment
- * @param uri - URI of the root of deployments
- */
- public void setDeploymentURI(URI uri, DeploymentPhase phase);
-
- /**
- * Get the names of all deployments in the repository
- * @return
- */
- public Set<String> getDeploymentNames();
- /**
- * Get the names of all deployments in the repository for the
- * given phase.
- * @param phase - the phase of deployment
- * @return names of all deployments
- */
- public Set<String> getDeploymentNames(DeploymentPhase phase);
-
-
- /**
- * Upload raw deployment content to a profile repository. This does not make
- * the deployment avaialble to
- * @param vfsPath - the vfs path relative to the phase root
- * @param contentIS - the input stream for the deployment contents
- * @param phase - the phase of the deployment as it relates to when the
- * deployment is loaded
- * @throws IOException
- * @return the unique name of the deployment in the repository
- */
- public String addDeploymentContent(String vfsPath, InputStream contentIS, DeploymentPhase phase)
- throws IOException;
-
- /**
- * Get repository names.
- *
- * @param names the names
- * @param phase the deployment phase
- * @return full repository names
- * @throws IOException for any error
- */
- public String[] getRepositoryNames(String[] names, DeploymentPhase phase)
- throws IOException;
-
- /**
- * Get the repository virtual file for the given deployment name
- * @param name - the unique virtual file URI name as returned by addDeploymentContent
- * @param phase - the phase of the deployment as it relates to when the deployment is loaded
- * @return the deployment content virtual file
- * @throws IOException for any error
- */
- public VirtualFile getDeploymentContent(String name, DeploymentPhase phase)
- throws IOException, URISyntaxException;
-
- /**
- * lock deployment content and exclude it from modified deployment checks.
- * @param vfsPath - the content vfs path relative to the deployment phase root
- * @param phase - the deployment phase
- * @return the deployment content flags, {@linkplain DeploymentContentFlags}
- */
- public int lockDeploymentContent(String vfsPath, DeploymentPhase phase);
- /**
- * Unlock a previously locked deployment content.
- * @param vfsPath - the content vfs path relative to the deployment phase root
- * @param phase - the deployment phase
- * @return the deployment content flags, {@linkplain DeploymentContentFlags}
- */
- public int unlockDeploymentContent(String vfsPath, DeploymentPhase phase);
-
- /**
- * Get the status flags for the deployment path
- * @param vfsPath - the content vfs path relative to the deployment phase root
- * @param phase - the deployment phase
- * @return the deployment content flags, {@linkplain DeploymentContentFlags}
- */
- public int getDeploymentContentFlags(String vfsPath, DeploymentPhase phase);
- /**
- * Set one or more flags for the deployment.
- * @see #clearDeploymentContentFlags(String, DeploymentPhase, int)
- *
- * @param vfsPath - the content vfs path relative to the deployment phase root
- * @param phase - the deployment phase
- * @param flags - the deployment content flags, {@linkplain DeploymentContentFlags}
- */
- public int setDeploymentContentFlags(String vfsPath, DeploymentPhase phase,
- int flags);
- /**
- * Clear one or more flags for the deployment. This ands the compliment of
- * the flags argument into the existing content flags and returns the result.
- *
- * @param vfsPath - the content vfs path relative to the deployment phase root
- * @param phase - the deployment phase
- * @param flags - the deployment content flags, {@linkplain DeploymentContentFlags}
- */
- public int clearDeploymentContentFlags(String vfsPath, DeploymentPhase phase,
- int flags);
- /**
- * Does a deployment content have the indicated flag.
- *
- * @param vfsPath - the content vfs path relative to the deployment phase root
- * @param phase - the deployment phase
- * @param flags - the deployment content flags, {@linkplain DeploymentContentFlags}
- * @return true if the content flags contains the flag, false otherwise.
- */
- public boolean hasDeploymentContentFlags(String vfsPath, DeploymentPhase phase,
- int flag);
-
- /**
- * Acquire the repository write lock. This generally prevents content
- * uploads and {@link #getModifiedDeployments()} calls while the lock is
- * held.
- */
- public void acquireDeploymentContentLock();
- /**
- * Release the previously aquired repository write lock.
- */
- public void releaseDeploymentContentLock();
-
- /**
- * Add a deployment
- *
- * @param vfsPath the path
- * @param d the deployment
- * @param phase - the phase of the deployment as it relates to when the
- * deployment is loaded
- * @throws Exception for any error
- */
- public void addDeployment(String vfsPath, VFSDeployment d, DeploymentPhase phase)
- throws Exception;
- /**
- * Update a deployments attachments. This persists the deployments
- * pre-determined attachments.
- *
- * @param vfsPath - the vfs path relative to the phase root for the deployment
- * @param phase - the deployment phase
- * @param comp - the ManagedComponent that has been modified
- * @throws Exception
- */
- public void updateDeployment(VFSDeployment d, DeploymentPhase phase,
- ManagedComponent comp)
- throws Exception;
-
- /**
- * Get a named deployment.
- *
- * @param name - the deployment name
- * @param phase - the phase of the deployment as it relates to when the
- * deployment is loaded
- * @return the named bootstrap
- * @throws NoSuchDeploymentException - if there is no such bootstrap
- * @throws IOException
- * @throws Exception for any error
- */
- public VFSDeployment getDeployment(String name, DeploymentPhase phase)
- throws NoSuchDeploymentException, Exception;
-
- /**
- * Remove a deployment
- *
- * @param vfsPath - the vfs path
- * @param phase - the phase of the deployment as it relates to when the
- * deployment is loaded
- * @return the removed deployment
- * @throws Exception for any error
- */
- public VFSDeployment removeDeployment(String vfsPath, DeploymentPhase phase)
- throws Exception;
-
- /**
- * Get all deployments for the given phase defined in this profile
- *
- * @param phase - the phase of the deployment as it relates to when the
- * deployment is loaded
- * @return the bootstrap instances in this profile.
- * @throws Exception for any error
- */
- public Collection<VFSDeployment> getDeployments(DeploymentPhase phase)
- throws Exception;
- /**
- * Get all deployments defined in this profile
- *
- * @return the deployment instances in this profile.
- * @throws Exception for any error
- */
- public Collection<VFSDeployment> getDeployments()
- throws Exception;
-
- public Collection<ModificationInfo> getModifiedDeployments()
- throws Exception;
-
- // Managed object attachments for a deployment
- public void addManagedObject(String vfsPath, Attachments edits)
- throws Exception;
-
-}
Copied: projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/DeploymentRepository.java (from rev 82801, projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/DeploymentRepository.java)
===================================================================
--- projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/DeploymentRepository.java (rev 0)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/DeploymentRepository.java 2009-01-13 12:33:39 UTC (rev 82803)
@@ -0,0 +1,222 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt 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.profileservice.spi;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.util.Collection;
+import java.util.Set;
+
+import org.jboss.deployers.vfs.spi.client.VFSDeployment;
+import org.jboss.managed.api.ManagedComponent;
+import org.jboss.virtual.VirtualFile;
+
+/**
+ * An interface for managing the contents of a Profile.
+ *
+ * @author Scott.Stark at jboss.org
+ * @author adrian at jboss.org
+ * @version $Revision$
+ */
+public interface DeploymentRepository
+{
+ /**
+ * Get the uris of this repository.
+ *
+ * @return URI[] the uris of this repository.
+ */
+ public URI[] getRepositoryURIs();
+
+ /**
+ * Create the repository.
+ *
+ * @throws Exception
+ */
+
+ public void create() throws Exception;
+
+ /**
+ * Load the repository contents.
+ *
+ * @throws Exception
+ */
+ public void load() throws Exception;
+
+ /**
+ * Delete the repository.
+ *
+ * @throws Exception
+ */
+ public void remove() throws Exception;
+
+ /**
+ * Get the time any contents were last modified
+ * @return
+ */
+ public long getLastModified();
+
+ /**
+ * Get the names of all deployments in the repository
+ * @return
+ */
+ public Set<String> getDeploymentNames();
+
+ /**
+ * Upload raw deployment content to a profile repository. This does not make
+ * the deployment avaialble to
+ * @param vfsPath - the vfs path relative to the phase root
+ * @param contentIS - the input stream for the deployment contents
+ * @param phase - the phase of the deployment as it relates to when the
+ * deployment is loaded
+ * @throws IOException
+ * @return the unique name of the deployment in the repository
+ */
+ public String addDeploymentContent(String vfsPath, InputStream contentIS)
+ throws IOException;
+
+ /**
+ * Get the repository virtual file for the given deployment name
+ * @param name - the unique virtual file URI name as returned by addDeploymentContent
+ * @param phase - the phase of the deployment as it relates to when the deployment is loaded
+ * @return the deployment content virtual file
+ * @throws IOException for any error
+ */
+ public VirtualFile getDeploymentContent(String name)
+ throws IOException, URISyntaxException;
+
+ /**
+ * lock deployment content and exclude it from modified deployment checks.
+ * @param vfsPath - the content vfs path relative to the deployment phase root
+ * @param phase - the deployment phase
+ * @return the deployment content flags, {@linkplain DeploymentContentFlags}
+ */
+ public int lockDeploymentContent(String vfsPath);
+ /**
+ * Unlock a previously locked deployment content.
+ * @param vfsPath - the content vfs path relative to the deployment phase root
+ * @param phase - the deployment phase
+ * @return the deployment content flags, {@linkplain DeploymentContentFlags}
+ */
+ public int unlockDeploymentContent(String vfsPath);
+
+ /**
+ * Get the status flags for the deployment path
+ * @param vfsPath - the content vfs path relative to the deployment phase root
+ * @param phase - the deployment phase
+ * @return the deployment content flags, {@linkplain DeploymentContentFlags}
+ */
+ public int getDeploymentContentFlags(String vfsPath);
+ /**
+ * Set one or more flags for the deployment.
+ * @see #clearDeploymentContentFlags(String, DeploymentPhase, int)
+ *
+ * @param vfsPath - the content vfs path relative to the deployment phase root
+ * @param phase - the deployment phase
+ * @param flags - the deployment content flags, {@linkplain DeploymentContentFlags}
+ */
+ public int setDeploymentContentFlags(String vfsPath, int flags);
+ /**
+ * Clear one or more flags for the deployment. This ands the compliment of
+ * the flags argument into the existing content flags and returns the result.
+ *
+ * @param vfsPath - the content vfs path relative to the deployment phase root
+ * @param phase - the deployment phase
+ * @param flags - the deployment content flags, {@linkplain DeploymentContentFlags}
+ */
+ public int clearDeploymentContentFlags(String vfsPath, int flags);
+ /**
+ * Does a deployment content have the indicated flag.
+ *
+ * @param vfsPath - the content vfs path relative to the deployment phase root
+ * @param phase - the deployment phase
+ * @param flags - the deployment content flags, {@linkplain DeploymentContentFlags}
+ * @return true if the content flags contains the flag, false otherwise.
+ */
+ public boolean hasDeploymentContentFlags(String vfsPath, int flag);
+
+ /**
+ * Add a deployment
+ *
+ * @param vfsPath the path
+ * @param d the deployment
+ * @param phase - the phase of the deployment as it relates to when the
+ * deployment is loaded
+ * @throws Exception for any error
+ */
+ public void addDeployment(String vfsPath, VFSDeployment d)
+ throws Exception;
+
+ /**
+ * Update a deployments attachments. This persists the deployments
+ * pre-determined attachments.
+ *
+ * @param vfsPath - the vfs path relative to the phase root for the deployment
+ * @param phase - the deployment phase
+ * @param comp - the ManagedComponent that has been modified
+ * @throws Exception
+ */
+ public void updateDeployment(VFSDeployment d, ManagedComponent comp)
+ throws Exception;
+
+ /**
+ * Get a named deployment.
+ *
+ * @param name - the deployment name
+ * @param phase - the phase of the deployment as it relates to when the
+ * deployment is loaded
+ * @return the named bootstrap
+ * @throws NoSuchDeploymentException - if there is no such bootstrap
+ */
+ public VFSDeployment getDeployment(String name)
+ throws NoSuchDeploymentException;
+
+ /**
+ * Remove a deployment
+ *
+ * @param vfsPath - the vfs path
+ * @param phase - the phase of the deployment as it relates to when the
+ * deployment is loaded
+ * @return the removed deployment
+ * @throws Exception for any error
+ */
+ public VFSDeployment removeDeployment(String vfsPath)
+ throws Exception;
+
+ /**
+ * Get all deployments defined in this profile
+ *
+ * @return the deployment instances in this profile.
+ */
+ public Collection<VFSDeployment> getDeployments();
+
+ /**
+ * Get the modified deployments.
+ *
+ * @return the modified deployments.
+ * @throws Exception
+ */
+ public Collection<ModificationInfo> getModifiedDeployments()
+ throws Exception;
+
+}
Deleted: projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/DeploymentRepositoryFactory.java
===================================================================
--- projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/DeploymentRepositoryFactory.java 2009-01-13 10:05:26 UTC (rev 82796)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/DeploymentRepositoryFactory.java 2009-01-13 12:33:39 UTC (rev 82803)
@@ -1,33 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * by the @authors tag. See the copyright.txt 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.profileservice.spi;
-
-/**
- * A factory for DeploymentRepository
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision:$
- */
-public interface DeploymentRepositoryFactory
-{
- public DeploymentRepository getDeploymentRepository(ProfileKey key);
-}
Copied: projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/DeploymentRepositoryFactory.java (from rev 82801, projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/DeploymentRepositoryFactory.java)
===================================================================
--- projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/DeploymentRepositoryFactory.java (rev 0)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/DeploymentRepositoryFactory.java 2009-01-13 12:33:39 UTC (rev 82803)
@@ -0,0 +1,53 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt 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.profileservice.spi;
+
+import org.jboss.profileservice.spi.metadata.ProfileMetaData;
+
+/**
+ * A factory for DeploymentRepository.
+ *
+ * @author Scott.Stark at jboss.org
+ * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
+ * @version $Revision:$
+ */
+public interface DeploymentRepositoryFactory
+{
+
+ /**
+ * The repository types.
+ *
+ * @return the type.
+ */
+ String[] getTypes();
+
+ /**
+ * Create a DeploymentRepository based on a type.
+ *
+ * @param repositoryType the repository type.
+ * @param metaData the profile meta data.
+ * @return the deploymentRepository.
+ * @throws Exception
+ */
+ DeploymentRepository createDeploymentRepository(ProfileKey key, ProfileMetaData metaData) throws Exception;
+
+}
Deleted: projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/Profile.java
===================================================================
--- projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/Profile.java 2009-01-13 10:05:26 UTC (rev 82796)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/Profile.java 2009-01-13 12:33:39 UTC (rev 82803)
@@ -1,185 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.profileservice.spi;
-
-import java.util.Collection;
-import java.util.Map;
-import java.util.Set;
-
-import org.jboss.deployers.vfs.spi.client.VFSDeployment;
-import org.jboss.managed.api.ManagedComponent;
-import org.jboss.managed.api.ManagedDeployment.DeploymentPhase;
-import org.jboss.virtual.VirtualFile;
-
-/**
- * A profile represents a named collection of deployments on a server
- *
- * @author Scott.Stark at jboss.org
- * @author adrian at jboss.org
- * @version $Revision$
- */
-public interface Profile
-{
- /**
- * Get the key used to create the Profile
- * @return the key used to create the Profile
- */
- ProfileKey getKey();
-
- /**
- * The x.y.z version of the profile
- *
- * @return the version if known, null if its unspecified.
- */
- String getVersion();
-
- /**
- * Get the system time in milliseconds the profile was last modified.
- * @return System.currentTimeMillis of last modification
- */
- long getLastModified();
-
- /**
- * Get the names of the deployments in the profile
- * @return names of deployments
- */
- Set<String> getDeploymentNames();
-
- /**
- * Get the names of the deployments for the given phase defined in this profile
- * @param phase - the phase of the deployment as it relates to when the
- * deployment is loaded
- * @return names of deployments
- */
- Set<String> getDeploymentNames(DeploymentPhase phase);
-
- //public DeploymentInfo getDeploymentInfo(String name);
-
- /**
- * Get the root for deployments of the given phase.
- *
- * @param phase the deployment phase
- * @return the VirtualFile directory that contains deployments of the
- * given phase.
- * @throws Exception for any error
- */
- VirtualFile getRootFile(DeploymentPhase phase) throws Exception;
-
- /**
- * Add a deployment
- *
- * @param d the deployment
- * @param phase - the phase of the deployment as it relates to when the
- * deployment is loaded
- * @throws Exception for any error
- */
- void addDeployment(VFSDeployment d, DeploymentPhase phase) throws Exception;
-
- /**
- * Update a deployment. This can be used to save attachments, other
- * metadata of the deployment.
- *
- * @param d the deployment
- * @param phase - the phase of the deployment as it relates to when the
- * deployment is loaded
- * @param attachments - the attachments that have been modified
- * @throws Exception for any error
- */
- void updateDeployment(VFSDeployment d, DeploymentPhase phase,
- ManagedComponent comp)
- throws Exception;
-
- /**
- * Remove a deployment
- *
- * @param name the deployment name
- * @param phase - the phase of the deployment as it relates to when the
- * deployment is loaded
- * @return the DeploymentContext for the name if found
- * @throws Exception for any error
- */
- VFSDeployment removeDeployment(String name, DeploymentPhase phase) throws Exception;
-
- /**
- * Get a named deployment.
- *
- * @param name - the deployment name
- * @param phase - the phase of the deployment as it relates to when the
- * deployment is loaded. If null, then all phases are queried.
- * @return the named bootstrap
- * @throws Exception for any error
- * @throws NoSuchDeploymentException - if there is no such bootstrap
- */
- VFSDeployment getDeployment(String name, DeploymentPhase phase) throws Exception, NoSuchDeploymentException;
-
- /**
- * @param phase - the phase of the deployment as it relates to when the
- * deployment is loaded
- * @return the bootstrap instances in this profile.
- * @throws Exception for any error
- */
- Collection<VFSDeployment> getDeployments(DeploymentPhase phase) throws Exception;
-
- /**
- * Get all deployments defined in this profile
- *
- * @return the deployment instances in this profile.
- * @throws Exception for any error
- */
- Collection<VFSDeployment> getDeployments() throws Exception;
-
- /**
- * Get the deployments that have been modified since the last
- * check.
- *
- * @return the modified deployments, empty if none exist or
- * the profile does not support hot deployments.
- *
- * @throws Exception - thrown on error scanning for deployments
- */
- Collection<ModificationInfo> getModifiedDeployments() throws Exception;
-
- /**
- * Enable/disable the getModifiedDeployments results. This can be
- * used to disable the getModifiedDeployments results during
- * periods such as bootstrap where changes should be delayed.
- * @see #getModifiedDeployments
- * @param flag - the enable/disable flag
- */
- void enableModifiedDeploymentChecks(boolean flag);
-
- /**
- * Get the config
- *
- * @return the config
- */
- Map<String, Object> getConfig();
-
- /**
- * Checks whether a deployment context is available in the basic profile service.
- *
- * @param name the name of the deployment
- * @param phase optionally a deployment phase, if null search all
- * @return true if the deployment is found or false otherwise
- */
- boolean hasDeployment(String name, DeploymentPhase phase);
-}
Copied: projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/Profile.java (from rev 82801, projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/Profile.java)
===================================================================
--- projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/Profile.java (rev 0)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/Profile.java 2009-01-13 12:33:39 UTC (rev 82803)
@@ -0,0 +1,159 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.profileservice.spi;
+
+import java.util.Collection;
+import java.util.Set;
+
+import org.jboss.dependency.spi.DependencyItem;
+import org.jboss.deployers.vfs.spi.client.VFSDeployment;
+import org.jboss.managed.api.ManagedComponent;
+
+/**
+ * A profile represents a named collection of deployments on a server
+ *
+ * @author Scott.Stark at jboss.org
+ * @author adrian at jboss.org
+ * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
+ * @version $Revision$
+ */
+public interface Profile
+{
+ /**
+ * Get the key used to create the Profile
+ * @return key used to create the Profile
+ */
+ ProfileKey getKey();
+
+ /**
+ * Get the system time in milliseconds the profile was last modified.
+ * @return System.currentTimeMillis of last modification
+ */
+ long getLastModified();
+
+ /**
+ * Internally create the profile.
+ *
+ * @throws Exception
+ */
+ void create() throws Exception;
+
+ /**
+ * Internally destroy the profile.
+ */
+ void destroy();
+
+ /**
+ * Get the names of the deployments in the profile
+ * @return names of deployments
+ */
+ Set<String> getDeploymentNames();
+
+ /**
+ * Add a deployment
+ *
+ * @param d the deployment
+ * @param phase - the phase of the deployment as it relates to when the
+ * deployment is loaded
+ * @throws Exception for any error
+ */
+ void addDeployment(VFSDeployment d) throws Exception;
+
+ /**
+ * Update a deployment. This can be used to save attachments, other
+ * metadata of the deployment.
+ *
+ * @param d the deployment
+ * @param phase - the phase of the deployment as it relates to when the
+ * deployment is loaded
+ * @param attachments - the attachments that have been modified
+ * @throws Exception for any error
+ */
+ void updateDeployment(VFSDeployment d, ManagedComponent comp) throws Exception;
+
+ /**
+ * Remove a deployment
+ *
+ * @param name the deployment name
+ * @param phase - the phase of the deployment as it relates to when the
+ * deployment is loaded
+ * @return the DeploymentContext for the name if found
+ * @throws Exception for any error
+ */
+ VFSDeployment removeDeployment(String name) throws Exception;
+
+ /**
+ * Get a named deployment.
+ *
+ * @param name - the deployment name
+ * @param phase - the phase of the deployment as it relates to when the
+ * deployment is loaded. If null, then all phases are queried.
+ * @return the named bootstrap
+ * @throws Exception for any error
+ * @throws NoSuchDeploymentException - if there is no such bootstrap
+ */
+ VFSDeployment getDeployment(String name) throws Exception, NoSuchDeploymentException;
+
+ /**
+ * Get all deployments defined in this profile
+ *
+ * @return the deployment instances in this profile.
+ * @throws Exception for any error
+ */
+ Collection<VFSDeployment> getDeployments() throws Exception;
+
+ /**
+ * Get the deployments that have been modified since the last
+ * check.
+ *
+ * @return the modified deployments, empty if none exist or
+ * the profile does not support hot deployments.
+ *
+ * @throws Exception - thrown on error scanning for deployments
+ */
+ Collection<ModificationInfo> getModifiedDeployments() throws Exception;
+
+ /**
+ * Enable/disable the getModifiedDeployments results. This can be
+ * used to disable the getModifiedDeployments results during
+ * periods such as bootstrap where changes should be delayed.
+ * @see #getModifiedDeployments
+ * @param flag - the enable/disable flag
+ */
+ void enableModifiedDeploymentChecks(boolean flag);
+
+ /**
+ * Checks whether a deployment context is available in the basic profile service.
+ *
+ * @param name the name of the deployment
+ * @param phase optionally a deployment phase, if null search all
+ * @return true if the deployment is found or false otherwise
+ */
+ boolean hasDeployment(String name);
+
+ /**
+ * Get the dependencies to other profiles.
+ *
+ * @return the dependencies.
+ */
+ Collection<DependencyItem> getDependencies();
+}
Deleted: projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileConfiguration.java
===================================================================
--- projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileConfiguration.java 2009-01-13 10:05:26 UTC (rev 82796)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileConfiguration.java 2009-01-13 12:33:39 UTC (rev 82803)
@@ -1,32 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.profileservice.spi;
-
-/**
- * The configuration of the deployments that make up a profile
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public interface ProfileConfiguration
-{
- public Profile getProfile();
-}
Deleted: projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileKey.java
===================================================================
--- projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileKey.java 2009-01-13 10:05:26 UTC (rev 82796)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileKey.java 2009-01-13 12:33:39 UTC (rev 82803)
@@ -1,159 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.profileservice.spi;
-
-import java.io.Serializable;
-
-/**
- * The key for a Profile. It consists of the domain, server and name.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision:$
- */
-public class ProfileKey
- implements Comparable, Serializable
-{
- private static final long serialVersionUID = 1;
- /** The DEFAULT value for domain, server, name */
- public static final String DEFAULT = "default";
-
- /** The profile domain/cluster */
- private String domain;
- /** The server/node */
- private String server;
- /** The profile name */
- private String name;
-
- /**
- * Calls this this(DEFAULT, DEFAULT, name)
- * @param name - the profile name
- */
- public ProfileKey(String name)
- {
- this(DEFAULT, DEFAULT, name);
- }
-
- /**
- * Build a profile key from the domain, server and name. If any parameter
- * is null it defaulted to "default".
- *
- * @param domain - the admin domain
- * @param server - the server instance name
- * @param name - the profile name
- */
- public ProfileKey(String domain, String server, String name)
- {
- if( domain == null )
- domain = DEFAULT;
- this.domain = domain;
- if( server == null )
- server = DEFAULT;
- this.server = server;
- if( name == null )
- name = DEFAULT;
- this.name = name;
- }
-
- public String getName()
- {
- return name;
- }
- public void setName(String name)
- {
- this.name = name;
- }
-
- public String getDomain()
- {
- return domain;
- }
- public void setDomain(String domain)
- {
- this.domain = domain;
- }
-
- public String getServer()
- {
- return server;
- }
- public void setServer(String server)
- {
- this.server = server;
- }
-
- /**
- * Is this a default key. A default key is one where all
- * fields are {@link #DEFAULT}
- * @return true if default, false otherwise.
- */
- public boolean isDefaultKey()
- {
- return DEFAULT.equalsIgnoreCase(domain)
- && DEFAULT.equalsIgnoreCase(server)
- && DEFAULT.equalsIgnoreCase(name);
- }
-
- /**
- * Compare based on domain, then server and finally name.
- *
- * @param o - the ProfileKey instance to compare to
- * @return < 0, 0, > 0 based on whether this is less than, equal to
- * or greater than o.
- */
- public int compareTo(Object o)
- {
- ProfileKey pk = (ProfileKey) o;
- int compareTo = domain.compareTo(pk.domain);
- if( compareTo == 0 )
- {
- compareTo = server.compareTo(pk.server);
- if( compareTo == 0 )
- {
- compareTo = name.compareTo(pk.name);
- }
- }
- return compareTo;
- }
- public boolean equals(Object o)
- {
- return compareTo(o) == 0;
- }
- public int hashCode()
- {
- int hash = domain.hashCode() + server.hashCode() + name.hashCode();
- return hash;
- }
-
- public String toString()
- {
- StringBuilder tmp = new StringBuilder(super.toString());
- tmp.append('[');
- tmp.append("domain=");
- tmp.append(domain);
- tmp.append(",server=");
- tmp.append(server);
- tmp.append(",name=");
- tmp.append(name);
- tmp.append(']');
- return tmp.toString();
- }
-}
Copied: projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileKey.java (from rev 82801, projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileKey.java)
===================================================================
--- projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileKey.java (rev 0)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileKey.java 2009-01-13 12:33:39 UTC (rev 82803)
@@ -0,0 +1,164 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.profileservice.spi;
+
+import java.io.Serializable;
+
+/**
+ * The key for a Profile. It consists of the domain, server and name.
+ *
+ * @author Scott.Stark at jboss.org
+ * @version $Revision:$
+ */
+public class ProfileKey
+ implements Comparable, Serializable
+{
+ private static final long serialVersionUID = 1;
+ /** The DEFAULT value for domain, server, name */
+ public static final String DEFAULT = "default";
+
+ /** The profile domain/cluster */
+ private String domain;
+ /** The server/node */
+ private String server;
+ /** The profile name */
+ private String name;
+
+ /**
+ * Calls this this(DEFAULT, DEFAULT, name)
+ * @param name - the profile name
+ */
+ public ProfileKey(String name)
+ {
+ this(DEFAULT, DEFAULT, name);
+ }
+
+ /**
+ * Build a profile key from the domain, server and name. If any parameter
+ * is null it defaulted to "default".
+ *
+ * @param domain - the admin domain
+ * @param server - the server instance name
+ * @param name - the profile name
+ */
+ public ProfileKey(String domain, String server, String name)
+ {
+ if( domain == null )
+ domain = DEFAULT;
+ this.domain = domain;
+ if( server == null )
+ server = DEFAULT;
+ this.server = server;
+ if( name == null )
+ name = DEFAULT;
+ this.name = name;
+ }
+
+ public String getName()
+ {
+ return name;
+ }
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+
+ public String getDomain()
+ {
+ return domain;
+ }
+ public void setDomain(String domain)
+ {
+ this.domain = domain;
+ }
+
+ public String getServer()
+ {
+ return server;
+ }
+ public void setServer(String server)
+ {
+ this.server = server;
+ }
+
+ /**
+ * Is this a default key. A default key is one where all
+ * fields are {@link #DEFAULT}
+ * @return true if default, false otherwise.
+ */
+ public boolean isDefaultKey()
+ {
+ return DEFAULT.equalsIgnoreCase(domain)
+ && DEFAULT.equalsIgnoreCase(server)
+ && DEFAULT.equalsIgnoreCase(name);
+ }
+
+ /**
+ * Compare based on domain, then server and finally name.
+ *
+ * @param o - the ProfileKey instance to compare to
+ * @return < 0, 0, > 0 based on whether this is less than, equal to
+ * or greater than o.
+ */
+ public int compareTo(Object o)
+ {
+ ProfileKey pk = (ProfileKey) o;
+ int compareTo = domain.compareTo(pk.domain);
+ if( compareTo == 0 )
+ {
+ compareTo = server.compareTo(pk.server);
+ if( compareTo == 0 )
+ {
+ compareTo = name.compareTo(pk.name);
+ }
+ }
+ return compareTo;
+ }
+ public boolean equals(Object o)
+ {
+ if(o instanceof ProfileKey == false)
+ return false;
+
+ return compareTo(o) == 0;
+ }
+ public int hashCode()
+ {
+ int hash = domain.hashCode() + server.hashCode() + name.hashCode();
+ return hash;
+ }
+
+ public String toString()
+ {
+ StringBuilder tmp = new StringBuilder();
+ tmp.append(getClass().getSimpleName());
+ tmp.append('@').append(Integer.toHexString(System.identityHashCode(this)));
+ tmp.append('[');
+ tmp.append("domain=");
+ tmp.append(domain);
+ tmp.append(",server=");
+ tmp.append(server);
+ tmp.append(",name=");
+ tmp.append(name);
+ tmp.append(']');
+ return tmp.toString();
+ }
+}
Deleted: projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileRepository.java
===================================================================
--- projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileRepository.java 2009-01-13 10:05:26 UTC (rev 82796)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileRepository.java 2009-01-13 12:33:39 UTC (rev 82803)
@@ -1,73 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * by the @authors tag. See the copyright.txt 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.profileservice.spi;
-
-import java.io.IOException;
-import java.util.Collection;
-
-/**
- * An interface for obtaining DeploymentRepository for a Profile.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision:$
- */
-public interface ProfileRepository
-{
- /**
- * Get the keys for all known profiles
- * @return keys for all known profiles
- */
- public Collection<ProfileKey> getProfileKeys();
-
- /**
- * Create a new DeploymentRepository for a profile.
- *
- * @param key - the key for the Profile to create the DeploymentRepository for.
- * @return the profile DeploymentRepository
- * @throws IOException thrown if the repository cannot be created or
- * already exists
- * @throws Exception for any error
- */
- public DeploymentRepository createProfileDeploymentRepository(ProfileKey key)
- throws Exception;
-
- /**
- * Get the DeploymentRepository for the given profile key.
- *
- * @param key - the key for the Profile to obtain the DeploymentRepository for.
- * @return the profile DeploymentRepository
- * @throws NoSuchProfileException thrown if there is no such profile.
- * @throws Exception for any error
- */
- public DeploymentRepository getProfileDeploymentRepository(ProfileKey key)
- throws Exception, NoSuchProfileException;
-
- /**
- * Remove the DeploymentRepository for the given profile key.
- * @param key - the key for the Profile to obtain the DeploymentRepository for.
- * @throws IOException thrown on error removing the repository
- * @throws NoSuchProfileException thrown if there is no such profile.
- * @throws Exception for any error
- */
- public void removeProfileDeploymentRepository(ProfileKey key)
- throws Exception, NoSuchProfileException;
-}
Copied: projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileRepository.java (from rev 82801, projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileRepository.java)
===================================================================
--- projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileRepository.java (rev 0)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileRepository.java 2009-01-13 12:33:39 UTC (rev 82803)
@@ -0,0 +1,78 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt 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.profileservice.spi;
+
+import java.io.IOException;
+import java.util.Collection;
+
+import org.jboss.profileservice.spi.metadata.ProfileMetaData;
+
+/**
+ * An interface for obtaining DeploymentRepository for a Profile.
+ *
+ * @author Scott.Stark at jboss.org
+ * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
+ * @version $Revision:$
+ */
+public interface ProfileRepository
+{
+ /**
+ * Get the keys for all known profiles.
+ *
+ * @return keys for all known profiles.
+ */
+ public Collection<ProfileKey> getProfileKeys();
+
+ /**
+ * Create a new DeploymentRepository for a profile.
+ *
+ * @Param key - the profile key.
+ * @param metaData - the profile meta data.
+ * @return the profile DeploymentRepository
+ * @throws IOException thrown if the repository cannot be created
+ * @throws Exception for any error
+ */
+ public DeploymentRepository createProfileDeploymentRepository(ProfileKey key, ProfileMetaData metaData)
+ throws Exception;
+
+ /**
+ * Get the DeploymentRepository for the given profile key.
+ *
+ * @param key - the key for the Profile to obtain the DeploymentRepository for.
+ * @return the profile DeploymentRepository
+ * @throws NoSuchProfileException thrown if there is no such profile.
+ * @throws Exception for any error
+ */
+ public DeploymentRepository getProfileDeploymentRepository(ProfileKey key)
+ throws Exception, NoSuchProfileException;
+
+ /**
+ * Remove the DeploymentRepository for the given profile key.
+ *
+ * @param key - the key for the Profile to obtain the DeploymentRepository for.
+ * @throws IOException thrown on error removing the repository
+ * @throws NoSuchProfileException thrown if there is no such profile.
+ * @throws Exception for any error
+ */
+ public void removeProfileDeploymentRepository(ProfileKey key)
+ throws Exception, NoSuchProfileException;
+}
Deleted: projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileService.java
===================================================================
--- projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileService.java 2009-01-13 10:05:26 UTC (rev 82796)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileService.java 2009-01-13 12:33:39 UTC (rev 82803)
@@ -1,99 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.profileservice.spi;
-
-import java.util.Collection;
-
-import org.jboss.deployers.spi.management.ManagementView;
-import org.jboss.deployers.spi.management.deploy.DeploymentManager;
-
-/**
- * The entry point service for accessing/administiring server profiles
- *
- * @todo this should be broken up into different feature plugin services
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public interface ProfileService
-{
- // Querying profiles
-
- /**
- * Get the unique domains for which profiles exist
- * @return array of profile domains
- */
- public String[] getDomains();
-
- /**
- * Get the keys for all known profiles
- * @return keys for all known profiles
- */
- public Collection<ProfileKey> getProfileKeys();
-
- /**
- * Obtain the profile for the key.
- *
- * @param key - the key for the profile
- * @return the matching profile.
- * @throws NoSuchProfileException
- */
- public Profile getProfile(ProfileKey key)
- throws NoSuchProfileException;
-
- /**
- * Get the active profile.
- * @return the active profile
- * @throws NoSuchProfileException thrown if there is no
- * active profile
- */
- public Profile getActiveProfile()
- throws NoSuchProfileException;
-
- /**
- * Get a list of the deployment names associated with a profile.
- * @param key - the key for the profile
- * @return the list of deployment names.
- * @throws NoSuchProfileException
- */
- public String[] getProfileDeploymentNames(ProfileKey key)
- throws NoSuchProfileException;
-
- /**
- * Obtain the ManagementView plugin
- * @return the ManagementView plugin if supported
- */
- public ManagementView getViewManager();
-
- /**
- * Obtain the DeploymentManager plugin
- * @return the DeploymentManager plugin if supported
- */
- public DeploymentManager getDeploymentManager();
-
- // Admin of profiles @todo could be an option plugin
- public Profile newProfile(ProfileKey key)
- throws Exception;
- public void removeProfile(ProfileKey key)
- throws Exception;
-
-}
Copied: projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileService.java (from rev 82801, projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileService.java)
===================================================================
--- projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileService.java (rev 0)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/ProfileService.java 2009-01-13 12:33:39 UTC (rev 82803)
@@ -0,0 +1,129 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.profileservice.spi;
+
+import java.util.Collection;
+
+import org.jboss.deployers.spi.management.ManagementView;
+import org.jboss.deployers.spi.management.deploy.DeploymentManager;
+
+/**
+ * The entry point service for accessing/administering server profiles
+ *
+ * @todo this should be broken up into different feature plugin services
+ *
+ * @author Scott.Stark at jboss.org
+ * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
+ * @version $Revision$
+ */
+public interface ProfileService
+{
+
+ /**
+ * Get the unique domains for which profiles exist.
+ *
+ * @return array of profile domains
+ */
+ public String[] getDomains();
+
+ /**
+ * Get the keys for all registered profiles.
+ *
+ * @return keys for all registered profiles.
+ */
+ public Collection<ProfileKey> getProfileKeys();
+
+ /**
+ * Obtain the registered profile for the key.
+ *
+ * @param key - the key for the profile
+ * @return the matching profile.
+ * @throws NoSuchProfileException
+ */
+ public Profile getProfile(ProfileKey key)
+ throws NoSuchProfileException;
+
+ /**
+ * Get the keys for all active profiles.
+ *
+ * @return keys for all active profiles.
+ */
+ public Collection<ProfileKey> getActiveProfileKeys();
+
+ /**
+ * Obtain a activated profile for the key.
+ *
+ * @param key - the key for the profile
+ * @return the active profile
+ * @throws NoSuchProfileException thrown if there is no
+ * active profile
+ */
+ public Profile getActiveProfile(ProfileKey key)
+ throws NoSuchProfileException;
+
+ /**
+ * Obtain the ManagementView plugin
+ * @return the ManagementView plugin if supported
+ */
+ public ManagementView getViewManager();
+
+ /**
+ * Obtain the DeploymentManager plugin
+ * @return the DeploymentManager plugin if supported
+ */
+ public DeploymentManager getDeploymentManager();
+
+ /**
+ * Register a Profile.
+ *
+ * @param profile the profile.
+ * @throws Exception
+ */
+ public void registerProfile(Profile profile) throws Exception;
+
+ /**
+ * Activate a registered profile.
+ *
+ * @param key the profile key.
+ * @throws NoSuchProfileException if the profile is not registered.
+ * @throws Exception
+ */
+ public void activateProfile(ProfileKey key) throws NoSuchProfileException, Exception;
+
+ /**
+ * Release the profile.
+ *
+ * @param key the profile key.
+ * @throws NoSuchProfileException if the profile is not active.
+ */
+ public void releaseProfile(ProfileKey key) throws NoSuchProfileException;
+
+
+ /**
+ * Unregister a profile.
+ *
+ * @param profile
+ * @throws NoSuchProfileException if the profile is not registered.
+ */
+ public void unregisterProfile(Profile profile) throws NoSuchProfileException;
+
+}
Copied: projects/integration/tags/6.0.0.Alpha1/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/metadata (from rev 82801, projects/integration/trunk/jboss-profileservice-spi/src/main/java/org/jboss/profileservice/spi/metadata)
Deleted: projects/integration/tags/6.0.0.Alpha1/jboss-transaction-spi/pom.xml
===================================================================
--- projects/integration/trunk/jboss-transaction-spi/pom.xml 2009-01-13 08:24:02 UTC (rev 82794)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-transaction-spi/pom.xml 2009-01-13 12:33:39 UTC (rev 82803)
@@ -1,28 +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.integration</groupId>
- <artifactId>jboss-integration-parent</artifactId>
- <version>5.0.4-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>jboss-transaction-spi</artifactId>
- <version>5.0.4-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>JBoss Transaction 5.0.0 SPI</name>
- <url>http://www.jboss.org</url>
- <description>The Java Transaction 5.0.0 SPI classes</description>
- <dependencies>
- <dependency>
- <groupId>org.jboss.logging</groupId>
- <artifactId>jboss-logging-spi</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-jca-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-transaction-api</artifactId>
- </dependency>
- </dependencies>
-</project>
\ No newline at end of file
Copied: projects/integration/tags/6.0.0.Alpha1/jboss-transaction-spi/pom.xml (from rev 82802, projects/integration/trunk/jboss-transaction-spi/pom.xml)
===================================================================
--- projects/integration/tags/6.0.0.Alpha1/jboss-transaction-spi/pom.xml (rev 0)
+++ projects/integration/tags/6.0.0.Alpha1/jboss-transaction-spi/pom.xml 2009-01-13 12:33:39 UTC (rev 82803)
@@ -0,0 +1,28 @@
+<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.integration</groupId>
+ <artifactId>jboss-integration-parent</artifactId>
+ <version>6.0.0.Alpha1</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>jboss-transaction-spi</artifactId>
+ <version>6.0.0.Alpha1</version>
+ <packaging>jar</packaging>
+ <name>JBoss Transaction 6.0.0 SPI</name>
+ <url>http://www.jboss.org</url>
+ <description>The Java Transaction 6.0.0 SPI classes</description>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.logging</groupId>
+ <artifactId>jboss-logging-spi</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-jca-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-transaction-api</artifactId>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Deleted: projects/integration/tags/6.0.0.Alpha1/pom.xml
===================================================================
--- projects/integration/trunk/pom.xml 2009-01-13 08:24:02 UTC (rev 82794)
+++ projects/integration/tags/6.0.0.Alpha1/pom.xml 2009-01-13 12:33:39 UTC (rev 82803)
@@ -1,136 +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</groupId>
- <artifactId>jboss-parent</artifactId>
- <version>4</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.integration</groupId>
- <artifactId>jboss-integration-parent</artifactId>
- <version>5.0.4-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>JBoss Integration 5.0 Parent</name>
- <url>http://www.jboss.com</url>
- <description>
- The JBoss Integration SPI classes
- </description>
- <scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/integration/trunk</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/integration/trunk</developerConnection>
- <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/integration/trunk</url>
- </scm>
-
- <!-- Properties -->
- <properties>
- <version.org.jboss.man>2.0.0.CR5</version.org.jboss.man>
- <version.org.jboss.deployers>2.0.0.CR5</version.org.jboss.deployers>
- <version.org.jboss.vfs>2.0.0.CR5</version.org.jboss.vfs>
- </properties>
-
- <modules>
- <module>jboss-classloading-spi</module>
- <module>jboss-deployment-spi</module>
- <module>jboss-transaction-spi</module>
- <module>jboss-corba-ots-spi</module>
- <module>jboss-jca-spi</module>
- <module>jboss-profileservice-spi</module>
- <module>build</module>
- </modules>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-release-plugin</artifactId>
- <version>2.0-beta-7</version>
- <configuration>
- <autoVersionSubmodules>true</autoVersionSubmodules>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-project-info-reports-plugin</artifactId>
- <version>2.1</version>
- <reportSets>
- <reportSet>
- <reports>
- <report>dependencies</report>
- <report>issue-tracking</report>
- <report>license</report>
- <report>scm</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- </plugins>
- </reporting>
-
- <!-- The parent pom manages the inter-dependencies of the modules. -->
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.jboss.logging</groupId>
- <artifactId>jboss-logging-spi</artifactId>
- <version>2.0.5.GA</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.aop</groupId>
- <artifactId>jboss-aop</artifactId>
- <version>2.0.0.GA</version>
- <classifier>client</classifier>
- </dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-common-core</artifactId>
- <version>2.2.8.GA</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-jca-api</artifactId>
- <version>1.5.0.GA</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-transaction-api</artifactId>
- <version>1.0.1.GA</version>
- </dependency>
- <dependency>
- <groupId>jacorb</groupId>
- <artifactId>jacorb</artifactId>
- <version>2.3.0jboss.patch5-brew</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.deployers</groupId>
- <artifactId>jboss-deployers-vfs-spi</artifactId>
- <version>${version.org.jboss.deployers}</version>
- </dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-vfs</artifactId>
- <version>${version.org.jboss.vfs}</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.deployers</groupId>
- <artifactId>jboss-deployers-core-spi</artifactId>
- <version>${version.org.jboss.deployers}</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.man</groupId>
- <artifactId>jboss-managed</artifactId>
- <version>${version.org.jboss.man}</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.man</groupId>
- <artifactId>jboss-metatype</artifactId>
- <version>${version.org.jboss.man}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
-</project>
Copied: projects/integration/tags/6.0.0.Alpha1/pom.xml (from rev 82802, projects/integration/trunk/pom.xml)
===================================================================
--- projects/integration/tags/6.0.0.Alpha1/pom.xml (rev 0)
+++ projects/integration/tags/6.0.0.Alpha1/pom.xml 2009-01-13 12:33:39 UTC (rev 82803)
@@ -0,0 +1,136 @@
+<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</groupId>
+ <artifactId>jboss-parent</artifactId>
+ <version>4</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.integration</groupId>
+ <artifactId>jboss-integration-parent</artifactId>
+ <version>6.0.0.Alpha1</version>
+ <packaging>pom</packaging>
+ <name>JBoss Integration 6.0 Parent</name>
+ <url>http://www.jboss.com</url>
+ <description>
+ The JBoss Integration SPI classes
+ </description>
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/integration/tags/6.0.0.Alpha1</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/integration/tags/6.0.0.Alpha1</developerConnection>
+ <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/integration/tags/6.0.0.Alpha1</url>
+ </scm>
+
+ <!-- Properties -->
+ <properties>
+ <version.org.jboss.man>2.0.0.CR5</version.org.jboss.man>
+ <version.org.jboss.deployers>2.0.0.CR5</version.org.jboss.deployers>
+ <version.org.jboss.vfs>2.0.0.CR5</version.org.jboss.vfs>
+ </properties>
+
+ <modules>
+ <module>jboss-classloading-spi</module>
+ <module>jboss-deployment-spi</module>
+ <module>jboss-transaction-spi</module>
+ <module>jboss-corba-ots-spi</module>
+ <module>jboss-jca-spi</module>
+ <module>jboss-profileservice-spi</module>
+ <module>build</module>
+ </modules>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.0-beta-7</version>
+ <configuration>
+ <autoVersionSubmodules>true</autoVersionSubmodules>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>2.1</version>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>dependencies</report>
+ <report>issue-tracking</report>
+ <report>license</report>
+ <report>scm</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ </plugins>
+ </reporting>
+
+ <!-- The parent pom manages the inter-dependencies of the modules. -->
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.logging</groupId>
+ <artifactId>jboss-logging-spi</artifactId>
+ <version>2.0.5.GA</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.aop</groupId>
+ <artifactId>jboss-aop</artifactId>
+ <version>2.0.0.GA</version>
+ <classifier>client</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-core</artifactId>
+ <version>2.2.8.GA</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-jca-api</artifactId>
+ <version>1.5.0.GA</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-transaction-api</artifactId>
+ <version>1.0.1.GA</version>
+ </dependency>
+ <dependency>
+ <groupId>jacorb</groupId>
+ <artifactId>jacorb</artifactId>
+ <version>2.3.0jboss.patch5-brew</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.deployers</groupId>
+ <artifactId>jboss-deployers-vfs-spi</artifactId>
+ <version>${version.org.jboss.deployers}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-vfs</artifactId>
+ <version>${version.org.jboss.vfs}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.deployers</groupId>
+ <artifactId>jboss-deployers-core-spi</artifactId>
+ <version>${version.org.jboss.deployers}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.man</groupId>
+ <artifactId>jboss-managed</artifactId>
+ <version>${version.org.jboss.man}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.man</groupId>
+ <artifactId>jboss-metatype</artifactId>
+ <version>${version.org.jboss.man}</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+</project>
More information about the jboss-cvs-commits
mailing list