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 ?
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: