Hi,
I want to setup maven to look for resteasy-maven-import pom file in
the local repository.
Here is the file in my local repository:
# !find
find . -name "resteasy-maven-import*"
./repository/org/jboss/resteasy/resteasy-maven-import
./repository/org/jboss/resteasy/resteasy-maven-import/1.2.RC1/resteasy-maven-import-1.2.RC1.pom
pom.xml file:
....
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-maven-import</artifactId>
<version>1.2.RC1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
.....
Errors:
# !mvn
mvn clean install
[INFO] Scanning for projects...
Downloading:
http://download.java.net/maven/1/org.jboss.resteasy/poms/resteasy-jaxrs-all-1.2.RC1.pom
[INFO] Unable to find resource
'org.jboss.resteasy:resteasy-jaxrs-all:pom:1.2.RC1' in repository
java.net (http://download.java.net/maven/1)
Downloading:
http://repo1.maven.org/maven2//org/jboss/resteasy/resteasy-jaxrs-all/1.2.RC1/resteasy-jaxrs-all-1.2.RC1.pom
[INFO] Unable to find resource
'org.jboss.resteasy:resteasy-jaxrs-all:pom:1.2.RC1' in repository
maven repo (http://repo1.maven.org/maven2/)
Downloading:
http://repository.jboss.org/maven2/org/jboss/resteasy/resteasy-jaxrs-all/1.2.RC1/resteasy-jaxrs-all-1.2.RC1.pom
[INFO] Unable to find resource
'org.jboss.resteasy:resteasy-jaxrs-all:pom:1.2.RC1' in repository
jboss (http://repository.jboss.org/maven2)
Downloading:
http://scannotation.sf.net/maven2/org/jboss/resteasy/resteasy-jaxrs-all/1.2.RC1/resteasy-jaxrs-all-1.2.RC1.pom
[INFO] Unable to find resource
'org.jboss.resteasy:resteasy-jaxrs-all:pom:1.2.RC1' in repository
scannotation (http://scannotation.sf.net/maven2)
Downloading:
http://repo1.maven.org/maven2/org/jboss/resteasy/resteasy-jaxrs-all/1.2.RC1/resteasy-jaxrs-all-1.2.RC1.pom
[INFO] Unable to find resource
'org.jboss.resteasy:resteasy-jaxrs-all:pom:1.2.RC1' 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: null:resteasy-maven-import:pom:null
Reason: Cannot find parent: org.jboss.resteasy:resteasy-jaxrs-all for
project: null:resteasy-maven-import:pom:null for project
null:resteasy-maven-import:pom:null
It seems it doesn't look for local repository.
How to change the pom.xml so taht it looks for local repository?
Thanks
Sam
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]