Experiments with pom
authorNiels Erik G. Nielsen <nielserik@indexdata.com>
Fri, 7 Jun 2013 00:36:56 +0000 (20:36 -0400)
committerNiels Erik G. Nielsen <nielserik@indexdata.com>
Fri, 7 Jun 2013 00:36:56 +0000 (20:36 -0400)
pom.xml

diff --git a/pom.xml b/pom.xml
index b426c28..f85a289 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
   <version>0.0.1-SNAPSHOT</version>\r
   <name>MasterKey JSF</name>\r
   <packaging>jar</packaging>\r
-  <description>Components for building Pazpar2 applications in JavaServer Faces</description>\r
+  <description>MKJSF - JavaServer Faces library for MasterKey</description>\r
     <dependencies>\r
     <dependency>\r
       <groupId>javax</groupId>\r
       <groupId>commons-io</groupId>\r
       <artifactId>commons-io</artifactId>\r
       <version>2.1</version>\r
-    </dependency>\r
-        \r
-    \r
+    </dependency>    \r
     <dependency>\r
       <groupId>com.indexdata</groupId>\r
       <artifactId>masterkey-common</artifactId>\r
-      <version>0.1.10-SNAPSHOT</version>\r
+      <version>0.1.10</version>\r
     </dependency>\r
   </dependencies>\r
-\r
   <build>\r
     <directory>target</directory>\r
     <outputDirectory>target/classes</outputDirectory>\r
           <target>1.6</target>\r
         </configuration>\r
       </plugin>\r
+      <plugin>\r
+        <groupId>org.apache.maven.plugins</groupId>\r
+        <artifactId>maven-release-plugin</artifactId>\r
+        <version>2.2.2</version>\r
+        <configuration>\r
+          <preparationGoals>clean verify</preparationGoals>\r
+          <releaseProfiles>production</releaseProfiles>\r
+          <tagNameFormat>v@{project.version}</tagNameFormat>\r
+          <pushChanges>false</pushChanges>\r
+          <localCheckout>true</localCheckout>\r
+        </configuration>\r
+      </plugin>\r
     </plugins>\r
+    <extensions>\r
+      <extension>\r
+        <groupId>org.apache.maven.wagon</groupId>\r
+        <artifactId>wagon-ssh</artifactId>\r
+        <version>1.0-beta-6</version>\r
+      </extension>\r
+      <extension>\r
+        <groupId>org.apache.maven.wagon</groupId>\r
+        <artifactId>wagon-ssh-external</artifactId>\r
+        <version>2.2</version>\r
+      </extension>\r
+    </extensions>\r
   </build>\r
+  <distributionManagement>\r
+    <repository>\r
+      <uniqueVersion>false</uniqueVersion>\r
+      <id>id-maven-repo</id>\r
+      <name>Index Data Maven Repository</name>\r
+      <url>scp://maven.indexdata.com:222/var/www/maven/repository</url>\r
+    </repository>\r
+    <site>\r
+      <id>id-website</id>\r
+      <url>scpexe://www.indexdata.com/var/www/software/mkjsf/</url>\r
+    </site>\r
+  </distributionManagement>  \r
+  <repositories>\r
+    <repository>\r
+      <id>id-maven-repo</id>\r
+      <url>http://maven.indexdata.com</url>\r
+    </repository>\r
+  </repositories>\r
+  <properties>\r
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
+  </properties>\r
+  \r
 </project>
\ No newline at end of file