Hi Peter,

I cleaned out the repo and tried building with 2.0.5 and everything works.
With 2.0.6, I get the same exception: java.lang.NoClassDefFoundError:
org/codehaus/plexus/util/xml/XmlStreamReader For now, you should stick with
2.0.5, until we can find out what is going on.

Shane


On 8/29/07, Shane Isbell <[EMAIL PROTECTED]> wrote:
>
> I'm building with 2.0.5. I'll try building with 2.0.6 and see what I get.
>
> Shane
>
>
>  On 8/29/07, PeterNilsson <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi,
> >
> > I get an error running bootstrap build on head (revision 570776). I also
> > get
> > the same error on the tag 0.14.
> > There are two unit tests failing on dotnet-dao-project.
> >
> > Setup:
> > - Maven 2.0.6
> > - Windows Vista.
> > - Microsoft Visual Studio 2005 version 8.0.50727.867 installed
> > - csc is available on command line.
> > - nunit is available on command line.
> > - The local repository is deleted
> > - There is no nmaven-settings.xml
> > - I run bootstrap-build.bat from a Visual Studio prompt which is opened
> > with
> > "Run as administrator"
> >
> > The last part of the output of the build is attached to the end of the
> > post.
> >
> > In
> >
> > components\dotnet-dao\project\target\surefire-reports\org.apache.maven.dotnet.dao.impl.ProjectDaoImplTest:
> >
> > -------------------------------------------------------------------------------
> >
> > Test set: org.apache.maven.dotnet.dao.impl.ProjectDaoImplTest
> >
> > -------------------------------------------------------------------------------
> > Tests run: 6, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.869sec
> > <<< FAILURE!
> > testStoreDependency(org.apache.maven.dotnet.dao.impl.ProjectDaoImplTest)
> > Time elapsed: 0.073 sec  <<< ERROR!
> > java.lang.NoClassDefFoundError:
> > org/codehaus/plexus/util/xml/XmlStreamReader
> >        at
> >
> > org.apache.maven.dotnet.dao.impl.ProjectDaoImpl.storeProjectAndResolveDependencies
> > (ProjectDaoImpl.java:518)
> >        at
> > org.apache.maven.dotnet.dao.impl.ProjectDaoImplTest.testStoreDependency(
> > ProjectDaoImplTest.java :185)
> >        at
> > org.apache.maven.dotnet.dao.impl.ProjectDaoImplTest.testStoreDependency(
> > ProjectDaoImplTest.java:185)
> >        ...
> > testStoreTransitiveDependency(
> > org.apache.maven.dotnet.dao.impl.ProjectDaoImplTest )
> > Time elapsed: 0.062 sec  <<< ERROR!
> > java.lang.NoClassDefFoundError:
> > org/codehaus/plexus/util/xml/XmlStreamReader
> >        at
> >
> > org.apache.maven.dotnet.dao.impl.ProjectDaoImpl.storeProjectAndResolveDependencies(
> > ProjectDaoImpl.java:518)
> >        at
> >
> > org.apache.maven.dotnet.dao.impl.ProjectDaoImplTest.testStoreTransitiveDependency
> > (ProjectDaoImplTest.java:238)
> >        at
> >
> > org.apache.maven.dotnet.dao.impl.ProjectDaoImplTest.testStoreTransitiveDependency(
> > ProjectDaoImplTest.java:238)
> >        ...
> >
> > It seems like a fairly recent version of plexus-utils is assumed but it
> > is
> > not being downloaded.
> >
> > Any ideas?
> >
> >     Peter
> >
> > [INFO]
> > ----------------------------------------------------------------------------
> >
> > [INFO] Building dotnet-dao-project
> > [INFO]    task-segment: [install]
> > [INFO]
> >
> > ----------------------------------------------------------------------------
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > Downloading:
> > http://repository.aduna-software.org/maven2/info/aduna/aduna-iteration/1.1/aduna-iteration-1.1.pom
> >
> > 4K downloaded
> > Downloading:
> > http://repository.aduna-software.org/maven2/info/aduna/aduna-concurrent/1.1/aduna-concurrent-1.1.pom
> >
> > 3K downloaded
> > Downloading:
> > http://repository.aduna-software.org/maven2/org/openrdf/openrdf-sail-nativerdf/2.0-beta5/openrdf-sail-nativerdf-2.0-beta5.pom
> >
> > 4K downloaded
> > Downloading:
> > http://repository.aduna-software.org/maven2/org/slf4j/slf4j-jdk14/1.3.0/slf4j-jdk14-1.3.0.pom
> >
> > Downloading:
> >
> > http://repo1.maven.org/maven2/org/slf4j/slf4j-jdk14/1.3.0/slf4j-jdk14-1.3.0.pom
> > 1K downloaded
> > Downloading:
> > http://repository.aduna-software.org/maven2/org/openrdf/openrdf-rio-rdfxml/2.0-beta5/openrdf-rio-rdfxml-2.0-beta5.pom
> >
> > 3K downloaded
> > Downloading:
> > http://repository.aduna-software.org/maven2/org/openrdf/openrdf-queryparser-sparql/2.0-beta5/openrdf-queryparser-sparql-2.0-beta5.pom
> >
> > 4K downloaded
> > Downloading:
> > http://repository.aduna-software.org/maven2/org/openrdf/openrdf-queryparser-sparql/2.0-beta5/openrdf-queryparser-sparql-2.0-beta5.jar
> >
> > 126K downloaded
> > Downloading:
> > http://repository.aduna-software.org/maven2/info/aduna/aduna-concurrent/1.1/aduna-concurrent-1.1.jar
> >
> > 10K downloaded
> > Downloading:
> > http://repository.aduna-software.org/maven2/info/aduna/aduna-iteration/1.1/aduna-iteration-1.1.jar
> >
> > 20K downloaded
> > Downloading:
> > http://repository.aduna-software.org/maven2/org/openrdf/openrdf-rio-rdfxml/2.0-beta5/openrdf-rio-rdfxml-2.0-beta5.jar
> >
> > 32K downloaded
> > Downloading:
> > http://repository.aduna-software.org/maven2/org/slf4j/slf4j-jdk14/1.3.0/slf4j-jdk14-1.3.0.jar
> >
> > Downloading:
> >
> > http://repo1.maven.org/maven2/org/slf4j/slf4j-jdk14/1.3.0/slf4j-jdk14-1.3.0.jar
> > 7K downloaded
> > Downloading:
> > http://repository.aduna-software.org/maven2/org/openrdf/openrdf-sail-nativerdf/2.0-beta5/openrdf-sail-nativerdf-2.0-beta5.jar
> >
> > 85K downloaded
> > [INFO] [compiler:compile]
> > [INFO] Nothing to compile - all classes are up to date
> > [INFO] [resources:testResources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] [compiler:testCompile]
> > [INFO] Nothing to compile - all classes are up to date
> > [INFO] [surefire:test]
> > [INFO] Surefire report directory:
> >
> > C:\ref\nmaven_20070829\components\dotnet-dao\project\target\surefire-reports
> >
> > -------------------------------------------------------
> > T E S T S
> > -------------------------------------------------------
> > Running org.apache.maven.dotnet.dao.impl.ProjectDaoImplTest
> > 2007-aug-29 17:38:38 info.aduna.lang.service.ServiceRegistry <init>
> > INFO: Registered service class
> > org.openrdf.query.parser.sparql.SPARQLParserFactory
> > 2007-aug-29 17:38:38 info.aduna.lang.service.ServiceRegistry <init>
> > INFO: Registered service class
> > org.openrdf.query.parser.serql.SeRQLParserFactory
> > 2007-aug-29 17:38:39 org.apache.maven.dotnet.dao.impl.ProjectDaoImpl
> > storeProjectAndResolveDependencies
> > INFO: NMAVEN-180-012: Retrieving artifact: Artifact ID  = NMaven.Test4
> > 2007-aug-29 17:38:39 org.openrdf.sail.helpers.SailConnectionBase close
> > VARNING: Rolling back transaction due to connection close
> > java.lang.Throwable
> >        at
> > org.openrdf.sail.helpers.SailConnectionBase.close(
> > SailConnectionBase.java:145)
> >        at
> > org.openrdf.sail.helpers.SailConnectionWrapper.close (
> > SailConnectionWrapper.java:74)
> >        at
> > org.openrdf.repository.sail.SailRepositoryConnection.close(
> > SailRepositoryConnection.java:103)
> >        at
> > org.openrdf.repository.base.RepositoryConnectionBase.finalize(
> > RepositoryConnectionBase.java :118)
> >        at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
> >        at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
> >        at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
> >        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java
> > :160)
> > 2007-aug-29 17:38:39 org.apache.maven.dotnet.dao.impl.ProjectDaoImpl
> > storeProjectAndResolveDependencies
> > INFO: NMAVEN-180-012: Retrieving artifact: Artifact ID  = NMaven.Test2
> > 2007-aug-29 17:38:39 org.openrdf.sail.helpers.SailConnectionBase close
> > VARNING: Rolling back transaction due to connection close
> > java.lang.Throwable
> >        at
> > org.openrdf.sail.helpers.SailConnectionBase.close (
> > SailConnectionBase.java:145)
> >        at
> > org.openrdf.sail.helpers.SailConnectionWrapper.close(
> > SailConnectionWrapper.java:74)
> >        at
> > org.openrdf.repository.sail.SailRepositoryConnection.close(
> > SailRepositoryConnection.java :103)
> >        at
> > org.openrdf.repository.base.RepositoryConnectionBase.finalize(
> > RepositoryConnectionBase.java:118)
> >        at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
> >        at java.lang.ref.Finalizer.runFinalizer (Finalizer.java:83)
> >        at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
> >        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java
> > :160)
> > Tests run: 6, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.871sec
> > <<< FAILURE!
> >
> > Results :
> >
> > Tests in error:
> > testStoreDependency(org.apache.maven.dotnet.dao.impl.ProjectDaoImplTest)
> >
> > testStoreTransitiveDependency(
> > org.apache.maven.dotnet.dao.impl.ProjectDaoImplTest )
> >
> > Tests run: 6, Failures: 0, Errors: 2, Skipped: 0
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > [INFO] There are test failures.
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > [INFO] Total time: 4 minutes 15 seconds
> > [INFO] Finished at: Wed Aug 29 17:38:39 CEST 2007
> > [INFO] Final Memory: 18M/34M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > --
> > View this message in context:
> > http://www.nabble.com/Error-running-bootstrap-build-tf4348677.html#a12390060
> > Sent from the nmaven-dev mailing list archive at 
> > Nabble.com<http://nabble.com/>
> > .
> >
> >
>

Reply via email to