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