What is automatically created for the maven project in eclipse?

We recently switched to maven, I'm really new to this. I imported the project into eclipse, by default "build automatically" is enabled, and I have no idea what it does. Is there a way to see the log message to configure it so that I can do it so as not to use, by default, the default target, but every time every time? BTW, at present, creating in the CLI is fine, but filtering resources does not work in eclipse with the "build" function enabled. Thanks in advance!

David

+4
source share
1 answer

If the maven plugin will run in an incremental eclipse build, it depends on the lifecycle mapping configuration.

You will find (detailed) information about this topic on the M2E plugin not covered . "

Quote from this site:

We call these instructions a “project life cycle” mapping, or simply “life cycle mapping” because they determine how m2e maps information from the pom.xml project file to the Eclipse workspace of the configuration and project behavior during the assembly of the Eclipse workspace.

There are several options for configuring the life cycle configuration (in pom, in m2e extensions starting with m2e 1.1 (SNAPSHOT) in the metadata provided by the plugin).

You should take a look at this site and hopefully you can customize the configuration / installation to suit your needs.

+6
source

Source: https://habr.com/ru/post/1403815/


All Articles