Maven and getting the required Jar files

I have no experience with Maven and I don't plan to use it to build projects
with it. But I want to use the Maven-integration in IDEA to get the required
Jar files for Wicket-1.3.5 by the help of Wicket's .pom file. How to do that
with the Maven-integration?

Thanks in advance,
Tom

0
Avatar
Permanently deleted user

Is there no Maven expert who can help me with this topic?

Tom

0

Tom,

If you want to use Maven's dependency mechanism in your IDEA project, you have to either create pom.xml file under project's root and press the 're-import button' on the Maven Projects tool window, or create a new Maven module from scratch. Using latter way you will be able to specify a specific archetype.

Anton Makeev

0
Avatar
Permanently deleted user

Thanks, Anton, for your feed-back. Maybe I was not clear enough: I just want
to use the Maven-integration in IDEA to download the required jar files for
an existing pom file. I don't want to mess with Maven any further.

Tom

0

I'm still not sure if I understand you correctly.
If you have a pom.xml file you may open it in the Open Project dialog. This way IDEA imports Maven project and downloads and configures all necessary dependencies.

0

What he is trying to say is that if you want to use any part of maven, then you must use maven. If you are just trying to get the jars, then navigate to the maven repository and download them manually, if they are not provided on their own website.

Maven is not a piece meal thing. If you want to use Maven for anything, you must have a maven module, hence the pom.xml. This is how Maven works. Maven does provide many benefits and is worth switching to, but takes a while to get the knack of it from ground zero.

0
Avatar
Permanently deleted user

If you have a pom.xml file you may open it in the Open Project dialog.


Sorry, I did not know that I could open the pom.xml as IDEA project.

I've opened the pom.xml from Wicket 1.3.5 more than one hour ago and it
still says "Parsing files. Please wait...". Looks like I have to kill IDEA.

Tom

0

Please take a thread dump and a CPU snapshot.

0
Avatar
Permanently deleted user

How should I do that if IDEA is not responsive? BTW, I used IDEa 7.0.4.

Tom

0
Avatar
Permanently deleted user

Send a SIGQUIT. If the program has a controlling terminal, put it (IDEA) in the foreground and type CTRL-\. If it has no controlling tty, ascertain its process ID (PID) and send a SIGQUIT (3) to that program using the "kill" command.

If you're using that other operating system, someone else will have to explain the procedure.


Randall Schulz

0

请先登录再写评论。