[
https://jira.jboss.org/browse/ARQ-290?page=com.atlassian.jira.plugin.syst...
]
steven verborgh commented on ARQ-290:
-------------------------------------
sorry,
! the confusion started because I started out with maven2. It didn't build with maven
2 but it seems that... downloading dependencies ... with maven 3 it is running fine atm.
for your information; fault for maven 2 is this:
verborghs$ mvn install
[INFO] Scanning for projects...
Downloading:
http://repository.jboss.org/nexus/content/groups/public//org/jboss/jboss-...
18K downloaded (jboss-parent-5.pom)
Downloading:
http://repository.jboss.org/nexus/content/groups/public//org/jboss/jbossa...
35K downloaded (jboss-as-depchain-6.0.0.20100721-M4.pom)
Downloading:
http://repository.jboss.org/nexus/content/groups/public//org/jboss/jbossa...
20K downloaded (jboss-as-parent-6.0.0.20100721-M4.pom)
Downloading:
http://repository.jboss.org/nexus/content/groups/public//org/jboss/jbossa...
139K downloaded (jboss-as-component-matrix-6.0.0.20100721-M4.pom)
Downloading:
http://repo1.maven.org/maven2/org/jboss/ejb3/bom/bom-as6/0.2.0-alpha-10/b...
[INFO] Unable to find resource 'org.jboss.ejb3.bom:bom-as6:pom:0.2.0-alpha-10' in
repository central (
http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.jboss.ejb3.bom:bom-as6
Reason: POM 'org.jboss.ejb3.bom:bom-as6' not found in repository: Unable to
download the artifact from any repository
org.jboss.ejb3.bom:bom-as6:pom:0.2.0-alpha-10
from the specified remote repositories:
central (
http://repo1.maven.org/maven2)
for project org.jboss.ejb3.bom:bom-as6
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: POM 'org.jboss.ejb3.bom:bom-as6'
not found in repository: Unable to download the artifact from any repository
org.jboss.ejb3.bom:bom-as6:pom:0.2.0-alpha-10
from the specified remote repositories:
central (
http://repo1.maven.org/maven2)
for project org.jboss.ejb3.bom:bom-as6
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:432)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:300)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: POM
'org.jboss.ejb3.bom:bom-as6' not found in repository: Unable to download the
artifact from any repository
org.jboss.ejb3.bom:bom-as6:pom:0.2.0-alpha-10
from the specified remote repositories:
central (
http://repo1.maven.org/maven2)
for project org.jboss.ejb3.bom:bom-as6
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:605)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:251)
at
org.apache.maven.project.DefaultMavenProjectBuilder.mergeManagedDependencies(DefaultMavenProjectBuilder.java:1456)
at
org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:999)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:880)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:255)
at
org.apache.maven.project.DefaultMavenProjectBuilder.mergeManagedDependencies(DefaultMavenProjectBuilder.java:1456)
at
org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:999)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:880)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:255)
at
org.apache.maven.project.DefaultMavenProjectBuilder.mergeManagedDependencies(DefaultMavenProjectBuilder.java:1456)
at
org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:999)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:880)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:632)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:515)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:588)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:588)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:419)
... 12 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to
download the artifact from any repository
org.jboss.ejb3.bom:bom-as6:pom:0.2.0-alpha-10
from the specified remote repositories:
central (
http://repo1.maven.org/maven2)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:558)
... 31 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the
artifact from any repository
at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:349)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
... 33 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Mon Sep 13 21:51:42 CEST 2010
[INFO] Final Memory: 7M/81M
[INFO] ---------------------------------------------------
performence/pom.xml references WELD-1.0.1
-----------------------------------------
Key: ARQ-290
URL:
https://jira.jboss.org/browse/ARQ-290
Project: Arquillian
Issue Type: Bug
Components: Build Infrastructure
Environment: Mac OS, Maven 3, using jboss-repository-public as in JBoss maven
Getting started wiki
Reporter: steven verborgh
build fails with:
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR] The project
org.jboss.arquillian.extension:arquillian-performance:1.0.0-SNAPSHOT
(/Users/verborghs/Documents/Repositories/arquilian/arquillian/arquillian/extensions/performance/pom.xml)
has 4 errors
[ERROR] Non-resolvable import POM org.jboss.weld:weld-core-bom:1.0.2-SNAPSHOT: Failed
to resolve POM for org.jboss.weld:weld-core-bom:1.0.2-SNAPSHOT due to The following
artifacts could not be resolved: org.jboss.weld:weld-core-bom:pom:1.0.2-SNAPSHOT: Could
not find artifact org.jboss.weld:weld-core-bom:pom:1.0.2-SNAPSHOT in
jboss-public-repository-group
(
https://repository.jboss.org/nexus/content/groups/public-jboss/, releases=true,
snapshots=true, managed=false) @ line 105, column 26 -> [Help 2]
[ERROR] 'dependencies.dependency.version' for org.jboss.weld:weld-core:jar is
missing. @ line 84, column 25
[ERROR] 'dependencies.dependency.version' for org.jboss.weld:weld-api:jar is
missing. @ line 88, column 25
[ERROR] 'dependencies.dependency.version' for org.slf4j:slf4j-simple:jar is
missing. @ line 92, column 25
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the
following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
Solved by replacing 1.0.2-SNAPSHOT which is no longer in
https://repository.jboss.org/nexus/content/groups/public-jboss/ to 1.1.0-SNAPSHOT
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira