Advertisement
Guest User

Untitled

a guest
May 22nd, 2015
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.51 KB | None | 0 0
  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.  
  5. <groupId>pl.execon</groupId>
  6. <artifactId>tsg.r.repo</artifactId>
  7. <version>1.0</version>
  8.  
  9. <properties>
  10. <!-- Generic properties -->
  11. <java.version>1.7</java.version>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <!-- Web -->
  15. <jsp.version>2.2</jsp.version>
  16. <jstl.version>1.2</jstl.version>
  17. <javax.servlet.version>3.1.0</javax.servlet.version>
  18. <!-- Spring -->
  19. <spring-framework.version>4.1.6.RELEASE</spring-framework.version>
  20. <org.springsecurity-version>4.0.0.RELEASE</org.springsecurity-version>
  21. <org.aspectjweaver-version>1.6.4</org.aspectjweaver-version>
  22. <!-- Apache Commons -->
  23. <commons-fileupload.version>1.3.1</commons-fileupload.version>
  24. <commons-io.version>2.4</commons-io.version>
  25. <javax.xml.version>1.1</javax.xml.version>
  26. <org.apache.httpcomponents.version>4.3.5</org.apache.httpcomponents.version>
  27. <apache.commons.lang.version>3.3.2</apache.commons.lang.version>
  28. <!-- Hibernate / JPA -->
  29. <hibernate.version>4.3.8.Final</hibernate.version>
  30. <!-- Logging -->
  31. <log4j-version>1.2.16</log4j-version>
  32. <org.slf4j-version>1.7.5</org.slf4j-version>
  33. <!-- Test -->
  34. <junit.version>4.11</junit.version>
  35. <javax.validation.verions>1.1.0.Final</javax.validation.verions>
  36. <jaxws-api.version>2.2.11</jaxws-api.version>
  37. <jaxws-rt.version>2.2.10</jaxws-rt.version>
  38. <!-- wsdl4j -->
  39. <wsdl4j.version>1.6.3</wsdl4j.version>
  40. <!-- GSON -->
  41. <gson.version>2.3.1</gson.version>
  42. <!-- JACKSON -->
  43. <com.fasterxml.jackson.core-version>2.5.0</com.fasterxml.jackson.core-version>
  44. </properties>
  45.  
  46. <profiles>
  47. <!-- profil dla developerow Execon -->
  48. <profile>
  49. <id>local</id>
  50. <properties>
  51. <wsdl.path>D:\\Work\\temp</wsdl.path>
  52. <appPropVer></appPropVer>
  53. <log4j.jdbc.connection>jdbc:sqlserver://91.185.190.214\\SQLEX:1433;DatabaseName=TSGRepo</log4j.jdbc.connection>
  54. <log4j.jdbc.user>sa</log4j.jdbc.user>
  55. <log4j.jdbc.password>SaP@s3x3c0n,!</log4j.jdbc.password>
  56. </properties>
  57. <activation>
  58. <activeByDefault>true</activeByDefault>
  59. </activation>
  60. </profile>
  61.  
  62. <!-- profil dla srodowiska testowego execon -->
  63. <profile>
  64. <id>execon-tst</id>
  65. <properties>
  66. <wsdl.path>/var/execon/wsdl_temp</wsdl.path>
  67. <appPropVer>execon_tst</appPropVer>
  68. <log4j.jdbc.connection>jdbc:sqlserver://91.185.190.214\\SQLEX:1433;DatabaseName=TSGRepo</log4j.jdbc.connection>
  69. <log4j.jdbc.user>sa</log4j.jdbc.user>
  70. <log4j.jdbc.password>SaP@s3x3c0n,!</log4j.jdbc.password>
  71. </properties>
  72. </profile>
  73. </profiles>
  74.  
  75. <dependencies>
  76. <!-- Spring SECURITY -->
  77. <dependency>
  78. <groupId>org.springframework.security</groupId>
  79. <artifactId>spring-security-core</artifactId>
  80. <version>${org.springsecurity-version}</version>
  81. </dependency>
  82.  
  83. <dependency>
  84. <groupId>org.springframework.security</groupId>
  85. <artifactId>spring-security-web</artifactId>
  86. <version>${org.springsecurity-version}</version>
  87. </dependency>
  88.  
  89. <dependency>
  90. <groupId>org.springframework.security</groupId>
  91. <artifactId>spring-security-config</artifactId>
  92. <version>${org.springsecurity-version}</version>
  93. </dependency>
  94.  
  95. <!-- Related to Spring Security -->
  96.  
  97. <dependency>
  98. <groupId>org.aspectj</groupId>
  99. <artifactId>aspectjweaver</artifactId>
  100. <version>${org.aspectjweaver-version}</version>
  101. </dependency>
  102.  
  103. <!-- Apache Commons FileUpload -->
  104. <dependency>
  105. <groupId>commons-fileupload</groupId>
  106. <artifactId>commons-fileupload</artifactId>
  107. <version>${commons-fileupload.version}</version>
  108. </dependency>
  109.  
  110. <!-- Apache Commons IO -->
  111. <dependency>
  112. <groupId>commons-io</groupId>
  113. <artifactId>commons-io</artifactId>
  114. <version>${commons-io.version}</version>
  115. </dependency>
  116.  
  117. <dependency>
  118. <groupId>javax.xml</groupId>
  119. <artifactId>jaxrpc-api</artifactId>
  120. <version>${javax.xml.version}</version>
  121. </dependency>
  122.  
  123. <dependency>
  124. <groupId>org.apache.httpcomponents</groupId>
  125. <artifactId>httpclient</artifactId>
  126. <version>${org.apache.httpcomponents.version}</version>
  127. </dependency>
  128.  
  129. <dependency>
  130. <groupId>org.apache.commons</groupId>
  131. <artifactId>commons-lang3</artifactId>
  132. <version>${apache.commons.lang.version}</version>
  133. </dependency>
  134.  
  135. <!-- Other Web dependencies -->
  136. <dependency>
  137. <groupId>javax.servlet</groupId>
  138. <artifactId>jstl</artifactId>
  139. <version>${jstl.version}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>javax.servlet.jsp</groupId>
  143. <artifactId>jsp-api</artifactId>
  144. <version>${jsp.version}</version>
  145. <scope>provided</scope>
  146. </dependency>
  147. <dependency>
  148. <groupId>javax.servlet</groupId>
  149. <artifactId>javax.servlet-api</artifactId>
  150. <version>${javax.servlet.version}</version>
  151. </dependency>
  152.  
  153. <!-- Spring MVC -->
  154. <dependency>
  155. <groupId>org.springframework</groupId>
  156. <artifactId>spring-webmvc</artifactId>
  157. <version>${spring-framework.version}</version>
  158. </dependency>
  159.  
  160.  
  161. <!-- Spring and Transactions -->
  162. <dependency>
  163. <groupId>org.springframework</groupId>
  164. <artifactId>spring-tx</artifactId>
  165. <version>${spring-framework.version}</version>
  166. </dependency>
  167.  
  168. <!-- GSON -->
  169. <dependency>
  170. <groupId>com.google.code.gson</groupId>
  171. <artifactId>gson</artifactId>
  172. <version>${gson.version}</version>
  173. </dependency>
  174.  
  175. <!-- Spring and JDBC -->
  176. <dependency>
  177. <groupId>org.springframework</groupId>
  178. <artifactId>spring-jdbc</artifactId>
  179. <version>${spring-framework.version}</version>
  180. </dependency>
  181.  
  182. <dependency>
  183. <groupId>org.springframework</groupId>
  184. <artifactId>spring-orm</artifactId>
  185. <version>${spring-framework.version}</version>
  186. </dependency>
  187.  
  188. <!-- Logging with log4j -->
  189. <dependency>
  190. <groupId>log4j</groupId>
  191. <artifactId>log4j</artifactId>
  192. <version>${log4j-version}</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>org.slf4j</groupId>
  196. <artifactId>slf4j-log4j12</artifactId>
  197. <version>${org.slf4j-version}</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>org.slf4j</groupId>
  201. <artifactId>slf4j-api</artifactId>
  202. <version>${org.slf4j-version}</version>
  203. </dependency>
  204.  
  205. <!-- Hibernate -->
  206. <dependency>
  207. <groupId>org.hibernate</groupId>
  208. <artifactId>hibernate-entitymanager</artifactId>
  209. <version>${hibernate.version}</version>
  210. </dependency>
  211.  
  212. <!-- JSR 303 with Hibernate Validator -->
  213. <dependency>
  214. <groupId>javax.validation</groupId>
  215. <artifactId>validation-api</artifactId>
  216. <version>1.1.0.Final</version>
  217. </dependency>
  218. <dependency>
  219. <groupId>org.hibernate</groupId>
  220. <artifactId>hibernate-validator</artifactId>
  221. <version>5.1.3.Final</version>
  222. </dependency>
  223.  
  224. <dependency>
  225. <groupId>commons-validator</groupId>
  226. <artifactId>commons-validator</artifactId>
  227. <version>1.3.1</version>
  228. </dependency>
  229.  
  230. <!-- Test Artifacts -->
  231. <dependency>
  232. <groupId>org.springframework</groupId>
  233. <artifactId>spring-test</artifactId>
  234. <version>${spring-framework.version}</version>
  235. <scope>test</scope>
  236. </dependency>
  237. <dependency>
  238. <groupId>junit</groupId>
  239. <artifactId>junit</artifactId>
  240. <version>${junit.version}</version>
  241. <scope>test</scope>
  242. </dependency>
  243.  
  244. <!-- ajax support -->
  245. <dependency>
  246. <groupId>com.fasterxml.jackson.core</groupId>
  247. <artifactId>jackson-databind</artifactId>
  248. <version>${com.fasterxml.jackson.core-version}</version>
  249. </dependency>
  250. <dependency>
  251. <groupId>com.fasterxml.jackson.core</groupId>
  252. <artifactId>jackson-annotations</artifactId>
  253. <version>${com.fasterxml.jackson.core-version}</version>
  254. </dependency>
  255. <dependency>
  256. <groupId>com.fasterxml.jackson.core</groupId>
  257. <artifactId>jackson-core</artifactId>
  258. <version>${com.fasterxml.jackson.core-version}</version>
  259. </dependency>
  260.  
  261. <dependency>
  262. <groupId>org.springframework.boot</groupId>
  263. <artifactId>spring-boot-starter-remote-shell</artifactId>
  264. <version>1.0.0.RELEASE</version>
  265. </dependency>
  266.  
  267. <!-- MsSql dependency -->
  268. <dependency>
  269. <groupId>com.microsoft.sqlserver</groupId>
  270. <artifactId>sqljdbc4</artifactId>
  271. <version>4.0</version>
  272. <scope>system</scope>
  273. <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/sqljdbc4-4.0.jar</systemPath>
  274. </dependency>
  275. <!-- Javax Validator adnotations -->
  276. <dependency>
  277. <groupId>javax.validation</groupId>
  278. <artifactId>validation-api</artifactId>
  279. <version>${javax.validation.verions}</version>
  280. </dependency>
  281.  
  282. <!-- JAX-WS -->
  283. <dependency>
  284. <groupId>javax.xml.ws</groupId>
  285. <artifactId>jaxws-api</artifactId>
  286. <version>${jaxws-api.version}</version>
  287. </dependency>
  288.  
  289. <!-- WSDL4j -->
  290. <dependency>
  291. <groupId>wsdl4j</groupId>
  292. <artifactId>wsdl4j</artifactId>
  293. <version>${wsdl4j.version}</version>
  294. </dependency>
  295.  
  296. <!-- Dynamic soap service starter -->
  297. <dependency>
  298. <groupId>org.reficio</groupId>
  299. <artifactId>soap-builder</artifactId>
  300. <version>
  301. 1.0.0-SNAPSHOT</version>
  302. </dependency>
  303. <dependency>
  304. <groupId>org.reficio</groupId>
  305. <artifactId>soap-client</artifactId>
  306. <version>1.0.0-SNAPSHOT</version>
  307. </dependency>
  308. <dependency>
  309. <groupId>org.reficio</groupId>
  310. <artifactId>soap-server</artifactId>
  311. <version>1.0.0-SNAPSHOT</version>
  312. </dependency>
  313.  
  314. <!-- XML to JSON -->
  315. <dependency>
  316. <groupId>org.json</groupId>
  317. <artifactId>json</artifactId>
  318. <version>20131018</version>
  319. </dependency>
  320.  
  321.  
  322. </dependencies>
  323.  
  324. <repositories>
  325. <repository>
  326. <id>Hibernate Spatial repo</id>
  327. <url>http://www.hibernatespatial.org/repository</url>
  328. </repository>
  329. <repository>
  330. <id>reficio</id>
  331. <url>http://repo.reficio.org/maven/</url>
  332. </repository>
  333. </repositories>
  334. <build>
  335.  
  336. <resources>
  337. <resource>
  338. <directory>src/main/resources</directory>
  339. <excludes>
  340. <exclude>appProperties/**/*.properties</exclude>
  341. </excludes>
  342. <filtering>false</filtering>
  343. </resource>
  344. </resources>
  345. <plugins>
  346. <plugin>
  347. <artifactId>maven-compiler-plugin</artifactId>
  348. <version>3.1</version>
  349. <configuration>
  350. <source>1.7</source>
  351. <target>1.7</target>
  352. </configuration>
  353. </plugin>
  354. <plugin>
  355. <groupId>org.apache.maven.plugins</groupId>
  356. <artifactId>maven-war-plugin</artifactId>
  357. <version>2.3</version>
  358. <configuration>
  359. <webResources>
  360. <resource>
  361. <directory>src/main/resources/appProperties/${appPropVer}</directory>
  362. <filtering>true</filtering>
  363. <includes>
  364. <include>**/*.properties</include>
  365. </includes>
  366. <targetPath>/WEB-INF/classes/appProperties</targetPath>
  367. </resource>
  368. <resource>
  369. <directory>src/main/webapp/WEB-INF</directory>
  370. <filtering>true</filtering>
  371. <includes>
  372. <include>web.xml</include>
  373. <include>jboss-web.xml</include>
  374. </includes>
  375. <targetPath>/WEB-INF</targetPath>
  376. </resource>
  377. <resource>
  378. <directory>src/main/resources</directory>
  379. <filtering>true</filtering>
  380. <includes>
  381. <include>*.xml</include>
  382. </includes>
  383. <targetPath>/WEB-INF/classes</targetPath>
  384. </resource>
  385. </webResources>
  386. </configuration>
  387. </plugin>
  388. </plugins>
  389. </build>
  390.  
  391.  
  392.  
  393. <packaging>war</packaging>
  394. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement