The qdox parser is failing on the field attribute. Just to confirm: are you compiling under JDK 1.5? This is required.
On 9/29/07, javed mandary <[EMAIL PROTECTED]> wrote: > > Hi Shane, > I upgraded to maven 2.0.7 and performed the following > command: > > bootstrap-build.bat -DVisualStudio2005 > > , following which installation started. > > However I got the following error on the > NMaven.Plugin.Addin.JavaBindingmodule: > > [INFO] > > ---------------------------------------------------------------------------- > [INFO] Building NMaven.Plugin.Addin.JavaBinding > [INFO] task-segment: [install] > [INFO] > > ---------------------------------------------------------------------------- > [INFO] [plugin:descriptor] > [INFO] Using 2 extractors. > [INFO] Applying extractor for language: java > [INFO] > ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] syntax error @[16,9] in > file:/C:/devtools/NMaven/plugins/netplugins/NMaven.Plugin.Ad > > din/javabinding/src/main/java/NMaven/Plugin/Addin/AutomationExtensibilityMojo.java > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > com.thoughtworks.qdox.parser.ParseException: syntax error @[16,9] in > file:/C:/devtools/NMav > > en/plugins/netplugins/NMaven.Plugin.Addin/javabinding/src/main/java/NMaven/Plugin/Addin/Aut > omationExtensibilityMojo.java > at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java > :504) > at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java > :610) > at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:488) > at com.thoughtworks.qdox.JavaDocBuilder.addSource( > JavaDocBuilder.java:296) > at com.thoughtworks.qdox.JavaDocBuilder.addSource( > JavaDocBuilder.java:312) > at com.thoughtworks.qdox.JavaDocBuilder.addSource( > JavaDocBuilder.java:308) > at com.thoughtworks.qdox.JavaDocBuilder$1.visitFile( > JavaDocBuilder.java:365) > at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk( > DirectoryScanner.jav > a:43) > > After which the build continued but it continued complaining that the > maven-install-plugin for dotnet didn't exist and this continued unit there > was a build error. > > > [INFO] > ------------------------------------------------------------------------ > Installing 3rd Party Assemblies in the Local Repo > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] dotnet > [INFO] dotnet-components > [INFO] dotnet-model > [INFO] dotnet-model-netdependency > [INFO] dotnet-registry > [INFO] dotnet-core > [INFO] dotnet-dao-project > [INFO] dotnet-artifact > [INFO] dotnet-model-assembly-plugins > [INFO] dotnet-assembler > [INFO] dotnet-embedder > [INFO] dotnet-model-executable-plugins > [INFO] dotnet-model-compiler-plugins > [INFO] dotnet-model-settings > [INFO] dotnet-vendor > [INFO] dotnet-executable > [INFO] dotnet-jetty > [INFO] dotnet-model-configuration-appenders > [INFO] dotnet-model-entries > [INFO] dotnet-plugin > [INFO] dotnet-repository > [INFO] dotnet-service-embedder > [INFO] dotnet > [INFO] maven-archetype-dotnet-simple > [INFO] maven-archetype-netexecutable > [INFO] maven-dotnet-plugins > [INFO] NMaven.Plugin.Addin.JavaBinding > [INFO] NMaven.Plugin.Devenv.JavaBinding > [INFO] NMaven.Plugin.Settings.JavaBinding > [INFO] NMaven.Plugin.Solution.JavaBinding > [INFO] maven-compile-plugin > [INFO] maven-deploy-plugin > [INFO] maven-embedder-plugin > [INFO] maven-fxcop-plugin > [INFO] maven-install-plugin > [INFO] maven-link-plugin > [INFO] maven-mojo-generator-plugin > [INFO] maven-resgen-plugin > [INFO] maven-repository-plugin > [INFO] maven-resolver-plugin > [INFO] maven-test-plugin > [INFO] maven-vsinstaller-plugin > [INFO] maven-webapp-plugin > [INFO] maven-xsd-plugin > [INFO] maven-xsp-plugin > [INFO] maven-wsdl-plugin > [INFO] Unnamed - > org.apache.maven.dotnet:dotnet-repository-builder:pom:0.14-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] The plugin 'org.apache.maven.dotnet.plugins:maven-install-plugin' > does not exist or > no valid version could be found > > Would you know what could be the cause of these problems? > > kind regards, > Javed > > On 9/29/07, Shane Isbell <[EMAIL PROTECTED]> wrote: > > > > You will definately need maven 2.0.7 to build NMaven, as there are a > > number > > of missing method and class problems while compiling under earlier > > versions > > of the maven client. > > > > Regards, > > Shane > > > > > > On 9/29/07, javed mandary <[EMAIL PROTECTED]> wrote: > > > > > > Hi Shane, > > > thanks will try to do as you say. > > > > > > I am using maven 2.0.4 and using mvn install. > > > > > > will do as you advise and let you know. > > > > > > cheers, > > > javed > > > > > > On 9/29/07, Shane Isbell <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi Javed, > > > > > > > > It looks as though you are also missing: openrdf-sail-api (Sail) and > > > > openrdf-model (OpenRDFException). I cleaned my repo and did a build > > with > > > > maven 2.0.7 and it worked. Which version of maven are you using? Are > > you > > > > starting with the bootstrap script or an mvn install? > > > > > > > > Is anyone else on the list seeing this problem? I'll look into this > > > > somemore. It could be something wrong with the rdf profile in the > > > > components.xml pom. For now, try to put the aduna repo reference > your > > > > settings.xml and turn it on by default to see if that solves your > > > problem. > > > > > > > > Best Regards, > > > > Shane > > > > > > > > On 9/29/07, javed mandary <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Hi, > > > > > I just checkouted out the latest version of NMaven from > > subversion > > > > and > > > > > i was getting compilation errors for the following jars: > > > > > > > > > > Missing: > > > > > --------- > > > > > 1. org.openrdf:openrdf-sail-memory:jar:2.0-beta5 > > > > > > > > > > 2. org.openrdf:openrdf-repository-api:jar:2.0-beta5 > > > > > > > > > > 3. org.openrdf:openrdf-repository-sail:jar:2.0-beta5 > > > > > > > > > > So i downloaded manually the jars from the following URL: > > > > > http://repository.aduna-software.org/maven2/org/openrdf > > > > > > > > > > Although that solved my missing jars problem I got the following > > > error: > > > > > [INFO] > > > > > > > > > ------------------------------------------------------------------------ > > > > > [ERROR] BUILD FAILURE > > > > > [INFO] > > > > > > > > > ------------------------------------------------------------------------ > > > > > [INFO] Compilation failure > > > > > > > > > > > > > > > > > > > > > > > > > C:\devtools\NMaven\components\dotnet-registry\src\main\java\org\apache\maven\dot > > > > > net\registry\ConnectionsRepository.java:[61,28] cannot access > > > > > org.openrdf.sail.h > > > > > elpers.SailBase > > > > > file org\openrdf\sail\helpers\SailBase.class not found > > > > > MemoryStore store = new MemoryStore( dataDir ); > > > > > > > > > > > > > > > > > > > > > > > > > C:\devtools\NMaven\components\dotnet-registry\src\main\java\org\apache\maven\dot > > > > > net\registry\ConnectionsRepository.java:[64,58] cannot access > > > > > org.openrdf.sail.S > > > > > ail > > > > > file org\openrdf\sail\Sail.class not found > > > > > org.openrdf.repository.Repository rdfRepository = new > > > > > SailRepository( st > > > > > ore ); > > > > > > > > > > > > > > > > > > > > > > > > > C:\devtools\NMaven\components\dotnet-registry\src\main\java\org\apache\maven\dot > > > > > net\registry\ConnectionsRepository.java:[65,8] cannot access > > > > > org.openrdf.OpenRDF > > > > > Exception > > > > > file org\openrdf\OpenRDFException.class not found > > > > > try > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------------------------------------- > > > > > > > > > > Any one know what is wrong and whether am using the right openrdf > > jars > > > ? > > > > > > > > > > kind regards, > > > > > Javed Mandary > > > > > > > > > > > > > > >
