How to run commands in the Maven plugin for Eclipse?

Asked

Viewed 302 times

0

I use the Maven plugin for Eclipse but I don’t know much about technology.

You can run Maven commands (even typing: mvn compile for example) without having to install Maven separately?

The answers I found on the Internet do not answer this question.

How would you do that?

Note: Eclipse JEE. Version: 2019-09 R (4.13.0)

1 answer

1


I found out.

1) Right click on pom.xml

2) Select Run As > Run Configurations...

3) Open a window Create, manage and run configurations.

4) Left hand side below Maven Build is the list of settings (commands) already executed. You can delete or add commands in this list (it’s a really clumsy interface, patience). On the right side you define which command you want to run (goal), for example: compile. And click on the button Run to execute.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.