Re: How to instruct maven look for local repository first?

2009-09-24 Thread Norm Wright

thanks for the help.
I had this same problem.
I'm new to maven so the solution was not obvious.
reloading my jars (from google) into my local repository with the 
-DgeneratePom=true 
option saves me tons of times on my recompiles!:-)

-- 
View this message in context: 
http://www.nabble.com/How-to-instruct-maven-look-for-local-repository-first--tp24407280p25577795.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: How to instruct maven look for local repository first?

2009-07-09 Thread Sam Wun
Oh yeah. I need to to change my glasses. :p

On Thu, Jul 9, 2009 at 8:16 PM, Anders Hammar 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 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:
>> 
>>   
>>        
>>            
>>                org.jboss.resteasy
>>                resteasy-maven-import
>>                1.2.RC1
>>                pom
>>                import
>>            
>>        
>>    
>> .
>>
>> 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



Re: How to instruct maven look for local repository first?

2009-07-09 Thread Anders Hammar
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 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:
> 
>   
>        
>            
>                org.jboss.resteasy
>                resteasy-maven-import
>                1.2.RC1
>                pom
>                import
>            
>        
>    
> .
>
> 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