Code cleanup and formatting. Migrated to java 1.8.
[svjatoslav_commons.git] / pom.xml
1 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
2          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4     <groupId>eu.svjatoslav</groupId>
5     <artifactId>svjatoslavcommons</artifactId>
6     <version>1.5-SNAPSHOT</version>
7     <packaging>jar</packaging>
8     <name>Svjatoslav Commons</name>
9     <description>Collection many small but commonly useful functionalities</description>
10     <url>http://www2.svjatoslav.eu/gitbrowse/svjatoslav_commons/doc/index.html</url>
11
12     <licenses>
13         <license>
14             <name>version 3 of the GNU Lesser General Public License or later</name>
15             <url>https://www.gnu.org/licenses/lgpl.html</url>
16             <distribution>repo</distribution>
17         </license>
18     </licenses>
19
20     <properties>
21         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
22         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
23     </properties>
24
25     <reporting>
26         <plugins>
27             <plugin>
28                 <!-- Compile JUnit test coverage report -->
29                 <groupId>org.codehaus.mojo</groupId>
30                 <artifactId>cobertura-maven-plugin</artifactId>
31                 <version>2.6</version>
32                 <configuration>
33                     <formats>
34                         <format>html</format>
35                         <format>xml</format>
36                     </formats>
37                 </configuration>
38             </plugin>
39             <plugin>
40                 <!-- Attempt to discover bugs by doing static code analysis -->
41                 <groupId>org.codehaus.mojo</groupId>
42                 <artifactId>findbugs-maven-plugin</artifactId>
43                 <version>2.5.3</version>
44             </plugin>
45         </plugins>
46     </reporting>
47
48     <build>
49         <plugins>
50             <plugin>
51                 <groupId>org.apache.maven.plugins</groupId>
52                 <artifactId>maven-compiler-plugin</artifactId>
53                 <version>2.3.2</version>
54                 <configuration>
55                     <source>1.8</source>
56                     <target>1.8</target>
57                     <encoding>UTF-8</encoding>
58                 </configuration>
59             </plugin>
60
61             <plugin>
62                 <groupId>org.apache.maven.plugins</groupId>
63                 <artifactId>maven-source-plugin</artifactId>
64                 <version>2.2.1</version>
65                 <executions>
66                     <execution>
67                         <id>attach-sources</id>
68                         <goals>
69                             <goal>jar</goal>
70                         </goals>
71                     </execution>
72                 </executions>
73             </plugin>
74
75             <plugin>
76                 <groupId>org.apache.maven.plugins</groupId>
77                 <artifactId>maven-javadoc-plugin</artifactId>
78                 <version>2.9</version>
79                 <executions>
80                     <execution>
81                         <id>attach-javadocs</id>
82                         <goals>
83                             <goal>jar</goal>
84                         </goals>
85                     </execution>
86                 </executions>
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/var/www/svjatoslav.eu/maven</url>
122         </snapshotRepository>
123         <repository>
124             <id>svjatoslav.eu</id>
125             <name>svjatoslav.eu</name>
126             <url>scpexe://svjatoslav.eu/var/www/svjatoslav.eu/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     </scm>
135
136 </project>