I have maven java project in eclipse. I right click project, choose “Build project” and I want “mvn package” get invoked automatically. Is it possible?
I have maven java project in eclipse. I right click project, choose Build project
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Rightclick on your pom.xml and choose
"Run as" -> "Maven build.."and put in Goals:package.If you now select “run” (CTRL + F11) it will run automatically if you select these run configuration.
And as Chris said, m2e is required.