Updated latest released version number in documentation.
[svjatoslav_commons.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>svjatoslavcommons</artifactId>
5     <version>1.10-SNAPSHOT</version>
6     <packaging>jar</packaging>
7     <name>Svjatoslav Commons</name>
8     <description>Collection many small but commonly useful functionalities</description>
9     <url>http://www2.svjatoslav.eu/gitbrowse/svjatoslav_commons/doc/index.html</url>
10
11     <organization>
12         <name>svjatoslav.eu</name>
13         <url>http://svjatoslav.eu</url>
14     </organization>
15
16     <properties>
17         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
19     </properties>
20
21     <build>
22         <plugins>
23             <plugin>
24                 <groupId>org.apache.maven.plugins</groupId>
25                 <artifactId>maven-compiler-plugin</artifactId>
26                 <version>3.8.1</version>
27                 <configuration>
28                     <source>8</source>
29                     <target>8</target>
30                     <encoding>UTF-8</encoding>
31                 </configuration>
32             </plugin>
33
34             <plugin>
35                 <groupId>org.apache.maven.plugins</groupId>
36                 <artifactId>maven-source-plugin</artifactId>
37                 <version>2.2.1</version>
38                 <executions>
39                     <execution>
40                         <id>attach-sources</id>
41                         <goals>
42                             <goal>jar</goal>
43                         </goals>
44                     </execution>
45                 </executions>
46             </plugin>
47
48             <plugin>
49                 <groupId>org.apache.maven.plugins</groupId>
50                 <artifactId>maven-javadoc-plugin</artifactId>
51                 <version>2.10.4</version>
52                 <executions>
53                     <execution>
54                         <id>attach-javadocs</id>
55                         <goals>
56                             <goal>jar</goal>
57                         </goals>
58                     </execution>
59                 </executions>
60                 <configuration>
61                     <!-- workaround for https://bugs.openjdk.java.net/browse/JDK-8212233 -->
62                     <javaApiLinks>
63                         <property>
64                             <name>foo</name>
65                             <value>bar</value>
66                         </property>
67                     </javaApiLinks>
68                     <!-- Workaround for https://stackoverflow.com/questions/49472783/maven-is-unable-to-find-javadoc-command -->
69                     <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
70                 </configuration>
71             </plugin>
72
73             <plugin>
74                 <groupId>org.apache.maven.plugins</groupId>
75                 <artifactId>maven-release-plugin</artifactId>
76                 <version>2.5.2</version>
77                 <dependencies>
78                     <dependency>
79                         <groupId>org.apache.maven.scm</groupId>
80                         <artifactId>maven-scm-provider-gitexe</artifactId>
81                         <version>1.9.4</version>
82                     </dependency>
83                 </dependencies>
84             </plugin>
85
86
87         </plugins>
88
89         <extensions>
90             <extension>
91                 <groupId>org.apache.maven.wagon</groupId>
92                 <artifactId>wagon-ssh-external</artifactId>
93                 <version>2.6</version>
94             </extension>
95         </extensions>
96     </build>
97
98     <dependencies>
99         <dependency>
100             <groupId>junit</groupId>
101             <artifactId>junit</artifactId>
102             <version>4.8.1</version>
103             <scope>test</scope>
104         </dependency>
105
106         <dependency>
107             <groupId>javax.servlet</groupId>
108             <artifactId>servlet-api</artifactId>
109             <version>2.5</version>
110             <scope>provided</scope>
111         </dependency>
112     </dependencies>
113
114     <distributionManagement>
115         <snapshotRepository>
116             <id>svjatoslav.eu</id>
117             <name>svjatoslav.eu</name>
118             <url>scpexe://svjatoslav.eu:10006/srv/maven</url>
119         </snapshotRepository>
120         <repository>
121             <id>svjatoslav.eu</id>
122             <name>svjatoslav.eu</name>
123             <url>scpexe://svjatoslav.eu:10006/srv/maven</url>
124         </repository>
125     </distributionManagement>
126
127     <scm>
128         <connection>scm:git:ssh://n0@svjatoslav.eu:10006/home/n0/git/svjatoslav_commons.git</connection>
129         <developerConnection>scm:git:ssh://n0@svjatoslav.eu:10006/home/n0/git/svjatoslav_commons.git</developerConnection>
130         <tag>HEAD</tag>
131     </scm>
132
133 </project>