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