You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2020/11/13 18:50:05 UTC
[maven] branch MNG-7019 created (now 827224c)
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a change to branch MNG-7019
in repository https://gitbox.apache.org/repos/asf/maven.git.
at 827224c [MNG-7019] Notify also at start when profile is missing
This branch includes the following new commits:
new 827224c [MNG-7019] Notify also at start when profile is missing
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[maven] 01/01: [MNG-7019] Notify also at start when profile is
missing
Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch MNG-7019
in repository https://gitbox.apache.org/repos/asf/maven.git
commit 827224c7c8ca60b5b438c7648c55243b631827f4
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Fri Nov 13 19:49:35 2020 +0100
[MNG-7019] Notify also at start when profile is missing
---
maven-core/src/main/java/org/apache/maven/DefaultMaven.java | 2 ++
1 file changed, 2 insertions(+)
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 51d7752..2e1a684 100644
--- a/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
+++ b/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
@@ -316,6 +316,8 @@ public class DefaultMaven
validatePrerequisitesForNonMavenPluginProjects( session.getProjects() );
+ validateActivatedProfiles( session.getProjects(), request.getActiveProfiles() );
+
lifecycleStarter.execute( session );
validateActivatedProfiles( session.getProjects(), request.getActiveProfiles() );