OSDN Git Service

[maven-release-plugin] prepare for next development iteration
[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.8-SNAPSHOT</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.7</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   <!-- DEPLOY先の指定  mvn deploy -->
22   <distributionManagement>
23     <repository>
24       <id>surveyor.haya4</id>
25       <name>Internal Release Repository</name>
26       <url>http://surveyor.mydns.jp/archiva/repository/haya4/</url>
27     </repository>
28     <snapshotRepository>
29       <id>surveyor.snapshots</id>
30       <url>http://surveyor.mydns.jp/archiva/repository/snapshots/</url>
31     </snapshotRepository>
32   </distributionManagement>
33
34   <repositories>
35     <repository>
36       <id>surveyor.mirror</id>
37       <name>Hayashi Repository</name>
38       <url>http://surveyor.mydns.jp/archiva/repository/mirror/</url>
39       <releases>
40         <enabled>true</enabled>
41       </releases>
42       <snapshots>
43         <enabled>true</enabled>
44       </snapshots>
45     </repository>
46     <repository>
47       <id>surveyor.haya4</id>
48       <name>Hayashi Repository</name>
49       <url>http://surveyor.mydns.jp/archiva/repository/haya4/</url>
50       <releases>
51         <enabled>true</enabled>
52       </releases>
53       <snapshots>
54         <enabled>false</enabled>
55       </snapshots>
56     </repository>
57     <repository>
58       <id>surveyor.snapshots</id>
59       <name>Archiva Managed Snapshot Repository</name>
60       <url>http://surveyor.mydns.jp/archiva/repository/snapshots/</url>
61       <releases>
62         <enabled>false</enabled>
63       </releases>
64       <snapshots>
65         <enabled>true</enabled>
66       </snapshots>
67     </repository>
68
69   </repositories>
70
71   <pluginRepositories>
72     <pluginRepository>
73       <id>surveyor.haya4</id>
74       <name>haya4</name>
75       <url>http://surveyor.mydns.jp/archiva/repository/haya4/</url>
76       <releases>
77         <enabled>true</enabled>
78       </releases>
79       <snapshots>
80         <enabled>false</enabled>
81       </snapshots>
82     </pluginRepository>
83     <pluginRepository>
84       <id>surveyor.snapshots</id>
85       <name>Archiva Managed Snapshot Repository</name>
86       <url>http://surveyor.mydns.jp/archiva/repository/snapshots/</url>
87       <releases>
88         <enabled>false</enabled>
89       </releases>
90       <snapshots>
91         <enabled>true</enabled>
92       </snapshots>
93     </pluginRepository>
94     
95     <pluginRepository>
96       <id>sonatype-public-repository</id>
97       <url>https://oss.sonatype.org/content/groups/public</url>
98       <snapshots>
99         <enabled>true</enabled>
100       </snapshots>
101       <releases>
102         <enabled>true</enabled>
103       </releases>
104     </pluginRepository>
105     
106     <pluginRepository>
107       <id>com.googlecode.maven-download-plugin</id>
108       <url>https://mvnrepository.com/artifact</url>
109       <snapshots>
110         <enabled>true</enabled>
111       </snapshots>
112       <releases>
113         <enabled>true</enabled>
114       </releases>
115     </pluginRepository>
116   </pluginRepositories>
117
118   <dependencies>
119     <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-imaging -->
120     <dependency>
121       <groupId>org.apache.commons</groupId>
122       <artifactId>commons-imaging</artifactId>
123       <version>1.0-alpha2</version>
124       <type>jar</type>
125     </dependency>
126          
127     <!-- https://mvnrepository.com/artifact/com.googlecode.maven-download-plugin/download-maven-plugin -->
128     <dependency>
129       <groupId>com.googlecode.maven-download-plugin</groupId>
130       <artifactId>download-maven-plugin</artifactId>
131       <version>1.6.0</version>
132       <scope>test</scope>
133       <type>jar</type>
134     </dependency>
135     
136     <!-- for JUnit test -->
137     <dependency>
138       <groupId>org.hamcrest</groupId>
139       <artifactId>hamcrest-core</artifactId>
140       <version>2.2</version>
141       <scope>test</scope>
142       <type>jar</type>
143     </dependency>
144     <dependency>
145       <groupId>junit</groupId>
146       <artifactId>junit</artifactId>
147       <version>4.12</version>
148       <scope>test</scope>
149       <type>jar</type>
150     </dependency>
151     <dependency>
152       <groupId>org.apache.commons</groupId>
153       <artifactId>commons-compress</artifactId>
154       <version>1.14</version>
155       <scope>test</scope>
156       <type>jar</type>
157     </dependency>
158     
159     <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-release-plugin -->
160     <dependency>
161       <groupId>org.apache.maven.plugins</groupId>
162       <artifactId>maven-release-plugin</artifactId>
163       <version>2.5.3</version>
164       <scope>deploy</scope>
165       <type>jar</type>
166     </dependency>
167     
168     <!-- https://mvnrepository.com/artifact/commons-lang/commons-lang -->
169     <dependency>
170       <groupId>commons-lang</groupId>
171       <artifactId>commons-lang</artifactId>
172       <version>2.4</version>
173       <scope>deploy</scope>
174       <type>jar</type>
175     </dependency>
176
177   </dependencies>
178   
179   <build>
180     <defaultGoal>install</defaultGoal>
181
182     <plugins>
183       <plugin>
184         <groupId>org.apache.maven.plugins</groupId>
185         <artifactId>maven-compiler-plugin</artifactId>
186         <version>3.8.1</version>
187         <configuration>
188           <source>${java.version}</source>
189           <target>${java.version}</target>
190         </configuration>
191       </plugin>
192       <plugin>
193         <groupId>org.apache.maven.plugins</groupId>
194         <artifactId>maven-resources-plugin</artifactId>
195         <version>3.1.0</version>
196         <configuration>
197           <encoding>UTF-8</encoding>
198         </configuration>
199       </plugin>
200              
201       <!-- mvn generate-test-resources:get -->
202       <plugin>
203         <groupId>com.googlecode.maven-download-plugin</groupId>
204         <artifactId>download-maven-plugin</artifactId>
205         <version>1.6.0</version>
206         <executions>
207           <execution>
208             <id>install-Sony20170518</id>
209             <phase>generate-test-resources</phase>
210             <goals>
211               <goal>wget</goal>
212             </goals>
213             <configuration>
214               <url>http://surveyor.mydns.jp/data/Sony20170518.tar.gz</url>
215               <unpack>false</unpack>
216               <outputDirectory>${project.build.directory}/test-classes/imgdata</outputDirectory>
217             </configuration>
218           </execution>
219           <execution>
220             <id>install-WiMiUS20170518</id>
221             <phase>generate-test-resources</phase>
222             <goals>
223               <goal>wget</goal>
224             </goals>
225             <configuration>
226               <url>http://surveyor.mydns.jp/data/WiMiUS20170518.tar.gz</url>
227               <unpack>false</unpack>
228               <outputDirectory>${project.build.directory}/test-classes/imgdata</outputDirectory>
229             </configuration>
230           </execution>
231           <execution>
232             <id>install-separate</id>
233             <phase>generate-test-resources</phase>
234             <goals>
235               <goal>wget</goal>
236             </goals>
237             <configuration>
238               <url>http://surveyor.mydns.jp/data/separate.tar.gz</url>
239               <unpack>false</unpack>
240               <outputDirectory>${project.build.directory}/test-classes/imgdata</outputDirectory>
241             </configuration>
242           </execution>
243         </executions>
244       </plugin>
245       
246       <!-- mvn release:prepare -->
247       <!-- mvn release:perform -->
248       <plugin>
249         <groupId>org.apache.maven.plugins</groupId>
250         <artifactId>maven-release-plugin</artifactId>
251         <version>2.5.3</version>
252         <configuration>
253           <releaseProfiles>install</releaseProfiles>
254           <tagNameFormat>v@{project.version}</tagNameFormat>
255         </configuration>
256       </plugin>
257
258     </plugins>
259   </build>
260   
261 </project>