SF.net SVN: mx4j:[2287] trunk/mx4j

[email protected] Sat, 02 Jan 2010 09:14:46 +0000
Newsgroups gmane.comp.java.mx4j.cvs
Message-ID <[email protected]>
Revision: 2287
          http://mx4j.svn.sourceforge.net/mx4j/?rev=2287&view=rev
Author:   altheengineer
Date:     2010-01-02 09:14:46 +0000 (Sat, 02 Jan 2010)

Log Message:
-----------
Moving system properties to where they are needed for running tests and getting correct handlers or providers. Corrected how jars are loaded for some compliance tests (and set some compliance tests as removed as they are redundant - testing the same class from two separate class loaders). Also started work on compliance tests against references implementation classes.

Modified Paths:
--------------
    trunk/mx4j/jsr003/pom.xml
    trunk/mx4j/jsr160/pom.xml
    trunk/mx4j/pom.xml
    trunk/mx4j/tools/pom.xml

Modified: trunk/mx4j/jsr003/pom.xml
===================================================================
--- trunk/mx4j/jsr003/pom.xml	2010-01-02 05:55:32 UTC (rev 2286)
+++ trunk/mx4j/jsr003/pom.xml	2010-01-02 09:14:46 UTC (rev 2287)
@@ -57,6 +57,11 @@
         </dependency>
 
         <dependency>
+            <groupId>javax.security</groupId>
+            <artifactId>jaas</artifactId>
+            <scope>test</scope>
+        </dependency>
+         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
             <scope>test</scope>

Modified: trunk/mx4j/jsr160/pom.xml
===================================================================
--- trunk/mx4j/jsr160/pom.xml	2010-01-02 05:55:32 UTC (rev 2286)
+++ trunk/mx4j/jsr160/pom.xml	2010-01-02 09:14:46 UTC (rev 2287)
@@ -15,17 +15,32 @@
 
     <build>
         <plugins>
-            <plugin>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
+               <plugin>
+                  <artifactId>maven-compiler-plugin</artifactId>
+                  <configuration>
                     <testExcludes>
                         <exclude>**/RemoteJMXSerializationTest.java</exclude>
                         <exclude>**/RemoteJMXSignatureTest.java</exclude>
                         <exclude>**/RemoteSecurityManagerTestCase.java</exclude>
                         <exclude>**/RMIJRMPRemoteSecurityManagerTest.java</exclude>
                     </testExcludes>
-                </configuration>
-            </plugin>
+                  </configuration>
+                </plugin>
+                <plugin>
+                    <artifactId>maven-surefire-plugin</artifactId>
+                    <configuration>
+                        <systemProperties>
+                          <property>
+                             <name>java.protocol.handler.pkgs</name>
+                             <value>mx4j.remote</value>
+                          </property>
+                          <property>
+                             <name>jmx.remote.protocol.provider.pkgs</name>
+                             <value>mx4j.remote.provider</value>
+                          </property>						  
+                       </systemProperties>
+                    </configuration>
+                </plugin>
             <plugin>
                 <artifactId>maven-jar-plugin</artifactId>
                 <executions>
@@ -95,6 +110,11 @@
         </dependency>
 
         <dependency>
+            <groupId>javax.security</groupId>
+            <artifactId>jaas</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
             <scope>test</scope>

Modified: trunk/mx4j/pom.xml
===================================================================
--- trunk/mx4j/pom.xml	2010-01-02 05:55:32 UTC (rev 2286)
+++ trunk/mx4j/pom.xml	2010-01-02 09:14:46 UTC (rev 2287)
@@ -57,11 +57,11 @@
                         <systemProperties>
                           <property>
                              <name>java.protocol.handler.pkgs</name>
-                             <value>mx4j.tools.remote</value>
+                             <value>mx4j.remote|mx4j.tools.remote</value>
                           </property>
                           <property>
                              <name>jmx.remote.protocol.provider.pkgs</name>
-                             <value>mx4j.tools.remote.provider</value>
+                             <value>mx4j.remote.provider|mx4j.tools.remote.provider</value>
                           </property>						  
                        </systemProperties>
                     </configuration>
@@ -99,7 +99,6 @@
             <id>apache.snapshots</id>
             <name>Apache Snapshots Repository</name>
             <url>http://svn.apache.org/maven-snapshot-repository</url>
-
         </repository>
         <repository>
             <id>codehaus</id>
@@ -111,6 +110,11 @@
             <name>CodeHaus Snapshots Repository</name>
             <url>http://snapshots.repository.codehaus.org</url>
         </repository>
+        <repository>
+            <id>jboss</id>
+            <name>JBoss Repository</name>
+            <url>http://repository.jboss.org/maven2</url>
+        </repository>
     </repositories>
 
     <pluginRepositories />
@@ -146,6 +150,12 @@
                 <version>2.9.1</version>
                 <scope>test</scope>
             </dependency>
+            <dependency>
+                <groupId>javax.security</groupId>
+                <artifactId>jaas</artifactId>
+                <version>1.0.01</version>
+                <scope>test</scope>
+            </dependency>
 
             <dependency>
                 <groupId>commons-logging</groupId>

Modified: trunk/mx4j/tools/pom.xml
===================================================================
--- trunk/mx4j/tools/pom.xml	2010-01-02 05:55:32 UTC (rev 2286)
+++ trunk/mx4j/tools/pom.xml	2010-01-02 09:14:46 UTC (rev 2287)
@@ -13,6 +13,26 @@
     <name>MX4J :: Tools</name>
     <packaging>jar</packaging>
 
+    <build>
+      <plugins>
+                <plugin>
+                    <artifactId>maven-surefire-plugin</artifactId>
+                    <configuration>
+                        <systemProperties>
+                          <property>
+                             <name>java.protocol.handler.pkgs</name>
+                             <value>mx4j.tools.remote</value>
+                          </property>
+                          <property>
+                             <name>jmx.remote.protocol.provider.pkgs</name>
+                             <value>mx4j.tools.remote.provider</value>
+                          </property>						  
+                       </systemProperties>
+                    </configuration>
+                </plugin>
+      </plugins>
+    </build>
+
     <dependencies>
         <dependency>
             <groupId>axis</groupId>


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev