Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.3
-
None
-
Linux
Description
STR:
1) Checkout a multimodule project, e.g. JBoss AS 7
git clone git://github.com/jbossas/jboss-as.git
2)
mvn -Dmaven.repo.local=foo dependencies:go-offline clean install -DallTests -DskipTests
3)
mvn -Dmaven.repo.local=foo -o install -DallTests -DskipTests
This will complain about not having artifact XYZ.
4) On the other hand, this works:
mv ~/.m2/repository ~/.m2/repository_ ln -s `pwd`/localRepo ~/.m2/repository mvn -o install
Attachments
Issue Links
- is related to
-
MNG-6889 Mark command line option --legacy-local-repository as deprecated
- Closed
-
MNG-5185 Improve "missing dependency" error message when _maven.repositories/_remote.repositories contains other repository ids than requested
- Closed
-
MNG-5181 New resolution from local repository is very confusing
- Closed
- relates to
-
MNG-7001 Reconsider seemingly useless check of artifacts' source repository introduced in Maven 3.0
- Open