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

Attempt to install NPanday.Model.Pom to Global Assembly Cache fails the NPanday build without administrative access

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4-incubating
    • 1.5.0-incubating
    • Maven Plugins

    Description

      While building the NPanday.Model.Pom project on Linux, the following error is shown and the NPanday build fails.

      Failure adding assembly /home/jfallows/Workspaces/npanday-trunk/dotnet/assemblies/NPanday.Model.Pom/target/NPanday.Model.Pom.dll to the cache: gac directories could not be created, possibly permission issues.

      This error makes sense because the GAC in /usr/lib/mono/gac is owned by root so a normal user would not have write access.

      Other versions of NPanday.Model.Pom appear to be present in ~/.m2/uac/gac_msil. For example:

        $ ls -l ~/.m2/uac/gac_msil/NPanday.Model.Pom
      
        drwxr-xr-x 2 jfallows jfallows 4096 2011-04-12 16:41 1.2.1__npanday.model
      

      Would it be reasonable to install the NPanday.Model.Pom.dll to the same location during the NPanday trunk build?

      Attachments

        Activity

          People

            brett Brett Porter
            jfallows John Robert Fallows
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: