You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by st...@apache.org on 2015/03/11 12:56:33 UTC

[17/50] tomee git commit: fix release setup for GIT

fix release setup for GIT


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/8fa8097c
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/8fa8097c
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/8fa8097c

Branch: refs/heads/master
Commit: 8fa8097c258e31bc427e0ea77e1cb7eb96daf259
Parents: 83c6ebf
Author: Mark Struberg <st...@apache.org>
Authored: Thu Jan 29 17:59:22 2015 +0100
Committer: Mark Struberg <st...@apache.org>
Committed: Thu Mar 5 11:53:04 2015 +0100

----------------------------------------------------------------------
 pom.xml | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/8fa8097c/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 0262f78..89c7485 100644
--- a/pom.xml
+++ b/pom.xml
@@ -310,11 +310,6 @@
           <version>2.13</version>
         </plugin>
         <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-release-plugin</artifactId>
-          <version>2.5.1</version>
-        </plugin>
-        <plugin>
           <groupId>org.codehaus.gmaven</groupId>
           <artifactId>groovy-maven-plugin</artifactId>
           <version>2.0</version>
@@ -330,6 +325,20 @@
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-release-plugin</artifactId>
+        <version>2.5.1</version>
+        <configuration>
+          <autoVersionSubmodules>true</autoVersionSubmodules>
+
+          <!-- the following settings are important when working with git -->
+          <localCheckout>true</localCheckout>
+          <pushChanges>false</pushChanges>
+          <releaseProfiles></releaseProfiles>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
           <source>1.7</source>