pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  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/maven-v4_0_0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>cz.hsrs.maplog</groupId>
  4. <artifactId>DBService</artifactId>
  5. <packaging>war</packaging>
  6. <version>1.3.5-SNAPSHOT</version>
  7. <name>dbservice Maven Webapp</name>
  8. <url>http://maven.apache.org</url>
  9. <build>
  10. <finalName>${project.artifactId}-${project.version}</finalName>
  11. <sourceDirectory>./src/main/java</sourceDirectory>
  12. <testSourceDirectory>./src/test/java</testSourceDirectory>
  13. <resources>
  14. <resource>
  15. <directory>./src/main/resources</directory>
  16. </resource>
  17. </resources>
  18. <testResources>
  19. <testResource>
  20. <directory>./src/test/resources</directory>
  21. </testResource>
  22. </testResources>
  23. <plugins>
  24. <plugin>
  25. <groupId>org.codehaus.mojo</groupId>
  26. <artifactId>buildnumber-maven-plugin</artifactId>
  27. <version>1.3</version>
  28. <executions>
  29. <execution>
  30. <phase>validate</phase>
  31. <goals>
  32. <goal>create</goal>
  33. </goals>
  34. </execution>
  35. </executions>
  36. <configuration>
  37. <doCheck>false</doCheck>
  38. <doUpdate>false</doUpdate>
  39. </configuration>
  40. </plugin>
  41. <plugin>
  42. <groupId>org.apache.tomcat.maven</groupId>
  43. <artifactId>tomcat7-maven-plugin</artifactId>
  44. <version>2.2</version>
  45. <configuration>
  46. <url>http://foodie.lesprojekt.cz:8080/manager/text</url>
  47. <server>foodietomcat</server>
  48. <path>/MapLog</path>
  49. <!--<path>/MapLogLV</path>-->
  50. <!--<path>/MapLogIT</path>-->
  51. <!--<path>/MapLogOT</path>-->
  52. </configuration>
  53. </plugin>
  54. <!-- <plugin>
  55. <groupId>org.apache.tomcat.maven</groupId>
  56. <artifactId>tomcat7-maven-plugin</artifactId>
  57. <version>2.2</version>
  58. <configuration>
  59. <path>/SensLog</path>
  60. <url>http://otn.bnhelp.cz/manager/text</url>
  61. <server>otntomcat</server>
  62. </configuration>
  63. </plugin>
  64. -->
  65. <!--
  66. <plugin>
  67. <groupId>org.apache.tomcat.maven</groupId>
  68. <artifactId>tomcat7-maven-plugin</artifactId>
  69. <version>2.2</version>
  70. <configuration>
  71. <path>/MapLog</path>
  72. <url>http://ft.lesprojekt.cz:8080/manager/text</url>
  73. <server>foodietomcat</server>
  74. </configuration>
  75. </plugin>
  76. -->
  77. <!--
  78. <plugin>
  79. <groupId>org.apache.tomcat.maven</groupId>
  80. <artifactId>tomcat7-maven-plugin</artifactId>
  81. <version>2.2</version>
  82. <configuration>
  83. <path>/SensLog</path>
  84. <url>http://foodie.wirelessinfo.cz/manager/text</url>
  85. <server>foodiepoland</server>
  86. </configuration>
  87. </plugin>
  88. -->
  89. <plugin>
  90. <groupId>org.apache.maven.plugins</groupId>
  91. <artifactId>maven-war-plugin</artifactId>
  92. <version>2.0.2</version>
  93. <configuration>
  94. <archive>
  95. <manifest>
  96. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  97. </manifest>
  98. <manifestEntries>
  99. <Implementation-Build>${buildNumber}</Implementation-Build>
  100. </manifestEntries>
  101. </archive>
  102. <warSourceExcludes>wwwlibs/**</warSourceExcludes>
  103. </configuration>
  104. </plugin>
  105. <plugin>
  106. <groupId>org.codehaus.mojo</groupId>
  107. <artifactId>cobertura-maven-plugin</artifactId>
  108. <version>2.4</version>
  109. <configuration>
  110. <instrumentation>
  111. <ignores>
  112. <ignore>com.example.boringcode.*</ignore>
  113. </ignores>
  114. <excludes>
  115. <exclude>com/example/dullcode/**/*.class</exclude>
  116. <exclude>com/example/**/*Test.class</exclude>
  117. </excludes>
  118. </instrumentation>
  119. </configuration>
  120. <executions>
  121. <execution>
  122. <goals>
  123. <goal>clean</goal>
  124. </goals>
  125. </execution>
  126. </executions>
  127. </plugin>
  128. </plugins>
  129. <pluginManagement>
  130. <plugins>
  131. <!-- ======================================================= -->
  132. <!-- Compilation. -->
  133. <!-- ======================================================= -->
  134. <plugin>
  135. <groupId>org.apache.maven.plugins</groupId>
  136. <artifactId>maven-compiler-plugin</artifactId>
  137. <version>2.0.2</version>
  138. <configuration>
  139. <source>1.8</source> <!-- The -source argument for the Java compiler. -->
  140. <target>1.8</target> <!-- The -target argument for the Java compiler. -->
  141. <debug>true</debug> <!-- Whether to include debugging information. -->
  142. <encoding>UTF-8</encoding> <!-- The -encoding argument for the Java compiler. -->
  143. </configuration>
  144. </plugin>
  145. </plugins>
  146. </pluginManagement>
  147. </build>
  148. <dependencies>
  149. <!-- Provided dependencies -->
  150. <dependency>
  151. <groupId>net.sf.jasperreports</groupId>
  152. <artifactId>jasperreports</artifactId>
  153. <version>4.5.0</version>
  154. <scope>provided</scope>
  155. </dependency>
  156. <dependency>
  157. <groupId>javax</groupId>
  158. <artifactId>javaee-api</artifactId>
  159. <version>7.0</version>
  160. <scope>provided</scope>
  161. </dependency>
  162. <dependency>
  163. <groupId>com.sun.jersey.contribs</groupId>
  164. <artifactId>jersey-multipart</artifactId>
  165. <version>1.19.4</version>
  166. <scope>provided</scope>
  167. </dependency>
  168. <dependency>
  169. <groupId>com.fasterxml.jackson.core</groupId>
  170. <artifactId>jackson-core</artifactId>
  171. <version>2.11.1</version>
  172. <scope>provided</scope>
  173. </dependency>
  174. <dependency>
  175. <groupId>com.fasterxml.jackson.core</groupId>
  176. <artifactId>jackson-annotations</artifactId>
  177. <version>2.11.1</version>
  178. <scope>provided</scope>
  179. </dependency>
  180. <dependency>
  181. <groupId>org.glassfish.jersey.core</groupId>
  182. <artifactId>jersey-server</artifactId>
  183. <version>2.31</version>
  184. <scope>provided</scope>
  185. </dependency>
  186. <dependency>
  187. <groupId>commons-io</groupId>
  188. <artifactId>commons-io</artifactId>
  189. <version>2.7</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>net.sf.json-lib</groupId>
  193. <artifactId>json-lib</artifactId>
  194. <version>2.4</version>
  195. <classifier>jdk15</classifier>
  196. </dependency>
  197. <dependency>
  198. <groupId>commons-collections</groupId>
  199. <artifactId>commons-collections</artifactId>
  200. <version>3.2.2</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.jfree</groupId>
  204. <artifactId>jfreechart</artifactId>
  205. <version>1.5.0</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.postgresql</groupId>
  209. <artifactId>postgresql</artifactId>
  210. <version>42.2.14</version>
  211. </dependency>
  212. <!-- Tests -->
  213. <dependency>
  214. <groupId>junit</groupId>
  215. <artifactId>junit</artifactId>
  216. <version>4.5</version>
  217. <scope>test</scope>
  218. </dependency>
  219. <dependency>
  220. <groupId>org.mortbay.jetty</groupId>
  221. <artifactId>jetty-util</artifactId>
  222. <version>7.0.0.pre5</version>
  223. <scope>test</scope>
  224. </dependency>
  225. </dependencies>
  226. <properties>
  227. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  228. <project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
  229. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  230. </properties>
  231. <reporting>
  232. <plugins>
  233. <plugin>
  234. <groupId>org.codehaus.mojo</groupId>
  235. <artifactId>cobertura-maven-plugin</artifactId>
  236. <version>2.4</version>
  237. </plugin>
  238. </plugins>
  239. </reporting>
  240. <!--
  241. <scm>
  242. <connection>scm:svn:svn://bnhelp.cz/maplog/tags/DBService-1.2</connection>
  243. <developerConnection>scm:svn:svn://bnhelp.cz/maplog/tags/DBService-1.2</developerConnection>
  244. <url>http://somerepository.com/view.cvs/tags/DBService-1.2</url>
  245. </scm>
  246. -->
  247. <scm>
  248. <connection>scm:git:git+ssh://git@git.ccss.cz/ccss/maplogagri</connection>
  249. <developerConnection>scm:git:git+ssh://git@git.ccss.cz/ccss/maplogagri</developerConnection>
  250. <url>http://somerepository.com/view.cvs/tags/DBService-1.3</url>
  251. </scm>
  252. <repositories>
  253. <repository>
  254. <id>com.mvnrepository</id>
  255. <name>mvnrepository</name>
  256. <url>http://mvnrepository.com</url>
  257. </repository>
  258. </repositories>
  259. </project>