You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ma...@apache.org on 2021/03/08 15:24:28 UTC
[maven] branch master updated: [MNG-7051] When an optional profile
could not be found, an info message should be thrown instead of a warning.
This is an automated email from the ASF dual-hosted git repository.
martinkanters pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/master by this push:
new 9643ac6 [MNG-7051] When an optional profile could not be found, an info message should be thrown instead of a warning.
9643ac6 is described below
commit 9643ac630cf4e9378cf3a7989ce84ca7fe802819
Author: Martin Kanters <ma...@apache.org>
AuthorDate: Mon Mar 8 13:42:57 2021 +0100
[MNG-7051] When an optional profile could not be found, an info message should be thrown instead of a warning.
---
maven-core/src/main/java/org/apache/maven/DefaultMaven.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/maven-core/src/main/java/org/apache/maven/DefaultMaven.java b/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
index 98c5fe6..f80833b 100644
--- a/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
+++ b/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
@@ -611,7 +611,7 @@ public class DefaultMaven
"The requested optional profiles [%s] could not be activated or deactivated because they "
+ "do not exist.", String.join( ", ", notFoundOptionalProfiles )
);
- logger.warn( message );
+ logger.info( message );
}
}