[ http://jira.codehaus.org/browse/MNG-3553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=164269#action_164269 ]
Jacques Morel commented on MNG-3553: ------------------------------------ Jason, Thanks for responding so fast. I would be more than happy to help in any way I can. However have you guys looked at the attached project and the [associated steps|http://jira.codehaus.org/browse/MNG-3553?focusedCommentId=152108&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_152108] to reproduce the problem? I can reproduce it without problem. I get this output which matches John Crim [comment|http://jira.codehaus.org/browse/MNG-3553?focusedCommentId=160542&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_160542] and Thomas Diesler's the original reporter. This is the error message I get: {noformat} $ mvn install [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building test-depends-on-importer [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] snapshot mng-3553:test-importer:1.0-SNAPSHOT: checking for updates from public [INFO] snapshot mng-3553:test-importer:1.0-SNAPSHOT: checking for updates from public-snapshots Downloading: http://liberty.sabre.com/nexus/content/groups/public-snapshots/mng-3553/test-importer/1.0-SNAPSHOT/test-importer-1.0-20090206.171302-2.pom 1K downloaded [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error building POM (may not be this project's POM). Project ID: mng-3553:test-parent Reason: POM 'mng-3553:test-parent' not found in repository: Unable to download the artifact from any repository mng-3553:test-parent:pom:1.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) for project mng-3553:test-parent {noformat} I used our team nexus repository to deploy in so I had to add a distribution section in all pom files: {code} <distributionManagement> <!-- use the following if you're not using a snapshot version. --> <repository> <id>nexus</id> <name>liberty nexus proxy</name> <url>http://liberty.sabre.com/nexus/content/repositories/releases</url> </repository> <!-- use the following if you ARE using a snapshot version. --> <snapshotRepository> <id>snapshot nexus</id> <name>liberty snapshot nexus proxy</name> <url>http://liberty.sabre.com/nexus/content/repositories/snapshots</url> </snapshotRepository> </distributionManagement> {code} My effective settings are {code} <settings xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache. org/xsd/settings-1.0.0.xsd"> <localRepository>C:\Documents and Settings\SG0426575\.m2\repository</localRepository> <interactiveMode>false</interactiveMode> <proxies> <proxy> <active>true</active> <username>sg0XXXXXX</username> <password /> <port>80</port> <host>www-ad-proxy.sabre.com</host> <nonProxyHosts>*.sabre.com</nonProxyHosts> </proxy> </proxies> <mirrors> <mirror> <mirrorOf>public-snapshots</mirrorOf> <name>Liberty Nexus Mirror</name> <url>http://liberty.sabre.com/nexus/content/groups/public-snapshots</url> <id>nexus-public-snapshots</id> </mirror> <mirror> <mirrorOf>public</mirrorOf> <name>Liberty Nexus Mirror</name> <url>http://liberty.sabre.com/nexus/content/groups/public</url> <id>nexus</id> </mirror> </mirrors> <profiles> <profile> <repositories> <repository> <releases /> <snapshots /> <id>public</id> <url>http://public</url> </repository> <repository> <releases /> <snapshots /> <id>public-snapshots</id> <url>http://public-snapshots</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <releases /> <snapshots> <enabled>false</enabled> </snapshots> <id>public</id> <url>http://public</url> </pluginRepository> <pluginRepository> <releases> <enabled>false</enabled> </releases> <snapshots /> <id>public-snapshots</id> <url>http://public-snapshots</url> </pluginRepository> </pluginRepositories> <id>liberty-profile</id> </profile> </profiles> <activeProfiles> <activeProfile>liberty-profile</activeProfile> </activeProfiles> </settings> {code} > cannot resolve dependency with scope import > ------------------------------------------- > > Key: MNG-3553 > URL: http://jira.codehaus.org/browse/MNG-3553 > Project: Maven 2 > Issue Type: Bug > Affects Versions: 2.0.9 > Reporter: Thomas Diesler > Fix For: 2.0.11 > > Attachments: mng-3553.zip > > > This pom when added as a dependency of another project does not see > repository http://snapshots.jboss.org/maven2 > <!-- DependencyManagement --> > <dependencyManagement> > <dependencies> > <dependency> > <groupId>org.jboss.jbossas</groupId> > <artifactId>jboss-as-component-matrix</artifactId> > <version>${jboss.version}</version> > <type>pom</type> > <scope>import</scope> > </dependency> > </dependencies> > </dependencyManagement> > with effective settings > [tdies...@tddell trunk]$ mvn help:effective-settings > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] JBoss Web Services - Stack CXF > [INFO] JBoss Web Services - Stack CXF Management > [INFO] JBoss Web Services - Stack CXF Runtime Server > [INFO] JBoss Web Services - Stack CXF Runtime Client > [INFO] Searching repository for plugin with prefix: 'help'. > [INFO] > ------------------------------------------------------------------------ > [INFO] Building JBoss Web Services - Stack CXF > [INFO] task-segment: [help:effective-settings] (aggregator-style) > [INFO] > ------------------------------------------------------------------------ > [INFO] [help:effective-settings] > [INFO] > Effective settings: > <?xml version="1.0"?><settings> > <localRepository>/home/tdiesler/.m2/repository</localRepository> > <profiles> > <profile> > <activation> > <property> > <name>!jboss.repository.off</name> > </property> > </activation> > <repositories> > <repository> > <snapshots /> > <id>snapshots.jboss.org</id> > <url>http://snapshots.jboss.org/maven2</url> > </repository> > <repository> > <snapshots> > <enabled>false</enabled> > </snapshots> > <id>repository.jboss.org</id> > <url>http://repository.jboss.org/maven2</url> > </repository> > </repositories> > <id>jboss.repository</id> > </profile> > </profiles> > <activeProfiles> > <activeProfile>user-profile</activeProfile> > </activeProfiles> > <pluginGroups> > <pluginGroup>org.jboss.maven.plugins</pluginGroup> > </pluginGroups> > </settings> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira