OSDN Git Service

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