[jboss-cvs] JBossAS SVN: r68070 - in projects/javaee/tags: 5.0.0.Beta3Update2 and 13 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sat Dec 8 15:39:38 EST 2007
Author: anil.saldhana at jboss.com
Date: 2007-12-08 15:39:37 -0500 (Sat, 08 Dec 2007)
New Revision: 68070
Added:
projects/javaee/tags/5.0.0.Beta3Update2/
projects/javaee/tags/5.0.0.Beta3Update2/build/pom.xml
projects/javaee/tags/5.0.0.Beta3Update2/jboss-ejb-api/pom.xml
projects/javaee/tags/5.0.0.Beta3Update2/jboss-jacc-api/pom.xml
projects/javaee/tags/5.0.0.Beta3Update2/jboss-jacc-api/src/main/javax/security/jacc/EJBMethodPermission.java
projects/javaee/tags/5.0.0.Beta3Update2/jboss-jad-api/pom.xml
projects/javaee/tags/5.0.0.Beta3Update2/jboss-jaspi-api/pom.xml
projects/javaee/tags/5.0.0.Beta3Update2/jboss-jaxr-api/pom.xml
projects/javaee/tags/5.0.0.Beta3Update2/jboss-jaxs-api/pom.xml
projects/javaee/tags/5.0.0.Beta3Update2/jboss-jca-api/pom.xml
projects/javaee/tags/5.0.0.Beta3Update2/jboss-jms-api/pom.xml
projects/javaee/tags/5.0.0.Beta3Update2/jboss-persistence-api/pom.xml
projects/javaee/tags/5.0.0.Beta3Update2/jboss-servlet-api/pom.xml
projects/javaee/tags/5.0.0.Beta3Update2/jboss-transaction-api/pom.xml
projects/javaee/tags/5.0.0.Beta3Update2/pom.xml
Removed:
projects/javaee/tags/5.0.0.Beta3Update2/build/pom.xml
projects/javaee/tags/5.0.0.Beta3Update2/jboss-ejb-api/pom.xml
projects/javaee/tags/5.0.0.Beta3Update2/jboss-jacc-api/pom.xml
projects/javaee/tags/5.0.0.Beta3Update2/jboss-jacc-api/src/main/javax/security/jacc/EJBMethodPermission.java
projects/javaee/tags/5.0.0.Beta3Update2/jboss-jad-api/pom.xml
projects/javaee/tags/5.0.0.Beta3Update2/jboss-jaspi-api/pom.xml
projects/javaee/tags/5.0.0.Beta3Update2/jboss-jaxr-api/pom.xml
projects/javaee/tags/5.0.0.Beta3Update2/jboss-jaxs-api/pom.xml
projects/javaee/tags/5.0.0.Beta3Update2/jboss-jca-api/pom.xml
projects/javaee/tags/5.0.0.Beta3Update2/jboss-jms-api/pom.xml
projects/javaee/tags/5.0.0.Beta3Update2/jboss-persistence-api/pom.xml
projects/javaee/tags/5.0.0.Beta3Update2/jboss-servlet-api/pom.xml
projects/javaee/tags/5.0.0.Beta3Update2/jboss-transaction-api/pom.xml
projects/javaee/tags/5.0.0.Beta3Update2/pom.xml
Log:
[maven-release-plugin] copy for tag 5.0.0.Beta3Update2
Copied: projects/javaee/tags/5.0.0.Beta3Update2 (from rev 68067, projects/javaee/trunk)
Deleted: projects/javaee/tags/5.0.0.Beta3Update2/build/pom.xml
===================================================================
--- projects/javaee/trunk/build/pom.xml 2007-12-08 19:19:17 UTC (rev 68067)
+++ projects/javaee/tags/5.0.0.Beta3Update2/build/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -1,167 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<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>3</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-javaee-parent</artifactId>
- <version>5.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>JBoss JavaEE 5.0 Parent</name>
- <url>http://www.jboss.com</url>
- <description>
- The JBoss JavaEE API classes
- </description>
- <scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/javaee/trunk</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/javaee/trunk</developerConnection>
- </scm>
-
- <properties>
- <!-- The unique build id for the javaee release -->
- <build.id>-SNAPSHOT</build.id>
- <version.jboss.common.core>2.2.1.GA</version.jboss.common.core>
- <version.jboss-ejb-api>3.0.0${build.id}</version.jboss-ejb-api>
- <version.jboss-jacc-api>1.1.0${build.id}</version.jboss-jacc-api>
- <version.jboss-jad-api>1.2.0${build.id}</version.jboss-jad-api>
- <version.jboss-jaspi-api>1.0.0${build.id}</version.jboss-jaspi-api>
- <version.jboss-jaxr-api>1.0.0${build.id}</version.jboss-jaxr-api>
- <version.jboss-jaxs-api>1.2.0${build.id}</version.jboss-jaxs-api>
- <version.jboss-jca-api>1.5.0${build.id}</version.jboss-jca-api>
- <version.jboss-jms-api>1.1.0${build.id}</version.jboss-jms-api>
- <version.jboss-persistence-api>3.0.0${build.id}</version.jboss-persistence-api>
- <version.jboss-servlet-api>2.5.0${build.id}</version.jboss-servlet-api>
- <version.jboss-transaction-api>1.0.1${build.id}</version.jboss-transaction-api>
- </properties>
-
- <build>
- <sourceDirectory>src/main</sourceDirectory>
- <testSourceDirectory>src/tests</testSourceDirectory>
- <finalName>${artifactId}</finalName>
- <resources>
- <resource>
- <directory>src/etc</directory>
- <includes>
- <include>**/*</include>
- </includes>
- <filtering>true</filtering>
- </resource>
- </resources>
- <testResources>
- <testResource>
- <directory>src/resources</directory>
- <includes>
- <include>**/*</include>
- </includes>
- <filtering>true</filtering>
- </testResource>
- </testResources>
- <plugins>
- <!-- define that we wish to create src jars -->
- <plugin>
- <artifactId>maven-source-plugin</artifactId>
- <version>2.0</version>
- <inherited>true</inherited>
- <executions>
- <execution>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <printSummary>false</printSummary>
- <testFailureIgnore>true</testFailureIgnore>
- <includes>
- <include>**/**TestCase.java</include>
- </includes>
- <skip>true</skip>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jboss-deploy-plugin</artifactId>
- <version>1.4</version>
- <executions>
- <execution>
- <goals>
- <goal>jboss-deploy</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <jbossDeployRoot>${jboss.repository.root}</jbossDeployRoot>
- <groupId>jboss</groupId>
- </configuration>
- <inherited>true</inherited>
- </plugin>
- <plugin>
- <artifactId>maven-release-plugin</artifactId>
- <configuration>
- <tagBase>https://svn.jboss.org/repos/jbossas/projects/javaee/tags</tagBase>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <repositories>
- <repository>
- <id>repository.jboss.org</id>
- <name>JBoss Repository</name>
- <layout>default</layout>
- <url>http://repository.jboss.org/maven2/</url>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>snapshots.jboss.org</id>
- <name>JBoss Snapshots Repository</name>
- <layout>default</layout>
- <url>http://snapshots.jboss.org/maven2/</url>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <releases>
- <enabled>false</enabled>
- </releases>
- </repository>
- </repositories>
-
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-project-info-reports-plugin</artifactId>
- <reportSets>
- <reportSet>
- <reports>
- <report>dependencies</report>
- <report>issue-tracking</report>
- <report>license</report>
- <report>scm</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- </plugins>
- </reporting>
-
- <dependencyManagement>
- <!-- The parent pom manages the inter-dependencies of the modules. -->
- <dependencies>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-common-core</artifactId>
- <version>${version.jboss.common.core}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
-</project>
Copied: projects/javaee/tags/5.0.0.Beta3Update2/build/pom.xml (from rev 68069, projects/javaee/trunk/build/pom.xml)
===================================================================
--- projects/javaee/tags/5.0.0.Beta3Update2/build/pom.xml (rev 0)
+++ projects/javaee/tags/5.0.0.Beta3Update2/build/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -0,0 +1,165 @@
+<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>3</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-javaee-parent</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <packaging>pom</packaging>
+ <name>JBoss JavaEE 5.0 Parent</name>
+ <url>http://www.jboss.com</url>
+ <description>
+ The JBoss JavaEE API classes
+ </description>
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/javaee/tags/5.0.0.Beta3Update2</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/javaee/tags/5.0.0.Beta3Update2</developerConnection>
+ </scm>
+
+ <properties>
+ <!-- The unique build id for the javaee release -->
+ <build.id>-SNAPSHOT</build.id>
+ <version.jboss.common.core>2.2.1.GA</version.jboss.common.core>
+ <version.jboss-ejb-api>3.0.0${build.id}</version.jboss-ejb-api>
+ <version.jboss-jacc-api>1.1.0${build.id}</version.jboss-jacc-api>
+ <version.jboss-jad-api>1.2.0${build.id}</version.jboss-jad-api>
+ <version.jboss-jaspi-api>1.0.0${build.id}</version.jboss-jaspi-api>
+ <version.jboss-jaxr-api>1.0.0${build.id}</version.jboss-jaxr-api>
+ <version.jboss-jaxs-api>1.2.0${build.id}</version.jboss-jaxs-api>
+ <version.jboss-jca-api>1.5.0${build.id}</version.jboss-jca-api>
+ <version.jboss-jms-api>1.1.0${build.id}</version.jboss-jms-api>
+ <version.jboss-persistence-api>3.0.0${build.id}</version.jboss-persistence-api>
+ <version.jboss-servlet-api>2.5.0${build.id}</version.jboss-servlet-api>
+ <version.jboss-transaction-api>1.0.1${build.id}</version.jboss-transaction-api>
+ </properties>
+
+ <build>
+ <sourceDirectory>src/main</sourceDirectory>
+ <testSourceDirectory>src/tests</testSourceDirectory>
+ <finalName>${artifactId}</finalName>
+ <resources>
+ <resource>
+ <directory>src/etc</directory>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
+ <testResources>
+ <testResource>
+ <directory>src/resources</directory>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ <filtering>true</filtering>
+ </testResource>
+ </testResources>
+ <plugins>
+ <!-- define that we wish to create src jars -->
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.0</version>
+ <inherited>true</inherited>
+ <executions>
+ <execution>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <printSummary>false</printSummary>
+ <testFailureIgnore>true</testFailureIgnore>
+ <includes>
+ <include>**/**TestCase.java</include>
+ </includes>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jboss-deploy-plugin</artifactId>
+ <version>1.4</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>jboss-deploy</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <jbossDeployRoot>${jboss.repository.root}</jbossDeployRoot>
+ <groupId>jboss</groupId>
+ </configuration>
+ <inherited>true</inherited>
+ </plugin>
+ <plugin>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+ <tagBase>https://svn.jboss.org/repos/jbossas/projects/javaee/tags</tagBase>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <repositories>
+ <repository>
+ <id>repository.jboss.org</id>
+ <name>JBoss Repository</name>
+ <layout>default</layout>
+ <url>http://repository.jboss.org/maven2/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>snapshots.jboss.org</id>
+ <name>JBoss Snapshots Repository</name>
+ <layout>default</layout>
+ <url>http://snapshots.jboss.org/maven2/</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ </repository>
+ </repositories>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>dependencies</report>
+ <report>issue-tracking</report>
+ <report>license</report>
+ <report>scm</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ </plugins>
+ </reporting>
+
+ <dependencyManagement>
+ <!-- The parent pom manages the inter-dependencies of the modules. -->
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-core</artifactId>
+ <version>${version.jboss.common.core}</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+</project>
\ No newline at end of file
Deleted: projects/javaee/tags/5.0.0.Beta3Update2/jboss-ejb-api/pom.xml
===================================================================
--- projects/javaee/trunk/jboss-ejb-api/pom.xml 2007-12-08 19:19:17 UTC (rev 68067)
+++ projects/javaee/tags/5.0.0.Beta3Update2/jboss-ejb-api/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -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.javaee</groupId>
- <artifactId>jboss-javaee-parent</artifactId>
- <version>5.0.0-SNAPSHOT</version>
- <relativePath>../build/pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-ejb-api</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>JBoss EJB 3.0 API</name>
- <url>http://www.jboss.org</url>
- <description>The Java EJB 3.0 API classes</description>
- <dependencies>
- <dependency>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-transaction-api</artifactId>
- <version>1.0.1-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>jboss.jbossws</groupId>
- <artifactId>jboss-jaxrpc</artifactId>
- <version>1.0.4.GA</version>
- </dependency>
- </dependencies>
-</project>
Copied: projects/javaee/tags/5.0.0.Beta3Update2/jboss-ejb-api/pom.xml (from rev 68069, projects/javaee/trunk/jboss-ejb-api/pom.xml)
===================================================================
--- projects/javaee/tags/5.0.0.Beta3Update2/jboss-ejb-api/pom.xml (rev 0)
+++ projects/javaee/tags/5.0.0.Beta3Update2/jboss-ejb-api/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -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.javaee</groupId>
+ <artifactId>jboss-javaee-parent</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <relativePath>../build/pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-ejb-api</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <packaging>jar</packaging>
+ <name>JBoss EJB 3.0 API</name>
+ <url>http://www.jboss.org</url>
+ <description>The Java EJB 3.0 API classes</description>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-transaction-api</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ </dependency>
+ <dependency>
+ <groupId>jboss.jbossws</groupId>
+ <artifactId>jboss-jaxrpc</artifactId>
+ <version>1.0.4.GA</version>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Deleted: projects/javaee/tags/5.0.0.Beta3Update2/jboss-jacc-api/pom.xml
===================================================================
--- projects/javaee/trunk/jboss-jacc-api/pom.xml 2007-12-08 19:19:17 UTC (rev 68067)
+++ projects/javaee/tags/5.0.0.Beta3Update2/jboss-jacc-api/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -1,27 +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.javaee</groupId>
- <artifactId>jboss-javaee-parent</artifactId>
- <version>5.0.0-SNAPSHOT</version>
- <relativePath>../build/pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-jacc-api</artifactId>
- <version>1.1.0-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>JBoss JACC 1.1 API</name>
- <url>http://www.jboss.org</url>
- <description>The Java Authorization Contract for Containers 1.1 API classes</description>
- <dependencies>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-common-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-servlet-api</artifactId>
- <version>2.5.0-SNAPSHOT</version>
- </dependency>
- </dependencies>
-</project>
Copied: projects/javaee/tags/5.0.0.Beta3Update2/jboss-jacc-api/pom.xml (from rev 68069, projects/javaee/trunk/jboss-jacc-api/pom.xml)
===================================================================
--- projects/javaee/tags/5.0.0.Beta3Update2/jboss-jacc-api/pom.xml (rev 0)
+++ projects/javaee/tags/5.0.0.Beta3Update2/jboss-jacc-api/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -0,0 +1,27 @@
+<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.javaee</groupId>
+ <artifactId>jboss-javaee-parent</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <relativePath>../build/pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-jacc-api</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <packaging>jar</packaging>
+ <name>JBoss JACC 1.1 API</name>
+ <url>http://www.jboss.org</url>
+ <description>The Java Authorization Contract for Containers 1.1 API classes</description>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-servlet-api</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Deleted: projects/javaee/tags/5.0.0.Beta3Update2/jboss-jacc-api/src/main/javax/security/jacc/EJBMethodPermission.java
===================================================================
--- projects/javaee/trunk/jboss-jacc-api/src/main/javax/security/jacc/EJBMethodPermission.java 2007-12-08 19:19:17 UTC (rev 68067)
+++ projects/javaee/tags/5.0.0.Beta3Update2/jboss-jacc-api/src/main/javax/security/jacc/EJBMethodPermission.java 2007-12-08 20:39:37 UTC (rev 68070)
@@ -1,532 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* 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 javax.security.jacc;
-
-import java.io.Serializable;
-import java.io.ObjectStreamField;
-import java.io.ObjectInputStream;
-import java.io.IOException;
-import java.io.ObjectOutputStream;
-import java.lang.reflect.Method;
-import java.security.Permission;
-import java.util.ArrayList;
-import java.util.StringTokenizer;
-
-import org.jboss.util.id.SerialVersion;
-
-/** A security permission for ejb-method permissions. The name of an
- * EJBMethodPermission contains the value of the ejb-name element in the
- * application's deployment descriptor that identifies the target EJB.
- *
- * The actions of an EJBMethodPermission identifies the methods of the EJB to
- * which the permission applies.
- *
- * Implementations of this class MAY implement newPermissionCollection or
- * inherit its implementation from the super class.
- *
- * @link http://java.sun.com/j2ee/1.4/docs/api/
- *
- * @author Scott.Stark at jboss.org
- * @author Ron Monzillo, Gary Ellison (javadoc)
- * @version $Revision$
- */
-public final class EJBMethodPermission
- extends Permission
- implements Serializable
-{
- /** @since 4.0.2 */
- private static final long serialVersionUID;
- static
- {
- if (SerialVersion.version == SerialVersion.LEGACY)
- serialVersionUID = 141000;
- else
- serialVersionUID = 1;
- }
-
- /**
- * @serialField actions String the actions string.
- */
- private static final ObjectStreamField[] serialPersistentFields = {
- new ObjectStreamField("actions", String.class)
- };
-
- private transient String methodName;
- private transient String methodInterface;
- private transient String methodSig;
-
- /** Creates a new EJBMethodPermission with the specified name and actions.
-
- The name contains the value of the ejb-name element corresponding to an EJB
- in the application's deployment descriptor.
-
- The actions contains a methodSpec. The syntax of the actions parameter is
- defined as follows:
-
- methodNameSpec ::= methodName | emptyString
-
- methodInterfaceName ::= String
-
- methodInterfaceSpec ::= methodInterfaceName | emptyString
-
- typeName ::= typeName | typeName []
-
- methodParams ::= typeName | methodParams comma typeName
-
- methodParamsSpec ::= emptyString | methodParams
-
- methodSpec ::= null |
- methodNameSpec |
- methodNameSpec comma methodInterfaceName |
- methodNameSpec comma methodInterfaceSpec comma methodParamsSpec
-
-
- A MethodInterfaceName is a non-empty String and should contain a method-intf
- value as defined for use in EJB deployment descriptors. An implementation
- must be flexible such that it supports additional interface names especially
- if they are standardized by the EJB Specification. The EJB Specification
- currently defines the following method-intf values:
-
- { "Home", "LocalHome", "Remote", "Local", "ServiceEndpoint" }
-
-
- A null or empty string methodSpec indicates that the permission applies to
- all methods of the EJB. A methodSpec with a methodNameSpec of the empty
- string matches all methods of the EJB that match the methodInterface and
- methodParams elements of the methodSpec.
-
- A methodSpec with a methodInterfaceSpec of the empty string matches all
- methods of the EJB that match the methodNameSpec and methodParamsSpec
- elements of the methodSpec.
-
- A methodSpec without a methodParamsSpec matches all methods of the EJB that
- match the methodNameSpec and methodInterface elements of the methodSpec.
-
- The order of the typeNames in methodParams array must match the order of
- occurence of the corresponding parameters in the method signature of the
- target method(s). Each typeName in the methodParams must contain the
- canonical form of the corresponding parameter's typeName as defined by the
- getActions method. A methodSpec with an empty methodParamsSpec matches all
- 0 argument methods of the EJB that match the methodNameSpec and
- methodInterfaceSpec elements of the methodSpec.
-
- * @param name - the ejb-name to which the permission pertains.
- * @param actions - identifies the methods of the EJB to which the permission
- * pertains.
- */
- public EJBMethodPermission(String name, String actions)
- {
- super(name);
- parseMethodSpec(actions);
- }
-
- /** Creates a new EJBMethodPermission with name corresponding to the EJBName
- * and actions composed from methodInterface, and the Method object.
- *
- * A container uses this constructor prior to checking if a caller has
- * permission to call the method of an EJB.
- *
- * @param ejbName - the ejb-name of the target EJB
- * @param methodInterface - A string that may be used to specify the EJB
- * interface to which the permission pertains. A value of null or "",
- * indicates that the permission pertains to all methods that match the other
- * parameters of the permission specification without consideration of the
- * interface they occur on.
- * @param method - an instance of the Java.lang.reflect.Method class
- * corresponding to the method that the container is trying to determine
- * whether the caller has permission to access. This value must not be null.
- */
- public EJBMethodPermission(String ejbName, String methodInterface, Method method)
- {
- this(ejbName, method.getName(), methodInterface,
- convertParameters(method.getParameterTypes()));
- }
-
- /** Creates a new EJBMethodPermission with name corresponding to the EJBName
- * and actions composed from methodName, methodInterface, and methodParams.
- *
- * @param ejbName - the ejb-name of the target EJB
- * @param methodName - A string that may be used to indicate the method of the
- * EJB to which the permission pertains. A value of null or "" indicates that
- * the permission pertains to all methods that match the other parameters of
- * the permission specification without consideration of method name.
- * @param methodInterface - A string that may be used to specify the EJB
- * interface to which the permission pertains. A value of null or "",
- * indicates that the permission pertains to all methods that match the
- * other parameters of the permission specification without consideration of
- * the interface they occur on.
- * @param methodParams - An array of strings that may be used to specify
- * (by typeNames) the parameter signature of the target methods. The order of
- * the typeNames in methodParams array must match the order of occurence of
- * the corresponding parameters in the method signature of the target
- * method(s). Each typeName in the methodParams array must contain the
- * canonical form of the corresponding parameter's typeName as defined by the
- * getActions method. An empty methodParams array is used to represent a
- * method signature with no arguments. A value of null indicates that the
- * permission pertains to all methods that match the other parameters of the
- * permission specification without consideration of method signature.
- */
- public EJBMethodPermission(String ejbName, String methodName,
- String methodInterface, String[] methodParams)
- {
- super(ejbName);
- this.methodInterface = methodInterface;
- this.methodName = methodName;
- if( methodParams == null )
- methodSig = null;
- else
- {
- StringBuffer tmp = new StringBuffer();
- for(int n = 0; n < methodParams.length; n ++)
- {
- tmp.append(methodParams[n]);
- tmp.append(',');
- }
- if( tmp.length() > 0 )
- tmp.setLength(tmp.length()-1);
- methodSig = tmp.toString();
- }
- }
-
- /** Compare two EJBMethodPermissions.
- *
- * @param p the EJBMethodPermission instance to compare against
- * @return true if p equates to this permission, false otherwise
- */
- public boolean equals(Object p)
- {
- boolean equals = false;
- if( p == null || !(p instanceof EJBMethodPermission) )
- return false;
- EJBMethodPermission perm = (EJBMethodPermission) p;
- equals = getName().equals(perm.getName());
- if( equals == true )
- {
- // Check the method names
- if( methodName != null )
- {
- if( perm.methodName == null )
- return false;
- if( methodName.equals(perm.methodName) == false )
- return false;
- }
- else if( perm.methodName != null )
- {
- return false;
- }
-
- // Check the method interfaces
- equals = methodInterface != perm.methodInterface;
- if( equals == false && methodInterface != null )
- equals = methodInterface.equals(perm.methodInterface);
- if( equals == false )
- return false;
-
- // Check the method parameters
- if( methodSig != null )
- {
- equals = perm.methodSig != null &&
- methodSig.equals(perm.methodSig);
- }
- else
- {
- equals = perm.methodSig == null;
- }
- }
- return equals;
- }
-
- /** Calculates the hash code as the hash of the methodName,
- * methodInterface and methodSig for each that is non-null.
- * @return has the method represented.
- */
- public int hashCode()
- {
- int hashCode = 0;
- if( methodName != null )
- hashCode += methodName.hashCode();
- if( methodInterface != null )
- hashCode += methodInterface.hashCode();
- if( methodSig != null )
- hashCode += methodSig.hashCode();
- return hashCode;
- }
-
- /** Returns a String containing a canonical representation of the actions of
- this EJBMethodPermission. The Canonical form of the actions of an
- EJBMethodPermission is described by the following syntax description.
-
- methodNameSpec ::= methodName | emptyString
- methodInterfaceName ::= String
- methodInterfaceSpec ::= methodInterfaceName | emptyString
- typeName ::= typeName | typeName []
- methodParams ::= typeName | methodParams comma typeName
- methodParamsSpec ::= emptyString | methodParams
- methodSpec ::= null |
- methodName |
- methodNameSpec comma methodInterfaceName |
- methodNameSpec comma methodInterfaceSpec comma methodParamsSpec
-
-
- The canonical form of each typeName must begin with the fully qualified Java
- name of the corresponding parameter's type. The canonical form of a typeName
- for an array parameter is the fully qualified Java name of the array's
- component type followed by as many instances of the string "[]" as there are
- dimensions to the array. No additional characters (e.g. blanks) may occur in
- the canonical form.
-
- A MethodInterfaceName is a non-empty String and should contain a method-intf
- value as defined for use in EJB deployment descriptors. An implementation
- must be flexible such p it supports additional interface names especially
- if they are standardized by the EJB Specification. The EJB Specification
- currently defines the following method-intf values:
- { "Home", "LocalHome", "Remote", "Local", "ServiceEndpoint" }
-
- @return the canonicalized actions of this EJBMethodPermission
- */
- public String getActions()
- {
- StringBuffer actions = new StringBuffer();
- if( methodName != null )
- actions.append(methodName);
- if( methodInterface != null )
- {
- actions.append(',');
- actions.append(methodInterface);
- }
- else if( methodSig != null )
- {
- actions.append(',');
- }
-
- if( methodSig != null )
- {
- actions.append(',');
- actions.append(methodSig);
- }
- String methodSpec = null;
- if( actions.length() > 0 )
- methodSpec = actions.toString();
- return methodSpec;
- }
-
- /** Determines if the argument Permission is "implied by" this
- * EJBMethodPermission. For this to be the case the following must apply:
- * The argument must be an instanceof EJBMethodPermission
- * with name equivalent to p of this EJBMethodPermission, and
- * the methods to which the argument permission applies (as defined in its actions)
- * must be a subset of the methods to which this EJBMethodPermission applies
- * (as defined in its actions).
- *
- * The argument permission applies to a subset of the methods to which this
- * permission applies if all of the following conditions are met:
- * - the method name component of the methodNameSpec of this permission is null,
- * the empty string, or equivalent to the method name of the argument permission
- * - the method interface component of the methodNameSpec of this permission
- * is null, the empty string, or equivalent to the method interface of the
- * argument permission
- * - the method parameter list component of the methodNameSpec of this
- * permission is null, the empty string, or equivalent to the method
- * parameter list of the argument permission.
- *
- * The name and actions comparisons described above are case sensitive.
- *
- * @param p the EJBMethodPermission checked to see if it this.
- * @return true if the specified permission is implied by this object, false if not
- */
- public boolean implies(Permission p)
- {
- boolean implies = false;
- if( p == null || !(p instanceof EJBMethodPermission) )
- return false;
- EJBMethodPermission perm = (EJBMethodPermission) p;
- implies = getName().equals(perm.getName());
- if( implies == false )
- return false;
-
- // See if perm is a subset of the method names
- if( methodName != null )
- {
- implies = methodName.equals(perm.methodName);
- }
- else
- implies = true;
-
- // Check the method interface
- if( implies == true && methodInterface != null )
- {
- implies = methodInterface.equals(perm.methodInterface);
- }
- // Check the method signature
- if( implies == true && methodSig != null && !methodSig.equals("") )
- {
- implies = methodSig.equals(perm.methodSig);
- }
-
- return implies;
- }
-
- /** Method string represented by this permission
- * @return [methodInterface :] methodName (params)
- */
- public String toString()
- {
- StringBuffer tmp = new StringBuffer(super.toString());
- tmp.append('[');
- if( methodInterface != null )
- {
- tmp.append(methodInterface);
- tmp.append(':');
- }
- else
- {
- tmp.append("*:");
- }
- if( methodName != null )
- {
- tmp.append(methodName);
- }
- else
- {
- tmp.append("*");
- }
- tmp.append('(');
- if( methodSig != null )
- {
- tmp.append(methodSig);
- }
- tmp.append(")]");
- return tmp.toString();
- }
-
- private static String[] convertParameters(Class[] params)
- {
- ArrayList tmp = new ArrayList();
- for(int p = 0; p < params.length; p++)
- {
- Class c = params[p];
- if( c.isArray() )
- {
- StringBuffer sb = new StringBuffer();
- Class subType = c.getComponentType();
- sb.append(subType.getName());
- // Convert to type[][]...[]
- while( subType != null )
- {
- sb.append("[]");
- subType = subType.getComponentType();
- }
- tmp.add(sb.toString());
- }
- else
- {
- tmp.add(c.getName());
- }
- }
- String[] sig = new String[tmp.size()];
- tmp.toArray(sig);
- return sig;
- }
-
- /** Parse the methodSpec string into methodName, methodInterface and methodSig.
-
- The syntax of the methodSpec parameter is defined as follows:
-
- methodNameSpec ::= methodName | emptyString
-
- methodInterfaceName ::= String
-
- methodInterfaceSpec ::= methodInterfaceName | emptyString
-
- typeName ::= typeName | typeName []
-
- methodParams ::= typeName | methodParams comma typeName
-
- methodParamsSpec ::= emptyString | methodParams
-
- methodSpec ::= null |
- methodNameSpec |
- methodNameSpec comma methodInterfaceName |
- methodNameSpec comma methodInterfaceSpec comma methodParamsSpec
-
- @param methodSpec the string matching the format above
- */
- private void parseMethodSpec(String methodSpec)
- {
- methodName = null;
- methodInterface = null;
- methodSig = null;
-
- if( methodSpec != null )
- {
- StringTokenizer tokenizer = new StringTokenizer(methodSpec, ",", true);
- // Method name
- if( tokenizer.hasMoreTokens() )
- {
- methodName = tokenizer.nextToken();
- if( methodName.equals(",") )
- methodName = null;
- }
- // Method interface
- if( tokenizer.hasMoreTokens() )
- {
- methodInterface = tokenizer.nextToken();
- if( methodName != null && methodInterface.equals(",") )
- methodInterface = tokenizer.nextToken();
- if( methodInterface.equals(",") )
- {
- methodInterface = null;
- methodSig = "";
- }
- }
- // Method args
- if( tokenizer.hasMoreTokens() )
- {
- if( methodInterface != null )
- tokenizer.nextToken();
- StringBuffer tmp = new StringBuffer();
- while( tokenizer.hasMoreTokens() )
- {
- tmp.append(tokenizer.nextToken());
- }
- methodSig = tmp.toString();
- }
- }
- }
-
- // Private -------------------------------------------------------
- private void readObject(ObjectInputStream ois)
- throws ClassNotFoundException, IOException
- {
- ObjectInputStream.GetField fields = ois.readFields();
- String actions = (String) fields.get("actions", null);
- parseMethodSpec(actions);
- }
-
- private void writeObject(ObjectOutputStream oos)
- throws IOException
- {
- ObjectOutputStream.PutField fields = oos.putFields();
- fields.put("actions",this.getActions());
- oos.writeFields();
- }
-}
Copied: projects/javaee/tags/5.0.0.Beta3Update2/jboss-jacc-api/src/main/javax/security/jacc/EJBMethodPermission.java (from rev 68068, projects/javaee/trunk/jboss-jacc-api/src/main/javax/security/jacc/EJBMethodPermission.java)
===================================================================
--- projects/javaee/tags/5.0.0.Beta3Update2/jboss-jacc-api/src/main/javax/security/jacc/EJBMethodPermission.java (rev 0)
+++ projects/javaee/tags/5.0.0.Beta3Update2/jboss-jacc-api/src/main/javax/security/jacc/EJBMethodPermission.java 2007-12-08 20:39:37 UTC (rev 68070)
@@ -0,0 +1,532 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2005, JBoss Inc., and individual contributors as indicated
+* 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 javax.security.jacc;
+
+import java.io.Serializable;
+import java.io.ObjectStreamField;
+import java.io.ObjectInputStream;
+import java.io.IOException;
+import java.io.ObjectOutputStream;
+import java.lang.reflect.Method;
+import java.security.Permission;
+import java.util.ArrayList;
+import java.util.StringTokenizer;
+
+import org.jboss.util.id.SerialVersion;
+
+/** A security permission for ejb-method permissions. The name of an
+ * EJBMethodPermission contains the value of the ejb-name element in the
+ * application's deployment descriptor that identifies the target EJB.
+ *
+ * The actions of an EJBMethodPermission identifies the methods of the EJB to
+ * which the permission applies.
+ *
+ * Implementations of this class MAY implement newPermissionCollection or
+ * inherit its implementation from the super class.
+ *
+ * @link http://java.sun.com/j2ee/1.4/docs/api/
+ *
+ * @author Scott.Stark at jboss.org
+ * @author Ron Monzillo, Gary Ellison (javadoc)
+ * @version $Revision$
+ */
+public final class EJBMethodPermission
+ extends Permission
+ implements Serializable
+{
+ /** @since 4.0.2 */
+ private static final long serialVersionUID;
+ static
+ {
+ if (SerialVersion.version == SerialVersion.LEGACY)
+ serialVersionUID = 141000;
+ else
+ serialVersionUID = 1;
+ }
+
+ /**
+ * @serialField actions String the actions string.
+ */
+ private static final ObjectStreamField[] serialPersistentFields = {
+ new ObjectStreamField("actions", String.class)
+ };
+
+ private transient String methodName;
+ private transient String methodInterface;
+ private transient String methodSig;
+
+ /** Creates a new EJBMethodPermission with the specified name and actions.
+
+ The name contains the value of the ejb-name element corresponding to an EJB
+ in the application's deployment descriptor.
+
+ The actions contains a methodSpec. The syntax of the actions parameter is
+ defined as follows:
+
+ methodNameSpec ::= methodName | emptyString
+
+ methodInterfaceName ::= String
+
+ methodInterfaceSpec ::= methodInterfaceName | emptyString
+
+ typeName ::= typeName | typeName []
+
+ methodParams ::= typeName | methodParams comma typeName
+
+ methodParamsSpec ::= emptyString | methodParams
+
+ methodSpec ::= null |
+ methodNameSpec |
+ methodNameSpec comma methodInterfaceName |
+ methodNameSpec comma methodInterfaceSpec comma methodParamsSpec
+
+
+ A MethodInterfaceName is a non-empty String and should contain a method-intf
+ value as defined for use in EJB deployment descriptors. An implementation
+ must be flexible such that it supports additional interface names especially
+ if they are standardized by the EJB Specification. The EJB Specification
+ currently defines the following method-intf values:
+
+ { "Home", "LocalHome", "Remote", "Local", "ServiceEndpoint" }
+
+
+ A null or empty string methodSpec indicates that the permission applies to
+ all methods of the EJB. A methodSpec with a methodNameSpec of the empty
+ string matches all methods of the EJB that match the methodInterface and
+ methodParams elements of the methodSpec.
+
+ A methodSpec with a methodInterfaceSpec of the empty string matches all
+ methods of the EJB that match the methodNameSpec and methodParamsSpec
+ elements of the methodSpec.
+
+ A methodSpec without a methodParamsSpec matches all methods of the EJB that
+ match the methodNameSpec and methodInterface elements of the methodSpec.
+
+ The order of the typeNames in methodParams array must match the order of
+ occurence of the corresponding parameters in the method signature of the
+ target method(s). Each typeName in the methodParams must contain the
+ canonical form of the corresponding parameter's typeName as defined by the
+ getActions method. A methodSpec with an empty methodParamsSpec matches all
+ 0 argument methods of the EJB that match the methodNameSpec and
+ methodInterfaceSpec elements of the methodSpec.
+
+ * @param name - the ejb-name to which the permission pertains.
+ * @param actions - identifies the methods of the EJB to which the permission
+ * pertains.
+ */
+ public EJBMethodPermission(String name, String actions)
+ {
+ super(name);
+ parseMethodSpec(actions);
+ }
+
+ /** Creates a new EJBMethodPermission with name corresponding to the EJBName
+ * and actions composed from methodInterface, and the Method object.
+ *
+ * A container uses this constructor prior to checking if a caller has
+ * permission to call the method of an EJB.
+ *
+ * @param ejbName - the ejb-name of the target EJB
+ * @param methodInterface - A string that may be used to specify the EJB
+ * interface to which the permission pertains. A value of null or "",
+ * indicates that the permission pertains to all methods that match the other
+ * parameters of the permission specification without consideration of the
+ * interface they occur on.
+ * @param method - an instance of the Java.lang.reflect.Method class
+ * corresponding to the method that the container is trying to determine
+ * whether the caller has permission to access. This value must not be null.
+ */
+ public EJBMethodPermission(String ejbName, String methodInterface, Method method)
+ {
+ this(ejbName, method.getName(), methodInterface,
+ convertParameters(method.getParameterTypes()));
+ }
+
+ /** Creates a new EJBMethodPermission with name corresponding to the EJBName
+ * and actions composed from methodName, methodInterface, and methodParams.
+ *
+ * @param ejbName - the ejb-name of the target EJB
+ * @param methodName - A string that may be used to indicate the method of the
+ * EJB to which the permission pertains. A value of null or "" indicates that
+ * the permission pertains to all methods that match the other parameters of
+ * the permission specification without consideration of method name.
+ * @param methodInterface - A string that may be used to specify the EJB
+ * interface to which the permission pertains. A value of null or "",
+ * indicates that the permission pertains to all methods that match the
+ * other parameters of the permission specification without consideration of
+ * the interface they occur on.
+ * @param methodParams - An array of strings that may be used to specify
+ * (by typeNames) the parameter signature of the target methods. The order of
+ * the typeNames in methodParams array must match the order of occurence of
+ * the corresponding parameters in the method signature of the target
+ * method(s). Each typeName in the methodParams array must contain the
+ * canonical form of the corresponding parameter's typeName as defined by the
+ * getActions method. An empty methodParams array is used to represent a
+ * method signature with no arguments. A value of null indicates that the
+ * permission pertains to all methods that match the other parameters of the
+ * permission specification without consideration of method signature.
+ */
+ public EJBMethodPermission(String ejbName, String methodName,
+ String methodInterface, String[] methodParams)
+ {
+ super(ejbName);
+ this.methodInterface = methodInterface;
+ this.methodName = methodName;
+ if( methodParams == null )
+ methodSig = null;
+ else
+ {
+ StringBuffer tmp = new StringBuffer();
+ for(int n = 0; n < methodParams.length; n ++)
+ {
+ tmp.append(methodParams[n]);
+ tmp.append(',');
+ }
+ if( tmp.length() > 0 )
+ tmp.setLength(tmp.length()-1);
+ methodSig = tmp.toString();
+ }
+ }
+
+ /** Compare two EJBMethodPermissions.
+ *
+ * @param p the EJBMethodPermission instance to compare against
+ * @return true if p equates to this permission, false otherwise
+ */
+ public boolean equals(Object p)
+ {
+ boolean equals = false;
+ if( p == null || !(p instanceof EJBMethodPermission) )
+ return false;
+ EJBMethodPermission perm = (EJBMethodPermission) p;
+ equals = getName().equals(perm.getName());
+ if( equals == true )
+ {
+ // Check the method names
+ if( methodName != null )
+ {
+ if( perm.methodName == null )
+ return false;
+ if( methodName.equals(perm.methodName) == false )
+ return false;
+ }
+ else if( perm.methodName != null )
+ {
+ return false;
+ }
+
+ // Check the method interfaces
+ equals = methodInterface != perm.methodInterface;
+ if( equals == false && methodInterface != null )
+ equals = methodInterface.equals(perm.methodInterface);
+ if( equals == false )
+ return false;
+
+ // Check the method parameters
+ if( methodSig != null )
+ {
+ equals = perm.methodSig != null &&
+ methodSig.equals(perm.methodSig);
+ }
+ else
+ {
+ equals = perm.methodSig == null;
+ }
+ }
+ return equals;
+ }
+
+ /** Calculates the hash code as the hash of the methodName,
+ * methodInterface and methodSig for each that is non-null.
+ * @return has the method represented.
+ */
+ public int hashCode()
+ {
+ int hashCode = 0;
+ if( methodName != null )
+ hashCode += methodName.hashCode();
+ if( methodInterface != null )
+ hashCode += methodInterface.hashCode();
+ if( methodSig != null )
+ hashCode += methodSig.hashCode();
+ return hashCode;
+ }
+
+ /** Returns a String containing a canonical representation of the actions of
+ this EJBMethodPermission. The Canonical form of the actions of an
+ EJBMethodPermission is described by the following syntax description.
+
+ methodNameSpec ::= methodName | emptyString
+ methodInterfaceName ::= String
+ methodInterfaceSpec ::= methodInterfaceName | emptyString
+ typeName ::= typeName | typeName []
+ methodParams ::= typeName | methodParams comma typeName
+ methodParamsSpec ::= emptyString | methodParams
+ methodSpec ::= null |
+ methodName |
+ methodNameSpec comma methodInterfaceName |
+ methodNameSpec comma methodInterfaceSpec comma methodParamsSpec
+
+
+ The canonical form of each typeName must begin with the fully qualified Java
+ name of the corresponding parameter's type. The canonical form of a typeName
+ for an array parameter is the fully qualified Java name of the array's
+ component type followed by as many instances of the string "[]" as there are
+ dimensions to the array. No additional characters (e.g. blanks) may occur in
+ the canonical form.
+
+ A MethodInterfaceName is a non-empty String and should contain a method-intf
+ value as defined for use in EJB deployment descriptors. An implementation
+ must be flexible such p it supports additional interface names especially
+ if they are standardized by the EJB Specification. The EJB Specification
+ currently defines the following method-intf values:
+ { "Home", "LocalHome", "Remote", "Local", "ServiceEndpoint" }
+
+ @return the canonicalized actions of this EJBMethodPermission
+ */
+ public String getActions()
+ {
+ StringBuffer actions = new StringBuffer();
+ if( methodName != null )
+ actions.append(methodName);
+ if( methodInterface != null )
+ {
+ actions.append(',');
+ actions.append(methodInterface);
+ }
+ else if( methodSig != null )
+ {
+ actions.append(',');
+ }
+
+ if( methodSig != null )
+ {
+ actions.append(',');
+ actions.append(methodSig);
+ }
+ String methodSpec = null;
+ if( actions.length() > 0 )
+ methodSpec = actions.toString();
+ return methodSpec;
+ }
+
+ /** Determines if the argument Permission is "implied by" this
+ * EJBMethodPermission. For this to be the case the following must apply:
+ * The argument must be an instanceof EJBMethodPermission
+ * with name equivalent to p of this EJBMethodPermission, and
+ * the methods to which the argument permission applies (as defined in its actions)
+ * must be a subset of the methods to which this EJBMethodPermission applies
+ * (as defined in its actions).
+ *
+ * The argument permission applies to a subset of the methods to which this
+ * permission applies if all of the following conditions are met:
+ * - the method name component of the methodNameSpec of this permission is null,
+ * the empty string, or equivalent to the method name of the argument permission
+ * - the method interface component of the methodNameSpec of this permission
+ * is null, the empty string, or equivalent to the method interface of the
+ * argument permission
+ * - the method parameter list component of the methodNameSpec of this
+ * permission is null, the empty string, or equivalent to the method
+ * parameter list of the argument permission.
+ *
+ * The name and actions comparisons described above are case sensitive.
+ *
+ * @param p the EJBMethodPermission checked to see if it this.
+ * @return true if the specified permission is implied by this object, false if not
+ */
+ public boolean implies(Permission p)
+ {
+ boolean implies = false;
+ if( p == null || !(p instanceof EJBMethodPermission) )
+ return false;
+ EJBMethodPermission perm = (EJBMethodPermission) p;
+ implies = getName().equals(perm.getName());
+ if( implies == false )
+ return false;
+
+ // See if perm is a subset of the method names
+ if( methodName != null )
+ {
+ implies = methodName.equals(perm.methodName);
+ }
+ else
+ implies = true;
+
+ // Check the method interface
+ if( implies == true && methodInterface != null )
+ {
+ implies = methodInterface.equals(perm.methodInterface);
+ }
+ // Check the method signature
+ if( implies == true && methodSig != null )
+ {
+ implies = methodSig.equals(perm.methodSig);
+ }
+
+ return implies;
+ }
+
+ /** Method string represented by this permission
+ * @return [methodInterface :] methodName (params)
+ */
+ public String toString()
+ {
+ StringBuffer tmp = new StringBuffer(super.toString());
+ tmp.append('[');
+ if( methodInterface != null )
+ {
+ tmp.append(methodInterface);
+ tmp.append(':');
+ }
+ else
+ {
+ tmp.append("*:");
+ }
+ if( methodName != null )
+ {
+ tmp.append(methodName);
+ }
+ else
+ {
+ tmp.append("*");
+ }
+ tmp.append('(');
+ if( methodSig != null )
+ {
+ tmp.append(methodSig);
+ }
+ tmp.append(")]");
+ return tmp.toString();
+ }
+
+ private static String[] convertParameters(Class[] params)
+ {
+ ArrayList tmp = new ArrayList();
+ for(int p = 0; p < params.length; p++)
+ {
+ Class c = params[p];
+ if( c.isArray() )
+ {
+ StringBuffer sb = new StringBuffer();
+ Class subType = c.getComponentType();
+ sb.append(subType.getName());
+ // Convert to type[][]...[]
+ while( subType != null )
+ {
+ sb.append("[]");
+ subType = subType.getComponentType();
+ }
+ tmp.add(sb.toString());
+ }
+ else
+ {
+ tmp.add(c.getName());
+ }
+ }
+ String[] sig = new String[tmp.size()];
+ tmp.toArray(sig);
+ return sig;
+ }
+
+ /** Parse the methodSpec string into methodName, methodInterface and methodSig.
+
+ The syntax of the methodSpec parameter is defined as follows:
+
+ methodNameSpec ::= methodName | emptyString
+
+ methodInterfaceName ::= String
+
+ methodInterfaceSpec ::= methodInterfaceName | emptyString
+
+ typeName ::= typeName | typeName []
+
+ methodParams ::= typeName | methodParams comma typeName
+
+ methodParamsSpec ::= emptyString | methodParams
+
+ methodSpec ::= null |
+ methodNameSpec |
+ methodNameSpec comma methodInterfaceName |
+ methodNameSpec comma methodInterfaceSpec comma methodParamsSpec
+
+ @param methodSpec the string matching the format above
+ */
+ private void parseMethodSpec(String methodSpec)
+ {
+ methodName = null;
+ methodInterface = null;
+ methodSig = null;
+
+ if( methodSpec != null )
+ {
+ StringTokenizer tokenizer = new StringTokenizer(methodSpec, ",", true);
+ // Method name
+ if( tokenizer.hasMoreTokens() )
+ {
+ methodName = tokenizer.nextToken();
+ if( methodName.equals(",") )
+ methodName = null;
+ }
+ // Method interface
+ if( tokenizer.hasMoreTokens() )
+ {
+ methodInterface = tokenizer.nextToken();
+ if( methodName != null && methodInterface.equals(",") )
+ methodInterface = tokenizer.nextToken();
+ if( methodInterface.equals(",") )
+ {
+ methodInterface = null;
+ methodSig = "";
+ }
+ }
+ // Method args
+ if( tokenizer.hasMoreTokens() )
+ {
+ if( methodInterface != null )
+ tokenizer.nextToken();
+ StringBuffer tmp = new StringBuffer();
+ while( tokenizer.hasMoreTokens() )
+ {
+ tmp.append(tokenizer.nextToken());
+ }
+ methodSig = tmp.toString();
+ }
+ }
+ }
+
+ // Private -------------------------------------------------------
+ private void readObject(ObjectInputStream ois)
+ throws ClassNotFoundException, IOException
+ {
+ ObjectInputStream.GetField fields = ois.readFields();
+ String actions = (String) fields.get("actions", null);
+ parseMethodSpec(actions);
+ }
+
+ private void writeObject(ObjectOutputStream oos)
+ throws IOException
+ {
+ ObjectOutputStream.PutField fields = oos.putFields();
+ fields.put("actions",this.getActions());
+ oos.writeFields();
+ }
+}
Deleted: projects/javaee/tags/5.0.0.Beta3Update2/jboss-jad-api/pom.xml
===================================================================
--- projects/javaee/trunk/jboss-jad-api/pom.xml 2007-12-08 19:19:17 UTC (rev 68067)
+++ projects/javaee/tags/5.0.0.Beta3Update2/jboss-jad-api/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -1,22 +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.javaee</groupId>
- <artifactId>jboss-javaee-parent</artifactId>
- <version>5.0.0-SNAPSHOT</version>
- <relativePath>../build/pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-jad-api</artifactId>
- <version>1.2.0-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>JBoss JavaEE Application Deployment 1.2 API</name>
- <url>http://www.jboss.org</url>
- <description>The JavaEE Application Deployment 1.2 API classes</description>
- <dependencies>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-common-core</artifactId>
- </dependency>
- </dependencies>
-</project>
Copied: projects/javaee/tags/5.0.0.Beta3Update2/jboss-jad-api/pom.xml (from rev 68069, projects/javaee/trunk/jboss-jad-api/pom.xml)
===================================================================
--- projects/javaee/tags/5.0.0.Beta3Update2/jboss-jad-api/pom.xml (rev 0)
+++ projects/javaee/tags/5.0.0.Beta3Update2/jboss-jad-api/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -0,0 +1,22 @@
+<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.javaee</groupId>
+ <artifactId>jboss-javaee-parent</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <relativePath>../build/pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-jad-api</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <packaging>jar</packaging>
+ <name>JBoss JavaEE Application Deployment 1.2 API</name>
+ <url>http://www.jboss.org</url>
+ <description>The JavaEE Application Deployment 1.2 API classes</description>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-core</artifactId>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Deleted: projects/javaee/tags/5.0.0.Beta3Update2/jboss-jaspi-api/pom.xml
===================================================================
--- projects/javaee/trunk/jboss-jaspi-api/pom.xml 2007-12-08 19:19:17 UTC (rev 68067)
+++ projects/javaee/tags/5.0.0.Beta3Update2/jboss-jaspi-api/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -1,16 +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.javaee</groupId>
- <artifactId>jboss-javaee-parent</artifactId>
- <version>5.0.0-SNAPSHOT</version>
- <relativePath>../build/pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-jaspi-api</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>JBoss Java Authentication SPI for Containers 1.0-PR API</name>
- <url>http://www.jboss.org</url>
- <description>The Java Authentication SPI for Containers 1.0-PR API classes</description>
-</project>
Copied: projects/javaee/tags/5.0.0.Beta3Update2/jboss-jaspi-api/pom.xml (from rev 68069, projects/javaee/trunk/jboss-jaspi-api/pom.xml)
===================================================================
--- projects/javaee/tags/5.0.0.Beta3Update2/jboss-jaspi-api/pom.xml (rev 0)
+++ projects/javaee/tags/5.0.0.Beta3Update2/jboss-jaspi-api/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -0,0 +1,16 @@
+<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.javaee</groupId>
+ <artifactId>jboss-javaee-parent</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <relativePath>../build/pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-jaspi-api</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <packaging>jar</packaging>
+ <name>JBoss Java Authentication SPI for Containers 1.0-PR API</name>
+ <url>http://www.jboss.org</url>
+ <description>The Java Authentication SPI for Containers 1.0-PR API classes</description>
+</project>
\ No newline at end of file
Deleted: projects/javaee/tags/5.0.0.Beta3Update2/jboss-jaxr-api/pom.xml
===================================================================
--- projects/javaee/trunk/jboss-jaxr-api/pom.xml 2007-12-08 19:19:17 UTC (rev 68067)
+++ projects/javaee/tags/5.0.0.Beta3Update2/jboss-jaxr-api/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -1,23 +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.javaee</groupId>
- <artifactId>jboss-javaee-parent</artifactId>
- <version>5.0.0-SNAPSHOT</version>
- <relativePath>../build/pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-jaxr-api</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>JBoss Java API for XML Registries 1.0</name>
- <url>http://www.jboss.org</url>
- <description>The Java API for XML Registries 1.0 API classes</description>
- <dependencies>
- <dependency>
- <groupId>javax.activation</groupId>
- <artifactId>activation</artifactId>
- <version>1.0.2</version>
- </dependency>
- </dependencies>
-</project>
Copied: projects/javaee/tags/5.0.0.Beta3Update2/jboss-jaxr-api/pom.xml (from rev 68069, projects/javaee/trunk/jboss-jaxr-api/pom.xml)
===================================================================
--- projects/javaee/tags/5.0.0.Beta3Update2/jboss-jaxr-api/pom.xml (rev 0)
+++ projects/javaee/tags/5.0.0.Beta3Update2/jboss-jaxr-api/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -0,0 +1,23 @@
+<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.javaee</groupId>
+ <artifactId>jboss-javaee-parent</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <relativePath>../build/pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-jaxr-api</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <packaging>jar</packaging>
+ <name>JBoss Java API for XML Registries 1.0</name>
+ <url>http://www.jboss.org</url>
+ <description>The Java API for XML Registries 1.0 API classes</description>
+ <dependencies>
+ <dependency>
+ <groupId>javax.activation</groupId>
+ <artifactId>activation</artifactId>
+ <version>1.0.2</version>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Deleted: projects/javaee/tags/5.0.0.Beta3Update2/jboss-jaxs-api/pom.xml
===================================================================
--- projects/javaee/trunk/jboss-jaxs-api/pom.xml 2007-12-08 19:19:17 UTC (rev 68067)
+++ projects/javaee/tags/5.0.0.Beta3Update2/jboss-jaxs-api/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -1,16 +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.javaee</groupId>
- <artifactId>jboss-javaee-parent</artifactId>
- <version>5.0.0-SNAPSHOT</version>
- <relativePath>../build/pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-jaxs-api</artifactId>
- <version>1.2.0-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>JBoss Streaming API for XML 1.0</name>
- <url>http://www.jboss.org</url>
- <description>The Streaming API for XML 1.0 API classes</description>
-</project>
Copied: projects/javaee/tags/5.0.0.Beta3Update2/jboss-jaxs-api/pom.xml (from rev 68069, projects/javaee/trunk/jboss-jaxs-api/pom.xml)
===================================================================
--- projects/javaee/tags/5.0.0.Beta3Update2/jboss-jaxs-api/pom.xml (rev 0)
+++ projects/javaee/tags/5.0.0.Beta3Update2/jboss-jaxs-api/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -0,0 +1,16 @@
+<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.javaee</groupId>
+ <artifactId>jboss-javaee-parent</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <relativePath>../build/pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-jaxs-api</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <packaging>jar</packaging>
+ <name>JBoss Streaming API for XML 1.0</name>
+ <url>http://www.jboss.org</url>
+ <description>The Streaming API for XML 1.0 API classes</description>
+</project>
\ No newline at end of file
Deleted: projects/javaee/tags/5.0.0.Beta3Update2/jboss-jca-api/pom.xml
===================================================================
--- projects/javaee/trunk/jboss-jca-api/pom.xml 2007-12-08 19:19:17 UTC (rev 68067)
+++ projects/javaee/tags/5.0.0.Beta3Update2/jboss-jca-api/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -1,23 +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.javaee</groupId>
- <artifactId>jboss-javaee-parent</artifactId>
- <version>5.0.0-SNAPSHOT</version>
- <relativePath>../build/pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-jca-api</artifactId>
- <version>1.5.0-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>JBoss J2EE Connector Architecture 1.5 API</name>
- <url>http://www.jboss.org</url>
- <description>The J2EE Connector Architecture 1.5 API classes</description>
- <dependencies>
- <!-- For SerialVersion -->
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-common-core</artifactId>
- </dependency>
- </dependencies>
-</project>
Copied: projects/javaee/tags/5.0.0.Beta3Update2/jboss-jca-api/pom.xml (from rev 68069, projects/javaee/trunk/jboss-jca-api/pom.xml)
===================================================================
--- projects/javaee/tags/5.0.0.Beta3Update2/jboss-jca-api/pom.xml (rev 0)
+++ projects/javaee/tags/5.0.0.Beta3Update2/jboss-jca-api/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -0,0 +1,23 @@
+<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.javaee</groupId>
+ <artifactId>jboss-javaee-parent</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <relativePath>../build/pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-jca-api</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <packaging>jar</packaging>
+ <name>JBoss J2EE Connector Architecture 1.5 API</name>
+ <url>http://www.jboss.org</url>
+ <description>The J2EE Connector Architecture 1.5 API classes</description>
+ <dependencies>
+ <!-- For SerialVersion -->
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-core</artifactId>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Deleted: projects/javaee/tags/5.0.0.Beta3Update2/jboss-jms-api/pom.xml
===================================================================
--- projects/javaee/trunk/jboss-jms-api/pom.xml 2007-12-08 19:19:17 UTC (rev 68067)
+++ projects/javaee/tags/5.0.0.Beta3Update2/jboss-jms-api/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -1,16 +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.javaee</groupId>
- <artifactId>jboss-javaee-parent</artifactId>
- <version>5.0.0-SNAPSHOT</version>
- <relativePath>../build/pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-jms-api</artifactId>
- <version>1.1.0-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>JBoss JMS 1.1 API</name>
- <url>http://www.jboss.org</url>
- <description>The Java Messaging Service 1.1 API classes</description>
-</project>
Copied: projects/javaee/tags/5.0.0.Beta3Update2/jboss-jms-api/pom.xml (from rev 68069, projects/javaee/trunk/jboss-jms-api/pom.xml)
===================================================================
--- projects/javaee/tags/5.0.0.Beta3Update2/jboss-jms-api/pom.xml (rev 0)
+++ projects/javaee/tags/5.0.0.Beta3Update2/jboss-jms-api/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -0,0 +1,16 @@
+<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.javaee</groupId>
+ <artifactId>jboss-javaee-parent</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <relativePath>../build/pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-jms-api</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <packaging>jar</packaging>
+ <name>JBoss JMS 1.1 API</name>
+ <url>http://www.jboss.org</url>
+ <description>The Java Messaging Service 1.1 API classes</description>
+</project>
\ No newline at end of file
Deleted: projects/javaee/tags/5.0.0.Beta3Update2/jboss-persistence-api/pom.xml
===================================================================
--- projects/javaee/trunk/jboss-persistence-api/pom.xml 2007-12-08 19:19:17 UTC (rev 68067)
+++ projects/javaee/tags/5.0.0.Beta3Update2/jboss-persistence-api/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -1,49 +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.javaee</groupId>
- <artifactId>jboss-javaee-parent</artifactId>
- <version>5.0.0-SNAPSHOT</version>
- <relativePath>../build/pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-persistence-api</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>JBoss Persistence 3.0 API</name>
- <url>http://www.jboss.org</url>
- <description>The Java Persistence 3.0 API classes</description>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifestEntries>
- <Specification-Title>Enterprise JavaBeans 3.0</Specification-Title>
- <Specification-Version>Final Release</Specification-Version>
- <Specification-Vendor>Sun Microsystems, Inc.</Specification-Vendor>
- </manifestEntries>
- </archive>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
- <doctitle>EJB 3.0 Persistence API Documentation</doctitle>
- <links>
- <link>http://java.sun.com/j2se/1.5/docs/api</link>
- </links>
- <stylesheetfile>jdstyle.css</stylesheetfile>
- <windowtitle>EJB 3.0 Persistence API Documentation</windowtitle>
- </configuration>
- </plugin>
- </plugins>
- </reporting>
-</project>
Copied: projects/javaee/tags/5.0.0.Beta3Update2/jboss-persistence-api/pom.xml (from rev 68069, projects/javaee/trunk/jboss-persistence-api/pom.xml)
===================================================================
--- projects/javaee/tags/5.0.0.Beta3Update2/jboss-persistence-api/pom.xml (rev 0)
+++ projects/javaee/tags/5.0.0.Beta3Update2/jboss-persistence-api/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -0,0 +1,49 @@
+<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.javaee</groupId>
+ <artifactId>jboss-javaee-parent</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <relativePath>../build/pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-persistence-api</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <packaging>jar</packaging>
+ <name>JBoss Persistence 3.0 API</name>
+ <url>http://www.jboss.org</url>
+ <description>The Java Persistence 3.0 API classes</description>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifestEntries>
+ <Specification-Title>Enterprise JavaBeans 3.0</Specification-Title>
+ <Specification-Version>Final Release</Specification-Version>
+ <Specification-Vendor>Sun Microsystems, Inc.</Specification-Vendor>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <doctitle>EJB 3.0 Persistence API Documentation</doctitle>
+ <links>
+ <link>http://java.sun.com/j2se/1.5/docs/api</link>
+ </links>
+ <stylesheetfile>jdstyle.css</stylesheetfile>
+ <windowtitle>EJB 3.0 Persistence API Documentation</windowtitle>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+</project>
\ No newline at end of file
Deleted: projects/javaee/tags/5.0.0.Beta3Update2/jboss-servlet-api/pom.xml
===================================================================
--- projects/javaee/trunk/jboss-servlet-api/pom.xml 2007-12-08 19:19:17 UTC (rev 68067)
+++ projects/javaee/tags/5.0.0.Beta3Update2/jboss-servlet-api/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -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.javaee</groupId>
- <artifactId>jboss-javaee-parent</artifactId>
- <version>5.0.0-SNAPSHOT</version>
- <relativePath>../build/pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-servlet-api</artifactId>
- <version>2.5.0-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>JBoss Java Servlet 2.5 API</name>
- <url>http://www.jboss.org</url>
- <description>The Java Servlet 2.5 API classes</description>
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
- <doctitle>Java Servlet ${project.version} API Documentation</doctitle>
- <links>
- <link>http://java.sun.com/j2se/1.5/docs/api</link>
- </links>
- <windowtitle>Java Servlet ${project.version} API Documentation</windowtitle>
- </configuration>
- </plugin>
- </plugins>
- </reporting>
-</project>
Copied: projects/javaee/tags/5.0.0.Beta3Update2/jboss-servlet-api/pom.xml (from rev 68069, projects/javaee/trunk/jboss-servlet-api/pom.xml)
===================================================================
--- projects/javaee/tags/5.0.0.Beta3Update2/jboss-servlet-api/pom.xml (rev 0)
+++ projects/javaee/tags/5.0.0.Beta3Update2/jboss-servlet-api/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -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.javaee</groupId>
+ <artifactId>jboss-javaee-parent</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <relativePath>../build/pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-servlet-api</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <packaging>jar</packaging>
+ <name>JBoss Java Servlet 2.5 API</name>
+ <url>http://www.jboss.org</url>
+ <description>The Java Servlet 2.5 API classes</description>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <doctitle>Java Servlet ${project.version} API Documentation</doctitle>
+ <links>
+ <link>http://java.sun.com/j2se/1.5/docs/api</link>
+ </links>
+ <windowtitle>Java Servlet ${project.version} API Documentation</windowtitle>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+</project>
\ No newline at end of file
Deleted: projects/javaee/tags/5.0.0.Beta3Update2/jboss-transaction-api/pom.xml
===================================================================
--- projects/javaee/trunk/jboss-transaction-api/pom.xml 2007-12-08 19:19:17 UTC (rev 68067)
+++ projects/javaee/tags/5.0.0.Beta3Update2/jboss-transaction-api/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -1,16 +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.javaee</groupId>
- <artifactId>jboss-javaee-parent</artifactId>
- <version>5.0.0-SNAPSHOT</version>
- <relativePath>../build/pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-transaction-api</artifactId>
- <version>1.0.1-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>JBoss Transaction 1.0.1 API</name>
- <url>http://www.jboss.org</url>
- <description>The Java Transaction 1.0.1 API classes</description>
-</project>
Copied: projects/javaee/tags/5.0.0.Beta3Update2/jboss-transaction-api/pom.xml (from rev 68069, projects/javaee/trunk/jboss-transaction-api/pom.xml)
===================================================================
--- projects/javaee/tags/5.0.0.Beta3Update2/jboss-transaction-api/pom.xml (rev 0)
+++ projects/javaee/tags/5.0.0.Beta3Update2/jboss-transaction-api/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -0,0 +1,16 @@
+<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.javaee</groupId>
+ <artifactId>jboss-javaee-parent</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <relativePath>../build/pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-transaction-api</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <packaging>jar</packaging>
+ <name>JBoss Transaction 1.0.1 API</name>
+ <url>http://www.jboss.org</url>
+ <description>The Java Transaction 1.0.1 API classes</description>
+</project>
\ No newline at end of file
Deleted: projects/javaee/tags/5.0.0.Beta3Update2/pom.xml
===================================================================
--- projects/javaee/trunk/pom.xml 2007-12-08 19:19:17 UTC (rev 68067)
+++ projects/javaee/tags/5.0.0.Beta3Update2/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -1,94 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- The aggregate maven build for the javaee project that expects a structure like:
- build/pom.xml
- jboss-ejb-api/pom.xml
- jboss-jacc-api/pom.xml
- jboss-jad-api/pom.xml
- jboss-jaspi-api/pom.xml
- jboss-jaxr-api/pom.xml
- jboss-jaxs-api/pom.xml
- jboss-jca-api/pom.xml
- jboss-jms-api/pom.xml
- jboss-persistence-api/pom.xml
- jboss-servlet-api/pom.xml
- jboss-transaction-api/pom.xml
-
- This pom aggregates the subproject poms.
-
- To build this project maven 2 should be installed and in the system path.
- From the command line run "mvn install" from the build directory. The build.id
- should be updated to create unique artifacts for the subprojects when performing
- releases.
-
- To add a module edit the modules section and add the module also to
- build/assembly/bin.xml and build/assembly/sources.xml.
--->
-<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.javaee</groupId>
- <artifactId>jboss-javaee-parent</artifactId>
- <version>5.0.0-SNAPSHOT</version>
- <relativePath>build/pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-javaee</artifactId>
- <version>5.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>JBoss JavaEE 5.0 Aggregate</name>
- <url>http://www.jboss.com</url>
- <description>
- The JBoss JavaEE API classes
- </description>
- <scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/javaee/trunk</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/javaee/trunk</developerConnection>
- </scm>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2-beta-1</version>
- <executions>
- <execution>
- <goals>
- <goal>attached</goal>
- </goals>
- <phase>package</phase>
- </execution>
- </executions>
- <configuration>
- <descriptors>
- <descriptor>build/assembly/bin.xml</descriptor>
- <descriptor>build/assembly/sources.xml</descriptor>
- </descriptors>
- </configuration>
- <inherited>false</inherited>
- </plugin>
- <plugin>
- <artifactId>maven-release-plugin</artifactId>
- <configuration>
- <tagBase>https://svn.jboss.org/repos/jbossas/projects/javaee/tags</tagBase>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <modules>
- <module>build</module>
- <module>jboss-ejb-api</module>
- <module>jboss-jacc-api</module>
- <module>jboss-jad-api</module>
- <module>jboss-jaxr-api</module>
- <module>jboss-jaxs-api</module>
- <module>jboss-jca-api</module>
- <module>jboss-jms-api</module>
- <module>jboss-persistence-api</module>
- <module>jboss-servlet-api</module>
- <module>jboss-transaction-api</module>
- <module>jboss-jaspi-api</module>
- </modules>
-
-</project>
Copied: projects/javaee/tags/5.0.0.Beta3Update2/pom.xml (from rev 68069, projects/javaee/trunk/pom.xml)
===================================================================
--- projects/javaee/tags/5.0.0.Beta3Update2/pom.xml (rev 0)
+++ projects/javaee/tags/5.0.0.Beta3Update2/pom.xml 2007-12-08 20:39:37 UTC (rev 68070)
@@ -0,0 +1,68 @@
+<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.javaee</groupId>
+ <artifactId>jboss-javaee-parent</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <relativePath>build/pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-javaee</artifactId>
+ <version>5.0.0.Beta3Update2</version>
+ <packaging>pom</packaging>
+ <name>JBoss JavaEE 5.0 Aggregate</name>
+ <url>http://www.jboss.com</url>
+ <description>
+ The JBoss JavaEE API classes
+ </description>
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/javaee/tags/5.0.0.Beta3Update2</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/javaee/tags/5.0.0.Beta3Update2</developerConnection>
+ </scm>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-1</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>attached</goal>
+ </goals>
+ <phase>package</phase>
+ </execution>
+ </executions>
+ <configuration>
+ <descriptors>
+ <descriptor>build/assembly/bin.xml</descriptor>
+ <descriptor>build/assembly/sources.xml</descriptor>
+ </descriptors>
+ </configuration>
+ <inherited>false</inherited>
+ </plugin>
+ <plugin>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+ <tagBase>https://svn.jboss.org/repos/jbossas/projects/javaee/tags</tagBase>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <modules>
+ <module>build</module>
+ <module>jboss-ejb-api</module>
+ <module>jboss-jacc-api</module>
+ <module>jboss-jad-api</module>
+ <module>jboss-jaxr-api</module>
+ <module>jboss-jaxs-api</module>
+ <module>jboss-jca-api</module>
+ <module>jboss-jms-api</module>
+ <module>jboss-persistence-api</module>
+ <module>jboss-servlet-api</module>
+ <module>jboss-transaction-api</module>
+ <module>jboss-jaspi-api</module>
+ </modules>
+
+</project>
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list