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]
>>>>
>>>>
>>>>
>>
>

Reply via email to