You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ketan B <ke...@gmail.com> on 2012/03/20 11:43:45 UTC
How to Add multiple Jars
I am working on Konakart 6.0.0.0 . I have followed an instruction in User
Guide and generated Konakart Java API. I have created Maven Web Application
project and with Spring and Hibernate Framework.
Now, I have lib directory on my machine Which has around 20 the jars
related to Java Konakart API and some other API which i need to keep in
maven repository.
I'm new to maven . Please guide me How can I install it to repository.
How can i cofigure pom.xml for this?
Thank You
--
View this message in context: http://maven.40175.n5.nabble.com/How-to-Add-multiple-Jars-tp5579644p5579644.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How to Add multiple Jars
Posted by Wayne Fay <wa...@gmail.com>.
> Now, I have lib directory on my machine Which has around 20 the jars
> related to Java Konakart API and some other API which i need to keep in
> maven repository.
Effectively this is like you are trying to convert from an Ant project
with a lib folder to a Maven one. Read the first two bulletpoints of
this blog post:
http://www.sonatype.com/people/2009/04/how-to-convert-from-ant-to-maven-in-5-minutes/
1. Identify the Maven coordinates of your external dependencies.
2. Share your depedencies.
First be certain the Konakart artifacts are not already posted in
Central or another repo.
Then assuming not and this is a team environment, you should install a
Maven Repository Manager and host the Konakart artifacts there. If not
a team environment, you can get away with using install:install-file
on each one.
Then you should be able to just add <dependency> nodes with the proper
coordinates for the Konakart artifacts to your pom.xml file to include
the proper jars when you are building your own project.
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How to Add multiple Jars
Posted by lrkwz <lu...@gmail.com>.
Take a look at https://github.com/lrkwz/konakart-mavenized
--
View this message in context: http://maven.40175.n5.nabble.com/How-to-Add-multiple-Jars-tp5579644p5748729.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How to Add multiple Jars
Posted by lrkwz <lu...@gmail.com>.
I have realized a complete pom structure for kk 4.0.1 and i'm porting it now
to 6.0.0.
I whish have a spring storefront.
Maybe we can share can't we? I think I'll post my work as soon I finish the
demo a admin packaging.
--
View this message in context: http://maven.40175.n5.nabble.com/How-to-Add-multiple-Jars-tp5579644p5607803.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How to Add multiple Jars
Posted by Ron Wheeler <rw...@artifact-software.com>.
What repository are you using?
With Nexus, you just add them as third party jars like Oracle's Java
libraries which are not in Central due to licensing.
Or you can treat them like something that you wrote.
In your parent POM for your project, you have your
distributionManagement section which is used during "mvn deploy" to
upload your jars to your repo.
Ron
On 20/03/2012 6:43 AM, Ketan B wrote:
> I am working on Konakart 6.0.0.0 . I have followed an instruction in User
> Guide and generated Konakart Java API. I have created Maven Web Application
> project and with Spring and Hibernate Framework.
> Now, I have lib directory on my machine Which has around 20 the jars
> related to Java Konakart API and some other API which i need to keep in
> maven repository.
>
> I'm new to maven . Please guide me How can I install it to repository.
> How can i cofigure pom.xml for this?
>
> Thank You
>
>
>
> --
> View this message in context: http://maven.40175.n5.nabble.com/How-to-Add-multiple-Jars-tp5579644p5579644.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Ron Wheeler
President
Artifact Software Inc
email: rwheeler@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102