mguymon / lock_jar

LockJar manages Java Jars for Ruby
http://mguymon.github.io/lock_jar/
Apache License 2.0
46 stars 9 forks source link

Use local_repository from lockfile in install() #20

Closed stewi2 closed 10 years ago

stewi2 commented 10 years ago

This fixes an issue where lockjar install was ignoring the local_repository set in the lockfile. That basically meant that it installed into the default repo location (usually ~/.m2/repository). However, a subsequent LockJar.load() would try to read from local_repo, and (if different from the default repo) not find the Jars.

This should also fix https://github.com/mguymon/lock_jar/issues/15 - I actually noticed this while trying to get my project to build under Travis-CI.

mguymon commented 10 years ago

+1