Disable mvn from new downloads?

How does one stop mvn from downloading new files from the net when
attempting to rebuild JRuby? New downloads introduce new issues, and I
need to work one issue at a time. I’ve tried mvn -o, -nsu,
-Dmaven.repo.local=localrepo but still the downloads are attempted!

Thanks!
rcs

On Wed, Mar 5, 2014 at 12:10 AM, Richard S. [email protected]
wrote:

mvn -o

should not download any artifacts, if there is some donwload please post
a
gist so I can see what maven downloads on your side.

beside that maven might update some metadata it does not use “new” files
unless there are some snapshot artifacts which did change since they got
downloaded the last time.

there are some jnr and jffi metadata downloads which come due to the
fact
that on maven central there is a version which has them as snapshot
dependency - I could not find a way to prevent this. but that happens
ones
a day and the download is just metadata for maven and play no further
role
in the build since newer (non-snapshot) versions of the respective
artifacts are in use.

hope that helps a little :wink:

-christian

Thanks Christian! I did not understand what was going on with the
metadata updates and it concerned me. I appreciate the help!

Regards,
rcs

christian wrote in post #1138847:

On Wed, Mar 5, 2014 at 12:10 AM, Richard S. [email protected]
wrote:

mvn -o

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs