Skip to content

Conversation

@Bukama
Copy link
Contributor

@Bukama Bukama commented Dec 15, 2025

This PR removes almost the entire examples about <profiles> of the POM reference and integrates them into the profile guide to avoid duplication and inconsistent content.
Some missing or unclear parts were also added to the guide (as requested in the issue).

closes #873

@Bukama Bukama self-assigned this Dec 15, 2025
@Bukama Bukama added the enhancement New feature or request label Dec 15, 2025
@Bukama Bukama changed the title [MNGSITE-515] Mentioned profile properties [MNGSITE-515] Update introduction to profiles Dec 26, 2025
@Bukama Bukama requested review from Chealer and elharo and removed request for Chealer December 26, 2025 18:17
Since [Maven 3.9.7](https://issues.apache.org/jira/browse/MNG-5726) the value for `version` may be prefixed with `regex:`. In that case [regular pattern matching](https://docs.oracle.com/javase/tutorial/essential/regex/) is applied for the version matching and applied against the **lower case** `os.version` value.

The actual OS values which need to match the given values are emitted when executing `mvn --version`.
See the maven-enforcer-plugin's [Require OS Rule](/enforcer/enforcer-rules/requireOS.html) for more details about OS values.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might be better as an absolute URL in case this site is mirrored somewhere

@Bukama Bukama requested a review from elharo December 29, 2025 18:52
@Bukama
Copy link
Contributor Author

Bukama commented Jan 5, 2026

@elharo PTAL :)


[Ranges](/enforcer/enforcer-rules/versionRanges.html) can also be used. Range values must start with either `[` or `(`. Otherwise, the value is interpreted as a prefix. The following honours versions `1.3`, `1.4` and `1.5`.
[Ranges](/enforcer/enforcer-rules/versionRanges.html) can also be used. Range values must start with either `[` or `(`.
The following honours versions `1.3`, `1.4` and `1.5`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oxford comma after 1.4

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed

@Bukama Bukama requested a review from elharo January 5, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[MNGSITE-515] Profiles not properly specified

3 participants