0da2edfcce135bf56825d30e2b3c15c264175bae
[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.9</version>
138         </dependency>
139         <dependency>
140             <groupId>eu.svjatoslav</groupId>
141             <artifactId>cli-helper</artifactId>
142             <version>1.0</version>
143         </dependency>
144         <dependency>
145             <groupId>log4j</groupId>
146             <artifactId>log4j</artifactId>
147             <version>1.2.16</version>
148         </dependency>
149         <dependency>
150             <groupId>org.apache.tika</groupId>
151             <artifactId>tika-core</artifactId>
152             <version>1.18</version>
153         </dependency>
154         <dependency>
155             <groupId>org.openimaj</groupId>
156             <artifactId>core-image</artifactId>
157             <version>1.3.10</version>
158         </dependency>
159         <dependency>
160             <groupId>org.sejda.imageio</groupId>
161             <artifactId>webp-imageio</artifactId>
162             <version>0.1.6</version>
163         </dependency>
164 <!--        <dependency>-->
165 <!--            <groupId>org.scijava</groupId>-->
166 <!--            <artifactId>native-lib-loader</artifactId>-->
167 <!--            <version>2.3.5</version>-->
168 <!--        </dependency>-->
169     </dependencies>
170
171     <distributionManagement>
172         <snapshotRepository>
173             <id>svjatoslav.eu</id>
174             <name>svjatoslav.eu</name>
175             <url>scpexe://svjatoslav.eu:10006/srv/maven</url>
176         </snapshotRepository>
177         <repository>
178             <id>svjatoslav.eu</id>
179             <name>svjatoslav.eu</name>
180             <url>scpexe://svjatoslav.eu:10006/srv/maven</url>
181         </repository>
182     </distributionManagement>
183
184     <scm>
185         <connection>scm:git:ssh://n0@svjatoslav.eu:10006/home/n0/git/meviz.git</connection>
186         <developerConnection>scm:git:ssh://n0@svjatoslav.eu:10006/home/n0/git/meviz.git</developerConnection>
187         <tag>HEAD</tag>
188     </scm>
189
190     <repositories>
191         <repository>
192             <id>svjatoslav.eu</id>
193             <name>Svjatoslav repository</name>
194             <url>http://www3.svjatoslav.eu/maven/</url>
195
196             <releases>
197                 <enabled>true</enabled>
198             </releases>
199             <snapshots>
200                 <enabled>true</enabled>
201             </snapshots>
202         </repository>
203     </repositories>
204
205 </project>