Uploaded image for project: 'NPanday'
  1. NPanday
  2. NPANDAY-119

<<HELP>> Building does not search for dependencies prior to compiling ...

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.1
    • None
    • None
    • 9860

    Description

      This really shouldn't be created in the issue tracker as I am certain (as others seem to be having no issues) that it is an environment specific problem.
      However there is no way to attach a file to the Discussions section.

      I have attached my project as part of this issue as suggested by Wendy.

      The project is very very simple. NPanday.ClassLibrary is a single class compiled successfully and deployed to the repository using mvn deploy (it is also installed on the local repository) ...
      The NPanday.Dependencies project is also a single class that calls a method from the other class (to make sure the dependency is being used).
      When I attempt to compile the NPanday.Dependencies project it does not even attempt to collect dependencies.

      Also here is the build log from running this build locally.

      ------------------------------------------------------------------
      Executing Maven
      Pom File: C:\Development\Learning\NPanday.Dependencies\pom.xml
      Goal: compile
      Arguments: compile
      NPanday Command: C:\Program Files\Apache Software Foundation\Maven 2.0.9\bin\mvn.bat compile

      ------------------------------------------------------------------

      [WARNING] Overriding profile: 'null' (source: settings.xml) with new instance from source: settings.xml
      [INFO] Scanning for projects...
      [INFO] Reactor build order:
      [INFO] net.autodata.learning.NPanday.Dependencies : NPanday.Dependencies
      [INFO] net.autodata.learning.NPanday.Dependencies : NPanday.Library
      [INFO] ------------------------------------------------------------------------
      [INFO] Building net.autodata.learning.NPanday.Dependencies : NPanday.Dependencies
      [INFO] task-segment: [compile]
      [INFO] ------------------------------------------------------------------------
      [INFO] No goals needed for project - skipping
      [INFO] ------------------------------------------------------------------------
      [INFO] Building net.autodata.learning.NPanday.Dependencies : NPanday.Library
      [INFO] task-segment: [compile]
      [INFO] ------------------------------------------------------------------------
      [INFO] [compile:initialize]
      25-Apr-2009 10:21:05 AM npanday.registry.ConnectionsRepository lazyLoad
      INFO: NPANDAY-080-001: Adding data access object: Class Name = npanday.dao.impl.ProjectDaoImpl
      25-Apr-2009 10:21:05 AM npanday.registry.ConnectionsRepository lazyLoad
      INFO: NPANDAY-080-004: Connection Start Up: Time = 47
      25-Apr-2009 10:21:05 AM info.aduna.lang.service.ServiceRegistry <init>
      INFO: Registered service class org.openrdf.query.parser.serql.SeRQLParserFactory
      25-Apr-2009 10:21:05 AM info.aduna.lang.service.ServiceRegistry <init>
      INFO: Registered service class org.openrdf.query.parser.sparql.SPARQLParserFactory
      [INFO] Mojo Execution Time = 141
      [INFO] [resolver:resolve]
      [INFO] Mojo Execution Time = 0
      [INFO] [NPanday.Plugin.Settings.JavaBinding:generate-settings]
      [INFO] [compile:generate-assembly-info]
      [INFO] NPANDAY-902-001: Found AssemblyInfo file(s), so will not generate one
      [INFO] [compile:process-sources]
      [INFO] NPANDAY-904-002: Copying source files: From = C:\Development\Learning\NPanday.Dependencies\NPanday.Library, To = C:\Development\Learning\NPanday.Dependencies\NPanday.Library\target/build-sources, File Count = 2
      [INFO] [compile:process-test-sources]
      [INFO] NPANDAY-905-001: No test source files to copy
      [INFO] [resgen:copy-resources]
      [INFO] [resgen:generate]
      [INFO] [resgen:generate-existing-resx-to-resource]
      [INFO] [compile:compile]
      [INFO] NPANDAY-066-013: Found Vendor = Vendor = MICROSOFT, Vendor Version = 2.0.50727, Framework Version = 2.0.50727, Executable Paths = [C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727, C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0]
      [INFO] NPANDAY-068-003: Compiling Artifact: Vendor = MICROSOFT, Language = MICROSOFT, Assembly Name = C:\Development\Learning\NPanday.Dependencies\NPanday.Library\target\NPanday.Library.dll
      c:\Development\Learning\NPanday.Dependencies\NPanday.Library\target\2510219\Class1.cs(22,38): error CS0234: The type or namespace name 'Class1' does not exist in the namespace 'NPanday.ClassLibrary' (are you missing an assembly reference?)
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] NPANDAY-900-006: Unable to Compile: Language = C_SHARP, Vendor = null, ArtifactType = library, Source Directory = C:\Development\Learning\NPanday.Dependencies\NPanday.Library
      Embedded error: NPANDAY-040-001: Could not execute: Command = CMD.EXE /X /C csc @C:\Development\Learning\NPanday.Dependencies\NPanday.Library\target\2510219\responcefile.rsp, Result = 1
      [INFO] ------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 8 seconds
      [INFO] Finished at: Sat Apr 25 10:21:09 EDT 2009
      [INFO] Final Memory: 11M/23M
      [INFO] ------------------------------------------------------------------------
      NPanday Execution is Successful!

      Attachments

        Activity

          People

            Unassigned Unassigned
            joeregnier JoeRegnier
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: