minor formatting
[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"
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.4-SNAPSHOT</version>
7         <packaging>jar</packaging>
8         <name>Svjatoslav commonly used resources library</name>
9         <description>Svjatoslav commonly used resources library</description>
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         <reporting>
22                 <plugins>
23                         <plugin>
24                                 <!-- Compile JUnit test coverage report -->
25                                 <groupId>org.codehaus.mojo</groupId>
26                                 <artifactId>cobertura-maven-plugin</artifactId>
27                                 <version>2.6</version>
28                                 <configuration>
29                                         <formats>
30                                                 <format>html</format>
31                                                 <format>xml</format>
32                                         </formats>
33                                 </configuration>
34                         </plugin>
35                         <plugin>
36                                 <!-- Attempt to discover bugs by doing static code analysis -->
37                                 <groupId>org.codehaus.mojo</groupId>
38                                 <artifactId>findbugs-maven-plugin</artifactId>
39                                 <version>2.5.3</version>
40                         </plugin>
41                 </plugins>
42         </reporting>
43
44         <build>
45                 <plugins>
46                         <plugin>
47                                 <groupId>org.apache.maven.plugins</groupId>
48                                 <artifactId>maven-compiler-plugin</artifactId>
49                                 <version>2.3.2</version>
50                                 <configuration>
51                                         <source>1.6</source>
52                                         <target>1.6</target>
53                                         <encoding>UTF-8</encoding>
54                                 </configuration>
55                         </plugin>
56
57                         <plugin>
58                                 <groupId>org.apache.maven.plugins</groupId>
59                                 <artifactId>maven-source-plugin</artifactId>
60                                 <version>2.2.1</version>
61                                 <executions>
62                                         <execution>
63                                                 <id>attach-sources</id>
64                                                 <goals>
65                                                         <goal>jar</goal>
66                                                 </goals>
67                                         </execution>
68                                 </executions>
69                         </plugin>
70
71                         <plugin>
72                                 <groupId>org.apache.maven.plugins</groupId>
73                                 <artifactId>maven-javadoc-plugin</artifactId>
74                                 <version>2.9</version>
75                                 <executions>
76                                         <execution>
77                                                 <id>attach-javadocs</id>
78                                                 <goals>
79                                                         <goal>jar</goal>
80                                                 </goals>
81                                         </execution>
82                                 </executions>
83                         </plugin>
84
85                         <plugin>
86                                 <!-- Compile JUnit test coverage report -->
87                                 <groupId>org.codehaus.mojo</groupId>
88                                 <artifactId>cobertura-maven-plugin</artifactId>
89                                 <version>2.6</version>
90                                 <configuration>
91                                         <check>
92                                                 <branchRate>85</branchRate>
93                                                 <lineRate>85</lineRate>
94                                                 <haltOnFailure>false</haltOnFailure>
95                                                 <totalBranchRate>85</totalBranchRate>
96                                                 <totalLineRate>85</totalLineRate>
97                                                 <packageLineRate>85</packageLineRate>
98                                                 <packageBranchRate>85</packageBranchRate>
99                                         </check>
100                                 </configuration>
101                                 <executions>
102                                         <execution>
103                                                 <goals>
104                                                         <goal>clean</goal>
105                                                         <!-- <goal>check</goal> -->
106                                                 </goals>
107                                         </execution>
108                                 </executions>
109                         </plugin>
110
111
112                 </plugins>
113
114                 <extensions>
115                         <extension>
116                                 <groupId>org.apache.maven.wagon</groupId>
117                                 <artifactId>wagon-ssh-external</artifactId>
118                                 <version>2.6</version>
119                         </extension>
120                 </extensions>
121         </build>
122
123         <dependencies>
124                 <dependency>
125                         <groupId>junit</groupId>
126                         <artifactId>junit</artifactId>
127                         <version>4.8.1</version>
128                         <scope>test</scope>
129                 </dependency>
130
131                 <dependency>
132                         <groupId>javax.servlet</groupId>
133                         <artifactId>servlet-api</artifactId>
134                         <version>2.5</version>
135                         <scope>provided</scope>
136                 </dependency>
137         </dependencies>
138
139         <distributionManagement>
140                 <snapshotRepository>
141                         <id>svjatoslav.eu</id>
142                         <name>svjatoslav.eu</name>
143                         <url>scpexe://svjatoslav.eu/var/www/svjatoslav.eu/maven</url>
144                 </snapshotRepository>
145                 <repository>
146                         <id>svjatoslav.eu</id>
147                         <name>svjatoslav.eu</name>
148                         <url>scpexe://svjatoslav.eu/var/www/svjatoslav.eu/maven</url>
149                 </repository>
150         </distributionManagement>
151
152         <repositories>
153                 <repository>
154                         <id>svjatoslav.eu</id>
155                         <name>Svjatoslav repository</name>
156                         <url>http://www2.svjatoslav.eu/maven/</url>
157                 </repository>
158         </repositories>
159
160         <scm>
161                 <connection>scm:git:ssh://git@svjatoslav.eu/home/git/repositories/svjatoslav_commons.git</connection>
162                 <developerConnection>scm:git:ssh://git@svjatoslav.eu/home/git/repositories/svjatoslav_commons.git</developerConnection>
163         </scm>
164
165 </project>