And a single Nexus instance can have multiple repositories. You can manually 
install your custom libraries in a repository in Nexus that is only used by 
this one project.

-K

On Sep 29, 2011, at 6:56 AM, Schrecker, Wolfgang wrote:

> You can put your libs into Nexus without 'mavenizing' them.
> Lot less to do ...
> 
> Wolfgang
> 
> -----Ursprüngliche Nachricht-----
> Von: Stephen Connolly [mailto:[email protected]] 
> Gesendet: Donnerstag, 29. September 2011 11:09
> An: Maven Users List
> Betreff: Re: Using Maven with custom libraries which are not in repository.
> 
> Rule of thumb:
> 
> If you feel like you are fighting Maven then either:
> 
> 1. You are doing it wrong, do it the Maven way and you won't be fighting; or
> 2. You maybe should be using a different build tool that does not have its
> own "way".
> 
> -Stephen
> 
> On 29 September 2011 09:59, Wayne Fay <[email protected]> wrote:
> 
>> No, that does NOT work. Put them in Nexus as you've been told.
>> 
>> Wayne
>> 
>> On Thursday, September 29, 2011, Prashant Neginahal <[email protected]
>>> 
>> wrote:
>>> Is that the only option? Those jars are required only for web project.
>> Other
>>> application java projects DO NOT require those jars. I was thinking to
>> put
>>> them in web lib folder and maven can include them in classpath.
>>> 
>>> Some thing like this works?
>>> 
>>> Thanks,
>>> Prashant
>>> On Thu, Sep 29, 2011 at 1:07 PM, Guillaume Polet
>>> <[email protected]>wrote:
>>> 
>>>> I am looking at fix to use that framework in maven way.
>>>> 
>>>> Then, your only option is to install all those jars in your Nexus
>>>> repository.
>>>> 
>>>> Guillaume
>>>> 
>>>> Le 29/09/2011 09:31, Prashant Neginahal a écrit :
>>>> 
>>>>> Thanks for reply,Yuvaraj.
>>>>> 
>>>>> I understand the maven repository and we will be having nexus
>>>>> repository. But, we are asked to use that proprietary web framework
>> which
>>>>> comes with its own jars. I dont think we have possibility to mavenize
>> all
>>>>> those jars and put them into repository. I just want to keep it the way
>> it
>>>>> is and use for build. However, our application development projects
>> will
>>>>> be
>>>>> maven projects and will put them into maven repository.
>>>>> 
>>>>> 
>>>>> 
>>>>> Thanks,
>>>>> Prashant
>>>>> 
>>>>> On Thu, Sep 29, 2011 at 12:17 PM, Yuvaraj Vanarase<
>>>>> [email protected]**>  wrote:
>>>>> 
>>>>> Prashant,
>>>>>> 
>>>>>> If those libraries are standard and well known then should be
>> available
>>>>>> at
>>>>>> some maven repository. You can try http://mvnrepository.com to find
>> it
>>>>>> out.
>>>>>> Generally, you should setup your own repository may be using
>> artifactory
>>>>>> and put all dependencies there. Requirement is maven should able to
>>>>>> access
>>>>>> those jars while build, once artifact is ready it will contain
>> required
>>>>>> jars, thus complete deployable.
>>>>>> 
>>>>>> Hope this helps!
>>>>>> 
>>>>>> Regards,
>>>>>> Yuvaraj
>>>>>> 
>>>>>> Yuvaraj Vanarase,
>>>>>> Lead Technology - Software
>>>>>> Phone: +91.20.40262000 Ext 2305|Mobile: +91.9850818870 |
>>>>>> http://www.synechron.com
>>>>>> SYNECHRON -
>>>>>> - Top 10 Best IT Employers for 4 consecutive years (link).
>>>>>> - Celebrating 10 Years!
>>>>>> 
>>>>>> -----Original Message-----
>>>>>> From: Prashant Neginahal [mailto:[email protected]]
>>>>>> Sent: Thursday, September 29, 2011 12:14 PM
>>>>>> To: Maven Users List
>>>>>> Subject: Using Maven with custom libraries which are not in
>> repository.
>>>>>> 
>>>>>> Hi All,
>>>>>> 
>>>>>> We are starting new web project. But, it has to be built on some
>>>>>> proprietary
>>>>>> web framework which is NOT mavenised and comes with its own bunch
>>>>>> of libraries. I am thinking of using maven for this application
>>>>>> development.
>>>>>> But, just wondering how to ensure maven uses this proprietary
>> framework
>>>>>> and
>>>>>> its libraries which are not there in repository. Can we just dump
>>>>>> framework
>>>>>> libraries in WEB_INF/lib folder and maven includes the same in its
>>>>>> CLASSPATH.
>>>>>> 
>>>>>> Thanks,
>>>>>> Prashant
>>>>>> 
>>>>>> ------------------------------**------------------------------**
>>>>>> ---------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.**apache.org<
>> [email protected]>
>>>>>> For additional commands, e-mail: [email protected]
>>>>>> 
>>>>>> 
>>>>>> 
>>>> 
>>> 
>> 
> 
> 
> Geschäftsführer: Wolf Kunisch
> Aufsichtsratsvorsitzender: Didier Dhennin
> Sitz der Gesellschaft: Frankfurt/Main
> Handelsregister: Frankfurt/Main HRB 40 417
> 
> * * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
> This e-mail and the documents attached are confidential and intended solely 
> for the addressee; it may also be privileged. If you receive this e-mail by 
> error, please notify the sender immediately and destroy it. As its integrity 
> cannot be secured on the internet, the Atos group liability cannot be 
> triggered for the message content. Although the sender endeavors to maintain 
> a computer virus-free network, the sender does not warrant that this 
> transmission is virus-free and shall not be liable for any damages resulting 
> from any virus transmitted.
> * * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to