Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Add JAR library to Scout project without Maven
Add JAR library to Scout project without Maven [message #1853686] Wed, 13 July 2022 15:05 Go to next message
Miloslav Frajdl is currently offline Miloslav FrajdlFriend
Messages: 48
Registered: June 2018

I need to add a JAR library to the Scout project, but this library is not in the Maven repository. I then need to create a WAR file.
Can someone advise me how to do this?
Thank you.
Re: Add JAR library to Scout project without Maven [message #1854125 is a reply to message #1853686] Tue, 02 August 2022 09:23 Go to previous message
Matthias Villiger is currently offline Matthias VilligerFriend
Messages: 232
Registered: September 2011
Senior Member
Hi Miloslav

If you want to build a war file with Maven and have your custom jar included in the war, the library should be added to your local Maven repository. Check the Maven guide for details. An example can be found on stackoverflow.

After the library has been added to your local repository you can declare a dependency to it in your pom.xml

Does this help?

Kind regards
Previous Topic:Error building scout application
Next Topic:java.lang.NoSuchMethodError in okhttp3.RequestBody.create
Goto Forum:

Current Time: Mon Jul 15 22:11:33 GMT 2024

Powered by FUDForum. Page generated in 0.03136 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top