Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-7142

The TuxGuitar project doesn't build because it attempts to download something in offline mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None
    • None

    Description

      I am trying to build the TuxGuitar project https://sourceforge.net/projects/tuxguitar/ on FreeBSD.

       

      First I run this command in the subdirectory build-scripts/tuxguitar-freebsd-x86_64:

      > mvn -Dmaven.test.skip=true -Duser.home=/wrkdir clean install

       

      This leaves the maven cache: /wrkdir/.m2

       

      Then I run the second time, offline, to build the JAR, in the same subdirectory with the same maven cache present:

      > mvn --offline -Dmaven.test.skip=true -Duser.home=/wrkdir clean install

       

      This command fails with this error:

      // [WARNING] The POM for org.apache.maven.plugins:maven-clean-plugin:jar:2.5 is missing, no dependency information available
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary for tuxguitar-freebsd-x86_64 1.5.4:
      [INFO] 
      [INFO] tuxguitar-lib ...................................... FAILURE [  0.013 s]
      [INFO] tuxguitar-editor-utils ............................. SKIPPED
      [INFO] tuxguitar-ui-toolkit ............................... SKIPPED
      [INFO] tuxguitar .......................................... SKIPPED
      

      maven attempts to download something in the offline mode, when everything it needs is supposed to be in cache.

       

      maven-3.6.3

      Java 8

      FreeBSD 12.2

      TuxGuitar-1.5.4

      Attachments

        Activity

          People

            Unassigned Unassigned
            yurivict Yuri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: