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)

Reply via email to