True,  but I did not want to use default HOME/.m2/repository, so I set this
to <root>/mavenlocal, could this be problematic?

Also,  I did not manually copy my jar files to this repository,  I use mvn
install:install-file..............., to let maven install my 3rd party jars
to local repository.



Nick Stolwijk wrote:
> 
> Your local repository resides (with all the other downloaded artifacts) 
> in your HOME/.m2/repository. If you use the install:install-file goal 
> maven will also put the artifacts in there. Don't put jar files in there 
> yourself, then Maven won't have the right information (the pom.xml files 
> and the metadata files) to find your artifact.
> 
> Hth,
> 
> Nick Stolwijk
> 
> JayBee wrote:
>> I have the similar issue, even installing jars in local repository
>> dosen't
>> seem to satisfy dependencies.  I have set localrepository to
>> <root>\mavenlocal where I have installed my jars and from error messages
>> it
>> seems that mvn compile dosen't probe local repository at all. 
>>
>> [INFO] Using default encoding to copy filtered resources.
>>
>> Downloading:
>> http://repo1.maven.org/maven2/org/bouncycastle/bouncycastle/1.0/bouncycastle-1.0.pom
>>
>> [WARNING] Unable to get resource from repository central
>> (http://repo1.maven.org/maven2)
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [ERROR] BUILD ERROR
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO] Failed to resolve artifact.
>>
>>
>>
>>
>> Wayne Fay wrote:
>>   
>>> Just install the file into your local repo using Maven. Search for
>>> "mvn install:install-file" on Google or the Maven Users mailing list
>>> for this information.
>>>
>>> Wayne
>>>
>>> On 1/25/07, maxmil <[EMAIL PROTECTED]> wrote:
>>>     
>>>> Hi,
>>>>
>>>> i'm new to Maven and need to use a jar that is not in the central
>>>> repository
>>>> (apache fop 0.93 and its dependencies). Is the best way to get around
>>>> this
>>>> to add it (and all the jars that it depends on) to my local repository
>>>> or
>>>> is
>>>> there another way of getting these jars onto my classpath so that they
>>>> will
>>>> be compiled and packaged with my project?
>>>>
>>>> Thanks in advance
>>>>
>>>> max
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Use-jar-not-in-repository-tf3116331s177.html#a8632051
>>>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>>>       
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>>     
>>
>>   
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Use-jar-not-in-repository-tf3116331s177.html#a8641797
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to