-
1. Re: Problem with maven repository reference in trying remote-invoker quickstart
tcunning Sep 24, 2014 10:02 PM (in response to blbuteau)Brandon,
I think what you're going to want to do is to add the following repository into your maven settings.xml :
http://maven.repository.redhat.com/earlyaccess/all/
This post by Len shows an example :
-
2. Re: Re: Problem with maven repository reference in trying remote-invoker quickstart
blbuteau Sep 25, 2014 10:28 AM (in response to tcunning)OK, I went to the post you suggested... I copied the <repository> and <pluginRepository> xml for http://maven.repository.redhat.com/earlyaccess/all/ into my local maven settings.xml <repositories> and <pluginRepositories>. I still get an error:
[INFO] Scanning for projects...
Downloading: http://repo.maven.apache.org/maven2/org/jboss/as/jboss-as-parent/7.
4.0.Final-redhat-11/jboss-as-parent-7.4.0.Final-redhat-11.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.switchyard.quickstarts:switchyard-remote-invoker:2.0.0
.Alpha2 (C:\teamstrike\RunTime\AllInOne\jboss-eap-6.3\quickstarts\remote-invoker
\pom.xml) has 1 error
[ERROR] Non-resolvable import POM: Could not find artifact org.jboss.as:jbos
s-as-parent:pom:7.4.0.Final-redhat-11 in central (http://repo.maven.apache.org/m
aven2) @ org.switchyard:switchyard-parent:2.0.0.Alpha2, C:\Users\buteabr\.m2\rep
ository\org\switchyard\switchyard-parent\2.0.0.Alpha2\switchyard-parent-2.0.0.Al
pha2.pom, line 723, column 25 -> [Help 2]
-
3. Re: Problem with maven repository reference in trying remote-invoker quickstart
tcunning Sep 26, 2014 10:32 AM (in response to blbuteau)Brandon, did you copy it into an active profile? In the maven build, do you see it try to download from earlyaccess/all?
I do see the file :
-
4. Re: Problem with maven repository reference in trying remote-invoker quickstart
blbuteau Sep 26, 2014 12:51 PM (in response to tcunning)From the error message (see previous reply), it appears that maven is trying to download it first from earlyaccess/all etc., but then also(?) from a company-local repository (with an id of "central" and a name of "libs-release"). I put in the xml for the earlyaccess/all repository immediately following the local repsitory specs in my maven settings.xml file. So it is trying to load it, but from the wrong repository and halting with the error.
The .pom file in my local machine .pom for switchyard-parent refers to org.jboss.as (and its version) at line 728, and the version (in the same file) is 7.4.0.Final-redhat-11.