pom.xml 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  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.maven.plugins</groupId>
  56. <artifactId>maven-war-plugin</artifactId>
  57. <version>2.0.2</version>
  58. <configuration>
  59. <archive>
  60. <manifest>
  61. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  62. </manifest>
  63. <manifestEntries>
  64. <Implementation-Build>${buildNumber}</Implementation-Build>
  65. </manifestEntries>
  66. </archive>
  67. <warSourceExcludes>wwwlibs/**</warSourceExcludes>
  68. </configuration>
  69. </plugin>
  70. <plugin>
  71. <groupId>org.codehaus.mojo</groupId>
  72. <artifactId>cobertura-maven-plugin</artifactId>
  73. <version>2.4</version>
  74. <configuration>
  75. <instrumentation>
  76. <ignores>
  77. <ignore>com.example.boringcode.*</ignore>
  78. </ignores>
  79. <excludes>
  80. <exclude>com/example/dullcode/**/*.class</exclude>
  81. <exclude>com/example/**/*Test.class</exclude>
  82. </excludes>
  83. </instrumentation>
  84. </configuration>
  85. <executions>
  86. <execution>
  87. <goals>
  88. <goal>clean</goal>
  89. </goals>
  90. </execution>
  91. </executions>
  92. </plugin>
  93. </plugins>
  94. <pluginManagement>
  95. <plugins>
  96. <!-- ======================================================= -->
  97. <!-- Compilation. -->
  98. <!-- ======================================================= -->
  99. <plugin>
  100. <groupId>org.apache.maven.plugins</groupId>
  101. <artifactId>maven-compiler-plugin</artifactId>
  102. <version>2.0.2</version>
  103. <configuration>
  104. <source>1.8</source> <!-- The -source argument for the Java compiler. -->
  105. <target>1.8</target> <!-- The -target argument for the Java compiler. -->
  106. <debug>true</debug> <!-- Whether to include debugging information. -->
  107. <encoding>UTF-8</encoding> <!-- The -encoding argument for the Java compiler. -->
  108. </configuration>
  109. </plugin>
  110. </plugins>
  111. </pluginManagement>
  112. </build>
  113. <dependencies>
  114. <!-- Provided dependencies -->
  115. <dependency>
  116. <groupId>net.sf.jasperreports</groupId>
  117. <artifactId>jasperreports</artifactId>
  118. <version>4.5.0</version>
  119. <scope>provided</scope>
  120. </dependency>
  121. <dependency>
  122. <groupId>javax</groupId>
  123. <artifactId>javaee-api</artifactId>
  124. <version>7.0</version>
  125. <scope>provided</scope>
  126. </dependency>
  127. <dependency>
  128. <groupId>com.sun.jersey.contribs</groupId>
  129. <artifactId>jersey-multipart</artifactId>
  130. <version>1.19.4</version>
  131. <scope>provided</scope>
  132. </dependency>
  133. <dependency>
  134. <groupId>com.fasterxml.jackson.core</groupId>
  135. <artifactId>jackson-core</artifactId>
  136. <version>2.11.1</version>
  137. <scope>provided</scope>
  138. </dependency>
  139. <dependency>
  140. <groupId>com.fasterxml.jackson.core</groupId>
  141. <artifactId>jackson-annotations</artifactId>
  142. <version>2.11.1</version>
  143. <scope>provided</scope>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.glassfish.jersey.core</groupId>
  147. <artifactId>jersey-server</artifactId>
  148. <version>2.31</version>
  149. <scope>provided</scope>
  150. </dependency>
  151. <dependency>
  152. <groupId>commons-io</groupId>
  153. <artifactId>commons-io</artifactId>
  154. <version>2.7</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>net.sf.json-lib</groupId>
  158. <artifactId>json-lib</artifactId>
  159. <version>2.4</version>
  160. <classifier>jdk15</classifier>
  161. </dependency>
  162. <dependency>
  163. <groupId>commons-collections</groupId>
  164. <artifactId>commons-collections</artifactId>
  165. <version>3.2.2</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.jfree</groupId>
  169. <artifactId>jfreechart</artifactId>
  170. <version>1.5.0</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>org.postgresql</groupId>
  174. <artifactId>postgresql</artifactId>
  175. <version>42.2.14</version>
  176. </dependency>
  177. <!-- Tests -->
  178. <dependency>
  179. <groupId>junit</groupId>
  180. <artifactId>junit</artifactId>
  181. <version>4.5</version>
  182. <scope>test</scope>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.mortbay.jetty</groupId>
  186. <artifactId>jetty-util</artifactId>
  187. <version>7.0.0.pre5</version>
  188. <scope>test</scope>
  189. </dependency>
  190. </dependencies>
  191. <properties>
  192. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  193. <project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
  194. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  195. </properties>
  196. <reporting>
  197. <plugins>
  198. <plugin>
  199. <groupId>org.codehaus.mojo</groupId>
  200. <artifactId>cobertura-maven-plugin</artifactId>
  201. <version>2.4</version>
  202. </plugin>
  203. </plugins>
  204. </reporting>
  205. <scm>
  206. <connection>scm:git:git+ssh://git@git.ccss.cz/ccss/maplogagri</connection>
  207. <developerConnection>scm:git:git+ssh://git@git.ccss.cz/ccss/maplogagri</developerConnection>
  208. <url>http://somerepository.com/view.cvs/tags/DBService-1.3</url>
  209. </scm>
  210. <repositories>
  211. <repository>
  212. <id>com.mvnrepository</id>
  213. <name>mvnrepository</name>
  214. <url>http://mvnrepository.com</url>
  215. </repository>
  216. </repositories>
  217. </project>