|
6 | 6 |
|
7 | 7 | ### Mojos without a mapping are now executed by default in incremental builds |
8 | 8 |
|
9 | | -Before it was necessary to explicitly configure a mapping or there is a connector or the plugin itself contains mappings for a mojo to participate in the incremental maven build. |
10 | | -This often leads to a poor user-experience and we think that users are adding mojos by purpose because they perform valuable tasks. |
| 9 | +Previously, to participate in the incremental maven build it was necessary to |
| 10 | +* explicitly configure a mapping, or |
| 11 | +* there had to be a connector, or |
| 12 | +* the plugin itself had to contain a mapping for a mojo |
| 13 | +This often leads to a poor user experience and we think that users are adding mojos on purpose because they perform valuable tasks. |
11 | 14 |
|
12 | | -Because of this, m2e now automatically enables the execution of mojos if there is no mapping configured, in case you want to change this there is a new configuration option to control the behavior: |
| 15 | +Because of this, M2E now automatically enables the execution of mojos if there is no mapping configured. In case you want to change this there is a new configuration option to control the behavior: |
13 | 16 |  |
14 | 17 |
|
15 | 18 | ### Updated Dependency Editor |
16 | 19 |
|
17 | | -The dependencies editor has been adapted to show all artifacts within a target location as a single table, instead of multiple tabs. This change also includes support for only updating a selected number of artifacts to their latest version, as well as a undo/redo functionality. |
| 20 | +The dependencies editor has been adapted to show all artifacts within a target location as a single table, instead of multiple tabs. This change also includes support for updating only a selected number of artifacts to their latest version, as well as undo/redo functionality. |
18 | 21 |
|
19 | 22 |  |
20 | 23 |
|
21 | 24 |
|
22 | 25 | ### Ignore Test Sources and Resources compilation if `maven.test.skip=true` is specified |
23 | 26 |
|
24 | | -The property "<maven.test.skip>true</maven.test.skip>" and the "skip" property in configurations of the "maven-compiler-plugin" and "maven-resources-plugin" are now taken into |
25 | | -account by M2E in the sense that, if enabled, M2E ignores the corresponding folder, which no longer appear in the Package Explorer as "Java" folders but as standard folders. |
| 27 | +The property `<maven.test.skip>true</maven.test.skip>` and the `skip` property in configurations of the `maven-compiler-plugin` and `maven-resources-plugin` are now taken into account by M2E. If enabled, M2E ignores the corresponding folder. It will no longer appear in the Package Explorer as a "Java" folder, but as a regular folder. |
26 | 28 | This allows, depending on the need (especially compilation time), to either not compile tests or not copy test resources. |
27 | 29 |
|
28 | | -In general it is not recommended to use the mentioned properties but to use `-DskipTests` instead: |
| 30 | +In general, it is not recommended to use the mentioned properties but to use `-DskipTests` instead: |
29 | 31 | https://maven.apache.org/surefire/maven-surefire-plugin/examples/skipping-tests.html |
30 | 32 |
|
31 | 33 |
|
32 | 34 | ### Configuration of Maven Execution JRE |
33 | 35 |
|
34 | | -In the past the project's build JRE was also used by default to execute Maven itself. |
| 36 | +In the past, the project's build JRE was also used by default to execute Maven itself. |
35 | 37 | Now the default Java version for executing Maven is determined from the configuration of the `maven-enforcer-plugin` rule [`requireJavaVersion`](https://maven.apache.org/enforcer/enforcer-rules/requireJavaVersion.html) when creating or updating the Maven configuration. This value is no longer considered for configuring the project's build JRE. |
36 | | -In case this plugin configuration is not found one falls back to either project's build JRE or workspace default JRE. |
| 38 | +In case this plugin configuration is not found, M2E falls back to either the project's build JRE or the workspace's default JRE. |
37 | 39 |
|
38 | | -For each Maven build configuration you can overwrite the default execution JRE in the Maven Launch configuration's JRE tab: |
| 40 | +For each Maven build configuration, you can overwrite the default execution JRE in the Maven Launch configuration's JRE tab: |
39 | 41 |
|
40 | 42 |  |
41 | 43 |
|
|
0 commit comments