Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 1.3
-
Fix Version/s: 1.3.3
-
Component/s: General
-
Labels:None
-
Environment:$ mvn --version
Maven version: 2.0.10
Java version: 1.6.0_10
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
-
Number of attachments :2
Description
----------
(Note I surrounded the text I typed with a line of 10 "-" and the info I copy/pasted with ...paste... to help seperate what I typed with what I copy/pasted.)
1) Downloaded the source of castor 1.3 http://dist.codehaus.org/castor/1.3/castor-1.3-src.zip
2) unzipped it
3) changed to the castor-1.3 dir
4) ran mvn install
and I received the errors:
----------
...paste...
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'c0a5b3c6922f5467d77f9e5b71307be846584eef'; remote = '<!DOCTYPE' - RETRING
Downloading: https://maven2-repository.dev.java.net/nonav/repository/org/apache/maven/wagon/wagon-webdav/1.0-beta-1/wagon-webdav-1.0-beta-1.
m
396b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'c0a5b3c6922f5467d77f9e5b71307be846584eef'; remote = '<!DOCTYPE' - IGNOING
[WARNING] POM for 'org.apache.maven.wagon:wagon-webdav:pom:1.0-beta-1:runtime' is invalid. It will be ignored for artifact resolution. Reaso
Not a v4.0.0 POM. for project org.apache.maven.wagon:wagon-webdav at C:\Documents and Settings\bkrueger\.m2\repository\org\apache\maven\wag
\wagon-webdav\1.0-beta-1\wagon-webdav-1.0-beta-1.pom
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] null
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.UnsupportedOperationException
at java.util.AbstractCollection.add(AbstractCollection.java:221)
at org.apache.maven.plugin.DefaultPluginManager.checkPlexusUtils(DefaultPluginManager.java:880)
at org.apache.maven.extension.DefaultExtensionManager.addExtension(DefaultExtensionManager.java:122)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.findExtensions(DefaultLifecycleExecutor.java:158)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] ------------------------------------------------------------------------
...paste...
----------
5) I research and found that wagon-webdav was at beta-2 and the castor pom said beta-1 so I changed the castor pom.xml to read
----------
...paste...
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav</artifactId>
<version>1.0-beta-2</version>
</extension>
</extensions>
...paste...
----------
6) I reran mvn install and received the error:
----------
...paste...
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar
]
[INFO] Building jar: C:\dev\castor\castor-1.3\core\target\castor-core-1.3-sources.jar
[INFO] [install:install]
[INFO] Installing C:\dev\castor\castor-1.3\core\target\castor-core-1.3.jar to C:\Documents and Settings\bkrueger\.m2\repository\org\codehaus\castor\castor-core\1.3\castor-core-1.3.jar
[INFO] Installing C:\dev\castor\castor-1.3\core\target\castor-core-1.3-sources.jar to C:\Documents and Settings\bkrueger\.m2\repository\org\codehaus\castor\castor-core\1.3\castor-core-1.3-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Castor XML - core
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] snapshot org.codehaus.mojo:castor-maven-plugin:2.0-SNAPSHOT: checking for updates from maven2-repository.dev.java.net
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '05534d267ab960f54e2cf70d63718d2584807bd5'; remote = '<!DOCTYPE' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '05534d267ab960f54e2cf70d63718d2584807bd5'; remote = '<!DOCTYPE' - IGNORING
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.codehaus.mojo:castor-maven-plugin
Reason: Error getting POM for 'org.codehaus.mojo:castor-maven-plugin' from the repository: Unable to read local copy of metadata: Cannot read metadata from 'C:\Documents and Settings\bkrueger\.m2\repository\org\codehaus\mojo\castor-maven-plugin\2.0-SNAPSHOT\maven-metadata-maven2-repository.dev.java.net.xml': end tag name </body> must match start tag name <hr> from line 7 (position: TEXT seen ...</address>\n</body>... @9:8)
org.codehaus.mojo:castor-maven-plugin:pom:2.0-SNAPSHOT
for project org.codehaus.mojo:castor-maven-plugin
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 54 seconds
[INFO] Finished at: Tue Jul 21 08:32:05 CDT 2009
[INFO] Final Memory: 17M/30M
[INFO] ------------------------------------------------------------------------
...paste...
----------
7) I looked at the file maven-metadata-maven2-repository.dev.data.net.xml and it's an html file that reads:
----------
...paste...
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://download.java.net/maven/2/org/codehaus/mojo/castor-maven-plugin/2.0-SNAPSHOT/maven-metadata.xml">here</a>.</p>
<hr>
<address>Apache Server at maven2-repository.dev.java.net Port 443</address>
</body></html>
...paste...
----------
8) I tried to go to that link referenced in the html file and it was a dead end. (not found on server). I went to the url referenced in the pom.xml:
----------
<repository>
<id>maven2-repository.dev.java.net</id>
<name>Java.net Repository for Maven 2</name>
<url>https://maven2-repository.dev.java.net/nonav/repository</url>
<layout>default</layout>
</repository>
----------
9) and was redirected to: http://download.java.net/maven/2/ so I changed the above pom.xml entry's url to that one, deleted the file maven-metadata-maven2-repository.dev.java.net.xml and reran mvn install and I get the following error:
----------
...paste...
[INFO] [jar:jar]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar
]
[INFO] Building jar: C:\dev\castor\castor-1.3\core\target\castor-core-1.3-sources.jar
[INFO] [install:install]
[INFO] Installing C:\dev\castor\castor-1.3\core\target\castor-core-1.3.jar to C:\Documents and Settings\bkrueger\.m2\repository\org\codehaus\castor\castor-core\1.3\castor-core-1.3.jar
[INFO] Installing C:\dev\castor\castor-1.3\core\target\castor-core-1.3-sources.jar to C:\Documents and Settings\bkrueger\.m2\repository\org\codehaus\castor\castor-core\1.3\castor-core-1.3-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Castor XML - core
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] snapshot org.codehaus.mojo:castor-maven-plugin:2.0-SNAPSHOT: checking for updates from maven2-repository.dev.java.net
Downloading: http://snapshots.repository.codehaus.org/org/codehaus/mojo/castor-maven-plugin/2.0-SNAPSHOT/castor-maven-plugin-2.0-20090714.082010-8.pom
3K downloaded
Downloading: http://snapshots.maven.codehaus.org/maven2//org/codehaus/mojo/castor-maven-plugin/2.0-SNAPSHOT/castor-maven-plugin-2.0-20090714.082010-8.jar
16K downloaded
[WARNING] Attempting to build MavenProject instance for Artifact (org.codehaus.mojo:castor-maven-plugin:2.0-20090714.082010-8) of type: maven-plugin; constructing POM artifact instead.
[INFO] [castor:generate
]
[FATAL ERROR] org.codehaus.mojo.castor.GenerateMojo#execute() caused a linkage error (java.lang.NoClassDefFoundError) and may be out-of-date.
Check the realms:
[FATAL ERROR] Plugin realm = app0.child-container[org.codehaus.mojo:castor-maven-plugin]
urls[0] = file:/C:/Documents and Settings/bkrueger/.m2/repository/org/codehaus/mojo/castor-maven-plugin/2.0-SNAPSHOT/castor-maven-plugin-2.0-SNAPSHOT.jar
urls[1] = file:/C:/Documents and Settings/bkrueger/.m2/repository/org/codehaus/plexus/plexus-compiler-api/1.5.1/plexus-compiler-api-1.5.1.jar
urls[2] = file:/C:/Documents and Settings/bkrueger/.m2/repository/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar
urls[3] = file:/C:/Documents and Settings/bkrueger/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar
urls[4] = file:/C:/Documents and Settings/bkrueger/.m2/repository/org/codehaus/castor/castor-codegen/1.3/castor-codegen-1.3.jar
urls[5] = file:/C:/dev/castor/castor-1.3/core/target/castor-core-1.3.jar
urls[6] = file:/C:/Documents and Settings/bkrueger/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
urls[7] = file:/C:/Documents and Settings/bkrueger/.m2/repository/org/codehaus/castor/castor-xml/1.3/castor-xml-1.3.jar
urls[8] = file:/C:/Documents and Settings/bkrueger/.m2/repository/org/codehaus/castor/castor-xml-schema/1.3/castor-xml-schema-1.3.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/c:/dev/bin/apache-maven-2.0.10/lib/maven-2.0.10-uber.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org/exolab/castor/xml/schema/ContentModelGroup
org.exolab.castor.xml.schema.ContentModelGroup
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: org/exolab/castor/xml/schema/ContentModelGroup
at org.codehaus.mojo.castor.GenerateMojo.config(GenerateMojo.java:302)
at org.codehaus.mojo.castor.GenerateMojo.execute(GenerateMojo.java:210)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:500)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:479)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.ClassNotFoundException: org.exolab.castor.xml.schema.ContentModelGroup
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 20 more
...paste...
----------
At this point I'm not sure what to do. Any help would be appreciated.
Thanks,
Bill
----------
-
- build.log.branches13
- 03/Aug/09 10:56 AM
- 542 kB
- Bill Krueger
-
- mvninstall.branches13.consolelog.txt
- 30/Jul/09 5:53 PM
- 110 kB
- Bill Krueger
Activity
----------
Don't mind at all. Here's what I did and I got that same NoClassDefFoundError. (note I'm running mvn under cygwin but I wouldn't think that would make a difference):
1) svn co http://svn.codehaus.org/castor/castor/trunk svntrunk
2) cd svntrunk
3) mvn clean install
----------
...paste...
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Castor
[INFO] Castor CORE - Core code/functioanlity
[INFO] Castor XML - core
[INFO] Castor XML - XML diff
[INFO] Castor XML - schema
[INFO] Castor JDO - Persistence framework
[INFO] Castor XML - Code generator
[INFO] Castor DDL generator
[INFO] Castor XML - Ant tasks for XML code generator
[INFO] Castor JDO - Functional test suite
[INFO] Castor XML - test suite framework code
[INFO] Castor XML - Maven Mojos for executing XMLCTF tests
[INFO] Castor CPA - JUnit test archetype
[INFO] Castor XML - Code generator JUnit test archetype
[INFO] Castor XML - Integration tests for JDO extensions
[INFO] Castor JDO - Integration tests for JPA annotation support
WAGON_VERSION: 1.0-beta-2
[INFO] ------------------------------------------------------------------------
[INFO] Building Castor
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3/maven-install-plugin-2.3.pom
4K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3/maven-install-plugin-2.3.jar
22K downloaded
[INFO] [site:attach-descriptor]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar
]
[INFO] [install:install]
[INFO] Installing c:\dev\castor\svntrunk\pom.xml to C:\Documents and Settings\bkrueger\.m2\repository\org\codehaus\castor\castor\1.3.1-SNAPSHOT\castor-1.3.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Castor CORE - Core code/functioanlity
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] [resources:resources]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 4 resources
[INFO] [compiler:compile]
[INFO] Compiling 36 source files to C:\dev\castor\svntrunk\core\target\classes
[INFO] [resources:testResources]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO] [compiler:testCompile]
[INFO] Compiling 7 source files to C:\dev\castor\svntrunk\core\target\test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: C:\dev\castor\svntrunk\core\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.castor.core.nature.PropertyHolderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.251 sec
Running org.castor.core.annotationprocessing.BaseAnnotationProcessingServiceTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.16 sec
Running org.castor.core.nature.BaseNatureTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec
Running org.castor.core.annotationprocessing.BaseTargetAwareAnnotationProcessingServiceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec
Running org.castor.core.nature.TestNature
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.02 sec
Results :
Tests run: 25, Failures: 0, Errors: 0, Skipped: 2
[INFO] [jar:jar]
[INFO] Building jar: C:\dev\castor\svntrunk\core\target\castor-core-1.3.1-SNAPSHOT.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar
]
[INFO] Building jar: C:\dev\castor\svntrunk\core\target\castor-core-1.3.1-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing C:\dev\castor\svntrunk\core\target\castor-core-1.3.1-SNAPSHOT.jar to C:\Documents and Settings\bkrueger\.m2\repository\org\c
odehaus\castor\castor-core\1.3.1-SNAPSHOT\castor-core-1.3.1-SNAPSHOT.jar
[INFO] Installing C:\dev\castor\svntrunk\core\target\castor-core-1.3.1-SNAPSHOT-sources.jar to C:\Documents and Settings\bkrueger\.m2\reposito
ry\org\codehaus\castor\castor-core\1.3.1-SNAPSHOT\castor-core-1.3.1-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Castor XML - core
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[WARNING] Attempting to build MavenProject instance for Artifact (org.codehaus.mojo:castor-maven-plugin:2.0-20090714.082010-8) of type: maven-
plugin; constructing POM artifact instead.
[WARNING] POM for 'org.codehaus.castor:castor-xml-schema:pom:1.3:runtime' is invalid. It will be ignored for artifact resolution. Reason: Not
a v4.0.0 POM. for project org.codehaus.castor:castor-xml-schema at C:\Documents and Settings\bkrueger\.m2\repository\org\codehaus\castor\casto
r-xml-schema\1.3\castor-xml-schema-1.3.pom
[WARNING] POM for 'org.codehaus.castor:castor-xml-schema:pom:1.3:runtime' is invalid. It will be ignored for artifact resolution. Reason: Not
a v4.0.0 POM. for project org.codehaus.castor:castor-xml-schema at C:\Documents and Settings\bkrueger\.m2\repository\org\codehaus\castor\casto
r-xml-schema\1.3\castor-xml-schema-1.3.pom
[INFO] [castor:generate
]
[FATAL ERROR] org.codehaus.mojo.castor.GenerateMojo#execute() caused a linkage error (java.lang.NoClassDefFoundError) and may be out-of-date.
Check the realms:
[FATAL ERROR] Plugin realm = app0.child-container[org.codehaus.mojo:castor-maven-plugin]
urls[0] = file:/C:/Documents and Settings/bkrueger/.m2/repository/org/codehaus/mojo/castor-maven-plugin/2.0-SNAPSHOT/castor-maven-plugin-2.0-S
NAPSHOT.jar
urls[1] = file:/C:/Documents and Settings/bkrueger/.m2/repository/org/codehaus/plexus/plexus-compiler-api/1.5.1/plexus-compiler-api-1.5.1.jar
urls[2] = file:/C:/Documents and Settings/bkrueger/.m2/repository/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar
urls[3] = file:/C:/Documents and Settings/bkrueger/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar
urls[4] = file:/C:/Documents and Settings/bkrueger/.m2/repository/org/codehaus/castor/castor-codegen/1.3/castor-codegen-1.3.jar
urls[5] = file:/C:/Documents and Settings/bkrueger/.m2/repository/org/codehaus/castor/castor-core/1.3/castor-core-1.3.jar
urls[6] = file:/C:/Documents and Settings/bkrueger/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
urls[7] = file:/C:/Documents and Settings/bkrueger/.m2/repository/org/codehaus/castor/castor-xml/1.3/castor-xml-1.3.jar
urls[8] = file:/C:/Documents and Settings/bkrueger/.m2/repository/org/codehaus/castor/castor-xml-schema/1.3/castor-xml-schema-1.3.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/c:/dev/bin/apache-maven-2.0.10/lib/maven-2.0.10-uber.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org/exolab/castor/xml/schema/ContentModelGroup
org.exolab.castor.xml.schema.ContentModelGroup
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: org/exolab/castor/xml/schema/ContentModelGroup
at org.codehaus.mojo.castor.GenerateMojo.config(GenerateMojo.java:302)
at org.codehaus.mojo.castor.GenerateMojo.execute(GenerateMojo.java:210)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:500)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:479)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.ClassNotFoundException: org.exolab.castor.xml.schema.ContentModelGroup
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 20 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 5 seconds
[INFO] Finished at: Tue Jul 21 14:49:25 CDT 2009
[INFO] Final Memory: 20M/36M
[INFO] ------------------------------------------------------------------------
...paste...
----------
I'm wondering if somethink in my local maven repository is messed up. If I can scare up a different pc I'll try it there.
----------
bill
Bill, just did the same as you on Java 1.5, and everything works fine. And the continous build server seems to indicate that the same works for Java 1.6 (see http://ci.codehaus.org/browse/CASTOR-MAINJDK6).
Btw, no need to switch to another PC. Simply set the M2_REPO env variable to a new directory, and see what happens.
Well, for some reason I could not get the M2_REPO environment variable to work for me. I tried setting it in cygwin by exporting it, I tried setting it in "My Computer"s Environment Variables (and reloaded the cygwin bash shell). I also trying it in a newly loaded Windows cmd shell. Each time I would echo $M2_REPO (or %M2_REPO%) and it was set but each time I tried to run mvn clean install it would end up using the old setting of C:/Documents and Settings/bkrueger/.m2/repository. Note that I did not have M2_REPO set prior to this so I'm guessing that that location is a default location.
I did, however, get on to a Linux (Kubuntu 9.04 64bit) desktop and try this. I had to install maven and subversion, I then did the checkout of castor from the trunk and ran mvn clean install. Unfortuneatly I got the same error as follows (I'm including all of it in case you can spot something odd):
billk@jdev01:~/dev/castor/svntrunk13$ mvn clean install
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25 minutes 16 seconds
[INFO] Finished at: Tue Jul 21 11:13:06 CDT 2009
[INFO] Final Memory: 5M/102M
[INFO] ------------------------------------------------------------------------
billk@jdev01:~/dev/castor/svntrunk13$
billk@jdev01:~/dev/castor/svntrunk13$
billk@jdev01:~/dev/castor/svntrunk13$
billk@jdev01:~/dev/castor/svntrunk13$
billk@jdev01:~/dev/castor/svntrunk13$ emacs /home/billk/.m2/settings.xml
billk@jdev01:~/dev/castor/svntrunk13$ mvn clean install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Castor
[INFO] Castor CORE - Core code/functioanlity
[INFO] Castor XML - core
[INFO] Castor XML - XML diff
[INFO] Castor XML - schema
[INFO] Castor JDO - Persistence framework
[INFO] Castor XML - Code generator
[INFO] Castor DDL generator
[INFO] Castor XML - Ant tasks for XML code generator
[INFO] Castor JDO - Functional test suite
[INFO] Castor XML - test suite framework code
[INFO] Castor XML - Maven Mojos for executing XMLCTF tests
[INFO] Castor CPA - JUnit test archetype
[INFO] Castor XML - Code generator JUnit test archetype
[INFO] Castor XML - Integration tests for JDO extensions
[INFO] Castor JDO - Integration tests for JPA annotation support
Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.pom
Downloading: http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.pom
1K downloaded
Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/wagon/wagon-providers/1.0-beta-2/wagon-providers-1.0-beta-2.pom
Downloading: http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-providers/1.0-beta-2/wagon-providers-1.0-beta-2.pom
1K downloaded
Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/wagon/wagon/1.0-beta-2/wagon-1.0-beta-2.pom
Downloading: http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon/1.0-beta-2/wagon-1.0-beta-2.pom
5K downloaded
Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/maven-parent/4/maven-parent-4.pom
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/4/maven-parent-4.pom
9K downloaded
Downloading: http://snapshots.repository.codehaus.org/org/apache/apache/3/apache-3.pom
Downloading: http://repo1.maven.org/maven2/org/apache/apache/3/apache-3.pom
3K downloaded
Downloading: http://snapshots.repository.codehaus.org/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.pom
Downloading: http://repo1.maven.org/maven2/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.pom
648b downloaded
Downloading: http://snapshots.repository.codehaus.org/commons-httpclient/commons-httpclient/2.0.2/commons-httpclient-2.0.2.pom
Downloading: http://repo1.maven.org/maven2/commons-httpclient/commons-httpclient/2.0.2/commons-httpclient-2.0.2.pom
6K downloaded
Downloading: http://snapshots.repository.codehaus.org/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.pom
Downloading: http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.pom
866b downloaded
Downloading: http://snapshots.repository.codehaus.org/jdom/jdom/1.0/jdom-1.0.pom
Downloading: http://repo1.maven.org/maven2/jdom/jdom/1.0/jdom-1.0.pom
1K downloaded
Downloading: http://snapshots.repository.codehaus.org/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.pom
Downloading: http://repo1.maven.org/maven2/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.pom
248b downloaded
Downloading: http://snapshots.repository.codehaus.org/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom
Downloading: http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom
5K downloaded
Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.pom
Downloading: http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.pom
680b downloaded
Downloading: http://snapshots.repository.codehaus.org/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom
6K downloaded
Downloading: http://snapshots.repository.codehaus.org/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.pom
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.pom
767b downloaded
Downloading: http://snapshots.repository.codehaus.org/org/codehaus/plexus/plexus/1.0.4/plexus-1.0.4.pom
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.4/plexus-1.0.4.pom
5K downloaded
Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
Downloading: http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
16K downloaded
Downloading: http://snapshots.repository.codehaus.org/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar
Downloading: http://repo1.maven.org/maven2/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar
168K downloaded
Downloading: http://snapshots.repository.codehaus.org/commons-httpclient/commons-httpclient/2.0.2/commons-httpclient-2.0.2.jar
Downloading: http://repo1.maven.org/maven2/commons-httpclient/commons-httpclient/2.0.2/commons-httpclient-2.0.2.jar
220K downloaded
Downloading: http://snapshots.repository.codehaus.org/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
Downloading: http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
37K downloaded
Downloading: http://snapshots.repository.codehaus.org/jdom/jdom/1.0/jdom-1.0.jar
Downloading: http://repo1.maven.org/maven2/jdom/jdom/1.0/jdom-1.0.jar
149K downloaded
Downloading: http://snapshots.repository.codehaus.org/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar
Downloading: http://repo1.maven.org/maven2/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar
23K downloaded
Downloading: http://snapshots.repository.codehaus.org/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
164K downloaded
WAGON_VERSION: 1.0-beta-2
[INFO] ------------------------------------------------------------------------
[INFO] Building Castor
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom
3K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/10/maven-plugins-10.pom
7K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/7/maven-parent-7.pom
20K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom
4K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.jar
11K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/8/maven-plugins-8.pom
5K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/5/maven-parent-5.pom
14K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.jar
17K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.2/maven-jar-plugin-2.2.pom
8K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.2/maven-jar-plugin-2.2.jar
26K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-source-plugin/2.0.4/maven-source-plugin-2.0.4.pom
3K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-source-plugin/2.0.4/maven-source-plugin-2.0.4.jar
14K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0/maven-project-2.0.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven/2.0/maven-2.0.pom
8K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0/maven-profile-2.0.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0/maven-model-2.0.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.pom
7K downloaded
Downloading: http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.pom
998b downloaded
Downloading: http://repo1.maven.org/maven2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.pom
3K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0/maven-artifact-manager-2.0.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/2.0/maven-repository-metadata-2.0.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0/maven-artifact-2.0.pom
723b downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-5/wagon-provider-api-1.0-alpha-5.pom
4K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.pom
601b downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/file-management/1.2/file-management-1.2.pom
3K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-components/8/maven-shared-components-8.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.6/maven-plugin-api-2.0.6.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven/2.0.6/maven-2.0.6.pom
8K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.pom
3K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0.2/maven-artifact-2.0.2.pom
765b downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven/2.0.2/maven-2.0.2.pom
12K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0.2/maven-artifact-manager-2.0.2.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-6/wagon-provider-api-1.0-alpha-6.pom
588b downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon/1.0-alpha-6/wagon-1.0-alpha-6.pom
6K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.6/plexus-utils-1.4.6.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.11/plexus-1.0.11.pom
8K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9/plexus-container-default-1.0-alpha-9.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-containers/1.0.3/plexus-containers-1.0.3.pom
492b downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/file-management/1.2/file-management-1.2.jar
36K downloaded
Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.jar
Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.jar
38K downloaded
[INFO] [clean:clean]
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0/maven-site-plugin-2.0.pom
11K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/13/maven-plugins-13.pom
11K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/11/maven-parent-11.pom
31K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/apache/5/apache-5.pom
4K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0/maven-site-plugin-2.0.jar
78K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3/maven-install-plugin-2.3.pom
4K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3/maven-install-plugin-2.3.jar
22K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0.6/maven-artifact-2.0.6.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.1/plexus-utils-1.4.1.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0.6/maven-artifact-manager-2.0.6.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/2.0.6/maven-repository-metadata-2.0.6.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.pom
3K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0.6/maven-model-2.0.6.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0.6/maven-project-2.0.6.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-settings/2.0.6/maven-settings-2.0.6.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0.6/maven-profile-2.0.6.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-registry/2.0.6/maven-plugin-registry-2.0.6.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0.6/maven-reporting-api-2.0.6.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting/2.0.6/maven-reporting-2.0.6.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.pom
424b downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia/1.0-alpha-7/doxia-1.0-alpha-7.pom
3K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-module-xhtml/1.0/doxia-module-xhtml-1.0.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-modules/1.0/doxia-modules-1.0.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia/1.0/doxia-1.0.pom
9K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/10/maven-parent-10.pom
30K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5.7/plexus-utils-1.5.7.pom
7K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/2.0.2/plexus-2.0.2.pom
11K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-core/1.0/doxia-core-1.0.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-sink-api/1.0/doxia-sink-api-1.0.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-30/plexus-container-default-1.0-alpha-30.pom
3K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-containers/1.0-alpha-30/plexus-containers-1.0-alpha-30.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-decoration-model/1.0/doxia-decoration-model-1.0.pom
3K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-sitetools/1.0/doxia-sitetools-1.0.pom
9K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-site-renderer/1.0/doxia-site-renderer-1.0.pom
4K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.12/plexus-components-1.1.12.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.10/plexus-1.0.10.pom
8K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/velocity/velocity/1.5/velocity-1.5.pom
7K downloaded
Downloading: http://repo1.maven.org/maven2/commons-collections/commons-collections/3.1/commons-collections-3.1.pom
5K downloaded
Downloading: http://repo1.maven.org/maven2/commons-lang/commons-lang/2.1/commons-lang-2.1.pom
9K downloaded
Downloading: http://repo1.maven.org/maven2/oro/oro/2.0.8/oro-2.0.8.pom
140b downloaded
Downloading: http://repo1.maven.org/maven2/commons-collections/commons-collections/3.2/commons-collections-3.2.pom
10K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-module-apt/1.0/doxia-module-apt-1.0.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-module-fml/1.0/doxia-module-fml-1.0.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-module-xdoc/1.0/doxia-module-xdoc-1.0.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-doxia-tools/1.0.2/maven-doxia-tools-1.0.2.pom
5K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-components/11/maven-shared-components-11.pom
8K downloaded
Downloading: http://repo1.maven.org/maven2/commons-io/commons-io/1.4/commons-io-1.4.pom
12K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/commons/commons-parent/7/commons-parent-7.pom
17K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-provider-api/1.0-beta-4/wagon-provider-api-1.0-beta-4.pom
906b downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon/1.0-beta-4/wagon-1.0-beta-4.pom
10K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/8/maven-parent-8.pom
23K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.2/plexus-utils-1.4.2.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.6/plexus-components-1.1.6.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.8/plexus-1.0.8.pom
7K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.2/plexus-utils-1.2.pom
767b downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.5/plexus-1.0.5.pom
5K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/mortbay/jetty/jetty/6.1.5/jetty-6.1.5.pom
4K downloaded
Downloading: http://repo1.maven.org/maven2/org/mortbay/jetty/project/6.1.5/project-6.1.5.pom
12K downloaded
Downloading: http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-util/6.1.5/jetty-util-6.1.5.pom
3K downloaded
Downloading: http://repo1.maven.org/maven2/org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.pom
3K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.jar
205K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-module-xhtml/1.0/doxia-module-xhtml-1.0.jar
21K downloaded
Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/doxia/doxia-core/1.0/doxia-core-1.0.jar
Downloading: http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-core/1.0/doxia-core-1.0.jar
53K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-decoration-model/1.0/doxia-decoration-model-1.0.jar
47K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-site-renderer/1.0/doxia-site-renderer-1.0.jar
45K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
10K downloaded
Downloading: http://snapshots.repository.codehaus.org/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar
7K downloaded
Downloading: http://snapshots.repository.codehaus.org/org/apache/velocity/velocity/1.5/velocity-1.5.jar
Downloading: http://repo1.maven.org/maven2/org/apache/velocity/velocity/1.5/velocity-1.5.jar
382K downloaded
Downloading: http://snapshots.repository.codehaus.org/commons-collections/commons-collections/3.2/commons-collections-3.2.jar
Downloading: http://repo1.maven.org/maven2/commons-collections/commons-collections/3.2/commons-collections-3.2.jar
557K downloaded
Downloading: http://snapshots.repository.codehaus.org/commons-lang/commons-lang/2.1/commons-lang-2.1.jar
Downloading: http://repo1.maven.org/maven2/commons-lang/commons-lang/2.1/commons-lang-2.1.jar
202K downloaded
Downloading: http://snapshots.repository.codehaus.org/oro/oro/2.0.8/oro-2.0.8.jar
Downloading: http://repo1.maven.org/maven2/oro/oro/2.0.8/oro-2.0.8.jar
63K downloaded
Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/doxia/doxia-module-apt/1.0/doxia-module-apt-1.0.jar
Downloading: http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-module-apt/1.0/doxia-module-apt-1.0.jar
45K downloaded
Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/doxia/doxia-module-fml/1.0/doxia-module-fml-1.0.jar
Downloading: http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-module-fml/1.0/doxia-module-fml-1.0.jar
18K downloaded
Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/doxia/doxia-module-xdoc/1.0/doxia-module-xdoc-1.0.jar
Downloading: http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-module-xdoc/1.0/doxia-module-xdoc-1.0.jar
27K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-doxia-tools/1.0.2/maven-doxia-tools-1.0.2.jar
40K downloaded
Downloading: http://snapshots.repository.codehaus.org/commons-io/commons-io/1.4/commons-io-1.4.jar
Downloading: http://repo1.maven.org/maven2/commons-io/commons-io/1.4/commons-io-1.4.jar
106K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
138K downloaded
Downloading: http://repo1.maven.org/maven2/org/mortbay/jetty/jetty/6.1.5/jetty-6.1.5.jar
474K downloaded
Downloading: http://snapshots.repository.codehaus.org/org/mortbay/jetty/jetty-util/6.1.5/jetty-util-6.1.5.jar
Downloading: http://snapshots.repository.codehaus.org/org/mortbay/jetty/jetty-util/6.1.5/jetty-util-6.1.5.jar
Downloading: http://people.apache.org/repo/m2-snapshot-repository//org/mortbay/jetty/jetty-util/6.1.5/jetty-util-6.1.5.jar
Downloading: http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-util/6.1.5/jetty-util-6.1.5.jar
134K downloaded
Downloading: http://snapshots.repository.codehaus.org/org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.jar
Downloading: http://snapshots.repository.codehaus.org/org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.jar
Downloading: http://people.apache.org/repo/m2-snapshot-repository//org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.jar
Downloading: http://repo1.maven.org/maven2/org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.jar
129K downloaded
[INFO] [site:attach-descriptor]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar
]
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.pom
5K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.12/plexus-1.0.12.pom
9K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.7/plexus-components-1.1.7.pom
4K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar
244K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.jar
11K downloaded
[INFO] [install:install]
[INFO] Installing /home/billk/dev/castor/svntrunk13/pom.xml to /home/billk/.m2/repository/org/codehaus/castor/castor/1.3.1-SNAPSHOT/castor-1.3.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Castor CORE - Core code/functioanlity
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/1/maven-plugins-1.pom
3K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/1/maven-parent-1.pom
6K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
3K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.jar
13K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.4.2/maven-surefire-plugin-2.4.2.pom
6K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire/2.4.2/surefire-2.4.2.pom
6K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.4.2/maven-surefire-plugin-2.4.2.jar
21K downloaded
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: http://snapshots.repository.codehaus.org/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom
Downloading: http://repo1.maven.org/maven2/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom
17K downloaded
Downloading: http://snapshots.repository.codehaus.org/org/apache/commons/commons-parent/5/commons-parent-5.pom
Downloading: http://repo1.maven.org/maven2/org/apache/commons/commons-parent/5/commons-parent-5.pom
15K downloaded
Downloading: http://snapshots.repository.codehaus.org/junit/junit/4.4/junit-4.4.pom
Downloading: http://repo1.maven.org/maven2/junit/junit/4.4/junit-4.4.pom
1K downloaded
Downloading: http://snapshots.repository.codehaus.org/log4j/log4j/1.2.13/log4j-1.2.13.pom
Downloading: http://repo1.maven.org/maven2/log4j/log4j/1.2.13/log4j-1.2.13.pom
389b downloaded
Downloading: http://snapshots.repository.codehaus.org/com/cenqua/clover/clover/1.3.12/clover-1.3.12.pom
Downloading: http://repo1.maven.org/maven2/com/cenqua/clover/clover/1.3.12/clover-1.3.12.pom
685b downloaded
Downloading: http://snapshots.repository.codehaus.org/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
Downloading: http://repo1.maven.org/maven2/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
59K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.pom
624b downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler/1.5.3/plexus-compiler-1.5.3.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.pom
634b downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.pom
797b downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compilers/1.5.3/plexus-compilers-1.5.3.pom
7K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.pom
918b downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar
159K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar
19K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.jar
5K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
13K downloaded
[INFO] [compiler:compile]
[INFO] Compiling 36 source files to /home/billk/dev/castor/svntrunk13/core/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
Downloading: http://snapshots.repository.codehaus.org/junit/junit/4.4/junit-4.4.jar
Downloading: http://repo1.maven.org/maven2/junit/junit/4.4/junit-4.4.jar
157K downloaded
Downloading: http://snapshots.repository.codehaus.org/log4j/log4j/1.2.13/log4j-1.2.13.jar
Downloading: http://repo1.maven.org/maven2/log4j/log4j/1.2.13/log4j-1.2.13.jar
349K downloaded
Downloading: http://snapshots.repository.codehaus.org/com/cenqua/clover/clover/1.3.12/clover-1.3.12.jar
Downloading: http://repo1.maven.org/maven2/com/cenqua/clover/clover/1.3.12/clover-1.3.12.jar
1485K downloaded
[INFO] [compiler:testCompile]
[INFO] Compiling 7 source files to /home/billk/dev/castor/svntrunk13/core/target/test-classes
Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-booter/2.4.2/surefire-booter-2.4.2.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-api/2.4.2/surefire-api-2.4.2.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.9/plexus-utils-1.4.9.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-core/2.0/maven-core-2.0.pom
5K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-settings/2.0/maven-settings-2.0.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-file/1.0-alpha-5/wagon-file-1.0-alpha-5.pom
5K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-parameter-documenter/2.0/maven-plugin-parameter-documenter-2.0.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-http-lightweight/1.0-alpha-5/wagon-http-lightweight-1.0-alpha-5.pom
5K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0/maven-reporting-api-2.0.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting/2.0/maven-reporting-2.0.pom
504b downloaded
Downloading: http://repo1.maven.org/maven2/doxia/doxia-sink-api/1.0-alpha-4/doxia-sink-api-1.0-alpha-4.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-error-diagnostics/2.0/maven-error-diagnostics-2.0.pom
812b downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-registry/2.0/maven-plugin-registry-2.0.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/commons-cli/commons-cli/1.0/commons-cli-1.0.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-descriptor/2.0/maven-plugin-descriptor-2.0.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.pom
6K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-monitor/2.0/maven-monitor-2.0.pom
400b downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-ssh/1.0-alpha-5/wagon-ssh-1.0-alpha-5.pom
6K downloaded
Downloading: http://repo1.maven.org/maven2/com/jcraft/jsch/0.1.23/jsch-0.1.23.pom
485b downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-booter/2.4.2/surefire-booter-2.4.2.jar
253K downloaded
Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/surefire/surefire-api/2.4.2/surefire-api-2.4.2.jar
Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-api/2.4.2/surefire-api-2.4.2.jar
494K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.9/plexus-utils-1.4.9.jar
199K downloaded
[INFO] [surefire:test]
Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-junit4/2.4.2/surefire-junit4-2.4.2.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-providers/2.4.2/surefire-providers-2.4.2.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/junit/junit/4.0/junit-4.0.pom
210b downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-junit4/2.4.2/surefire-junit4-2.4.2.jar
11K downloaded
Downloading: http://repo1.maven.org/maven2/junit/junit/4.0/junit-4.0.jar
103K downloaded
[INFO] Surefire report directory: /home/billk/dev/castor/svntrunk13/core/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.castor.core.annotationprocessing.BaseAnnotationProcessingServiceTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 sec
Running org.castor.core.nature.PropertyHolderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.017 sec
Running org.castor.core.annotationprocessing.BaseTargetAwareAnnotationProcessingServiceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec
Running org.castor.core.nature.BaseNatureTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec
Running org.castor.core.nature.TestNature
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.008 sec
Results :
Tests run: 25, Failures: 0, Errors: 0, Skipped: 2
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0.7/maven-project-2.0.7.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven/2.0.7/maven-2.0.7.pom
10K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-settings/2.0.7/maven-settings-2.0.7.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0.7/maven-model-2.0.7.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0.7/maven-profile-2.0.7.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0.7/maven-artifact-manager-2.0.7.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/2.0.7/maven-repository-metadata-2.0.7.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0.7/maven-artifact-2.0.7.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-registry/2.0.7/maven-plugin-registry-2.0.7.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-archiver/2.3/maven-archiver-2.3.pom
3K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.9/plexus-components-1.1.9.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-15/plexus-container-default-1.0-alpha-15.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-containers/1.0-alpha-15/plexus-containers-1.0-alpha-15.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.9/plexus-1.0.9.pom
7K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-component-api/1.0-alpha-15/plexus-component-api-1.0-alpha-15.pom
948b downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-classworlds/1.2-alpha-6/plexus-classworlds-1.2-alpha-6.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-containers/1.0-alpha-16/plexus-containers-1.0-alpha-16.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-archiver/2.3/maven-archiver-2.3.jar
17K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.jar
153K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.jar
11K downloaded
[INFO] [jar:jar]
[INFO] Building jar: /home/billk/dev/castor/svntrunk13/core/target/castor-core-1.3.1-SNAPSHOT.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar
]
[INFO] Building jar: /home/billk/dev/castor/svntrunk13/core/target/castor-core-1.3.1-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing /home/billk/dev/castor/svntrunk13/core/target/castor-core-1.3.1-SNAPSHOT.jar to /home/billk/.m2/repository/org/codehaus/castor/castor-core/1.3.1-SNAPSHOT/castor-core-1.3.1-SNAPSHOT.jar
[INFO] Installing /home/billk/dev/castor/svntrunk13/core/target/castor-core-1.3.1-SNAPSHOT-sources.jar to /home/billk/.m2/repository/org/codehaus/castor/castor-core/1.3.1-SNAPSHOT/castor-core-1.3.1-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Castor XML - core
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] snapshot org.codehaus.mojo:castor-maven-plugin:2.0-SNAPSHOT: checking for updates from Maven Codehaus Snapshots
[INFO] snapshot org.codehaus.mojo:castor-maven-plugin:2.0-SNAPSHOT: checking for updates from codehaus-snapshots
Downloading: http://snapshots.repository.codehaus.org/org/codehaus/mojo/castor-maven-plugin/2.0-SNAPSHOT/castor-maven-plugin-2.0-20090714.082010-8.pom
3K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/mojo/16/mojo-16.pom
8K downloaded
Downloading: http://snapshots.maven.codehaus.org/maven2//org/codehaus/mojo/castor-maven-plugin/2.0-SNAPSHOT/castor-maven-plugin-2.0-20090714.082010-8.jar
16K downloaded
[INFO] [clean:clean]
[WARNING] Attempting to build MavenProject instance for Artifact (org.codehaus.mojo:castor-maven-plugin:2.0-20090714.082010-8) of type: maven-plugin; constructing POM artifact instead.
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.5.1/plexus-compiler-api-1.5.1.pom
6K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/castor/castor-codegen/1.3/castor-codegen-1.3.pom
4K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/castor/castor/1.3/castor-1.3.pom
22K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/castor/castor-core/1.3/castor-core-1.3.pom
1K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/castor/castor-xml/1.3/castor-xml-1.3.pom
4K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/castor/castor-xml-schema/1.3/castor-xml-schema-1.3.pom
4K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.5.1/plexus-compiler-api-1.5.1.jar
22K downloaded
Downloading: http://repo1.maven.org/maven2/org/codehaus/castor/castor-codegen/1.3/castor-codegen-1.3.jar
497K downloaded
Downloading: http://snapshots.repository.codehaus.org/org/codehaus/castor/castor-core/1.3/castor-core-1.3.jar
Downloading: https://maven-repository.dev.java.net/nonav/repository/org.codehaus.castor/jars/castor-core-1.3.jar
Downloading: https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-core/1.3/castor-core-1.3.jar
377b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '0ae9f9d3645ad5110e5bae4c10a9330930050f81'; remote = '<!DOCTYPE' - RETRYING
Downloading: https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-core/1.3/castor-core-1.3.jar
377b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '0ae9f9d3645ad5110e5bae4c10a9330930050f81'; remote = '<!DOCTYPE' - IGNORING
Downloading: http://snapshots.repository.codehaus.org/org/codehaus/castor/castor-xml/1.3/castor-xml-1.3.jar
Downloading: https://maven-repository.dev.java.net/nonav/repository/org.codehaus.castor/jars/castor-xml-1.3.jar
Downloading: https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-xml/1.3/castor-xml-1.3.jar
375b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'a84fe394e12c118c0de02aa8c9a3b0ad3e428737'; remote = '<!DOCTYPE' - RETRYING
Downloading: https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-xml/1.3/castor-xml-1.3.jar
375b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'a84fe394e12c118c0de02aa8c9a3b0ad3e428737'; remote = '<!DOCTYPE' - IGNORING
Downloading: http://snapshots.repository.codehaus.org/org/codehaus/castor/castor-xml-schema/1.3/castor-xml-schema-1.3.jar
Downloading: https://maven-repository.dev.java.net/nonav/repository/org.codehaus.castor/jars/castor-xml-schema-1.3.jar
Downloading: https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-xml-schema/1.3/castor-xml-schema-1.3.jar
389b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '4518b4248a24637208aca6ce4d3d1e8dd44d5918'; remote = '<!DOCTYPE' - RETRYING
Downloading: https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-xml-schema/1.3/castor-xml-schema-1.3.jar
389b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '4518b4248a24637208aca6ce4d3d1e8dd44d5918'; remote = '<!DOCTYPE' - IGNORING
[INFO] [castor:generate
]
[FATAL ERROR] org.codehaus.mojo.castor.GenerateMojo#execute() caused a linkage error (java.lang.NoClassDefFoundError) and may be out-of-date. Check the realms:
[FATAL ERROR] Plugin realm = app0.child-container[org.codehaus.mojo:castor-maven-plugin]
urls[0] = file:/home/billk/.m2/repository/org/codehaus/mojo/castor-maven-plugin/2.0-SNAPSHOT/castor-maven-plugin-2.0-SNAPSHOT.jar
urls[1] = file:/home/billk/.m2/repository/org/codehaus/plexus/plexus-compiler-api/1.5.1/plexus-compiler-api-1.5.1.jar
urls[2] = file:/home/billk/.m2/repository/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar
urls[3] = file:/home/billk/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar
urls[4] = file:/home/billk/.m2/repository/org/codehaus/castor/castor-codegen/1.3/castor-codegen-1.3.jar
urls[5] = file:/home/billk/.m2/repository/org/codehaus/castor/castor-core/1.3/castor-core-1.3.jar
urls[6] = file:/home/billk/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
urls[7] = file:/home/billk/.m2/repository/org/codehaus/castor/castor-xml/1.3/castor-xml-1.3.jar
urls[8] = file:/home/billk/.m2/repository/org/codehaus/castor/castor-xml-schema/1.3/castor-xml-schema-1.3.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/usr/share/maven2/lib/wagon-file.jar
urls[1] = file:/usr/share/maven2/lib/doxia-sink-api.jar
urls[2] = file:/usr/share/maven2/lib/xml-apis.jar
urls[3] = file:/usr/share/maven2/lib/wagon-ssh.jar
urls[4] = file:/usr/share/maven2/lib/plexus-interactivity-api.jar
urls[5] = file:/usr/share/maven2/lib/wagon-http-shared.jar
urls[6] = file:/usr/share/maven2/lib/jtidy.jar
urls[7] = file:/usr/share/maven2/lib/wagon-ssh-common.jar
urls[8] = file:/usr/share/maven2/lib/wagon-ssh-external.jar
urls[9] = file:/usr/share/maven2/lib/wagon-http-lightweight.jar
urls[10] = file:/usr/share/maven2/lib/jsch.jar
urls[11] = file:/usr/share/maven2/lib/plexus-container-default.jar
urls[12] = file:/usr/share/maven2/lib/maven2.jar
urls[13] = file:/usr/share/maven2/lib/plexus-utils.jar
urls[14] = file:/usr/share/maven2/lib/wagon-provider-api.jar
urls[15] = file:/usr/share/maven2/lib/commons-cli.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org/exolab/castor/xml/schema/ContentModelGroup
org.exolab.castor.xml.schema.ContentModelGroup
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: org/exolab/castor/xml/schema/ContentModelGroup
at org.codehaus.mojo.castor.GenerateMojo.config(GenerateMojo.java:302)
at org.codehaus.mojo.castor.GenerateMojo.execute(GenerateMojo.java:210)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.ClassNotFoundException: org.exolab.castor.xml.schema.ContentModelGroup
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
... 20 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 23 seconds
[INFO] Finished at: Tue Jul 21 11:36:24 CDT 2009
[INFO] Final Memory: 46M/364M
[INFO] ------------------------------------------------------------------------
billk@jdev01:~/dev/castor/svntrunk13$
I'll continue to try different things but if you have some things I can try I'd appreciate it.
bill
I just noted the checksum failures in this last test. I'm looking into those now.
----------
I notice that mvn is failing on sequences like:
----------
...paste...
Downloading: http://snapshots.repository.codehaus.org/org/codehaus/castor/castor-core/1.3/castor-core-1.3.jar
Downloading: https://maven-repository.dev.java.net/nonav/repository/org.codehaus.castor/jars/castor-core-1.3.jar
Downloading: https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-core/1.3/castor-core-1.3.jar
377b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '0ae9f9d3645ad5110e5bae4c10a9330930050f81'; remote = '<!DOCTYPE' - RETRYING
Downloading: https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-core/1.3/castor-core-1.3.jar
377b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '0ae9f9d3645ad5110e5bae4c10a9330930050f81'; remote = '<!DOCTYPE' - IGNORING
..paste...
----------
I went to:
http://snapshots.repository.codehaus.org/org/codehaus/castor/castor-core/1.3/castor-core-1.3.jar
and got a 404 not found error. I backup up a little bit in that address and went to:
http://snapshots.repository.codehaus.org/org/codehaus/castor/castor-core/
and I see the following directories:
[DIR] 1.2.1-SNAPSHOT/ 29-Jul-2008 02:57 -
[DIR] 1.3-SNAPSHOT/ 01-Oct-2008 14:35 -
[DIR] 1.3.1-SNAPSHOT/ 03-Jul-2009 15:40 -
[DIR] 1.3rc2-SNAPSHOT/ 06-Feb-2009 17:10 -
[TXT] maven-metadata.xml 03-Jul-2009 15:40 443
[TXT] maven-metadata.xml.md5 03-Jul-2009 15:40 32
[TXT] maven-metadata.xml.sha1 03-Jul-2009 15:40 40
I'm guessing that either the /1.3/ should read /1.3-SNAPSHOT/ or there should be a 1.3 directory there. Also it looks like there's something that directs maven to an alternate server at https://maven2-repository.dev.java.net.
Hope this helps.
Bill
----------
I'm out of ideas here. I've looked at your pom.xml and I don't see how I can change it to get to the correct repository. I may be able to load the jar files manually but I'll have to figure out how to tell Maven to use them.
Any ideas on how I might be able to progress.
Please note that I am trying to overcome another issue with Castor so I was going to make some modifications to it which is why I need to be able to rebuild the code.
Any help would be appreciated.
bill
Hi Bill,
I'm facing similar problems as reported on dev mailing list. On this mail thread Werner promised to look into this issue later today. Only difference for me is that it throws a NoClassDefFoundError with a different class in linux environment.
As an additional information: I was able to build Castor in the morning of 20. Juli 2009. According to this and the error stacktrace I think the problem is related to changes at castor-maven-plugin.
Having said that I, as committer, frequently build Castor in the same way on different maschines. Therefore at least my problem is not related to any problems with environment.
Regards
Ralf
One more note: it is also a show stopper for me and the GSoC student I mentor.
After some tests I identified the reason for the failure. They are indicated in the log of Bill:
Downloading: http://repo1.maven.org/maven2/org/codehaus/castor/castor-codegen/1.3/castor-codegen-1.3.pom 4K downloaded Downloading: http://repo1.maven.org/maven2/org/codehaus/castor/castor/1.3/castor-1.3.pom 22K downloaded Downloading: http://repo1.maven.org/maven2/org/codehaus/castor/castor-core/1.3/castor-core-1.3.pom 1K downloaded Downloading: http://repo1.maven.org/maven2/org/codehaus/castor/castor-xml/1.3/castor-xml-1.3.pom 4K downloaded Downloading: http://repo1.maven.org/maven2/org/codehaus/castor/castor-xml-schema/1.3/castor-xml-schema-1.3.pom 4K downloaded Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.5.1/plexus-compiler-api-1.5.1.jar 22K downloaded Downloading: http://repo1.maven.org/maven2/org/codehaus/castor/castor-codegen/1.3/castor-codegen-1.3.jar 497K downloaded Downloading: http://snapshots.repository.codehaus.org/org/codehaus/castor/castor-core/1.3/castor-core-1.3.jar Downloading: https://maven-repository.dev.java.net/nonav/repository/org.codehaus.castor/jars/castor-core-1.3.jar Downloading: https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-core/1.3/castor-core-1.3.jar 377b downloaded [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '0ae9f9d3645ad5110e5bae4c10a9330930050f81'; remote = '<!DOCTYPE' - RETRYING Downloading: https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-core/1.3/castor-core-1.3.jar 377b downloaded [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '0ae9f9d3645ad5110e5bae4c10a9330930050f81'; remote = '<!DOCTYPE' - IGNORING Downloading: http://snapshots.repository.codehaus.org/org/codehaus/castor/castor-xml/1.3/castor-xml-1.3.jar Downloading: https://maven-repository.dev.java.net/nonav/repository/org.codehaus.castor/jars/castor-xml-1.3.jar Downloading: https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-xml/1.3/castor-xml-1.3.jar 375b downloaded [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'a84fe394e12c118c0de02aa8c9a3b0ad3e428737'; remote = '<!DOCTYPE' - RETRYING Downloading: https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-xml/1.3/castor-xml-1.3.jar 375b downloaded [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'a84fe394e12c118c0de02aa8c9a3b0ad3e428737'; remote = '<!DOCTYPE' - IGNORING Downloading: http://snapshots.repository.codehaus.org/org/codehaus/castor/castor-xml-schema/1.3/castor-xml-schema-1.3.jar Downloading: https://maven-repository.dev.java.net/nonav/repository/org.codehaus.castor/jars/castor-xml-schema-1.3.jar Downloading: https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-xml-schema/1.3/castor-xml-schema-1.3.jar 389b downloaded [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '4518b4248a24637208aca6ce4d3d1e8dd44d5918'; remote = '<!DOCTYPE' - RETRYING Downloading: https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-xml-schema/1.3/castor-xml-schema-1.3.jar 389b downloaded [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '4518b4248a24637208aca6ce4d3d1e8dd44d5918'; remote = '<!DOCTYPE' - IGNORING [INFO] [castor:generate {execution: default}] [FATAL ERROR] org.codehaus.mojo.castor.GenerateMojo#execute() caused a linkage error (java.lang.NoClassDefFoundError) and may be out-of-date. Check the realms: [FATAL ERROR] Plugin realm = app0.child-container[org.codehaus.mojo:castor-maven-plugin]
The 3 JAR's castor-core-1.3.jar, castor-xml-1.3.jar and castor-xml-schema-1.3.jar seam to be broken in maven repository. If I start with an empty local maven repository it fails for me with the about the same error reported by Bill. Comparing above Castor JAR's with local copies they are much to small. After copying these local copies in my local maven repository the whole build finishes successful.
Werner, can you please update JAR's of Castor 1.3 in global maven repository or provide me with instructions on how to do this.
Ralf, I have manually downloaded e.g.
http://repo2.maven.org/maven2/org/codehaus/castor/castor-core/1.3/castor-core-1.3.jar
and verified that the JAR file is actually not corrupt (same for the other two files). In other words, they are definitely not broken in the global Maven 2 repository.
I don't think the jar files on your repository are corrupt. I think the problem is that Maven2 is cannot find the jar files in the first place.
If I take a clean system (without Castor or it's dependancies) and try to install Castor on it, errors will occur. I think these errors are because Maven2 is given incorrect locations (web addresses) for the jar files. Specifically the jar files:
castor-core-1.3.ja
castor-xml-1.3.jar
castor-xml-schema-1.3.jar
From the Maven2 log displays I see attempts to fetch these jar files from the following locations (I used the fetch of castor-core-1.3.jar as an example):
Downloading: http://snapshots.repository.codehaus.org/org/codehaus/castor/castor-core/1.3/castor-core-1.3.jar
Downloading: https://maven-repository.dev.java.net/nonav/repository/org.codehaus.castor/jars/castor-core-1.3.jar
Downloading: https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-core/1.3/castor-core-1.3.jar
377b downloaded
Note the last line says that 377b were loaded. That's a small size for a jar file. So I went to that jar file on my local repository and pulled that file into an editor and here's the contents of the file "castor-core-1.3.jar" that was loaded by Maven2:
...paste...
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://download.java.net/maven/2/org/codehaus/castor/castor-core/1.3/castor-core-1.3.jar">here</a>.</p>
<hr>
<address>Apache Server at maven2-repository.dev.java.net Port 443</address>
</body></html>
...paste...
So, it appears that somewhere along the line your Castor/Maven2 setup has an address that issues a 301 redirect and that Maven2 does not know what to do with it.
So, I don't know how to fix this problem yet. Maybe just manually downloading the jar files and placing them into the repository by hand will work. That will take me a bit of time and I think that's a temporary workaround for the original problem.
Bill
p.s.
Ralf, I bet if you go to your local respoitory and edit one of the bad jar files you will see a similar html file as it's contents.
When receiving an 301 response, the client usually follows the new URL of the resource. I think this is a well known issue, that XML validation of the response fails (the document is not well-formed as the <hr> tag is not being closed). One of my colleagues reported that replacing <hr> by <hr/> should do the trick.
Nevertheless, Maven2 does not download the jars from the Codehaus repository correctly.
Just so I am clear on what I think is the issue, it appears that, out of the box (or svn as the case may be), the Castor system cannot be built on a new system because the Castor/Maven2 setup (pom, servers, etc.) are not configured to properly load the local Maven repository with the necessary artifacts (jars, poms, etc).
It has been stated that Castor can build fine on other's machines but I believe that this is because those machines already have their local repository loaded with whatever Castor needs to build so Maven does not try to reload those.
Now, all I need to do is figure out how to either (a) modify the Castor pom.xml so maven can load what Castor needs or (b) load these into my local maven2 repository manually. I'm going to try solution (a) since that seems the easiest.
Also note that we are stalled in attempting to go forward with some production code because of issue http://jira.codehaus.org/browse/CASTOR-2760 which is why I was trying to get Castor to build locally.
Any help in getting this or issue 2760 would be greatly appreciated.
Thanks,
Bill
Bill, I am already in the process of making a (Maven-only) 1.3.0.1 release available that will not refer to two Maven repositories anymore:
- Codehaus snapshot repository
- java.net Maven 2 repository (which is the real problem).
I'll keep you in the loop through this issue, and most likely ask you to test a snapshot release before I push out the new release globally.
In case I have not mentioned this, I really appreciate your efforts to highlight this problem and to help us.
As already mentioned; i have created a 1.3.0.1-SNAPSHOT release for Cstor at the Codehaus snapshot repositiory. Can I please ask you to give it a spin ? This new snapshot release has the repository entries for all java.net repositories removed.
Btw, I am assuming that you are on Java 5.0 or higher, as I have taken the SVN tag for Castor 1.3 as the root for this SNAPSHOT release. I hope that's okay with you. To get yourself going, simply change your Maven plugin configuration to point to this SNAPSHOT release.
If you feel like building Castor yourself, please use SVN to check out
https://svn.codehaus.org/castor/castor/branches/1.3
to get the sources for the SNAPSHOT release mentioned above.
FYI, I am using Sun's Java 6 jdk for this.
I did the checkout of Castor from https://svn.codehaus.org/castor/castor/branches/1.3/ as I'll be building that. I used that checkout to run the following test on my Kubuntu system.
1) I deleted everything in my maven local repository leaving ~/.m2/respository/ empty (I moved the repository directory somewhere safe and recreated an empty dir in it's place).
2) I ran svn co https://svn.codehaus.org/castor/castor/branches/1.3 svnbranches13
3) I changed into the svnbranches13 dir created by the svn co
4) I ran mvn install
And got what appear to be the same errors as one of my prior attempts. Maybe I'm not doing this the right way, feel free to critique what I'm doing. Also note that I see that there are newer versions of Maven2. The Kubuntu repositories have maven2 2.0.9. I'm going to try a later release.
Here's the tail end of the log showing Maven trying to go to the maven2-repository.dev.java/net and failing:
...paste....
Downloading: http://repo1.maven.org/maven2/org/codehaus/castor/castor-codegen/1.3/castor-codegen-1.3.jar
497K downloaded
Downloading: http://snapshots.repository.codehaus.org/org/codehaus/castor/castor-core/1.3/castor-core-1.3.jar
Downloading: https://maven-repository.dev.java.net/nonav/repository/org.codehaus.castor/jars/castor-core-1.3.jar
Downloading: https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-core/1.3/castor-core-1.3.jar
377b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '0ae9f9d3645ad5110e5bae4c10a9330930050f81'; remote = '<!DOCTYPE' - RETRYING
Downloading: https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-core/1.3/castor-core-1.3.jar
377b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '0ae9f9d3645ad5110e5bae4c10a9330930050f81'; remote = '<!DOCTYPE' - IGNORING
Downloading: http://snapshots.repository.codehaus.org/org/codehaus/castor/castor-xml/1.3/castor-xml-1.3.jar
Downloading: https://maven-repository.dev.java.net/nonav/repository/org.codehaus.castor/jars/castor-xml-1.3.jar
Downloading: https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-xml/1.3/castor-xml-1.3.jar
375b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'a84fe394e12c118c0de02aa8c9a3b0ad3e428737'; remote = '<!DOCTYPE' - RETRYING
Downloading: https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-xml/1.3/castor-xml-1.3.jar
375b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'a84fe394e12c118c0de02aa8c9a3b0ad3e428737'; remote = '<!DOCTYPE' - IGNORING
Downloading: http://snapshots.repository.codehaus.org/org/codehaus/castor/castor-xml-schema/1.3/castor-xml-schema-1.3.jar
Downloading: https://maven-repository.dev.java.net/nonav/repository/org.codehaus.castor/jars/castor-xml-schema-1.3.jar
Downloading: https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-xml-schema/1.3/castor-xml-schema-1.3.jar
389b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '4518b4248a24637208aca6ce4d3d1e8dd44d5918'; remote = '<!DOCTYPE' - RETRYING
Downloading: https://maven2-repository.dev.java.net/nonav/repository/org/codehaus/castor/castor-xml-schema/1.3/castor-xml-schema-1.3.jar
389b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '4518b4248a24637208aca6ce4d3d1e8dd44d5918'; remote = '<!DOCTYPE' - IGNORING
[INFO] [castor:generate
]
[FATAL ERROR] org.codehaus.mojo.castor.GenerateMojo#execute() caused a linkage error (java.lang.NoClassDefFoundError) and may be out-of-date. Check the realms:
[FATAL ERROR] Plugin realm = app0.child-container[org.codehaus.mojo:castor-maven-plugin]
urls[0] = file:/home/billk/.m2/repository/org/codehaus/mojo/castor-maven-plugin/2.0-SNAPSHOT/castor-maven-plugin-2.0-SNAPSHOT.jar
urls[1] = file:/home/billk/.m2/repository/org/codehaus/plexus/plexus-compiler-api/1.5.1/plexus-compiler-api-1.5.1.jar
urls[2] = file:/home/billk/.m2/repository/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar
urls[3] = file:/home/billk/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar
urls[4] = file:/home/billk/.m2/repository/org/codehaus/castor/castor-codegen/1.3/castor-codegen-1.3.jar
urls[5] = file:/home/billk/.m2/repository/org/codehaus/castor/castor-core/1.3/castor-core-1.3.jar
urls[6] = file:/home/billk/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
urls[7] = file:/home/billk/.m2/repository/org/codehaus/castor/castor-xml/1.3/castor-xml-1.3.jar
urls[8] = file:/home/billk/.m2/repository/org/codehaus/castor/castor-xml-schema/1.3/castor-xml-schema-1.3.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/usr/share/maven2/lib/wagon-file.jar
urls[1] = file:/usr/share/maven2/lib/doxia-sink-api.jar
urls[2] = file:/usr/share/maven2/lib/xml-apis.jar
urls[3] = file:/usr/share/maven2/lib/wagon-ssh.jar
urls[4] = file:/usr/share/maven2/lib/plexus-interactivity-api.jar
urls[5] = file:/usr/share/maven2/lib/wagon-http-shared.jar
urls[6] = file:/usr/share/maven2/lib/jtidy.jar
urls[7] = file:/usr/share/maven2/lib/wagon-ssh-common.jar
urls[8] = file:/usr/share/maven2/lib/wagon-ssh-external.jar
urls[9] = file:/usr/share/maven2/lib/wagon-http-lightweight.jar
urls[10] = file:/usr/share/maven2/lib/jsch.jar
urls[11] = file:/usr/share/maven2/lib/plexus-container-default.jar
urls[12] = file:/usr/share/maven2/lib/maven2.jar
urls[13] = file:/usr/share/maven2/lib/plexus-utils.jar
urls[14] = file:/usr/share/maven2/lib/wagon-provider-api.jar
urls[15] = file:/usr/share/maven2/lib/commons-cli.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org/exolab/castor/xml/schema/ContentModelGroup
org.exolab.castor.xml.schema.ContentModelGroup
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: org/exolab/castor/xml/schema/ContentModelGroup
at org.codehaus.mojo.castor.GenerateMojo.config(GenerateMojo.java:338)
at org.codehaus.mojo.castor.GenerateMojo.execute(GenerateMojo.java:220)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.ClassNotFoundException: org.exolab.castor.xml.schema.ContentModelGroup
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 20 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 51 seconds
[INFO] Finished at: Thu Jul 30 12:12:24 CDT 2009
[INFO] Final Memory: 42M/372M
[INFO] ------------------------------------------------------------------------
...paste....
Regards,
Bill
Here's teh complete log file of the mvn install done from the checkout of branches/1.3
Here's my tests using maven 2.1.0:
1) Deleted the contents of my ~/.m2/repository
2) uninstalled maven2 2.0.9 from my system using apt-get remove
3) Installed maven2 2.1.0 using a manual installation (I installed it into my home directory for now)
4) Set the M2_HOME/M2 environment vars and added $M2 to the beginning of my path.
5) I went into my svnbranches13 dir created from teh svn co of branches/1.3
6) I did an mvn clean install
It ran further this time and I got an error I had not seen in prior attempts. Here's the tail end of the log file. (note I also ran an mvn --version that shows up at the end of the what I pasted below:
...paste...
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.castor.xml.schema.writer.GroupTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.023 sec
Running org.castor.xml.schema.writer.SimpleTypeTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec
Running org.exolab.castor.xml.schema.reader.SchemaUnmarshallerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.207 sec
Running org.castor.xml.schema.writer.NamespaceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec
Running org.castor.xml.schema.writer.ComplexTypeTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.069 sec
Results :
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar]
[INFO] Building jar: /home/billk/dev/castor/svnbranches13/schema/target/castor-xml-schema-1.3.0.1-SNAPSHOT.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [castor:generate
]
[INFO] Nothing to process - all xsds are up to date
[INFO] [build-helper:add-source
]
[INFO] Source directory: /home/billk/dev/castor/svnbranches13/schema/target/generated-sources/castor added.
[INFO] [source:jar
]
[INFO] Building jar: /home/billk/dev/castor/svnbranches13/schema/target/castor-xml-schema-1.3.0.1-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing /home/billk/dev/castor/svnbranches13/schema/target/castor-xml-schema-1.3.0.1-SNAPSHOT.jar to /home/billk/.m2/repository/org/codehaus/castor/castor-xml-schema/1.3.0.1-SNAPSHOT/castor-xml-schema-1.3.0.1-SNAPSHOT.jar
[INFO] Installing /home/billk/dev/castor/svnbranches13/schema/target/castor-xml-schema-1.3.0.1-SNAPSHOT-sources.jar to /home/billk/.m2/repository/org/codehaus/castor/castor-xml-schema/1.3.0.1-SNAPSHOT/castor-xml-schema-1.3.0.1-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Castor JDO - Persistence framework
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] [castor:generate
]
[INFO] Processing /home/billk/dev/castor/svnbranches13/cpa/src/main/resources/org/castor/jdo/conf/jdo-conf.xsd
[INFO] [resources:resources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] Copying 11 resources
Downloading: http://snapshots.repository.codehaus.org/cglib/cglib-full/2.0.2/cglib-full-2.0.2.pom
[INFO] Unable to find resource 'cglib:cglib-full:pom:2.0.2' in repository codehaus-snapshots (http://snapshots.repository.codehaus.org)
Downloading: http://repo1.maven.org/maven2/cglib/cglib-full/2.0.2/cglib-full-2.0.2.pom
149b downloaded (cglib-full-2.0.2.pom)
Downloading: http://snapshots.repository.codehaus.org/javax/transaction/jta/1.0.1B/jta-1.0.1B.pom
[INFO] Unable to find resource 'javax.transaction:jta:pom:1.0.1B' in repository codehaus-snapshots (http://snapshots.repository.codehaus.org)
Downloading: http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.pom
515b downloaded (jta-1.0.1B.pom)
Downloading: http://snapshots.repository.codehaus.org/javax/persistence/persistence-api/1.0/persistence-api-1.0.pom
[INFO] Unable to find resource 'javax.persistence:persistence-api:pom:1.0' in repository codehaus-snapshots (http://snapshots.repository.codehaus.org)
Downloading: http://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/persistence-api-1.0.pom
1K downloaded (persistence-api-1.0.pom)
Downloading: http://snapshots.repository.codehaus.org/tyrex/tyrex/1.0.1/tyrex-1.0.1.pom
[INFO] Unable to find resource 'tyrex:tyrex:pom:1.0.1' in repository codehaus-snapshots (http://snapshots.repository.codehaus.org)
Downloading: http://repo1.maven.org/maven2/tyrex/tyrex/1.0.1/tyrex-1.0.1.pom
144b downloaded (tyrex-1.0.1.pom)
Downloading: http://snapshots.repository.codehaus.org/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
Downloading: http://snapshots.repository.codehaus.org/cglib/cglib-full/2.0.2/cglib-full-2.0.2.jar
Downloading: http://snapshots.repository.codehaus.org/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar
[INFO] Unable to find resource 'javax.transaction:jta:jar:1.0.1B' in repository codehaus-snapshots (http://snapshots.repository.codehaus.org)
Downloading: http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
[INFO] Unable to find resource 'cglib:cglib-full:jar:2.0.2' in repository codehaus-snapshots (http://snapshots.repository.codehaus.org)
Downloading: http://repo1.maven.org/maven2/cglib/cglib-full/2.0.2/cglib-full-2.0.2.jar
[INFO] Unable to find resource 'javax.transaction:jta:jar:1.0.1B' in repository central (http://repo1.maven.org/maven2)
[INFO] Unable to find resource 'javax.persistence:persistence-api:jar:1.0' in repository codehaus-snapshots (http://snapshots.repository.codehaus.org)
Downloading: http://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar
50K downloaded (persistence-api-1.0.jar)
300K downloaded (cglib-full-2.0.2.jar)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) javax.transaction:jta:jar:1.0.1B
Try downloading the file manually from:
http://java.sun.com/products/jta
Then, install it using the command:
mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=javax.transaction -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.codehaus.castor:castor-jdo:jar:1.3.0.1-SNAPSHOT
2) javax.transaction:jta:jar:1.0.1B
----------
1 required artifact is missing.
for artifact:
org.codehaus.castor:castor-jdo:jar:1.3.0.1-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
codehaus-snapshots (http://snapshots.repository.codehaus.org)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 28 seconds
[INFO] Finished at: Thu Jul 30 13:10:40 CDT 2009
[INFO] Final Memory: 69M/398M
[INFO] ------------------------------------------------------------------------
billk@jdev01:~/dev/castor/svnbranches13$ mvn -version
Apache Maven 2.1.0 (r755702; 2009-03-18 13:10:27-0600)
Java version: 1.6.0_14
Java home: /usr/lib/jvm/java-6-sun-1.6.0.14/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.28-11-generic" arch: "amd64" Family: "unix"
...paste...
Bill, I just merged one more minor change from SVN trunk into this brach, i.e. I upgraded javax.transaction:jta to version 1.1. Can you please try again ?
PS Btw, I am on Java 5.0, if that makes a difference.
Was off last Friday so I didn't have access to my machine to retest until now.
I did an svn update that pulled in the new pom.xml, deleted the contents of my local repository and reran mvn clean install and it appears that this has worked (I see "BUILD SUCCESSFUL" at the end of the logs. I saved off the console output that I'll upload in case you want to review ( I did notice that there was a warnings about dev.java.net and something noted as "Deprecation alert".
Attaching the build log for the latest branches/1.3 updating the pom.xml to fix the version number of javax.transaction:jta (making it version 1.1). This resulted in a "BUILD SUCCESSFUL". Note that this was built using:
Apache Maven 2.1.0 (r755702; 2009-03-18 13:10:27-0600)
Java version: 1.6.0_14
Java home: /usr/lib/jvm/java-6-sun-1.6.0.14/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.28-11-generic" arch: "amd64" Family: "unix"
One more thing that I think needs to be done. After going through the above where I issued the commands
1) svn co https://svn.codehaus.org/castor/castor/branches/1.3 svnbranches13
2) cd svnbranches13
3) mvn clean install
against the updated branches/1.3 where you had fixed the pom.xml to point to the correct version of jta I tried importing that directory into Eclipse. After resolving unbound M2_REPO classpath variable by
1) going into the Eclipse menu "window" -> "Java" -> "Build Path" -> "Classpath Variables"
2) and adding M2_REPO and pointing it to /home/billk/.m2/repository
There still remained an error in Eclipse in that the .classpath config file still had the old jta jar file. I fixed that by
1) selecting the project properties
2) selecting the entry in error that read M2_REPO/javax/transaction/jta/....
3) Selecting the "Edit" button
4) Selecing the "Extension" button
5) Traversing to my local repository to the jta 1.1 jar file.
Note that I had just installed Eclipse JEE for 64bit Linux and it ended up being Eclipse 3.5 (I didn't even know 3.5 was out) so these instructions may be a little different for another Eclipse version.
Anyway, the upshot of all this is that you may need to update the .classpath in https://svn.codehaus.org/castor/castor/branches/1.3.
bill
That actually is a good point (which I always tend to forget as I personally tend to use Maven to create Eclipse .project and .classpath files running a
mvn eclipse:eclipse
first so that I can import the Castor modules as individual projects.
Just committed a patch to .classpath to have the last remaining issue sorted.
Just to let you know that I have deployed a SNAPSHOT release for 1.3.0.1 - for what I consider to be the final version.
Not applicable anymore, as with 1.3.3 the .project and .classpath files have been deleted from the SVN repo. Please use
> mvn eclipse:eclipse
to have the relevant Eclipse files created for all modules, and import those into your Eclipse workspace.
Mind trying this on SVN trunk ? Many of the problems related to points 6) to 9) are a result of the HTML file being returned by the host not being valid XML (and thus Maven choking). In SVN trunk we actually committed a patch that removes any references to this repository completely, as we do not rely on some of the old artefacts any more.
Re: point 10), I have to admit that I have never seen this, and I am building many times a day from SVN trunk (against Java 1.5). Can you please try to run a 'mvn clean install' just to make sure that there's no left-overs from the previous builds ?