You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2022/02/01 12:37:24 UTC
[maven-invoker-plugin] branch master updated: Correct doc: Replace `activeByDefault` by `activeProfiles`.
This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-invoker-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new e7fd10d Correct doc: Replace `activeByDefault` by `activeProfiles`.
e7fd10d is described below
commit e7fd10daab1e5c5282a1b2e30b152edd0558bbab
Author: mdrie <md...@fastmail.com>
AuthorDate: Tue Feb 1 12:19:47 2022 +0100
Correct doc: Replace `activeByDefault` by `activeProfiles`.
`activeByDefault` does not work with extensions from `.mvn/extensions.xml`. It might also be more fragile, if other profiles are used, since it only has effect, if no other profiles are activated.
---
src/site/apt/examples/fast-use.apt.vm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/site/apt/examples/fast-use.apt.vm b/src/site/apt/examples/fast-use.apt.vm
index c607662..2081d0a 100644
--- a/src/site/apt/examples/fast-use.apt.vm
+++ b/src/site/apt/examples/fast-use.apt.vm
@@ -70,9 +70,6 @@ Fast Build Configuration
<profiles>
<profile>
<id>it-repo</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
<repositories>
<repository>
<id>local.central</id>
@@ -99,6 +96,9 @@ Fast Build Configuration
</pluginRepositories>
</profile>
</profiles>
+ <activeProfiles>
+ <activeProfile>it-repo</activeProfile>
+ </activeProfiles>
</settings>
+------------------