You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Arnaud Heritier (JIRA)" <ji...@codehaus.org> on 2013/05/29 09:34:52 UTC
[jira] (MNG-5483) Non-resolvable import POM when building offline
Arnaud Heritier created MNG-5483:
------------------------------------
Summary: Non-resolvable import POM when building offline
Key: MNG-5483
URL: https://jira.codehaus.org/browse/MNG-5483
Project: Maven 2 & 3
Issue Type: Bug
Components: Dependencies
Affects Versions: 3.1.0-alpha-1
Reporter: Arnaud Heritier
Priority: Critical
In our projects we are massively using import of dependencies management to avoid to redefine the versions of all our components.
Example : https://github.com/exoplatform/platform-public-distributions/
This project is using right now some dependencies coming from a JBoss staging repository. To build it I activate a profile declared in my settings.
With Maven 3.0.5 due to MNG-5185 I need to declare the profile for every build to don't let maven reject dependencies in staging which are already in my local repository (that's a shame but this is another issue already discussed in the dev list).
But with Maven 3.0.5 if I put Maven in offline mode, there is no problem to build the project (it will use my local copy of artifacts in staging)
With Maven 3.1.0-alpha-1 I have the same behavior due to MNG-5185 BUT I cannot use anymore the offline mode too. Local artifacts coming from staging aren't used by Maven :( :
{code}
arnaud@imac-arnaud:~/Code/eXo/platform-public-distributions (git:master $%)$ mvn clean install -o
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.exoplatform.platform.distributions:plf-public-distributions:4.0.x-SNAPSHOT (/Users/arnaud/Code/eXo/platform-public-distributions/pom.xml) has 143 errors
[ERROR] Non-resolvable import POM: Cannot access exo-mirror (https://repository.exoplatform.org/public) in offline mode and the artifact org.exoplatform.jcr:jcr-parent:pom:1.15.4-GA has not been downloaded from it before. @ org.exoplatform.commons:commons:4.0.x-SNAPSHOT, /Users/arnaud/.m2/repository/org/exoplatform/commons/commons/4.0.x-SNAPSHOT/commons-4.0.x-SNAPSHOT.pom, line 263, column 19 -> [Help 2]
[ERROR] Non-resolvable import POM: Cannot access exo-mirror (https://repository.exoplatform.org/public) in offline mode and the artifact org.exoplatform.ws:ws-parent:pom:2.3.4-GA has not been downloaded from it before. @ org.exoplatform.commons:commons:4.0.x-SNAPSHOT, /Users/arnaud/.m2/repository/org/exoplatform/commons/commons/4.0.x-SNAPSHOT/commons-4.0.x-SNAPSHOT.pom, line 271, column 19 -> [Help 2]
[ERROR] Non-resolvable import POM: Cannot access exo-mirror (https://repository.exoplatform.org/public) in offline mode and the artifact org.exoplatform.core:core-parent:pom:2.5.4-GA has not been downloaded from it before. @ org.exoplatform.commons:commons:4.0.x-SNAPSHOT, /Users/arnaud/.m2/repository/org/exoplatform/commons/commons/4.0.x-SNAPSHOT/commons-4.0.x-SNAPSHOT.pom, line 279, column 19 -> [Help 2]
[ERROR] Non-resolvable import POM: Cannot access exo-mirror (https://repository.exoplatform.org/public) in offline mode and the artifact org.exoplatform.kernel:kernel-parent:pom:2.4.4-GA has not been downloaded from it before. @ org.exoplatform.commons:commons:4.0.x-SNAPSHOT, /Users/arnaud/.m2/repository/org/exoplatform/commons/commons/4.0.x-SNAPSHOT/commons-4.0.x-SNAPSHOT.pom, line 287, column 19 -> [Help 2]
[ERROR] Non-resolvable import POM: Cannot access exo-mirror (https://repository.exoplatform.org/public) in offline mode and the artifact org.exoplatform.jcr:jcr-parent:pom:1.15.4-GA has not been downloaded from it before. @ org.exoplatform.social:social:4.0.x-SNAPSHOT, /Users/arnaud/.m2/repository/org/exoplatform/social/social/4.0.x-SNAPSHOT/social-4.0.x-SNAPSHOT.pom, line 345, column 19 -> [Help 2]
[ERROR] Non-resolvable import POM: Cannot access exo-mirror (https://repository.exoplatform.org/public) in offline mode and the artifact org.exoplatform.ws:ws-parent:pom:2.3.4-GA has not been downloaded from it before. @ org.exoplatform.social:social:4.0.x-SNAPSHOT, /Users/arnaud/.m2/repository/org/exoplatform/social/social/4.0.x-SNAPSHOT/social-4.0.x-SNAPSHOT.pom, line 353, column 19 -> [Help 2]
[ERROR] Non-resolvable import POM: Cannot access exo-mirror (https://repository.exoplatform.org/public) in offline mode and the artifact org.exoplatform.core:core-parent:pom:2.5.4-GA has not been downloaded from it before. @ org.exoplatform.social:social:4.0.x-SNAPSHOT, /Users/arnaud/.m2/repository/org/exoplatform/social/social/4.0.x-SNAPSHOT/social-4.0.x-SNAPSHOT.pom, line 361, column 19 -> [Help 2]
[ERROR] Non-resolvable import POM: Cannot access exo-mirror (https://repository.exoplatform.org/public) in offline mode and the artifact org.exoplatform.kernel:kernel-parent:pom:2.4.4-GA has not been downloaded from it before. @ org.exoplatform.social:social:4.0.x-SNAPSHOT, /Users/arnaud/.m2/repository/org/exoplatform/social/social/4.0.x-SNAPSHOT/social-4.0.x-SNAPSHOT.pom, line 369, column 19 -> [Help 2]
...
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira