Reputation: 3189
I have the following lines which I want to execute
mvn dependency:sources
mvn dependency:resolve -Dclassifier=javadoc
How can I use m2e in Eclipse to achieve it ?
Upvotes: 0
Views: 1082
Reputation: 5579
Simply right-click on your project, then Maven > Download Sources (or Download Javadoc).
Generally, once you have the sources, downloading the javadoc is useless, as it shows up if you hover on methods in the Java editor.
Upvotes: 2
Reputation: 9268
Try this:
pom.xml
Run as
-> Maven Build
Goals:
Or alternately, to set up a Eclipse Run Configurations
:
Run
menuRun Configurations
-> Maven Build
Maven Build Run
configuration:Upvotes: 1