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