Here's a potential workaround:
svn checkout
http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-surefire-plugin
maven-surefire-plugin
cd maven-surefire-plugin
mvn install
adjust geotools pom.xml (2.1.2 --> 2.1.3-SNAPSHOT):
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.1.3-SNAPSHOT</version>
</plugin>
and...
RUN ABORTED
java.lang.AssertionError
org.apache.maven.surefire.Runner
An exception or error caused a run to abort.
java.lang.ClassNotFoundException: javax.media.jai.JAI
better... just need to teach maven 2 where jai lives...
[INFO]
----------------------------------------------------------------------------
[INFO] Building Referencing services
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[DEBUG] maven-surefire-plugin: using locally installed snapshot
[DEBUG] maven-surefire-plugin: using locally installed snapshot
[DEBUG] maven-surefire-plugin: using locally installed snapshot
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-resources-plugin:2.1:resources' -->
[DEBUG] (f) filters = []
[DEBUG] (f) outputDirectory =
c:\java\geotools\2.2.x\module\referencing\target\classes
[DEBUG] (f) project = [EMAIL PROTECTED]
[DEBUG] (f) resources = [EMAIL PROTECTED]
[DEBUG] -- end configuration --
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[DEBUG] org.geotools:gt2-referencing:jar:2.2-SNAPSHOT (selected for null)
[DEBUG] junit:junit:jar:3.8.1 (selected for test)
[DEBUG] javax.units:jsr108:jar:0.01 (selected for compile)
[DEBUG] com.vividsolutions:jts:jar:1.6 (selected for compile)
[DEBUG] java3d:vecmath:jar:1.3.1 (selected for compile)
[DEBUG] Retrieving parent-POM from the repository for project:
org.opengis:geoapi:jar:2.0
[DEBUG] org.opengis:geoapi:jar:2.0 (selected for compile)
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-compiler-plugin:2.0:compile' -->
[DEBUG] (f) basedir = c:\java\geotools\2.2.x\module\referencing
[DEBUG] (f) buildDirectory =
c:\java\geotools\2.2.x\module\referencing\target
[DEBUG] (f) classpathElements =
[c:\java\geotools\2.2.x\module\referencing\target\classes, C:\Documents
and
Settings\Refractions\.m2\repository\javax\units\jsr108\0.01\jsr108-0.01.jar,
C:\Documents and
Settings\Refractions\.m2\repository\com\vividsolutions\jts\1.6\jts-1.6.jar,
C:\Documents and
Settings\Refractions\.m2\repository\org\opengis\geoapi\2.0\geoapi-2.0.jar,
C:\Documents and
Settings\Refractions\.m2\repository\java3d\vecmath\1.3.1\vecmath-1.3.1.jar]
[DEBUG] (f) compileSourceRoots =
[c:\java\geotools\2.2.x\module\referencing\src]
[DEBUG] (f) compilerId = javac
[DEBUG] (f) debug = true
[DEBUG] (f) encoding = ISO-8859-1
[DEBUG] (f) fork = false
[DEBUG] (f) optimize = false
[DEBUG] (f) outputDirectory =
c:\java\geotools\2.2.x\module\referencing\target\classes
[DEBUG] (f) outputFileName = gt2-referencing-2.2-SNAPSHOT
[DEBUG] (f) projectArtifact =
org.geotools:gt2-referencing:jar:2.2-SNAPSHOT
[DEBUG] (f) source = 1.4
[DEBUG] (f) staleMillis = 0
[DEBUG] (f) target = 1.4
[DEBUG] (f) verbose = false
[DEBUG] -- end configuration --
[INFO] [compiler:compile]
[DEBUG] Using compiler 'javac'.
[DEBUG] Source directories: [c:\java\geotools\2.2.x\module\referencing\src]
[DEBUG] Classpath: [c:\java\geotools\2.2.x\module\referencing\target\classes
C:\Documents and
Settings\Refractions\.m2\repository\javax\units\jsr108\0.01\jsr108-0.01.jar
C:\Documents and
Settings\Refractions\.m2\repository\com\vividsolutions\jts\1.6\jts-1.6.jar
C:\Documents and
Settings\Refractions\.m2\repository\org\opengis\geoapi\2.0\geoapi-2.0.jar
C:\Documents and
Settings\Refractions\.m2\repository\java3d\vecmath\1.3.1\vecmath-1.3.1.jar]
[DEBUG] Output directory:
c:\java\geotools\2.2.x\module\referencing\target\classes
[INFO] Nothing to compile - all classes are up to date
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-resources-plugin:2.1:testResources' -->
[DEBUG] (f) filters = []
[DEBUG] (f) outputDirectory =
c:\java\geotools\2.2.x\module\referencing\target\test-classes
[DEBUG] (f) project = [EMAIL PROTECTED]
[DEBUG] (f) resources = [EMAIL PROTECTED]
[DEBUG] -- end configuration --
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[DEBUG] org.geotools:gt2-referencing:jar:2.2-SNAPSHOT (selected for null)
[DEBUG] junit:junit:jar:3.8.1 (selected for test)
[DEBUG] javax.units:jsr108:jar:0.01 (selected for compile)
[DEBUG] com.vividsolutions:jts:jar:1.6 (selected for compile)
[DEBUG] java3d:vecmath:jar:1.3.1 (selected for compile)
[DEBUG] org.opengis:geoapi:jar:2.0 (selected for compile)
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-compiler-plugin:2.0:testCompile' -->
[DEBUG] (f) basedir = c:\java\geotools\2.2.x\module\referencing
[DEBUG] (f) buildDirectory =
c:\java\geotools\2.2.x\module\referencing\target
[DEBUG] (f) classpathElements =
[c:\java\geotools\2.2.x\module\referencing\target\classes,
c:\java\geotools\2.2.x\module\referencing\target\test-classes,
C:\Documents and
Settings\Refractions\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar,
C:\Documents and
Settings\Refractions\.m2\repository\javax\units\jsr108\0.01\jsr108-0.01.jar,
C:\Documents and
Settings\Refractions\.m2\repository\com\vividsolutions\jts\1.6\jts-1.6.jar,
C:\Documents and
Settings\Refractions\.m2\repository\org\opengis\geoapi\2.0\geoapi-2.0.jar,
C:\Documents and
Settings\Refractions\.m2\repository\java3d\vecmath\1.3.1\vecmath-1.3.1.jar]
[DEBUG] (f) compileSourceRoots =
[c:\java\geotools\2.2.x\module\referencing\test]
[DEBUG] (f) compilerId = javac
[DEBUG] (f) debug = true
[DEBUG] (f) encoding = ISO-8859-1
[DEBUG] (f) fork = false
[DEBUG] (f) optimize = false
[DEBUG] (f) outputDirectory =
c:\java\geotools\2.2.x\module\referencing\target\test-classes
[DEBUG] (f) outputFileName = gt2-referencing-2.2-SNAPSHOT
[DEBUG] (f) source = 1.4
[DEBUG] (f) staleMillis = 0
[DEBUG] (f) target = 1.4
[DEBUG] (f) verbose = false
[DEBUG] -- end configuration --
[INFO] [compiler:testCompile]
[DEBUG] Using compiler 'javac'.
[DEBUG] Source directories: [c:\java\geotools\2.2.x\module\referencing\test]
[DEBUG] Classpath: [c:\java\geotools\2.2.x\module\referencing\target\classes
c:\java\geotools\2.2.x\module\referencing\target\test-classes
C:\Documents and
Settings\Refractions\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar
C:\Documents and
Settings\Refractions\.m2\repository\javax\units\jsr108\0.01\jsr108-0.01.jar
C:\Documents and
Settings\Refractions\.m2\repository\com\vividsolutions\jts\1.6\jts-1.6.jar
C:\Documents and
Settings\Refractions\.m2\repository\org\opengis\geoapi\2.0\geoapi-2.0.jar
C:\Documents and
Settings\Refractions\.m2\repository\java3d\vecmath\1.3.1\vecmath-1.3.1.jar]
[DEBUG] Output directory:
c:\java\geotools\2.2.x\module\referencing\target\test-classes
[INFO] Nothing to compile - all classes are up to date
[DEBUG] org.geotools:gt2-referencing:jar:2.2-SNAPSHOT (selected for null)
[DEBUG] junit:junit:jar:3.8.1 (selected for test)
[DEBUG] javax.units:jsr108:jar:0.01 (selected for compile)
[DEBUG] com.vividsolutions:jts:jar:1.6 (selected for compile)
[DEBUG] java3d:vecmath:jar:1.3.1 (selected for compile)
[DEBUG] org.opengis:geoapi:jar:2.0 (selected for compile)
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-surefire-plugin:2.1.3-SNAPSHOT:test' -->
[DEBUG] (f) argLine = -Xmx512M -enableassertions
[DEBUG] (f) basedir = c:\java\geotools\2.2.x\module\referencing
[DEBUG] (f) childDelegation = true
[DEBUG] (f) classesDirectory =
c:\java\geotools\2.2.x\module\referencing\target\classes
[DEBUG] (f) classpathElements =
[c:\java\geotools\2.2.x\module\referencing\target\classes,
c:\java\geotools\2.2.x\module\referencing\target\test-classes,
C:\Documents and
Settings\Refractions\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar,
C:\Documents and
Settings\Refractions\.m2\repository\javax\units\jsr108\0.01\jsr108-0.01.jar,
C:\Documents and
Settings\Refractions\.m2\repository\com\vividsolutions\jts\1.6\jts-1.6.jar,
C:\Documents and
Settings\Refractions\.m2\repository\org\opengis\geoapi\2.0\geoapi-2.0.jar,
C:\Documents and
Settings\Refractions\.m2\repository\java3d\vecmath\1.3.1\vecmath-1.3.1.jar]
[DEBUG] (f) excludes = [**/*OnlineTest.java]
[DEBUG] (f) forkMode = once
[DEBUG] (f) includes = [**/*Test.java]
[DEBUG] (f) jvm = java
[DEBUG] (f) localRepository = [local] -> file://C:\Documents and
Settings\Refractions\.m2\repository
[DEBUG] (f) pluginArtifacts = [junit:junit:jar:3.8.1,
org.apache.maven.surefire:surefire:jar:1.5.3-20060228.005631-4,
org.apache.maven.surefire:surefire-booter:jar:1.5.3-20060228.005631-4,
org.codehaus.plexus:plexus-utils:jar:1.0.4,
org.apache.maven:maven-plugin-api:jar:2.0,
org.apache.maven:maven-artifact:jar:2.0]
[DEBUG] (f) printSummary = false
[DEBUG] (f) reportFormat = brief
[DEBUG] (f) reportsDirectory =
c:\java\geotools\2.2.x\module\referencing\target/surefire-reports
[DEBUG] (f) testClassesDirectory =
c:\java\geotools\2.2.x\module\referencing\target\test-classes
[DEBUG] (f) testFailureIgnore = false
[DEBUG] (f) useFile = true
[DEBUG] -- end configuration --
[INFO] [surefire:test]
[INFO] Setting reports dir:
c:\java\geotools\2.2.x\module\referencing\target/surefire-reports
[DEBUG] Test Classpath :
[DEBUG] c:\java\geotools\2.2.x\module\referencing\target\test-classes
[DEBUG] c:\java\geotools\2.2.x\module\referencing\target\classes
[DEBUG] c:\java\geotools\2.2.x\module\referencing\target\classes
[DEBUG] c:\java\geotools\2.2.x\module\referencing\target\test-classes
[DEBUG] C:\Documents and
Settings\Refractions\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar
[DEBUG] C:\Documents and
Settings\Refractions\.m2\repository\javax\units\jsr108\0.01\jsr108-0.01.jar
[DEBUG] C:\Documents and
Settings\Refractions\.m2\repository\com\vividsolutions\jts\1.6\jts-1.6.jar
[DEBUG] C:\Documents and
Settings\Refractions\.m2\repository\org\opengis\geoapi\2.0\geoapi-2.0.jar
[DEBUG] C:\Documents and
Settings\Refractions\.m2\repository\java3d\vecmath\1.3.1\vecmath-1.3.1.jar
[DEBUG] Adding to surefire test classpath: C:\Documents and
Settings\Refractions\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar
[DEBUG] Adding to surefire test classpath: C:\Documents and
Settings\Refractions\.m2\repository\org\apache\maven\surefire\surefire\1.5.3-SNAPSHOT\surefire-1.5.3-SNAPSHOT.jar
[DEBUG] Adding to surefire test classpath: C:\Documents and
Settings\Refractions\.m2\repository\org\apache\maven\surefire\surefire-booter\1.5.3-SNAPSHOT\surefire-booter-1.5.3-SNAPSHOT.jar
[DEBUG] Adding to surefire test classpath: c:\Program Files\Apache
Software Foundation\maven-2.0.2\core\plexus-utils-1.1.jar
java -Xmx512M -enableassertions -classpath "C:\Documents and
Settings\Refractions\.m2\repository\org\apache\maven\surefire\surefire-booter\1.5.3-SNAPSHOT\surefire-booter-1.5.3-SNAPSHOT.jar;c:\Program
Files\Apache Software Foundation\maven-2.0.2\core\plexus-utils-1.1.jar"
org.apache.maven.surefire.SurefireBooter
c:\java\geotools\2.2.x\module\referencing
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel