Murad Al Haj
Murad Al Haj

Reputation: 111

How can I use mvn verify command?

I need an example of how can I apply and use the command "mvn verify" I have Eclipse and Maven library. I also created all test files. Now I want to use mvn verify so where can I run this command? From which screen or window? Is it from Eclipse or from cmd?

Upvotes: 2

Views: 7038

Answers (1)

Hessam
Hessam

Reputation: 1415

Verify is just another build lifecycle in maven so you can run it in command line from within the directory of your pom.xml file like any other maven command . If you want to run it from eclipse navigate to Run >> Run Configuration menu, select Maven build from left sidebar and make your own maven build. In order to have Maven build section you need M2Eclipse plugin added to Eclipse.

Upvotes: 1

Related Questions