Advertisement
vangop

gssws pom

Feb 13th, 2012
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.42 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <artifactId>gssWsServer</artifactId>
  6. <packaging>war</packaging>
  7. <name>gssWsServer</name>
  8. <url>http://maven.apache.org</url>
  9. <parent>
  10. <groupId>com.edb.esign</groupId>
  11. <artifactId>signingClientFramework-parent</artifactId>
  12. <version>2.3-SNAPSHOT</version>
  13. </parent>
  14. <properties>
  15. <genclasses.package>com.edb.esign.signingPortal.srv.generated</genclasses.package>
  16. <wsdl.src.dir>${basedir}/src/main/wsdl</wsdl.src.dir>
  17. </properties>
  18. <build>
  19. <finalName>gsswsserver</finalName>
  20. <plugins>
  21. <plugin>
  22. <groupId>org.apache.maven.plugins</groupId>
  23. <artifactId>maven-war-plugin</artifactId>
  24. <configuration>
  25. <archive>
  26. <manifestSections>
  27. <manifestSection>
  28. <name>ManifestSections</name>
  29. <manifestEntries>
  30. <revision>${buildNumber}</revision>
  31. </manifestEntries>
  32. </manifestSection>
  33. </manifestSections>
  34. <manifest>
  35. <addClasspath>true</addClasspath>
  36. </manifest>
  37. </archive>
  38. </configuration>
  39. </plugin>
  40.  
  41.  
  42. <plugin>
  43. <groupId>org.codehaus.mojo</groupId>
  44. <artifactId>cobertura-maven-plugin</artifactId>
  45. <configuration>
  46. <instrumentation>
  47. <excludes>
  48. <exclude>com/edb/gss/service/JdbcDataServiceImpl.class</exclude>
  49. <exclude>com/edb/gss/axis/*.class</exclude>
  50. </excludes>
  51. </instrumentation>
  52. </configuration>
  53. <executions>
  54. <execution>
  55. <goals>
  56. <goal>clean</goal>
  57. </goals>
  58. </execution>
  59. </executions>
  60. </plugin>
  61. </plugins>
  62. </build>
  63.  
  64. <profiles>
  65. <profile>
  66. <id>generate-axis-stubs</id>
  67. <activation>
  68. <file>
  69. <missing>target/generated-sources</missing>
  70. </file>
  71. </activation>
  72. <build>
  73. <plugins>
  74. <plugin>
  75. <groupId>org.apache.axis2</groupId>
  76. <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
  77. <configuration>
  78. <generateServerSide>true</generateServerSide>
  79. <generateServicesXml>true</generateServicesXml>
  80. <outputDirectory>target/generated-sources</outputDirectory>
  81. <packageName>${genclasses.package}</packageName>
  82. </configuration>
  83. <executions>
  84. <execution>
  85. <id>ESISGeneralSigningStatusUpdate_V1_0</id>
  86. <goals>
  87. <goal>wsdl2code</goal>
  88. </goals>
  89. <phase>generate-sources</phase>
  90. <configuration>
  91. <wsdlFile>${wsdl.src.dir}/ESISGeneralSigningStatusUpdate_V1_0.wsdl</wsdlFile>
  92. </configuration>
  93. </execution>
  94. </executions>
  95. </plugin>
  96. </plugins>
  97. </build>
  98. </profile>
  99.  
  100. <profile>
  101. <id>normal</id>
  102. <activation>
  103. <property>
  104. <name>!env</name>
  105. </property>
  106. </activation>
  107. <build>
  108. <plugins>
  109. <plugin>
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-surefire-plugin</artifactId>
  112. <configuration>
  113. <excludes>
  114. <exclude>**/JdbcDataServiceImplTest.java</exclude>
  115. </excludes>
  116. </configuration>
  117. </plugin>
  118. </plugins>
  119. </build>
  120. </profile>
  121.  
  122. <!-- This profile should be used to run tests that requires access to DB It is activated in case system variable env=dev -->
  123. <profile>
  124. <id>run-db-tests</id>
  125. <activation>
  126. <property>
  127. <name>env</name>
  128. <value>dev</value>
  129. </property>
  130. </activation>
  131. <build>
  132. <plugins>
  133. <plugin>
  134. <groupId>org.apache.maven.plugins</groupId>
  135. <artifactId>maven-surefire-plugin</artifactId>
  136. <configuration>
  137. <includes>
  138. <include>**/*Test.java</include>
  139. </includes>
  140. </configuration>
  141. </plugin>
  142. </plugins>
  143. </build>
  144. </profile>
  145.  
  146.  
  147.  
  148. </profiles>
  149.  
  150. <dependencies>
  151.  
  152. <dependency>
  153. <groupId>com.edb.esign</groupId>
  154. <artifactId>gssEngine</artifactId>
  155. </dependency>
  156.  
  157. <dependency>
  158. <groupId>com.edb.esign</groupId>
  159. <artifactId>gssEngine</artifactId>
  160. <type>test-jar</type>
  161. <scope>test</scope>
  162. </dependency>
  163.  
  164. <dependency>
  165. <groupId>org.apache.axis2</groupId>
  166. <artifactId>axis2-kernel</artifactId>
  167. </dependency>
  168.  
  169. <dependency>
  170. <groupId>org.apache.axis2</groupId>
  171. <artifactId>axis2-jibx</artifactId>
  172. </dependency>
  173.  
  174. <dependency>
  175. <groupId>org.apache.axis2</groupId>
  176. <artifactId>axis2-adb</artifactId>
  177. </dependency>
  178.  
  179. <dependency>
  180. <groupId>org.apache.axis2</groupId>
  181. <artifactId>axis2-jaxws</artifactId>
  182. </dependency>
  183.  
  184. <dependency>
  185. <groupId>org.apache.axis2</groupId>
  186. <artifactId>axis2-spring</artifactId>
  187. </dependency>
  188.  
  189. <dependency>
  190. <groupId>org.apache.axis2</groupId>
  191. <artifactId>axis2-transport-local</artifactId>
  192. </dependency>
  193.  
  194. <dependency>
  195. <groupId>org.apache.axis2</groupId>
  196. <artifactId>axis2-transport-http</artifactId>
  197. </dependency>
  198.  
  199. <dependency>
  200. <groupId>org.apache.axis2</groupId>
  201. <artifactId>axis2-transport-tcp</artifactId>
  202. </dependency>
  203.  
  204. <dependency>
  205. <groupId>org.springframework</groupId>
  206. <artifactId>spring-core</artifactId>
  207. </dependency>
  208.  
  209. <dependency>
  210. <groupId>org.springframework</groupId>
  211. <artifactId>spring-beans</artifactId>
  212. </dependency>
  213.  
  214. <dependency>
  215. <groupId>org.springframework</groupId>
  216. <artifactId>spring-context</artifactId>
  217. </dependency>
  218.  
  219. <dependency>
  220. <groupId>org.springframework</groupId>
  221. <artifactId>spring-core</artifactId>
  222. </dependency>
  223.  
  224. <dependency>
  225. <groupId>org.springframework</groupId>
  226. <artifactId>spring-jdbc</artifactId>
  227. </dependency>
  228.  
  229. <dependency>
  230. <groupId>org.springframework</groupId>
  231. <artifactId>spring-aop</artifactId>
  232. </dependency>
  233.  
  234. <dependency>
  235. <groupId>org.springframework</groupId>
  236. <artifactId>spring-tx</artifactId>
  237. </dependency>
  238.  
  239. <dependency>
  240. <groupId>org.springframework</groupId>
  241. <artifactId>spring-web</artifactId>
  242. </dependency>
  243.  
  244. <dependency>
  245. <groupId>org.springframework</groupId>
  246. <artifactId>spring-test</artifactId>
  247. <scope>test</scope>
  248. </dependency>
  249.  
  250. <dependency>
  251. <groupId>net.bull.javamelody</groupId>
  252. <artifactId>javamelody-core</artifactId>
  253. </dependency>
  254.  
  255. <dependency>
  256. <groupId>com.oracle</groupId>
  257. <artifactId>ojdbc14</artifactId>
  258. <scope>runtime</scope>
  259. </dependency>
  260.  
  261. <dependency>
  262. <groupId>commons-dbcp</groupId>
  263. <artifactId>commons-dbcp</artifactId>
  264. </dependency>
  265.  
  266. <dependency>
  267. <groupId>commons-pool</groupId>
  268. <artifactId>commons-pool</artifactId>
  269. </dependency>
  270.  
  271. <dependency>
  272. <groupId>org.mockito</groupId>
  273. <artifactId>mockito-all</artifactId>
  274. </dependency>
  275.  
  276. <dependency>
  277. <groupId>org.powermock</groupId>
  278. <artifactId>powermock-api-mockito</artifactId>
  279. </dependency>
  280.  
  281. <dependency>
  282. <groupId>org.powermock</groupId>
  283. <artifactId>powermock-module-junit4</artifactId>
  284. </dependency>
  285.  
  286. <dependency>
  287. <groupId>org.dbunit</groupId>
  288. <artifactId>dbunit</artifactId>
  289. <scope>test</scope>
  290. </dependency>
  291.  
  292. <dependency>
  293. <groupId>org.aspectj</groupId>
  294. <artifactId>aspectjrt</artifactId>
  295. </dependency>
  296. <dependency>
  297. <groupId>org.aspectj</groupId>
  298. <artifactId>aspectjweaver</artifactId>
  299. </dependency>
  300.  
  301. <dependency>
  302. <groupId>cglib</groupId>
  303. <artifactId>cglib-nodep</artifactId>
  304. </dependency>
  305.  
  306. <dependency>
  307. <groupId>xerces</groupId>
  308. <artifactId>xercesImpl</artifactId>
  309. </dependency>
  310.  
  311. </dependencies>
  312. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement