You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Yuri (Jira)" <ji...@apache.org> on 2021/04/09 05:29:00 UTC

[jira] [Created] (MNG-7142) The TuxGuitar project doesn't build because it attempts to download something in offline mode

Yuri created MNG-7142:
-------------------------

             Summary: The TuxGuitar project doesn't build because it attempts to download something in offline mode
                 Key: MNG-7142
                 URL: https://issues.apache.org/jira/browse/MNG-7142
             Project: Maven
          Issue Type: Bug
            Reporter: Yuri


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:
{code:java}
// [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
{code}
maven attempts to download something in offline mode, when everything it needs ism supposed to be in cache.

 

maven-3.6.3

Java 8

FreeBSD 12.2

TuxGuitar-1.5.4



--
This message was sent by Atlassian Jira
(v8.3.4#803005)