[jboss-cvs] joramtests ...
Scott Stark
scott.stark at jboss.com
Thu Mar 29 00:28:35 EDT 2007
User: starksm
Date: 07/03/29 00:28:35
Modified: joramtests .classpath .cvsignore README.txt
Added: joramtests pom.xml
Removed: joramtests build.sh build.xml component-info.xml
jbossbuild.xml build.bat
Log:
+ covert to mvn
+ Drop the poor properties file setup logic and require that the properties be passed in
Revision Changes Path
1.2 +10 -8 joramtests/.classpath
(In the diff below, changes in quantity of whitespace are not shown.)
Index: .classpath
===================================================================
RCS file: /cvsroot/jboss/joramtests/.classpath,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- .classpath 17 Nov 2005 19:53:49 -0000 1.1
+++ .classpath 29 Mar 2007 04:28:35 -0000 1.2
@@ -1,14 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry excluding="org/objectweb/jtests/providers/admin/AshnaMQAdmin.java|org/objectweb/jtests/providers/admin/FioranoMQAdmin.java|org/objectweb/jtests/providers/admin/JoramAdmin.java|org/objectweb/jtests/providers/admin/PramatiAdmin.java|org/objectweb/jtests/providers/admin/SwiftMQAdmin.java" kind="src" path="src/main"/>
+ <classpathentry kind="src" path="src/main/java"/>
<classpathentry exported="true" kind="lib" path="src/resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="src" path="/common"/>
- <classpathentry kind="src" path="/j2se"/>
- <classpathentry kind="src" path="/j2ee"/>
- <classpathentry kind="lib" path="/thirdparty/apache-log4j/lib/log4j.jar"/>
- <classpathentry kind="lib" path="/thirdparty/oswego-concurrent/lib/concurrent.jar"/>
- <classpathentry kind="lib" path="/thirdparty/junit/lib/junit.jar"/>
- <classpathentry kind="src" path="/test"/>
+ <classpathentry kind="var" path="MVN_REPO/apache-log4j/log4j/1.2.8/log4j-1.2.8.jar"/>
+ <classpathentry kind="var" path="MVN_REPO/oswego-concurrent/concurrent/1.3.4/concurrent-1.3.4.jar"/>
+ <classpathentry kind="var" path="MVN_REPO/jboss/jboss-test/1.0.1.GA/jboss-test-1.0.1.GA.jar"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/3.8.1"/>
+ <classpathentry kind="var" path="MVN_REPO/jboss/jboss-common-core/2.0.3.GA/jboss-common-core-2.0.3.GA.jar"/>
+ <classpathentry kind="var" path="MVN_REPO/jboss/jboss-logging-spi/2.0.3.GA/jboss-logging-spi-2.0.3.GA.jar"/>
+ <classpathentry kind="var" path="MVN_REPO/jboss/jboss-logging-log4j/2.0.3.GA/jboss-logging-log4j-2.0.3.GA.jar"/>
+ <classpathentry kind="var" path="MVN_REPO/jboss/jboss-j2ee/4.0.2/jboss-j2ee-4.0.2.jar"/>
+ <classpathentry kind="var" path="MVN_REPO/jboss/jboss-j2se/5.0-SNAPSHOT/jboss-j2se-5.0-SNAPSHOT.jar"/>
<classpathentry kind="output" path="output/eclipse-classes"/>
</classpath>
1.2 +1 -0 joramtests/.cvsignore
(In the diff below, changes in quantity of whitespace are not shown.)
Index: .cvsignore
===================================================================
RCS file: /cvsroot/jboss/joramtests/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- .cvsignore 17 Nov 2005 19:53:49 -0000 1.1
+++ .cvsignore 29 Mar 2007 04:28:35 -0000 1.2
@@ -1,2 +1,3 @@
output
build.log
+target
1.2 +3 -4 joramtests/README.txt
(In the diff below, changes in quantity of whitespace are not shown.)
Index: README.txt
===================================================================
RCS file: /cvsroot/jboss/joramtests/README.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- README.txt 17 Nov 2005 19:53:49 -0000 1.1
+++ README.txt 29 Mar 2007 04:28:35 -0000 1.2
@@ -1,6 +1,5 @@
-This project should be built alongside JBoss.
-e.g.
-cd jboss-head
+this project depends on maven2.
+
cvs co joramtests
cd joramtests
-ant
\ No newline at end of file
+mvn
1.1 date: 2007/03/29 04:28:35; author: starksm; state: Exp;joramtests/pom.xml
Index: pom.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">
<modelVersion>4.0.0</modelVersion>
<groupId>jboss</groupId>
<artifactId>joramtests</artifactId>
<packaging>jar</packaging>
<version>1.3</version>
<name>JBoss ported Object Joram JMS tests</name>
<url>http://www.jboss.org</url>
<licenses>
<license>
<name>lgpl</name>
<url>http://repository.jboss.com/licenses/lgpl.txt</url>
</license>
</licenses>
<organization>
<name>JBoss, A division of Red Hat</name>
<url>http://www.jboss.org</url>
</organization>
<repositories>
<repository>
<id>jboss</id>
<name>JBoss Inc. Repository</name>
<layout>default</layout>
<url>http://repository.jboss.com/maven2/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>jbosspluginrepo</id>
<name>jboss plugin repository</name>
<url>http://repository.jboss.com/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
<build>
<sourceDirectory>src/main/java</sourceDirectory>
<finalName>${artifactId}</finalName>
<plugins>
<!-- define how we want compilation to take place
here, we accept most of the defaults but say that we want the
optimization flag set, and define the source and target to be 1.5,
these setting will be inherited by child projects -->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0</version>
<configuration>
<debug>true</debug>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<!-- define that we wish to create src jars -->
<plugin>
<artifactId>maven-source-plugin</artifactId>
<inherited>true</inherited>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<printSummary>true</printSummary>
<disableXmlReport>false</disableXmlReport>
<testFailureIgnore>true</testFailureIgnore>
<forkMode>once</forkMode> <!-- required to correctly run the PojoServer tests -->
<systemProperties>
<property>
<name>java.protocol.handler.pkgs</name>
<value>org.jboss.virtual.protocol</value>
</property>
</systemProperties>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>jboss</groupId>
<artifactId>jboss-common-core</artifactId>
<version>2.0.3.GA</version>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>jboss-j2ee</artifactId>
<version>4.0.2</version>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>jboss-j2se</artifactId>
<version>5.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>jboss-logging-log4j</artifactId>
<version>2.0.3.GA</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>jboss-test</artifactId>
<version>1.0.1.GA</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
</dependency>
</dependencies>
<distributionManagement>
<repository>
<id>cvs-file-repository</id>
<!-- Set maven.cvs.root in your settings.xml -->
<url>file://${maven.cvs.root}</url>
</repository>
</distributionManagement>
</project>
More information about the jboss-cvs-commits
mailing list