[maven-release-plugin] prepare for next development iteration
[meviz.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>eu.svjatoslav</groupId>
4     <artifactId>meviz</artifactId>
5     <version>1.4-SNAPSHOT</version>
6     <packaging>jar</packaging>
7     <name>meviz</name>
8     <description>media wizard</description>
9
10     <organization>
11         <name>svjatoslav.eu</name>
12         <url>http://svjatoslav.eu</url>
13     </organization>
14
15     <properties>
16         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
18     </properties>
19
20
21     <build>
22         <plugins>
23             <plugin>
24                 <artifactId>maven-assembly-plugin</artifactId>
25                 <configuration>
26                     <archive>
27                         <manifest>
28                             <mainClass>eu.svjatoslav.meviz.Main</mainClass>
29                         </manifest>
30                     </archive>
31                     <descriptorRefs>
32                         <descriptorRef>jar-with-dependencies</descriptorRef>
33                     </descriptorRefs>
34                 </configuration>
35
36                 <executions>
37
38                     <execution>
39                         <id>package-jar-with-dependencies</id>
40                         <phase>package</phase>
41                         <goals>
42                             <goal>single</goal>
43                         </goals>
44                         <configuration>
45                             <descriptorRefs>
46                                 <descriptorRef>jar-with-dependencies</descriptorRef>
47                             </descriptorRefs>
48                             <archive>
49                                 <manifest>
50                                     <mainClass>eu.svjatoslav.meviz.Main</mainClass>
51                                 </manifest>
52                             </archive>
53                         </configuration>
54                     </execution>
55
56                 </executions>
57             </plugin>
58
59             <plugin>
60                 <groupId>org.apache.maven.plugins</groupId>
61                 <artifactId>maven-compiler-plugin</artifactId>
62                 <version>3.8.1</version>
63                 <configuration>
64                     <source>8</source>
65                     <target>8</target>
66                     <encoding>UTF-8</encoding>
67                 </configuration>
68             </plugin>
69
70             <plugin>
71                 <groupId>org.apache.maven.plugins</groupId>
72                 <artifactId>maven-source-plugin</artifactId>
73                 <version>2.2.1</version>
74                 <executions>
75                     <execution>
76                         <id>attach-sources</id>
77                         <goals>
78                             <goal>jar</goal>
79                         </goals>
80                     </execution>
81                 </executions>
82             </plugin>
83
84             <plugin>
85                 <groupId>org.apache.maven.plugins</groupId>
86                 <artifactId>maven-javadoc-plugin</artifactId>
87                 <version>2.10.4</version>
88                 <executions>
89                     <execution>
90                         <id>attach-javadocs</id>
91                         <goals>
92                             <goal>jar</goal>
93                         </goals>
94                     </execution>
95                 </executions>
96                 <configuration>
97                     <!-- workaround for https://bugs.openjdk.java.net/browse/JDK-8212233 -->
98                     <javaApiLinks>
99                         <property>
100                             <name>foo</name>
101                             <value>bar</value>
102                         </property>
103                     </javaApiLinks>
104                     <!-- Workaround for https://stackoverflow.com/questions/49472783/maven-is-unable-to-find-javadoc-command -->
105                     <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
106                 </configuration>
107             </plugin>
108
109             <plugin>
110                 <groupId>org.apache.maven.plugins</groupId>
111                 <artifactId>maven-release-plugin</artifactId>
112                 <version>2.5.2</version>
113                 <dependencies>
114                     <dependency>
115                         <groupId>org.apache.maven.scm</groupId>
116                         <artifactId>maven-scm-provider-gitexe</artifactId>
117                         <version>1.9.4</version>
118                     </dependency>
119                 </dependencies>
120             </plugin>
121
122         </plugins>
123
124         <extensions>
125             <extension>
126                 <groupId>org.apache.maven.wagon</groupId>
127                 <artifactId>wagon-ssh-external</artifactId>
128                 <version>2.6</version>
129             </extension>
130         </extensions>
131     </build>
132
133     <dependencies>
134         <dependency>
135             <groupId>eu.svjatoslav</groupId>
136             <artifactId>svjatoslavcommons</artifactId>
137             <version>1.8</version>
138         </dependency>
139         <dependency>
140             <groupId>log4j</groupId>
141             <artifactId>log4j</artifactId>
142             <version>1.2.16</version>
143         </dependency>
144         <dependency>
145             <groupId>org.apache.tika</groupId>
146             <artifactId>tika-core</artifactId>
147             <version>1.18</version>
148         </dependency>
149         <dependency>
150             <groupId>org.openimaj</groupId>
151             <artifactId>core-image</artifactId>
152             <version>1.3.10</version>
153         </dependency>
154     </dependencies>
155
156     <distributionManagement>
157         <snapshotRepository>
158             <id>svjatoslav.eu</id>
159             <name>svjatoslav.eu</name>
160             <url>scpexe://svjatoslav.eu:10006/srv/maven</url>
161         </snapshotRepository>
162         <repository>
163             <id>svjatoslav.eu</id>
164             <name>svjatoslav.eu</name>
165             <url>scpexe://svjatoslav.eu:10006/srv/maven</url>
166         </repository>
167     </distributionManagement>
168
169     <scm>
170         <connection>scm:git:ssh://n0@svjatoslav.eu:10006/home/n0/git/meviz.git</connection>
171         <developerConnection>scm:git:ssh://n0@svjatoslav.eu:10006/home/n0/git/meviz.git</developerConnection>
172         <tag>HEAD</tag>
173     </scm>
174
175     <repositories>
176         <repository>
177             <id>svjatoslav.eu</id>
178             <name>Svjatoslav repository</name>
179             <url>http://www2.svjatoslav.eu/maven/</url>
180
181             <releases>
182                 <enabled>true</enabled>
183             </releases>
184             <snapshots>
185                 <enabled>true</enabled>
186             </snapshots>
187         </repository>
188     </repositories>
189
190 </project>