[jboss-cvs] JBossAS SVN: r72129 - in projects/test/tags: 1.1.0.GA and 2 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sun Apr 13 07:09:50 EDT 2008
Author: dimitris at jboss.org
Date: 2008-04-13 07:09:49 -0400 (Sun, 13 Apr 2008)
New Revision: 72129
Added:
projects/test/tags/1.1.0.GA/
projects/test/tags/1.1.0.GA/.classpath
projects/test/tags/1.1.0.GA/.project
projects/test/tags/1.1.0.GA/.settings/org.eclipse.jdt.core.prefs
projects/test/tags/1.1.0.GA/pom.xml
projects/test/tags/1.1.0.GA/src/main/java/org/jboss/test/security/PolicyPlugin.java
Removed:
projects/test/tags/1.1.0.GA/.classpath
projects/test/tags/1.1.0.GA/.project
projects/test/tags/1.1.0.GA/.settings/org.eclipse.jdt.core.prefs
projects/test/tags/1.1.0.GA/pom-jdk14.xml
projects/test/tags/1.1.0.GA/pom.xml
projects/test/tags/1.1.0.GA/src/main/java/org/jboss/test/security/PolicyPlugin.java
Log:
[maven-release-plugin] copy for tag 1.1.0.GA
Copied: projects/test/tags/1.1.0.GA (from rev 72118, projects/test/trunk)
Deleted: projects/test/tags/1.1.0.GA/.classpath
===================================================================
--- projects/test/trunk/.classpath 2008-04-13 09:59:46 UTC (rev 72118)
+++ projects/test/tags/1.1.0.GA/.classpath 2008-04-13 11:09:49 UTC (rev 72129)
@@ -1,21 +0,0 @@
-<classpath>
- <classpathentry kind="src" path="src/main/java"/>
- <classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/>
- <classpathentry kind="src" path="src/test/java" output="target/test-classes"/>
- <classpathentry kind="src" path="src/test/resources" output="target/test-classes" excluding="**/*.java"/>
- <classpathentry kind="output" path="target/classes"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="var" path="M2_REPO/jboss/jboss-common-logging-log4j/2.0.4.GA/jboss-common-logging-log4j-2.0.4.GA.jar"/>
- <classpathentry kind="var" path="M2_REPO/jboss/jboss-common-logging-spi/2.0.4.GA/jboss-common-logging-spi-2.0.4.GA.jar"/>
- <classpathentry kind="var" path="M2_REPO/log4j/log4j/1.2.14/log4j-1.2.14.jar"/>
- <classpathentry kind="var" path="M2_REPO/jboss/profiler/jvmti/jboss-profiler-jvmti/1.0.0.CR5/jboss-profiler-jvmti-1.0.0.CR5.jar"/>
- <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/ant/ant/1.7.0/ant-1.7.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/ant/ant-junit/1.7.0/ant-junit-1.7.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/jboss-common-core/2.2.3.GA/jboss-common-core-2.2.3.GA.jar"/>
- <classpathentry kind="var" path="M2_REPO/apache-xerces/xml-apis/2.7.1/xml-apis-2.7.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/apache-httpclient/commons-httpclient/2.0.2/commons-httpclient-2.0.2.jar"/>
- <classpathentry kind="var" path="M2_REPO/apache-slide/webdavlib/2.0/webdavlib-2.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/jbossas/jboss-as-server-manager/0.1.0-SNAPSHOT/jboss-as-server-manager-0.1.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/jboss/jbossas/jboss-as-server-manager/0.1.0-SNAPSHOT/jboss-as-server-manager-0.1.0-SNAPSHOT-sources.jar"/>
-</classpath>
\ No newline at end of file
Copied: projects/test/tags/1.1.0.GA/.classpath (from rev 72120, projects/test/trunk/.classpath)
===================================================================
--- projects/test/tags/1.1.0.GA/.classpath (rev 0)
+++ projects/test/tags/1.1.0.GA/.classpath 2008-04-13 11:09:49 UTC (rev 72129)
@@ -0,0 +1,18 @@
+<classpath>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/>
+ <classpathentry kind="src" path="src/test/java" output="target/test-classes"/>
+ <classpathentry kind="src" path="src/test/resources" output="target/test-classes" excluding="**/*.java"/>
+ <classpathentry kind="output" path="target/classes"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/ant/ant/1.7.0/ant-1.7.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/ant/ant-junit/1.7.0/ant-junit-1.7.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jboss/jboss-common-core/2.2.5.GA/jboss-common-core-2.2.5.GA.jar" sourcepath="M2_REPO/org/jboss/jboss-common-core/2.2.5.GA/jboss-common-core-2.2.5.GA-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jboss/logging/jboss-logging-log4j/2.0.5.GA/jboss-logging-log4j-2.0.5.GA.jar" sourcepath="M2_REPO/org/jboss/logging/jboss-logging-log4j/2.0.5.GA/jboss-logging-log4j-2.0.5.GA-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jboss/logging/jboss-logging-spi/2.0.5.GA/jboss-logging-spi-2.0.5.GA.jar"/>
+ <classpathentry kind="var" path="M2_REPO/jboss/profiler/jvmti/jboss-profiler-jvmti/1.0.0.CR5/jboss-profiler-jvmti-1.0.0.CR5.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jboss/jbossas/jboss-server-manager/0.1.0.GA/jboss-server-manager-0.1.0.GA.jar" sourcepath="M2_REPO/org/jboss/jbossas/jboss-server-manager/0.1.0.GA/jboss-server-manager-0.1.0.GA-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/apache-log4j/log4j/1.2.14/log4j-1.2.14.jar"/>
+</classpath>
\ No newline at end of file
Deleted: projects/test/tags/1.1.0.GA/.project
===================================================================
--- projects/test/trunk/.project 2008-04-13 09:59:46 UTC (rev 72118)
+++ projects/test/tags/1.1.0.GA/.project 2008-04-13 11:09:49 UTC (rev 72129)
@@ -1,13 +0,0 @@
-<projectDescription>
- <name>jboss-test</name>
- <comment>JBoss Test</comment>
- <projects/>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
\ No newline at end of file
Copied: projects/test/tags/1.1.0.GA/.project (from rev 72120, projects/test/trunk/.project)
===================================================================
--- projects/test/tags/1.1.0.GA/.project (rev 0)
+++ projects/test/tags/1.1.0.GA/.project 2008-04-13 11:09:49 UTC (rev 72129)
@@ -0,0 +1,13 @@
+<projectDescription>
+ <name>jboss-test</name>
+ <comment>Common test support classes</comment>
+ <projects/>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
\ No newline at end of file
Deleted: projects/test/tags/1.1.0.GA/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- projects/test/trunk/.settings/org.eclipse.jdt.core.prefs 2008-04-13 09:59:46 UTC (rev 72118)
+++ projects/test/tags/1.1.0.GA/.settings/org.eclipse.jdt.core.prefs 2008-04-13 11:09:49 UTC (rev 72129)
@@ -1,5 +0,0 @@
-#Mon Apr 30 16:25:29 CEST 2007
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.source=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
Copied: projects/test/tags/1.1.0.GA/.settings/org.eclipse.jdt.core.prefs (from rev 72120, projects/test/trunk/.settings/org.eclipse.jdt.core.prefs)
===================================================================
--- projects/test/tags/1.1.0.GA/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ projects/test/tags/1.1.0.GA/.settings/org.eclipse.jdt.core.prefs 2008-04-13 11:09:49 UTC (rev 72129)
@@ -0,0 +1,5 @@
+#Sun Apr 13 13:35:44 EEST 2008
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.source=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
Deleted: projects/test/tags/1.1.0.GA/pom-jdk14.xml
===================================================================
--- projects/test/trunk/pom-jdk14.xml 2008-04-13 09:59:46 UTC (rev 72118)
+++ projects/test/tags/1.1.0.GA/pom-jdk14.xml 2008-04-13 11:09:49 UTC (rev 72129)
@@ -1,208 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- - Notes for building and running tests.
- - Do to some limitations of the maven surefire plugin, the tests must
- - occur in a separate lifecycle from the build.
- -
- - mvn -f pom-jdk14.xml install - This will build the jdk14 version of the project.
- - mvn -f pom-jdk14.xml -Prun-jdk14-tests surefire:test - This will run the tests using a jdk1.4 jvm
- - Note: the tests will not work by calling mvn test, it must be performed by calling surefire directly.
- -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-parent</artifactId>
- <version>3</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-test-jdk14</artifactId>
- <packaging>jar</packaging>
- <name>JBoss Test</name>
- <version>1.0.6-SNAPSHOT</version>
- <description>Common test support classes</description>
- <url>http://www.jboss.org</url>
- <scm>
- <developerConnection>https://svn.jboss.org/repos/jbossas/projects/test/trunk</developerConnection>
- </scm>
- <build>
- <outputDirectory>${mainOutputDir}</outputDirectory>
- <testOutputDirectory>${testOutputDir}</testOutputDirectory>
- <plugins>
- <plugin>
- <groupId>jboss.maven-plugins</groupId>
- <artifactId>jboss-deploy-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-release-plugin</artifactId>
- <configuration>
- <tagBase>https://svn.jboss.org/repos/jbossas/projects/test/tags</tagBase>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jboss-retro-plugin</artifactId>
- <version>1.0-beta-1</version>
- <executions>
- <execution>
- <id>weave-classes</id>
- <goals>
- <goal>weave</goal>
- </goals>
- <configuration>
- <outputDirectory>${project.build.directory}/classes-jdk14</outputDirectory>
- </configuration>
- </execution>
- <execution>
- <id>weave-test-classes</id>
- <goals>
- <goal>weave-tests</goal>
- </goals>
- <configuration>
- <outputDirectory>${project.build.directory}/test-classes-jdk14</outputDirectory>
- </configuration>
- </execution>
- </executions>
- <configuration>
- <weaverClass>org.jboss.weaver.retro.WeaverRetroJdk14</weaverClass>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <classesDirectory>${project.build.directory}/classes-jdk14</classesDirectory>
- </configuration>
- </plugin>
- <plugin>
- <!-- Skip the tests here because the jdk14 tests have
- - to run the tests in a separate profile.
- -->
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <dependencies>
- <dependency>
- <groupId>ant</groupId>
- <artifactId>ant</artifactId>
- <version>1.6.5</version>
- </dependency>
- <dependency>
- <groupId>ant</groupId>
- <artifactId>ant-junit</artifactId>
- <version>1.6.5</version>
- </dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-common-logging-spi-jdk14</artifactId>
- <version>2.0.5-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-common-logging-log4j-jdk14</artifactId>
- <version>2.0.5-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-common-core-jdk14</artifactId>
- <version>2.2.1-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>jboss.profiler.jvmti</groupId>
- <artifactId>jboss-profiler-jvmti</artifactId>
- <version>1.0.0.CR5</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- </dependency>
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>1.2.14</version>
- </dependency>
- <dependency>
- <groupId>jboss</groupId>
- <artifactId>jboss-backport-concurrent</artifactId>
- <version>2.1.0.GA</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-retro</artifactId>
- <version>1.1.2</version>
- <classifier>rt</classifier>
- <scope>runtime</scope>
- </dependency>
- </dependencies>
-
- <profiles>
- <!-- Note: to run the jdk14 tests, the surefire plugin must be called outside
- - of the lifecycle. In other words it should be called directly from the command
- - line like this
- - mvn -f pom-jdk14.xml -Prun-jdk14-tests surefire:test
- -->
- <profile>
- <id>run-jdk14-tests</id>
- <properties>
- <mainOutputDir>target/classes-jdk14</mainOutputDir>
- <testOutputDir>target/test-classes-jdk14</testOutputDir>
- </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>1.0-alpha-3</version>
- <executions>
- <execution>
- <id>enforce-jdk14-property</id>
- <goals>
- <goal>enforce-once</goal>
- </goals>
- <configuration>
- <rules>
- <requireProperty>
- <property>java14_home</property>
- <message>
- The property java14_home should be set to a valid installation of jdk1.4. The jdk14 tests cannot be run without this property.
- </message>
- </requireProperty>
- </rules>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <jvm>${java14_home}/bin/java</jvm>
- <forkMode>always</forkMode>
- <skip>false</skip>
- <reportsDirectory>${project.build.directory}/surefire-reports-jdk14</reportsDirectory>
- <!-- Note: other test cases should be added once the require features are added to jboss-retro -->
- <includes>
- <include>**/*SecurityUnitTestCase.java</include>
- </includes>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
- <properties>
- <mainOutputDir>target/classes</mainOutputDir>
- <testOutputDir>target/test-classes</testOutputDir>
- </properties>
-
-</project>
Deleted: projects/test/tags/1.1.0.GA/pom.xml
===================================================================
--- projects/test/trunk/pom.xml 2008-04-13 09:59:46 UTC (rev 72118)
+++ projects/test/tags/1.1.0.GA/pom.xml 2008-04-13 11:09:49 UTC (rev 72129)
@@ -1,116 +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>3</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.test</groupId>
- <artifactId>jboss-test</artifactId>
- <packaging>jar</packaging>
- <name>JBoss Test</name>
- <version>1.1.0-SNAPSHOT</version>
- <description>Common test support classes</description>
- <url>http://www.jboss.org</url>
- <scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/test/trunk/</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/test/trunk/</developerConnection>
- </scm>
-
- <properties>
- <version.apache.ant>1.7.0</version.apache.ant>
- </properties>
-
- <build>
- <plugins>
- <!-- Dependency Plugin Configuration -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- </plugin>
-
- <plugin>
- <groupId>jboss.maven-plugins</groupId>
- <artifactId>jboss-deploy-maven-plugin</artifactId>
- </plugin>
-
- <plugin>
- <!-- To call this plugin, use mvn assembly:assembly -->
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2-beta-1</version>
- <configuration>
- <descriptors>
- <descriptor>src/main/assembly/dist.xml</descriptor>
- </descriptors>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-release-plugin</artifactId>
- <configuration>
- <tagBase>https://svn.jboss.org/repos/jbossas/projects/test/tags</tagBase>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant</artifactId>
- <version>${version.apache.ant}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant-junit</artifactId>
- <version>${version.apache.ant}</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.logging</groupId>
- <artifactId>jboss-logging-spi</artifactId>
- <version>2.0.5.GA</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.logging</groupId>
- <artifactId>jboss-logging-log4j</artifactId>
- <version>2.0.5.GA</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-common-core</artifactId>
- <version>2.2.5.GA</version>
- </dependency>
-
- <dependency>
- <groupId>jboss.profiler.jvmti</groupId>
- <artifactId>jboss-profiler-jvmti</artifactId>
- <version>1.0.0.CR5</version>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- </dependency>
-
- <dependency>
- <groupId>apache-log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>1.2.14</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.jbossas</groupId>
- <artifactId>jboss-server-manager</artifactId>
- <version>0.1.0.GA</version>
- </dependency>
-
- </dependencies>
-
-</project>
Copied: projects/test/tags/1.1.0.GA/pom.xml (from rev 72128, projects/test/trunk/pom.xml)
===================================================================
--- projects/test/tags/1.1.0.GA/pom.xml (rev 0)
+++ projects/test/tags/1.1.0.GA/pom.xml 2008-04-13 11:09:49 UTC (rev 72129)
@@ -0,0 +1,116 @@
+<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.test</groupId>
+ <artifactId>jboss-test</artifactId>
+ <packaging>jar</packaging>
+ <name>JBoss Test</name>
+ <version>1.1.0.GA</version>
+ <description>Common test support classes</description>
+ <url>http://www.jboss.org</url>
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/test/tags/1.1.0.GA</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/test/tags/1.1.0.GA</developerConnection>
+ </scm>
+
+ <properties>
+ <version.apache.ant>1.7.0</version.apache.ant>
+ </properties>
+
+ <build>
+ <plugins>
+ <!-- Dependency Plugin Configuration -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ </plugin>
+
+ <plugin>
+ <groupId>jboss.maven-plugins</groupId>
+ <artifactId>jboss-deploy-maven-plugin</artifactId>
+ </plugin>
+
+ <plugin>
+ <!-- To call this plugin, use mvn assembly:assembly -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-1</version>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/dist.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+ <tagBase>https://svn.jboss.org/repos/jbossas/projects/test/tags</tagBase>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant</artifactId>
+ <version>${version.apache.ant}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant-junit</artifactId>
+ <version>${version.apache.ant}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.logging</groupId>
+ <artifactId>jboss-logging-spi</artifactId>
+ <version>2.0.5.GA</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.logging</groupId>
+ <artifactId>jboss-logging-log4j</artifactId>
+ <version>2.0.5.GA</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-core</artifactId>
+ <version>2.2.5.GA</version>
+ </dependency>
+
+ <dependency>
+ <groupId>jboss.profiler.jvmti</groupId>
+ <artifactId>jboss-profiler-jvmti</artifactId>
+ <version>1.0.0.CR5</version>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ </dependency>
+
+ <dependency>
+ <groupId>apache-log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.14</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.jbossas</groupId>
+ <artifactId>jboss-server-manager</artifactId>
+ <version>0.1.0.GA</version>
+ </dependency>
+
+ </dependencies>
+
+</project>
\ No newline at end of file
Deleted: projects/test/tags/1.1.0.GA/src/main/java/org/jboss/test/security/PolicyPlugin.java
===================================================================
--- projects/test/trunk/src/main/java/org/jboss/test/security/PolicyPlugin.java 2008-04-13 09:59:46 UTC (rev 72118)
+++ projects/test/tags/1.1.0.GA/src/main/java/org/jboss/test/security/PolicyPlugin.java 2008-04-13 11:09:49 UTC (rev 72129)
@@ -1,142 +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 org.jboss.test.security;
-
-import java.lang.reflect.Constructor;
-import java.io.FilePermission;
-import java.security.AllPermission;
-import java.security.PermissionCollection;
-import java.security.Permissions;
-import java.security.Policy;
-
-/**
- * A Security Policy Plugin.
- *
- * @author <a href="adrian at jboss.com">Adrian Brock</a>
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public abstract class PolicyPlugin extends Policy
-{
- /** No permissions */
- private static PermissionCollection none;
-
- /** All file permissions */
- private static PermissionCollection fileRead;
-
- /** All permissions */
- private static PermissionCollection all;
-
- /**
- * Get the security plugin. This queries for the sytem property
- * org.jboss.test.security.PolicyPlugin to determine the PolicyPlugin
- * implementation class. If no such property exist the default
- * org.jboss.test.security.TestsPolicyPlugin implementation is used.
- *
- * @see PolicyPlugin
- * @see TestsPolicyPlugin
- *
- * @param clazz - the unit testcase class
- * @return the security policy plugin
- * @throws Exception for any error
- */
- public static PolicyPlugin getInstance(Class clazz)
- throws Exception
- {
- String policyClassName = System.getProperty("org.jboss.test.security.PolicyPlugin",
- "org.jboss.test.security.TestsPolicyPlugin");
- return getInstance(clazz, policyClassName);
- }
-
- /**
- * Get the security plugin. With the specified name.
- * The class must implement {@link PolicyPlugin} with a constructor
- * that takes the test class as a single parameter
- *
- * @see PolicyPlugin
- * @see TestsPolicyPlugin
- *
- * @param clazz - the unit testcase class
- * @param policyName - the policy name
- * @return the security policy plugin
- * @throws Exception for any error
- */
- public static PolicyPlugin getInstance(Class clazz, String policyName)
- throws Exception
- {
- Class policyClass = Thread.currentThread().getContextClassLoader().loadClass(policyName);
- Class[] sig = {Class.class};
- Constructor ctor = policyClass.getConstructor(sig);
- Object[] args = {clazz};
- return (PolicyPlugin) ctor.newInstance(args);
- }
-
- /**
- * No-op implementation
- */
- public void refresh()
- {
- }
-
- /**
- * The empty Permissions none.
- * @return none class ivar
- */
- protected PermissionCollection noPermissions()
- {
- if (none == null)
- none = new Permissions();
- return none;
- }
-
- /**
- * Create a PermissionCollection with read for all files permission
- * FilePermission("<<ALL FILES>>", "read")
- * @return the fileRead class ivar
- */
- protected PermissionCollection fileReadPermissions()
- {
- if (fileRead == null)
- {
- fileRead = new Permissions();
- fileRead.add(new FilePermission("<<ALL FILES>>", "read"));
- }
- return fileRead;
- }
-
- /**
- * A PermissionCollection with the special AllPermission that enables
- * all access.
- *
- * @see AllPermission
- * @return the all class ivar
- */
- protected PermissionCollection allPermissions()
- {
- if (all == null)
- {
- all = new Permissions();
- all.add(new AllPermission());
- }
- return all;
- }
-}
Copied: projects/test/tags/1.1.0.GA/src/main/java/org/jboss/test/security/PolicyPlugin.java (from rev 72125, projects/test/trunk/src/main/java/org/jboss/test/security/PolicyPlugin.java)
===================================================================
--- projects/test/tags/1.1.0.GA/src/main/java/org/jboss/test/security/PolicyPlugin.java (rev 0)
+++ projects/test/tags/1.1.0.GA/src/main/java/org/jboss/test/security/PolicyPlugin.java 2008-04-13 11:09:49 UTC (rev 72129)
@@ -0,0 +1,141 @@
+/*
+* 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 org.jboss.test.security;
+
+import java.lang.reflect.Constructor;
+import java.io.FilePermission;
+import java.security.AllPermission;
+import java.security.PermissionCollection;
+import java.security.Permissions;
+import java.security.Policy;
+
+/**
+ * A Security Policy Plugin.
+ *
+ * @author <a href="adrian at jboss.com">Adrian Brock</a>
+ * @author Scott.Stark at jboss.org
+ * @version $Revision$
+ */
+public abstract class PolicyPlugin extends Policy
+{
+ /** No permissions */
+ private static PermissionCollection none;
+
+ /** All file permissions */
+ private static PermissionCollection fileRead;
+
+ /** All permissions */
+ private static PermissionCollection all;
+
+ /**
+ * Get the security plugin. This queries for the sytem property
+ * org.jboss.test.security.PolicyPlugin to determine the PolicyPlugin
+ * implementation class. If no such property exist the default
+ * org.jboss.test.security.TestsPolicyPlugin implementation is used.
+ *
+ * @see PolicyPlugin
+ * @see TestsPolicyPlugin
+ *
+ * @param clazz - the unit testcase class
+ * @return the security policy plugin
+ * @throws Exception for any error
+ */
+ public static PolicyPlugin getInstance(Class clazz)
+ throws Exception
+ {
+ String policyClassName = System.getProperty("org.jboss.test.security.PolicyPlugin",
+ "org.jboss.test.security.TestsPolicyPlugin");
+ return getInstance(clazz, policyClassName);
+ }
+
+ /**
+ * Get the security plugin. With the specified name.
+ * The class must implement {@link PolicyPlugin} with a constructor
+ * that takes the test class as a single parameter
+ *
+ * @see PolicyPlugin
+ * @see TestsPolicyPlugin
+ *
+ * @param clazz - the unit testcase class
+ * @param policyName - the policy name
+ * @return the security policy plugin
+ * @throws Exception for any error
+ */
+ public static PolicyPlugin getInstance(Class clazz, String policyName)
+ throws Exception
+ {
+ Class policyClass = Thread.currentThread().getContextClassLoader().loadClass(policyName);
+ Class[] sig = {Class.class};
+ Constructor ctor = policyClass.getConstructor(sig);
+ Object[] args = {clazz};
+ return (PolicyPlugin) ctor.newInstance(args);
+ }
+
+ /**
+ * No-op implementation
+ */
+ public void refresh()
+ {
+ }
+
+ /**
+ * The empty Permissions none.
+ * @return none class ivar
+ */
+ protected PermissionCollection noPermissions()
+ {
+ if (none == null)
+ none = new Permissions();
+ return none;
+ }
+
+ /**
+ * Create a PermissionCollection with read for all files permission
+ * @return the fileRead class ivar
+ */
+ protected PermissionCollection fileReadPermissions()
+ {
+ if (fileRead == null)
+ {
+ fileRead = new Permissions();
+ fileRead.add(new FilePermission("<<ALL FILES>>", "read"));
+ }
+ return fileRead;
+ }
+
+ /**
+ * A PermissionCollection with the special AllPermission that enables
+ * all access.
+ *
+ * @see AllPermission
+ * @return the all class ivar
+ */
+ protected PermissionCollection allPermissions()
+ {
+ if (all == null)
+ {
+ all = new Permissions();
+ all.add(new AllPermission());
+ }
+ return all;
+ }
+}
More information about the jboss-cvs-commits
mailing list