Add release plugin
[annotation-processors.git] / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2   <modelVersion>4.0.0</modelVersion>
3   <groupId>com.indexdata.annotations.processor</groupId>
4   <artifactId>jaxb-index-generator</artifactId>
5   <version>0.0.1-SNAPSHOT</version>
6   <name>JAXB Index Generator</name>
7   <build>
8     <sourceDirectory>src/main/java</sourceDirectory>
9     <plugins>
10       <plugin>
11         <artifactId>maven-compiler-plugin</artifactId>
12         <version>3.1</version>
13         <configuration>
14           <source>1.6</source>
15           <target>1.6</target>
16           <compilerArgument>-proc:none</compilerArgument>
17           <encoding>UTF-8</encoding>
18           <generatedTestSourcesDirectory>generated-sources</generatedTestSourcesDirectory>
19         </configuration>
20       </plugin>
21       <plugin>
22         <groupId>org.apache.maven.plugins</groupId>
23         <artifactId>maven-release-plugin</artifactId>
24         <version>2.4.2</version>
25         <configuration>
26           <preparationGoals>clean verify</preparationGoals>
27           <releaseProfiles>production</releaseProfiles>
28           <tagNameFormat>v@{project.version}</tagNameFormat>
29           <pushChanges>false</pushChanges>
30           <localCheckout>true</localCheckout>
31         </configuration>
32       </plugin>
33     </plugins>
34     <extensions>
35       <extension>
36         <groupId>org.apache.maven.wagon</groupId>
37         <artifactId>wagon-ssh</artifactId>
38         <version>1.0-beta-6</version>
39       </extension>
40       <extension>
41         <groupId>org.apache.maven.wagon</groupId>
42         <artifactId>wagon-ssh-external</artifactId>
43         <version>2.2</version>
44       </extension>
45     </extensions>
46   </build>
47   <repositories>
48     <repository>
49       <id>maven.indexdata.com</id>
50       <name>Indexdata Maven Repository</name>
51       <url>http://maven.indexdata.com/</url>
52       <layout>default</layout>
53     </repository>
54   </repositories>
55   <pluginRepositories>
56   </pluginRepositories>
57   <properties>
58     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
59   </properties> 
60   <distributionManagement>
61     <repository>
62       <uniqueVersion>false</uniqueVersion>
63       <id>id-maven-repo</id>
64       <name>Index Data Maven Repository</name>
65       <url>scp://maven.indexdata.com:222/var/www/maven/repository</url>
66     </repository>
67     <!--
68         <site>
69           <id>id-website</id>
70           <url>scpexe://www.indexdata.com/var/www/software/annotation-processors</url>
71         </site>
72         -->
73   </distributionManagement>
74   <scm>
75     <connection>scm:git:ssh://git.indexdata.com:222/home/git/pub/annotation-processors</connection>
76     <url>http://gitid.indexdata.com/?p=AnnotationProcessor.git</url>
77     <tag>HEAD</tag>
78   </scm>
79 </project>