Facilties for release management
authorJakub Skoczen <jakub@indexdata.dk>
Mon, 11 Feb 2013 14:39:08 +0000 (15:39 +0100)
committerJakub Skoczen <jakub@indexdata.dk>
Mon, 11 Feb 2013 14:39:08 +0000 (15:39 +0100)
pom.xml

diff --git a/pom.xml b/pom.xml
index 0406a8f..e8aaadb 100644 (file)
--- a/pom.xml
+++ b/pom.xml
   </dependencies>
 
   <build>
+
+    <extensions>
+      <extension>
+        <groupId>org.apache.maven.wagon</groupId>
+        <artifactId>wagon-ssh</artifactId>
+        <version>1.0-beta-6</version>
+      </extension>
+      <extension>
+        <groupId>org.apache.maven.wagon</groupId>
+        <artifactId>wagon-ssh-external</artifactId>
+        <version>2.2</version>
+      </extension>
+    </extensions> 
+
     <plugins>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-release-plugin</artifactId>
+        <version>2.2.2</version>
+        <configuration>
+          <preparationGoals>clean verify</preparationGoals>
+          <releaseProfiles>production</releaseProfiles>
+          <tagNameFormat>v@{project.version}</tagNameFormat>
+          <pushChanges>false</pushChanges>
+          <localCheckout>true</localCheckout>
+        </configuration>
+      </plugin>
+
       <plugin>
         <artifactId>maven-antrun-plugin</artifactId>
         <executions>
         </executions>
       </plugin>
     </plugins>
+
   </build>
 
   <!-- Reporting -->
   </scm>
 
   <issueManagement>
-    <system>Bugzilla</system>
-    <url>http://bugzilla.indexdata.dk</url>
+    <system>JIRA</system>
+    <url>http://jira.indexdata.com</url>
   </issueManagement>
 
+  <distributionManagement>
+    <repository>
+      <uniqueVersion>false</uniqueVersion>
+      <id>id-maven-repo</id>
+      <name>Index Data Maven Repository</name>
+      <url>scp://maven.indexdata.com:222/var/www/maven/repository</url>
+    </repository>
+    <site>
+      <id>id-website</id>
+      <url>scpexe://www.indexdata.com/var/www/software/yaz4j/site</url>
+    </site>
+  </distributionManagement>
+
   <profiles>
     <profile>
       <id>win32</id>