Importing Maven project into Eclipse

I want to import existing maven project into eclipse. I found 2 ways to do it, one is through running from command line mvn eclipse:eclipse and another is to install maven eclipse plugin from eclipse. What is the difference between the both and which one is preferable? The maven-eclipse-plugin is a Maven plugin and has … Read more

Is there an easy way to attach source in Eclipse?

Short answer would be yes. You can attach source using the properties for a project. Go to Properties (for the Project) -> Java Build Path -> Libraries Select the Library you want to attach source/javadoc for and then expand it, you’ll see a list like so: Source Attachment: (none) Javadoc location: (none) Native library location: … Read more