Add release plugin
authorDennis Schafroth <dennis@indexdata.com>
Fri, 28 Feb 2014 06:45:20 +0000 (07:45 +0100)
committerDennis Schafroth <dennis@indexdata.com>
Fri, 28 Feb 2014 06:45:20 +0000 (07:45 +0100)
pom.xml

diff --git a/pom.xml b/pom.xml
index 3df38fd..8eaabf0 100644 (file)
--- a/pom.xml
+++ b/pom.xml
           <generatedTestSourcesDirectory>generated-sources</generatedTestSourcesDirectory>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-release-plugin</artifactId>
+        <version>2.4.2</version>
+        <configuration>
+          <preparationGoals>clean verify</preparationGoals>
+          <releaseProfiles>production</releaseProfiles>
+          <tagNameFormat>v@{project.version}</tagNameFormat>
+          <pushChanges>false</pushChanges>
+          <localCheckout>true</localCheckout>
+        </configuration>
+      </plugin>
     </plugins>
     <extensions>
       <extension>
     <!--
        <site>
          <id>id-website</id>
-         <url>scpexe://www.indexdata.com/var/www/software/LUI/</url>
+         <url>scpexe://www.indexdata.com/var/www/software/annotation-processors</url>
        </site>
        -->
   </distributionManagement>
   <scm>
-    <connection>scm:git:ssh://git.indexdata.com:222/home/git/pub/AnnotationProcessor</connection>
+    <connection>scm:git:ssh://git.indexdata.com:222/home/git/pub/annotation-processors</connection>
     <url>http://gitid.indexdata.com/?p=AnnotationProcessor.git</url>
     <tag>HEAD</tag>
   </scm>