You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sc...@apache.org on 2016/06/30 19:26:13 UTC

maven-integration-testing git commit: [MNG-6055] Move the release profile out of Maven's core so it can be more easily changed.

Repository: maven-integration-testing
Updated Branches:
  refs/heads/master 81b1de88d -> 7bb0503ac


[MNG-6055] Move the release profile out of Maven's core so it can be more easily changed.


Project: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/commit/7bb0503a
Tree: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/tree/7bb0503a
Diff: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/diff/7bb0503a

Branch: refs/heads/master
Commit: 7bb0503ac735bb8b3b61d37cbc65de8001a6bab9
Parents: 81b1de8
Author: Christian Schulte <sc...@apache.org>
Authored: Thu Jun 30 21:24:33 2016 +0200
Committer: Christian Schulte <sc...@apache.org>
Committed: Thu Jun 30 21:24:33 2016 +0200

----------------------------------------------------------------------
 .../test/resources-filtered/settings-remote.xml | 47 ++++++++++++++++++++
 .../src/test/resources-filtered/settings.xml    | 47 ++++++++++++++++++++
 2 files changed, 94 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/7bb0503a/core-it-suite/src/test/resources-filtered/settings-remote.xml
----------------------------------------------------------------------
diff --git a/core-it-suite/src/test/resources-filtered/settings-remote.xml b/core-it-suite/src/test/resources-filtered/settings-remote.xml
index 6cac118..b2f4c14 100644
--- a/core-it-suite/src/test/resources-filtered/settings-remote.xml
+++ b/core-it-suite/src/test/resources-filtered/settings-remote.xml
@@ -67,6 +67,53 @@ plugins/artifacts from test repos so use of these settings should be the excepti
         </pluginRepository>
       </pluginRepositories>
     </profile>
+    <!--
+    | As of Maven 3.4, the release profile has been moved from the super POM to the default settings.
+    -->
+    <profile>
+      <id>release-profile</id>
+      <activation>
+        <property>
+          <name>performRelease</name>
+          <value>true</value>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <inherited>true</inherited>
+            <artifactId>maven-source-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>attach-sources</id>
+                <goals>
+                  <goal>jar-no-fork</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <inherited>true</inherited>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>attach-javadocs</id>
+                <goals>
+                  <goal>jar</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <inherited>true</inherited>
+            <artifactId>maven-deploy-plugin</artifactId>
+            <configuration>
+              <updateReleaseInfo>true</updateReleaseInfo>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
   <activeProfiles>
     <activeProfile>it-defaults</activeProfile>

http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/7bb0503a/core-it-suite/src/test/resources-filtered/settings.xml
----------------------------------------------------------------------
diff --git a/core-it-suite/src/test/resources-filtered/settings.xml b/core-it-suite/src/test/resources-filtered/settings.xml
index 4a456c2..bd9127a 100644
--- a/core-it-suite/src/test/resources-filtered/settings.xml
+++ b/core-it-suite/src/test/resources-filtered/settings.xml
@@ -56,6 +56,53 @@ own test repos or can employ the local repository (after bootstrapping). This co
         </pluginRepository>
       </pluginRepositories>
     </profile>
+    <!--
+    | As of Maven 3.4, the release profile has been moved from the super POM to the default settings.
+    -->
+    <profile>
+      <id>release-profile</id>
+      <activation>
+        <property>
+          <name>performRelease</name>
+          <value>true</value>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <inherited>true</inherited>
+            <artifactId>maven-source-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>attach-sources</id>
+                <goals>
+                  <goal>jar-no-fork</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <inherited>true</inherited>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>attach-javadocs</id>
+                <goals>
+                  <goal>jar</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <inherited>true</inherited>
+            <artifactId>maven-deploy-plugin</artifactId>
+            <configuration>
+              <updateReleaseInfo>true</updateReleaseInfo>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
   <activeProfiles>
     <activeProfile>it-defaults</activeProfile>