OSDN Git Service

384682a1c57c2418bb1b17ce94283f858959dde7
[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</version>
6   <scm>
7     <connection>scm:yuuhayashi@git.osdn.net:/gitroot/importpicture/importpicture.git</connection>
8     <developerConnection>scm:git:yuuhayashi@git.osdn.net:/gitroot/importpicture/importpicture.git</developerConnection>
9     <tag>v5.3</tag>
10   </scm>
11   
12   <properties>
13     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14     <java.version>1.8</java.version>
15     <maven.compiler.source>${java.version}</maven.compiler.source>
16     <maven.compiler.target>${java.version}</maven.compiler.target>
17     <gpg.skip>true</gpg.skip>
18   </properties>
19     
20   <repositories>
21     <repository>
22       <id>haya4</id>
23       <name>Hayashi Repository</name>
24       <url>http://surveyor.mydns.jp/archiva/repository/haya4/</url>
25       <releases>
26         <enabled>true</enabled>
27       </releases>
28       <snapshots>
29         <enabled>false</enabled>
30       </snapshots>
31     </repository>
32   </repositories>
33
34   <dependencies>
35     <dependency>
36       <groupId>org.apache.commons</groupId>
37       <artifactId>commons-imaging</artifactId>
38       <version>1.0-alpha1</version>
39       <type>jar</type>
40     </dependency>
41     
42     <!-- for JUnit test -->
43     <dependency>
44       <groupId>org.hamcrest</groupId>
45       <artifactId>hamcrest-core</artifactId>
46       <version>1.3</version>
47       <scope>test</scope>
48       <type>jar</type>
49     </dependency>
50     <dependency>
51       <groupId>junit</groupId>
52       <artifactId>junit</artifactId>
53       <version>4.12</version>
54       <scope>test</scope>
55       <type>jar</type>
56     </dependency>
57     <dependency>
58       <groupId>org.apache.commons</groupId>
59       <artifactId>commons-compress</artifactId>
60       <version>1.14</version>
61       <scope>test</scope>
62       <type>jar</type>
63     </dependency>
64   </dependencies>
65   
66   <build>
67     <defaultGoal>install</defaultGoal>
68
69     <plugins>
70       <plugin>
71         <groupId>org.apache.maven.plugins</groupId>
72         <artifactId>maven-compiler-plugin</artifactId>
73         <version>3.8.1</version>
74         <configuration>
75           <source>${java.version}</source>
76           <target>${java.version}</target>
77         </configuration>
78       </plugin>
79       <plugin>
80         <groupId>org.apache.maven.plugins</groupId>
81         <artifactId>maven-resources-plugin</artifactId>
82         <version>3.1.0</version>
83         <configuration>
84           <encoding>UTF-8</encoding>
85         </configuration>
86       </plugin>
87       
88       <!-- mvn release:prepare -->
89       <!-- mvn release:perform -->
90       <plugin>
91         <groupId>org.apache.maven.plugins</groupId>
92         <artifactId>maven-release-plugin</artifactId>
93         <version>2.5.3</version>
94         <configuration>
95           <!-- mvn release:profileで何をするか -->
96           <releaseProfiles>deploy</releaseProfiles>
97           <!-- Gitのタグ名をどうするか  -->
98           <!-- 『@{project.version}』にpomのバージョン番号がはいる(1.0.1など) -->
99           <tagNameFormat>v@{project.version}</tagNameFormat>
100         </configuration>
101       </plugin>
102
103       <!-- Allows the example to be run via 'mvn compile exec:java' -->
104       <plugin>
105         <groupId>org.codehaus.mojo</groupId>
106         <artifactId>exec-maven-plugin</artifactId>
107         <version>1.6.0</version>
108         <configuration>
109           <mainClass>osm.jp.gpx.ImportPicture</mainClass>
110           <includePluginDependencies>false</includePluginDependencies>
111         </configuration>
112       </plugin>
113
114     </plugins>
115   </build>
116   
117 </project>