[ https://jira.codehaus.org/browse/MNG-5289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=299894#comment-299894 ]
Ondrej Zizka commented on MNG-5289: ----------------------------------- To be precise, Maven complains: {code}Non-resolvable import POM: The repository system is offline but the artifact org.jboss.arquillian:arquillian-bom:pom:1.0.0.Final is not available in the local repository. @ line 158, column 25 -> [Help 2]{code} However, this file exists in the specified local repo: {code} ondra@lenovo:~/work/AS7/ozizka-git2$ ls -l localRepo/org/jboss/arquillian/arquillian-bom/1.0.0.Final/ -rw-r--r-- 1 ondra ondra 10616 2012-05-17 16:48 arquillian-bom-1.0.0.Final.pom -rw-r--r-- 1 ondra ondra 488 2012-05-29 00:53 arquillian-bom-1.0.0.Final.pom.lastUpdated -rw-r--r-- 1 ondra ondra 40 2012-05-17 16:48 arquillian-bom-1.0.0.Final.pom.sha1 -rw-r--r-- 1 ondra ondra 234 2012-05-29 00:53 _maven.repositorie {code} > -Dmaven.repo.local not honored > ------------------------------ > > Key: MNG-5289 > URL: https://jira.codehaus.org/browse/MNG-5289 > Project: Maven 2 & 3 > Issue Type: Bug > Components: Artifacts and Repositories > Affects Versions: 3.0.3 > Environment: Linux > Reporter: Ondrej Zizka > > STR: > 1) Checkout a multimodule project, e.g. JBoss AS 7 > {code}git clone git://github.com/jbossas/jboss-as.git{code} > 2) {code}mvn -Dmaven.repo.local=foo dependencies:go-offline clean install > -DallTests -DskipTests{code} > 3) {code}mvn -Dmaven.repo.local=foo -o install -DallTests -DskipTests{code} > This will complain about not having artifact XYZ. > 4) On the other hand, this works: > {code} > mv ~/.m2/repository ~/.m2/repository_ > ln -s `pwd`/localRepo ~/.m2/repository > mvn -o install > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira