You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by ronald marangwanda <ro...@gmail.com> on 2020/05/30 11:01:34 UTC

Netbeans 12 Adding Jars to project

I have a folder full of jar files.

How do I add these files to my dependencies for a Maven project?

Do I have to manually add each jar ?
Is there a way to add the jars at once?

Thanks,
Ron

Re: Netbeans 12 Adding Jars to project

Posted by Josh Juneau <ju...@gmail.com>.
Hi Ron,

When using Maven, you must add JAR dependencies to a local Maven repository.  Then add the repository to your project, along with each of the dependencies.

Here is more info:  https://stackoverflow.com/questions/4955635/how-to-add-local-jar-files-to-a-maven-project

Hope this helps.

Josh Juneau
juneau001@gmail.com
http://jj-blogger.blogspot.com
https://www.apress.com/us/search?query=Juneau

> On May 30, 2020, at 6:02 AM, ronald marangwanda <ro...@gmail.com> wrote:
> 
> 
> I have a folder full of jar files.
> 
> How do I add these files to my dependencies for a Maven project?
> 
> Do I have to manually add each jar ?
> Is there a way to add the jars at once?
> 
> Thanks,
> Ron
>