OSDN Git Service

refactering
[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>AdjustTime</groupId>
4     <artifactId>AdjustTime</artifactId>
5     <version>3.1.3-SNAPSHOT</version>
6
7     <distributionManagement>
8       <repository>
9         <id>hayashi_repository</id>
10         <url>http://surveyor.mydns.jp/archiva/repository/hayashi_repository/</url>
11       </repository>
12     </distributionManagement>
13
14     <repositories>
15       <repository>
16         <id>hayashi_repository</id>
17         <name>Hayashi Repository</name>
18         <url>http://surveyor.mydns.jp/archiva/repository/hayashi_repository/</url>
19         <releases>
20           <enabled>true</enabled>
21         </releases>
22         <snapshots>
23           <enabled>false</enabled>
24         </snapshots>
25       </repository>
26     </repositories>
27     <pluginRepositories>
28       <pluginRepository>
29         <id>hayashi_repository</id>
30         <name>Hayashi Repository</name>
31         <url>http://surveyor.mydns.jp/archiva/repository/hayashi_repository/</url>
32         <releases>
33           <enabled>true</enabled>
34         </releases>
35         <snapshots>
36           <enabled>false</enabled>
37         </snapshots>
38       </pluginRepository>
39     </pluginRepositories>
40
41     <properties>
42         <!-- configurations -->
43         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
44         <maven.compiler.source>1.8</maven.compiler.source>
45         <maven.compiler.target>1.8</maven.compiler.target>
46         
47         <!-- dependency versions -->
48         <junit.version>4.12</junit.version>
49         <hamcrest.version>1.3</hamcrest.version>
50     </properties>
51   
52     <dependencies>
53         <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-compress -->
54         <dependency>
55             <groupId>org.apache.commons</groupId>
56             <artifactId>commons-compress</artifactId>
57             <version>1.14</version>
58         </dependency>
59
60         <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-imaging -->
61         <dependency>
62             <groupId>org.apache.commons</groupId>
63             <artifactId>commons-imaging</artifactId>
64             <version>1.0-alpha1</version>
65         </dependency>
66
67         <!-- JUnit 4 -->
68         <dependency>
69             <groupId>junit</groupId>
70             <artifactId>junit</artifactId>
71             <version>${junit.version}</version>
72             <scope>test</scope>
73         </dependency>
74         
75         <dependency>
76             <groupId>org.hamcrest</groupId>
77             <artifactId>hamcrest-library</artifactId>
78             <version>${hamcrest.version}</version>
79             <scope>test</scope>
80         </dependency>
81     </dependencies>
82
83     <build>
84         <plugins>
85             <!-- 実行可能jarファイル用のプラグイン -->
86             <plugin>
87                 <artifactId>maven-assembly-plugin</artifactId>
88                 <version>3.2.0</version>
89                 <configuration>
90                     <descriptorRefs>
91                         <!-- 依存するリソースをすべてjarに同梱する -->
92                         <descriptorRef>jar-with-dependencies</descriptorRef>
93                     </descriptorRefs>
94                     <archive>
95                         <manifest>
96                             <mainClass>osm.jp.gpx.matchtime.gui.AdjustTime</mainClass>
97                         </manifest>
98                     </archive>
99                 </configuration>
100                 <executions>
101                     <execution>
102                         <id>make-assembly</id> <!-- this is used for inheritance merges -->
103                         <phase>package</phase> <!-- bind to the packaging phase -->
104                         <goals>
105                             <goal>single</goal>
106                         </goals>
107                     </execution>
108                 </executions>
109             </plugin>
110         </plugins>
111     </build>    
112 </project>