Advertisement
Guest User

Untitled

a guest
Feb 12th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.31 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. <groupId>ec.fin.coopjep.siaproveeduaria</groupId>
  5. <artifactId>siaproveeduaria</artifactId>
  6. <version>1.0</version>
  7. <packaging>war</packaging>
  8. <name>SIA Proveeduria</name>
  9. <description>Proyecto SIA Proveeduria</description>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <jboss.bom.version>1.0.0.M6</jboss.bom.version>
  13. </properties>
  14.  
  15. <dependencyManagement>
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.jboss.bom</groupId>
  19. <artifactId>jboss-javaee-6.0-with-tools</artifactId>
  20. <version>${jboss.bom.version}</version>
  21. <type>pom</type>
  22. <scope>import</scope>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.jboss.bom</groupId>
  26. <artifactId>jboss-javaee-6.0-with-hibernate</artifactId>
  27. <version>${jboss.bom.version}</version>
  28. <type>pom</type>
  29. <scope>import</scope>
  30. </dependency>
  31. </dependencies>
  32. </dependencyManagement>
  33.  
  34. <dependencies>
  35.  
  36. <!-- First declare the APIs we depend on and need for compilation. All
  37. of them are provided by JBoss AS 7 -->
  38.  
  39. <!-- Import the CDI API, we use provided scope as the API is included in
  40. JBoss AS 7 -->
  41. <dependency>
  42. <groupId>javax.enterprise</groupId>
  43. <artifactId>cdi-api</artifactId>
  44. <scope>provided</scope>
  45. </dependency>
  46.  
  47. <!-- Import the Common Annotations API (JSR-250), we use provided scope
  48. as the API is included in JBoss AS 7 -->
  49. <dependency>
  50. <groupId>org.jboss.spec.javax.annotation</groupId>
  51. <artifactId>jboss-annotations-api_1.1_spec</artifactId>
  52. <scope>provided</scope>
  53. </dependency>
  54.  
  55. <!-- Import the JAX-RS API, we use provided scope as the API is included
  56. in JBoss AS 7 -->
  57. <dependency>
  58. <groupId>org.jboss.spec.javax.ws.rs</groupId>
  59. <artifactId>jboss-jaxrs-api_1.1_spec</artifactId>
  60. <scope>provided</scope>
  61. </dependency>
  62.  
  63. <!-- Import the JPA API, we use provided scope as the API is included in
  64. JBoss AS 7 -->
  65. <dependency>
  66. <groupId>org.hibernate.javax.persistence</groupId>
  67. <artifactId>hibernate-jpa-2.0-api</artifactId>
  68. <scope>provided</scope>
  69. </dependency>
  70.  
  71. <!-- Import the EJB API, we use provided scope as the API is included in
  72. JBoss AS 7 -->
  73. <dependency>
  74. <groupId>org.jboss.spec.javax.ejb</groupId>
  75. <artifactId>jboss-ejb-api_3.1_spec</artifactId>
  76. <scope>provided</scope>
  77. </dependency>
  78.  
  79. <!-- JSR-303 (Bean Validation) Implementation -->
  80. <!-- Provides portable constraints such as @Email -->
  81. <!-- Hibernate Validator is shipped in JBoss AS 7 -->
  82. <dependency>
  83. <groupId>org.hibernate</groupId>
  84. <artifactId>hibernate-validator</artifactId>
  85. <scope>provided</scope>
  86. <exclusions>
  87. <exclusion>
  88. <groupId>org.slf4j</groupId>
  89. <artifactId>slf4j-api</artifactId>
  90. </exclusion>
  91. </exclusions>
  92. </dependency>
  93.  
  94. <dependency>
  95. <groupId>org.primefaces.extensions</groupId>
  96. <artifactId>primefaces-extensions</artifactId>
  97. <version>3.0.0</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>collection</groupId>
  101. <artifactId>collection</artifactId>
  102. <version>2.0</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.google.code.gson</groupId>
  106. <artifactId>gson</artifactId>
  107. <version>2.2.4</version>
  108. </dependency>
  109.  
  110.  
  111. <dependency>
  112. <groupId>org.apache.commons</groupId>
  113. <artifactId>commons-lang3</artifactId>
  114. <version>3.1</version>
  115. </dependency>
  116.  
  117. <!-- Import the JSF API, we use provided scope as the API is included in
  118. JBoss AS 7 -->
  119. <!-- <dependency> -->
  120. <!-- <groupId>org.jboss.spec.javax.faces</groupId> -->
  121. <!-- <artifactId>jboss-jsf-api_2.0_spec</artifactId> -->
  122. <!-- <scope>provided</scope> -->
  123. <!-- </dependency> -->
  124.  
  125.  
  126. <dependency>
  127. <groupId>com.sun.faces</groupId>
  128. <artifactId>jsf-api</artifactId>
  129. <version>2.2.8-02</version>
  130. </dependency>
  131.  
  132. <dependency>
  133. <groupId>com.sun.faces</groupId>
  134. <artifactId>jsf-impl</artifactId>
  135. <version>2.2.8-02</version>
  136. </dependency>
  137.  
  138. <!-- <dependency> -->
  139. <!-- <groupId>javax.inject</groupId> -->
  140. <!-- <artifactId>javax.inject</artifactId> -->
  141. <!-- <scope>provided</scope> -->
  142. <!-- <version>1</version> -->
  143. <!-- </dependency> -->
  144.  
  145. <!-- <dependency> -->
  146. <!-- <groupId>org.jboss.spec.javax.ejb</groupId> -->
  147. <!-- <artifactId>jboss-ejb-api_3.1_spec</artifactId> -->
  148. <!-- <scope>provided</scope> -->
  149. <!-- <version>1.0.1.Final</version> -->
  150. <!-- </dependency> -->
  151.  
  152. <!-- <dependency> -->
  153. <!-- <groupId>javax.enterprise</groupId> -->
  154. <!-- <artifactId>cdi-api</artifactId> -->
  155. <!-- <scope>provided</scope> -->
  156. <!-- <version>1.0-SP4</version> -->
  157. <!-- </dependency> -->
  158.  
  159. <!-- <dependency> -->
  160. <!-- <groupId>com.sun.faces</groupId> -->
  161. <!-- <artifactId>jsf-api</artifactId> -->
  162. <!-- <version>2.1.7</version> -->
  163. <!-- <scope>provided</scope> -->
  164. <!-- </dependency> -->
  165.  
  166. <!-- <dependency> -->
  167. <!-- <groupId>com.sun.faces</groupId> -->
  168. <!-- <artifactId>jsf-impl</artifactId> -->
  169. <!-- <version>2.1.7</version> -->
  170. <!-- <scope>provided</scope> -->
  171. <!-- </dependency> -->
  172.  
  173.  
  174. <!-- Now we declare any tools needed -->
  175.  
  176. <!-- Annotation processor to generate the JPA 2.0 metamodel classes for
  177. typesafe criteria queries -->
  178. <dependency>
  179. <groupId>org.hibernate</groupId>
  180. <artifactId>hibernate-jpamodelgen</artifactId>
  181. <scope>provided</scope>
  182. </dependency>
  183.  
  184. <!-- Annotation processor that raising compilation errors whenever constraint
  185. annotations are incorrectly used. -->
  186. <dependency>
  187. <groupId>org.hibernate</groupId>
  188. <artifactId>hibernate-validator-annotation-processor</artifactId>
  189. <scope>provided</scope>
  190. </dependency>
  191.  
  192. <dependency>
  193. <groupId>commons-fileupload</groupId>
  194. <artifactId>commons-fileupload</artifactId>
  195. <version>1.3</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>commons-io</groupId>
  199. <artifactId>commons-io</artifactId>
  200. <version>2.2</version>
  201. </dependency>
  202.  
  203. <dependency>
  204. <groupId>commons-codec</groupId>
  205. <artifactId>commons-codec</artifactId>
  206. <version>1.4</version>
  207. </dependency>
  208.  
  209. <!-- PGuerrero -->
  210. <!-- <dependency> -->
  211. <!-- <groupId>commons-collections</groupId> -->
  212. <!-- <artifactId>commons-collections</artifactId> -->
  213. <!-- <version>3.2.1</version> -->
  214. <!-- </dependency> -->
  215.  
  216. <dependency>
  217. <groupId>ec.fin.coopjep</groupId>
  218. <artifactId>jepfaces</artifactId>
  219. <version>0.0.1-SNAPSHOT</version>
  220. </dependency>
  221.  
  222. <dependency>
  223. <groupId>net.sf.jasperreports</groupId>
  224. <artifactId>jasperreports</artifactId>
  225. <version>5.6.1</version>
  226. </dependency>
  227.  
  228. <dependency>
  229. <groupId>net.sf.jasperreports</groupId>
  230. <artifactId>jasperreports-fonts</artifactId>
  231. <version>5.6.1</version>
  232. </dependency>
  233.  
  234. <!-- <dependency> -->
  235. <!-- <groupId>javax.servlet</groupId> -->
  236. <!-- <artifactId>servlet-api</artifactId> -->
  237. <!-- <version>2.5</version> -->
  238. <!-- <scope>provided</scope> -->
  239. <!-- </dependency> -->
  240.  
  241. <dependency>
  242. <groupId>org.primefaces</groupId>
  243. <artifactId>primefaces</artifactId>
  244. <version>5.1</version>
  245. </dependency>
  246.  
  247. <dependency>
  248. <groupId>ec.fin.coopjep</groupId>
  249. <artifactId>groovy-all</artifactId>
  250. <version>2.2.1</version>
  251. </dependency>
  252.  
  253. <dependency>
  254. <groupId>ec.fin.coopjep</groupId>
  255. <artifactId>poi</artifactId>
  256. <version>3.9</version>
  257. </dependency>
  258.  
  259. <dependency>
  260. <groupId>javax.mail</groupId>
  261. <artifactId>mail</artifactId>
  262. <version>1.4</version>
  263. </dependency>
  264.  
  265. <dependency>
  266. <groupId>javax.servlet</groupId>
  267. <artifactId>javax.servlet-api</artifactId>
  268. <version>3.0.1</version>
  269. </dependency>
  270.  
  271. <dependency>
  272. <groupId>commons-lang</groupId>
  273. <artifactId>commons-lang</artifactId>
  274. <version>2.6</version>
  275. </dependency>
  276.  
  277. <dependency>
  278. <groupId>com.fitbank.fit1</groupId>
  279. <artifactId>client_invoke</artifactId>
  280. <version>1.0</version>
  281. </dependency>
  282. <dependency>
  283. <groupId>com.fitbank.fit1</groupId>
  284. <artifactId>basic_fitbank</artifactId>
  285. <version>1.0</version>
  286. </dependency>
  287. <dependency>
  288. <groupId>com.fitbank.fit1</groupId>
  289. <artifactId>core_fitbank</artifactId>
  290. <version>1.0</version>
  291. </dependency>
  292.  
  293. <dependency>
  294. <groupId>org.jboss</groupId>
  295. <artifactId>all</artifactId>
  296. <version>0</version>
  297. </dependency>
  298.  
  299. <dependency>
  300. <groupId>org.apache.poi</groupId>
  301. <artifactId>poi</artifactId>
  302. <version>3.10-FINAL</version>
  303. <type>jar</type>
  304. <scope>compile</scope>
  305. </dependency>
  306.  
  307. <dependency>
  308. <groupId>org.apache.poi</groupId>
  309. <artifactId>poi-ooxml</artifactId>
  310. <version>3.10-FINAL</version>
  311. <type>jar</type>
  312. <scope>compile</scope>
  313. </dependency>
  314.  
  315. <dependency>
  316. <groupId>org.apache.poi</groupId>
  317. <artifactId>poi-ooxml-schemas</artifactId>
  318. <version>3.10-FINAL</version>
  319. <type>jar</type>
  320. <scope>compile</scope>
  321. </dependency>
  322. </dependencies>
  323.  
  324.  
  325.  
  326. <build>
  327. <!-- Maven will append the version to the finalName (which is the name
  328. given to the generated war, and hence the context root) -->
  329. <finalName>${project.artifactId}</finalName>
  330. <plugins>
  331. <!-- Compiler plugin enforces Java 1.6 compatibility and activates annotation
  332. processors -->
  333. <plugin>
  334. <artifactId>maven-compiler-plugin</artifactId>
  335. <version>2.3.1</version>
  336. <configuration>
  337. <source>1.6</source>
  338. <target>1.6</target>
  339. </configuration>
  340. </plugin>
  341. <plugin>
  342. <artifactId>maven-war-plugin</artifactId>
  343. <version>2.1.1</version>
  344. <configuration>
  345. <!-- Java EE 6 doesn't require web.xml, Maven needs to catch up! -->
  346. <failOnMissingWebXml>false</failOnMissingWebXml>
  347. </configuration>
  348. </plugin>
  349. <!-- The JBoss AS plugin deploys your war to a local JBoss AS container -->
  350. <!-- To use, run: mvn package jboss-as:deploy -->
  351. <plugin>
  352. <groupId>org.jboss.as.plugins</groupId>
  353. <artifactId>jboss-as-maven-plugin</artifactId>
  354. <version>7.1.1.Final</version>
  355. </plugin>
  356. </plugins>
  357. </build>
  358.  
  359. <profiles>
  360. <profile>
  361. <!-- The default profile skips all tests, though you can tune it to run
  362. just unit tests based on a custom pattern -->
  363. <!-- Seperate profiles are provided for running all tests, including Arquillian
  364. tests that execute in the specified container -->
  365. <id>default</id>
  366. <activation>
  367. <activeByDefault>true</activeByDefault>
  368. </activation>
  369. <build>
  370. <plugins>
  371. <plugin>
  372. <artifactId>maven-surefire-plugin</artifactId>
  373. <version>2.4.3</version>
  374. <configuration>
  375. <skip>true</skip>
  376. </configuration>
  377. </plugin>
  378. </plugins>
  379. </build>
  380. </profile>
  381.  
  382. <profile>
  383. <!-- An optional Arquillian testing profile that executes tests in a remote
  384. JBoss AS instance -->
  385. <!-- Run with: mvn clean test -Parq-jbossas-remote -->
  386. <id>arq-jbossas-remote</id>
  387. <dependencies>
  388. <dependency>
  389. <groupId>org.jboss.as</groupId>
  390. <artifactId>jboss-as-arquillian-container-remote</artifactId>
  391. <scope>test</scope>
  392. </dependency>
  393. </dependencies>
  394. </profile>
  395.  
  396. <profile>
  397. <!-- When built in OpenShift the 'openshift' profile will be used when
  398. invoking mvn. -->
  399. <!-- Use this profile for any OpenShift specific customization your app
  400. will need. -->
  401. <!-- By default that is to put the resulting archive into the 'deployments'
  402. folder. -->
  403. <!-- http://maven.apache.org/guides/mini/guide-building-for-different-environments.html -->
  404. <id>openshift</id>
  405. <build>
  406. <plugins>
  407. <plugin>
  408. <artifactId>maven-war-plugin</artifactId>
  409. <version>2.1.1</version>
  410. <configuration>
  411. <outputDirectory>deployments</outputDirectory>
  412. <warName>ROOT</warName>
  413. </configuration>
  414. </plugin>
  415. </plugins>
  416. </build>
  417. </profile>
  418.  
  419. </profiles>
  420. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement