OSDN Git Service

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