OSDN Git Service

[maven-release-plugin] prepare release v5.3.2
[importpicture/importpicture.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>osm.surveyor</groupId>
4   <artifactId>AdjustTime</artifactId>
5   <version>5.3.2</version>
6   <scm>
7     <connection>scm:git:http://surveyor.mydns.jp/gitbucket/git/yuu/AdjustTime.git</connection>
8     <url>http://surveyor.mydns.jp/gitbucket/yuu/AdjustTime/wiki</url>
9     <developerConnection>scm:git:http://surveyor.mydns.jp/gitbucket/git/yuu/AdjustTime.git</developerConnection>
10     <tag>v5.3.2</tag>
11   </scm>
12   
13   <properties>
14     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15     <java.version>1.8</java.version>
16     <maven.compiler.source>${java.version}</maven.compiler.source>
17     <maven.compiler.target>${java.version}</maven.compiler.target>
18     <gpg.skip>true</gpg.skip>
19   </properties>
20     
21   <repositories>
22     <repository>
23       <id>haya4</id>
24       <name>Hayashi Repository</name>
25       <url>http://surveyor.mydns.jp/archiva/repository/haya4/</url>
26       <releases>
27         <enabled>true</enabled>
28       </releases>
29       <snapshots>
30         <enabled>false</enabled>
31       </snapshots>
32     </repository>
33   </repositories>
34
35   <dependencies>
36     <dependency>
37       <groupId>org.apache.commons</groupId>
38       <artifactId>commons-imaging</artifactId>
39       <version>1.0-alpha1</version>
40       <type>jar</type>
41     </dependency>
42     
43     <!-- for JUnit test -->
44     <dependency>
45       <groupId>org.hamcrest</groupId>
46       <artifactId>hamcrest-core</artifactId>
47       <version>2.2</version>
48       <scope>test</scope>
49       <type>jar</type>
50     </dependency>
51     <dependency>
52       <groupId>junit</groupId>
53       <artifactId>junit</artifactId>
54       <version>4.12</version>
55       <scope>test</scope>
56       <type>jar</type>
57     </dependency>
58     <dependency>
59       <groupId>org.apache.commons</groupId>
60       <artifactId>commons-compress</artifactId>
61       <version>1.14</version>
62       <scope>test</scope>
63       <type>jar</type>
64     </dependency>
65   </dependencies>
66   
67   <build>
68     <defaultGoal>install</defaultGoal>
69
70     <plugins>
71       <plugin>
72         <groupId>org.apache.maven.plugins</groupId>
73         <artifactId>maven-compiler-plugin</artifactId>
74         <version>3.8.1</version>
75         <configuration>
76           <source>${java.version}</source>
77           <target>${java.version}</target>
78         </configuration>
79       </plugin>
80       <plugin>
81         <groupId>org.apache.maven.plugins</groupId>
82         <artifactId>maven-resources-plugin</artifactId>
83         <version>3.1.0</version>
84         <configuration>
85           <encoding>UTF-8</encoding>
86         </configuration>
87       </plugin>
88       
89       <!-- mvn release:prepare -->
90       <!-- mvn release:perform -->
91       <plugin>
92         <groupId>org.apache.maven.plugins</groupId>
93         <artifactId>maven-release-plugin</artifactId>
94         <version>2.5.3</version>
95         <configuration>
96           <releaseProfiles>deploy</releaseProfiles>
97           <tagNameFormat>v@{project.version}</tagNameFormat>
98         </configuration>
99       </plugin>
100
101     </plugins>
102   </build>
103   
104 </project>