[jira] (MNG-5289) -Dmaven.repo.local not honored

2013-02-16 Thread Robert Scholte (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=319821#comment-319821
 ] 

Robert Scholte edited comment on MNG-5289 at 2/16/13 10:30 AM:
---

options have been renamed to {{--llr}}, {{-legacy-local-repository}} and 
{{-Dmaven.legacyLocalRepository}}

  was (Author: rfscholte):
options has been renamed to {{--llr}}, {{-legacy-local-repository}} and 
{{-Dmaven.legacyLocalRepository}}
  
> -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
>Assignee: Olivier Lamy
> Fix For: 3.1.0
>
>
> 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




[jira] (MNG-5289) -Dmaven.repo.local not honored

2013-02-16 Thread Robert Scholte (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=319821#comment-319821
 ] 

Robert Scholte commented on MNG-5289:
-

options has been renamed to {{--llr}}, {{-legacy-local-repository}} and 
{{-Dmaven.legacyLocalRepository}}

> -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
>Assignee: Olivier Lamy
> Fix For: 3.1.0
>
>
> 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




[jira] (MNG-5289) -Dmaven.repo.local not honored

2013-01-31 Thread Olivier Lamy (JIRA)

 [ 
https://jira.codehaus.org/browse/MNG-5289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olivier Lamy closed MNG-5289.
-

   Resolution: Fixed
Fix Version/s: 3.1.0
 Assignee: Olivier Lamy

pushed 
can be desactivated using:
* new cli option: -slrm,--simple-local-repository-manager
* or in MAVEN_OPTS: -Dmaven.simpleLocalRepoMan=true

> -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
>Assignee: Olivier Lamy
> Fix For: 3.1.0
>
>
> 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




[jira] (MNG-5289) -Dmaven.repo.local not honored

2012-05-28 Thread Ondrej Zizka (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=299898#comment-299898
 ] 

Ondrej Zizka commented on MNG-5289:
---

What I don't understand is why this comes into action when I use {{mvn 
--offline}} ??  In that case, this behavior is meaningless as I appearantly 
intend to take everything from local repo.

Also, it seems that {{--offline}} disables FS repos - {{file:///...}}. It 
shoudn't.

> -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




[jira] (MNG-5289) -Dmaven.repo.local not honored

2012-05-28 Thread Ondrej Zizka (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=299897#comment-299897
 ] 

Ondrej Zizka edited comment on MNG-5289 at 5/28/12 9:15 PM:


Jason van Zyl:   
http://maven.40175.n5.nabble.com/Maven-3-maven-repositories-and-lastUpdated-td4927537.html
{quote}
The artifacts have an identity. It matters where the artifacts were downloaded 
from. Artifact A downloaded from X is not the same thing to Maven 3 as A 
downloaded from Y. This can happen when you flip your settings.xml to go from 
using a repository manager to using Maven Central directly for example.

There is currently no way to turn that off. But you can vote for the issue[1].

[1]: http://jira.codehaus.org/browse/MNG-5181
{quote}

OMG. Killing evil with greater evil.

  was (Author: pekarna):
Jason van Zyl:
{quote}
The artifacts have an identity. It matters where the artifacts were downloaded 
from. Artifact A downloaded from X is not the same thing to Maven 3 as A 
downloaded from Y. This can happen when you flip your settings.xml to go from 
using a repository manager to using Maven Central directly for example.

There is currently no way to turn that off. But you can vote for the issue[1].

[1]: http://jira.codehaus.org/browse/MNG-5181
{quote}
http://maven.40175.n5.nabble.com/Maven-3-maven-repositories-and-lastUpdated-td4927537.html
  
> -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




[jira] (MNG-5289) -Dmaven.repo.local not honored

2012-05-28 Thread Ondrej Zizka (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=299897#comment-299897
 ] 

Ondrej Zizka commented on MNG-5289:
---

http://maven.40175.n5.nabble.com/Maven-3-maven-repositories-and-lastUpdated-td4927537.html

> -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




[jira] (MNG-5289) -Dmaven.repo.local not honored

2012-05-28 Thread Ondrej Zizka (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=299897#comment-299897
 ] 

Ondrej Zizka edited comment on MNG-5289 at 5/28/12 9:10 PM:


Jason van Zyl:
{quote}
The artifacts have an identity. It matters where the artifacts were downloaded 
from. Artifact A downloaded from X is not the same thing to Maven 3 as A 
downloaded from Y. This can happen when you flip your settings.xml to go from 
using a repository manager to using Maven Central directly for example.

There is currently no way to turn that off. But you can vote for the issue[1].

[1]: http://jira.codehaus.org/browse/MNG-5181
{quote}
http://maven.40175.n5.nabble.com/Maven-3-maven-repositories-and-lastUpdated-td4927537.html

  was (Author: pekarna):

http://maven.40175.n5.nabble.com/Maven-3-maven-repositories-and-lastUpdated-td4927537.html
  
> -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




[jira] (MNG-5289) -Dmaven.repo.local not honored

2012-05-28 Thread Ondrej Zizka (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=299896#comment-299896
 ] 

Ondrej Zizka commented on MNG-5289:
---

Workaround: {code}find localRepo/ -name _maven.repositories | xargs rm{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




[jira] (MNG-5289) -Dmaven.repo.local not honored

2012-05-28 Thread Ondrej Zizka (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=299895#comment-299895
 ] 

Ondrej Zizka commented on MNG-5289:
---

Hmm, interesting:
*When I removed the {{_maven.repositories}} file, it started working.*

This is an example of content:

{code}
#NOTE: This is an internal implementation file, its format can be changed 
without prior notice.
#Tue May 29 00:53:54 CEST 2012
shrinkwrap-descriptors-bom-2.0.0-alpha-2.pom>jboss-public-repository-group=
shrinkwrap-descriptors-bom-2.0.0-alpha-2.pom>central-eap6=
{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




[jira] (MNG-5289) -Dmaven.repo.local not honored

2012-05-28 Thread Ondrej Zizka (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=299893#comment-299893
 ] 

Ondrej Zizka edited comment on MNG-5289 at 5/28/12 8:40 PM:


 in settings.xml doesn't work either.

  was (Author: pekarna):
 in settings.xml works too.
  
> -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




[jira] (MNG-5289) -Dmaven.repo.local not honored

2012-05-28 Thread Ondrej Zizka (JIRA)

[ 
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 ondra40 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




[jira] (MNG-5289) -Dmaven.repo.local not honored

2012-05-28 Thread Ondrej Zizka (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=299893#comment-299893
 ] 

Ondrej Zizka commented on MNG-5289:
---

 in settings.xml works too.

> -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




[jira] (MNG-5289) -Dmaven.repo.local not honored

2012-05-28 Thread Ondrej Zizka (JIRA)

[ 
https://jira.codehaus.org/browse/MNG-5289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=299892#comment-299892
 ] 

Ondrej Zizka commented on MNG-5289:
---

Last command should have been:  {code}mvn -o install -DallTests 
-DskipTests{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




[jira] (MNG-5289) -Dmaven.repo.local not honored

2012-05-28 Thread Ondrej Zizka (JIRA)
Ondrej Zizka created MNG-5289:
-

 Summary: -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