Hi, I followed the instructions precisely. Just to be sure, I deleted my previous copy of the sources and downloaded fresh copies using the following command:
C:\npanday>svn co https://svn.apache.org/repos/asf/incubator/npanday/trunk . This downloaded the trunk to my local machine where I entered the following commmand: C:\npanday>mvn clean install Output of this maven command was as follows: C:\npanday>mvn clean install [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Apache NPanday [INFO] NPanday :: Java Components [INFO] NPanday :: Model [INFO] NPanday :: Model :: Assembly Plugins [INFO] NPanday :: Registry [INFO] NPanday :: Core [INFO] NPanday :: Assembler [INFO] NPanday :: Model :: Executable Plugins [INFO] NPanday :: Model :: Compiler Plugins [INFO] NPanday :: Model :: Settings [INFO] NPanday :: Vendor [INFO] NPanday :: Executable [INFO] NPanday :: Model :: Net Dependency [INFO] NPanday :: Model :: Configuration Appenders [INFO] NPanday :: Model :: Library Import [INFO] NPanday :: Plugin [INFO] NPanday :: MSBuild [INFO] NPanday :: Packaging [INFO] NPanday :: MSBuild [INFO] NPanday :: Archetypes [INFO] NPanday :: Simple Archetype [INFO] NPanday :: NetExecutable Archetype [INFO] NPanday :: Simple VB Archetype [INFO] NPanday :: Maven Plugins [INFO] NPanday :: Compile Maven Plugin [INFO] NPanday :: ASPX Maven Plugin [INFO] NPanday :: ASP.NET Maven Plugin [INFO] NPanday :: Custom Lifecycle Extensions Plugin [INFO] NPanday :: MSDeploy Maven Plugin [INFO] NPanday :: Azure Maven Plugin [INFO] NPanday :: Application Maven Plugin [INFO] NPanday :: FxCop Maven Plugin [INFO] NPanday :: Install Maven Plugin [INFO] NPanday :: ILMerge Maven Plugin [INFO] NPanday :: Link Maven Plugin [INFO] NPanday :: Mojo Generator Maven Plugin [INFO] NPanday :: ResGen Maven Plugin [INFO] NPanday :: Resolver Maven Plugin [INFO] NPanday :: Test Maven Plugin [INFO] NPanday :: Visual Studio Addin Installer Maven Plugin [INFO] NPanday :: XSD Maven Plugin [INFO] NPanday :: XSP Maven Plugin [INFO] NPanday :: WSDL Maven Plugin [INFO] NPanday :: WiX Maven Plugin [INFO] NPanday :: PartCover Maven Plugin [INFO] NPanday :: Add-in Plugin (Java Binding) [INFO] NPanday :: Denenv Plugin (Java Binding) [INFO] NPanday :: Settings Plugin (Java Binding) [INFO] NPanday :: SysRef Plugin (Java Binding) [INFO] NPanday :: MSBuild Plugin (Java Binding) [INFO] NPanday :: Silverlight Maven Plugin [INFO] NPanday :: Library Importer Maven Plugin [INFO] NPanday :: .NET Projects [INFO] NPanday :: .NET Assemblies [INFO] NPanday :: .NET Model :: POM [INFO] NPanday :: .NET Model :: Settings [INFO] NPanday :: .NET Model :: AutomationExtensibility [INFO] NPanday :: .NET Utils [INFO] NPanday :: .NET Artifact [INFO] NPanday :: .NET Plugin [INFO] NPanday :: .NET Plugin MojoGenerator [INFO] NPanday :: .NET Plugin Loader [INFO] NPanday :: .NET Plugin Runner [INFO] NPanday :: Project Importer [INFO] NPanday :: Project Importer :: Engine [INFO] NPanday :: Project Importer :: Console [INFO] NPanday :: VisualStudio Addin [INFO] NPanday :: VisualStudio Project Wizard [INFO] NPanday :: .NET Plugins [INFO] NPanday :: Addin Plugin [INFO] NPanday :: Devenv Plugin [INFO] NPanday :: ResX Plugin [INFO] NPanday :: Settings Plugin [INFO] NPanday :: SysRef Plugin [INFO] NPanday :: Msbuild Plugin [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache NPanday 1.5.0-incubating-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ apache-npanday --- [INFO] [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ apache-npanday --- [INFO] [INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @ apache-npanday --- [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ apache-npanday --- [INFO] Installing C:\npanday\pom.xml to C:\Documents and Settings\T0139735\.m2\repository\org\apache\npanday\apache-npanday\1.5.0-incubating-SNAPSHOT\apache-npa nday-1.5.0-incubating-SNAPSHOT.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building NPanday :: Java Components 1.5.0-incubating-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dotnet-components --- [INFO] [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ dotnet-components --- [INFO] [INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @ dotnet-components --- [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ dotnet-components --- [INFO] Installing C:\npanday\components\pom.xml to C:\Documents and Settings\T0139735\.m2\repository\org\apache\npanday\dotnet-components\1.5.0-incubating-SNAPS HOT\dotnet-components-1.5.0-incubating-SNAPSHOT.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building NPanday :: Model 1.5.0-incubating-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dotnet-model --- [INFO] [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ dotnet-model --- [INFO] [INFO] --- gmaven-plugin:1.2:generateTestStubs (groovy-tests) @ dotnet-model --- [INFO] No sources found for Java stub generation [INFO] [INFO] --- gmaven-plugin:1.2:testCompile (groovy-tests) @ dotnet-model --- [INFO] No sources found to compile [INFO] [INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @ dotnet-model --- [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ dotnet-model --- [INFO] Installing C:\npanday\components\dotnet-model\pom.xml to C:\Documents and Settings\T0139735\.m2\repository\org\apache\npanday\dotnet-model\1.5.0-incubati ng-SNAPSHOT\dotnet-model-1.5.0-incubating-SNAPSHOT.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building NPanday :: Model :: Assembly Plugins 1.5.0-incubating-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dotnet-model-assembly-plugins --- [INFO] [INFO] --- modello-maven-plugin:1.5:xpp3-reader (mdo) @ dotnet-model-assembly-plugins --- [INFO] outputDirectory: C:\npanday\components\dotnet-model\assembly-plugins\target\generated-sources\modello [INFO] Working on model: assembly-plugins.mdo [INFO] Generating current version: 1.0.0 [INFO] [INFO] --- modello-maven-plugin:1.5:xpp3-writer (mdo) @ dotnet-model-assembly-plugins --- [INFO] outputDirectory: C:\npanday\components\dotnet-model\assembly-plugins\target\generated-sources\modello [INFO] Working on model: assembly-plugins.mdo [INFO] Generating current version: 1.0.0 [INFO] [INFO] --- modello-maven-plugin:1.5:java (mdo) @ dotnet-model-assembly-plugins --- [INFO] outputDirectory: C:\npanday\components\dotnet-model\assembly-plugins\target\generated-sources\modello [INFO] Working on model: assembly-plugins.mdo [INFO] Generating current version: 1.0.0 [INFO] [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ dotnet-model-assembly-plugins --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ dotnet-model-assembly-plugins --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\npanday\components\dotnet-model\assembly-plugins\src\main\resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ dotnet-model-assembly-plugins --- [INFO] Compiling 4 source files to C:\npanday\components\dotnet-model\assembly-plugins\target\classes [INFO] [INFO] --- gmaven-plugin:1.2:generateTestStubs (groovy-tests) @ dotnet-model-assembly-plugins --- [INFO] Generated 1 Java stub [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ dotnet-model-assembly-plugins --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ dotnet-model-assembly-plugins --- [INFO] Compiling 1 source file to C:\npanday\components\dotnet-model\assembly-plugins\target\test-classes [INFO] [INFO] --- gmaven-plugin:1.2:testCompile (groovy-tests) @ dotnet-model-assembly-plugins --- [INFO] Compiled 1 Groovy class [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ dotnet-model-assembly-plugins --- [INFO] Surefire report directory: C:\npanday\components\dotnet-model\assembly-plugins\target\surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running AssemblyPluginXpp3ReaderTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.719 sec Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ dotnet-model-assembly-plugins --- [INFO] Building jar: C:\npanday\components\dotnet-model\assembly-plugins\target\dotnet-model-assembly-plugins-1.5.0-incubating-SNAPSHOT.jar [INFO] [INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @ dotnet-model-assembly-plugins --- [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ dotnet-model-assembly-plugins --- [INFO] Installing C:\npanday\components\dotnet-model\assembly-plugins\target\dotnet-model-assembly-plugins-1.5.0-incubating-SNAPSHOT.jar to C:\Documents and Set tings\T0139735\.m2\repository\org\apache\npanday\dotnet-model-assembly-plugins\1.5.0-incubating-SNAPSHOT\dotnet-model-assembly-plugins-1.5.0-incubating-SNAPSHOT .jar [INFO] Installing C:\npanday\components\dotnet-model\assembly-plugins\pom.xml to C:\Documents and Settings\T0139735\.m2\repository\org\apache\npanday\dotnet-mod el-assembly-plugins\1.5.0-incubating-SNAPSHOT\dotnet-model-assembly-plugins-1.5.0-incubating-SNAPSHOT.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building NPanday :: Registry 1.5.0-incubating-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dotnet-registry --- [INFO] [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ dotnet-registry --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ dotnet-registry --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ dotnet-registry --- [INFO] Compiling 20 source files to C:\npanday\components\dotnet-registry\target\classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] C:\npanday\components\dotnet-registry\src\main\java\npanday\registry\ConnectionsRepository.java:[69,13] error: cannot access SailBase [ERROR] class file for org.openrdf.sail.helpers.SailBase not found C:\npanday\components\dotnet-registry\src\main\java\npanday\registry\ConnectionsRepository.java:[71,58] error: cannot access Sail [ERROR] class file for org.openrdf.sail.Sail not found C:\npanday\components\dotnet-registry\src\main\java\npanday\registry\ConnectionsRepository.java:[72,8] error: cannot access OpenRDFException [INFO] 3 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache NPanday .................................... SUCCESS [7.152s] [INFO] NPanday :: Java Components ........................ SUCCESS [0.125s] [INFO] NPanday :: Model .................................. SUCCESS [0.578s] [INFO] NPanday :: Model :: Assembly Plugins .............. SUCCESS [5.840s] [INFO] NPanday :: Registry ............................... FAILURE [1.156s] [INFO] NPanday :: Core ................................... SKIPPED [INFO] NPanday :: Assembler .............................. SKIPPED [INFO] NPanday :: Model :: Executable Plugins ............ SKIPPED [INFO] NPanday :: Model :: Compiler Plugins .............. SKIPPED [INFO] NPanday :: Model :: Settings ...................... SKIPPED [INFO] NPanday :: Vendor ................................. SKIPPED [INFO] NPanday :: Executable ............................. SKIPPED [INFO] NPanday :: Model :: Net Dependency ................ SKIPPED [INFO] NPanday :: Model :: Configuration Appenders ....... SKIPPED [INFO] NPanday :: Model :: Library Import ................ SKIPPED [INFO] NPanday :: Plugin ................................. SKIPPED [INFO] NPanday :: MSBuild ................................ SKIPPED [INFO] NPanday :: Packaging .............................. SKIPPED [INFO] NPanday :: MSBuild ................................ SKIPPED [INFO] NPanday :: Archetypes ............................. SKIPPED [INFO] NPanday :: Simple Archetype ....................... SKIPPED [INFO] NPanday :: NetExecutable Archetype ................ SKIPPED [INFO] NPanday :: Simple VB Archetype .................... SKIPPED [INFO] NPanday :: Maven Plugins .......................... SKIPPED [INFO] NPanday :: Compile Maven Plugin ................... SKIPPED [INFO] NPanday :: ASPX Maven Plugin ...................... SKIPPED [INFO] NPanday :: ASP.NET Maven Plugin ................... SKIPPED [INFO] NPanday :: Custom Lifecycle Extensions Plugin ..... SKIPPED [INFO] NPanday :: MSDeploy Maven Plugin .................. SKIPPED [INFO] NPanday :: Azure Maven Plugin ..................... SKIPPED [INFO] NPanday :: Application Maven Plugin ............... SKIPPED [INFO] NPanday :: FxCop Maven Plugin ..................... SKIPPED [INFO] NPanday :: Install Maven Plugin ................... SKIPPED [INFO] NPanday :: ILMerge Maven Plugin ................... SKIPPED [INFO] NPanday :: Link Maven Plugin ...................... SKIPPED [INFO] NPanday :: Mojo Generator Maven Plugin ............ SKIPPED [INFO] NPanday :: ResGen Maven Plugin .................... SKIPPED [INFO] NPanday :: Resolver Maven Plugin .................. SKIPPED [INFO] NPanday :: Test Maven Plugin ...................... SKIPPED [INFO] NPanday :: Visual Studio Addin Installer Maven Plugin SKIPPED [INFO] NPanday :: XSD Maven Plugin ....................... SKIPPED [INFO] NPanday :: XSP Maven Plugin ....................... SKIPPED [INFO] NPanday :: WSDL Maven Plugin ...................... SKIPPED [INFO] NPanday :: WiX Maven Plugin ....................... SKIPPED [INFO] NPanday :: PartCover Maven Plugin ................. SKIPPED [INFO] NPanday :: Add-in Plugin (Java Binding) ........... SKIPPED [INFO] NPanday :: Denenv Plugin (Java Binding) ........... SKIPPED [INFO] NPanday :: Settings Plugin (Java Binding) ......... SKIPPED [INFO] NPanday :: SysRef Plugin (Java Binding) ........... SKIPPED [INFO] NPanday :: MSBuild Plugin (Java Binding) .......... SKIPPED [INFO] NPanday :: Silverlight Maven Plugin ............... SKIPPED [INFO] NPanday :: Library Importer Maven Plugin .......... SKIPPED [INFO] NPanday :: .NET Projects .......................... SKIPPED [INFO] NPanday :: .NET Assemblies ........................ SKIPPED [INFO] NPanday :: .NET Model :: POM ...................... SKIPPED [INFO] NPanday :: .NET Model :: Settings ................. SKIPPED [INFO] NPanday :: .NET Model :: AutomationExtensibility .. SKIPPED [INFO] NPanday :: .NET Utils ............................. SKIPPED [INFO] NPanday :: .NET Artifact .......................... SKIPPED [INFO] NPanday :: .NET Plugin ............................ SKIPPED [INFO] NPanday :: .NET Plugin MojoGenerator .............. SKIPPED [INFO] NPanday :: .NET Plugin Loader ..................... SKIPPED [INFO] NPanday :: .NET Plugin Runner ..................... SKIPPED [INFO] NPanday :: Project Importer ....................... SKIPPED [INFO] NPanday :: Project Importer :: Engine ............. SKIPPED [INFO] NPanday :: Project Importer :: Console ............ SKIPPED [INFO] NPanday :: VisualStudio Addin ..................... SKIPPED [INFO] NPanday :: VisualStudio Project Wizard ............ SKIPPED [INFO] NPanday :: .NET Plugins ........................... SKIPPED [INFO] NPanday :: Addin Plugin ........................... SKIPPED [INFO] NPanday :: Devenv Plugin .......................... SKIPPED [INFO] NPanday :: ResX Plugin ............................ SKIPPED [INFO] NPanday :: Settings Plugin ........................ SKIPPED [INFO] NPanday :: SysRef Plugin .......................... SKIPPED [INFO] NPanday :: Msbuild Plugin ......................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 16.803s [INFO] Finished at: Mon Jul 29 14:13:33 BST 2013 [INFO] Final Memory: 49M/447M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project dotnet-registry: Compilation failure: C ompilation failure: [ERROR] C:\npanday\components\dotnet-registry\src\main\java\npanday\registry\ConnectionsRepository.java:[69,13] error: cannot access SailBase [ERROR] class file for org.openrdf.sail.helpers.SailBase not found [ERROR] C:\npanday\components\dotnet-registry\src\main\java\npanday\registry\ConnectionsRepository.java:[71,58] error: cannot access Sail [ERROR] class file for org.openrdf.sail.Sail not found [ERROR] C:\npanday\components\dotnet-registry\src\main\java\npanday\registry\ConnectionsRepository.java:[72,8] error: cannot access OpenRDFException [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :dotnet-registry So..........not sure what's going on here, but I'm seeing exactly the same problem I reported earlier in this mailing list and no confusion as far as I can see with regard to versions of the source code. Following your instructions simply doesn't work - what am I missing ? Thanks, Jim ========================================================================================================================================================================= Hi Jim, Can you clarify which source you used? This looks like it is from the 1.4.0-incubating release, but ConnectionsRepository has been removed on trunk. Perhaps you had an old checkout and after 'svn update' it left those files behind? A clean checkout may have more success Regards, Brett On 23/07/2013, at 2:01 AM, MCIVER Jim <[email protected]> wrote: > Hi, > > I downloaded the sources for npanday 1.5.0 and tried to build it using maven. > > I get the following error: > > [ERROR] COMPILATION ERROR : > [INFO] ------------------------------------------------------------- > [ERROR] > \npanday\trunk\components\dotnet-registry\src\main\java\npanday\registry\ConnectionsRepository.java:[69,13] error: cannot access SailBase > [ERROR] > \npanday\trunk\components\dotnet-registry\src\main\java\npanday\registry\ConnectionsRepository.java:[71,58] error: cannot access Sail > [ERROR] > \npanday\trunk\components\dotnet-registry\src\main\java\npanday\registry\ConnectionsRepository.java:[72,8] error: cannot access OpenRDFException > [INFO] 3 errors > > Now, not being a Java developer, I'm not exactly sure what the underlying > problem might be (I assume that I'm missing a required jar file, maybe ?). > > Can anyone offer any assistance or advice to help me build this ? > > Thanks, > > Jim -- Brett Porter [email protected] http://brettporter.wordpress.com/ http://au.linkedin.com/in/brettporter http://twitter.com/brettporter
