Oh yeah. I need to to change my glasses. :p On Thu, Jul 9, 2009 at 8:16 PM, Anders Hammar<and...@hammar.net> wrote: > If you look at the error message you see that the problem is that the > parent of resteasy-maven-import > (org.jboss.resteasy:resteasy-jaxrs-all:pom:1.2.RC1) can't be found. > The resteasy-maven-import artifact is indeed found in the local repo. > > /Anders > > On Thu, Jul 9, 2009 at 11:51, Sam Wun<swun2...@gmail.com> wrote: >> 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: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org