./maven/bin/mvn dependency:go-offline not fetch all dependences

Description

Need build in offline mode for make package. For this, trying fetch all mave dependances. For this case maven have special command: mvn dependency:go-offline (http://maven.apache.org/plugins/maven-dependency-plugin/)

But it fetch not all dependances.

[01:41:00] <dubrsl|2> RangerRick: Thanks. Run mvn dependency:go-offline in the opennms-full-assembly directory not help.
[01:41:40] <dubrsl|2> Now trying: for d in opennms-* ; do pushd $d ; ../maven/bin/mvn dependency:go-offline; popd ; done
[01:41:49] <RangerRick> well, I can say that you're probably the first to try it, so who knows what's going wrong
[01:42:43] <RangerRick> open a bug I guess; I'm in the middle of working on some code so I can't blow away my repos to test it, but I can take a look at it when I get the chance

Acceptance / Success Criteria

None

Attachments

6

Lucidchart Diagrams

Activity

Show:

Seth Leger November 25, 2013 at 4:56 PM

The Maven dependency list has been cleaned up and streamlined repeatedly since this bug was opened and I cannot reproduce it now. Marking as fixed.

Slava Dubrovskiy February 14, 2011 at 2:43 AM

This dependencies too many.
Here 3 outputs from the console. In each case the necessary dependences in addition downloaded. Between starts .m2 it was not cleared.
And in stage it trying :
1. maven/bin/mvn dependency:go-offline
2. for d in opennms-* ; do pushd $d ; ../maven/bin/mvn dependency:go-offline; popd ; done
3. And usually output when building in online mode.

Then I have selected all that has been loaded and has sorted. Here lists of that that has been loaded in all attempts. By the correct operation, loaded parts shouldn't be in 2 and 3 starts.
And the list requested by you is in sorted_dependances_2.txt and sorted_dependances_3.txt list.

Slava Dubrovskiy February 14, 2011 at 2:39 AM

Sorted list downloaded dependences in 3 stage

Slava Dubrovskiy February 14, 2011 at 2:39 AM

Sorted list downloaded dependences in 2 stage

Slava Dubrovskiy February 14, 2011 at 2:39 AM

Sorted list downloaded dependences in 1 stage

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created December 14, 2010 at 7:02 PM
Updated January 27, 2017 at 4:19 PM
Resolved November 25, 2013 at 4:56 PM