Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Maven runnable jar
Maven runnable jar [message #1573458] Mon, 19 January 2015 19:13 Go to next message
Adrián Córdoba is currently offline Adrián CórdobaFriend
Messages: 17
Registered: January 2011
Junior Member
Hi there!
I had created a new "Maven Project", skipping the archetype selection, on Eclipse Luna.
Then I added packages and classes to my project normally.
How can I add a main class to the Maven configuration (pom.xml) in order to Maven install a runnable jar?

Thank you in advance.

[Updated on: Mon, 19 January 2015 19:49]

Report message to a moderator

Re: Maven runnable jar [message #1573511 is a reply to message #1573458] Mon, 19 January 2015 19:54 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
JDT on its own doesn't provide any integration with Maven, so, we're not the ones to give advice on your question (JDT has an Export wizard for creating jars, but that's got nothing to do with Maven).

Perhaps m2e folks can answer your question, if their pom editor has some offering for this issue (which I don't know).

At the bottom line it's probably a question for your favorite Maven guru.
Previous Topic:Tomcat v8.0 not starting
Next Topic:HTTP link for Eclipse 4.3 SDK 0.17 is broken
Goto Forum:
  


Current Time: Tue Apr 23 15:43:22 GMT 2024

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

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

Back to the top