/sigmah/pom.xml

http://sigma-h.googlecode.com/ · XML · 976 lines · 837 code · 81 blank · 58 comment · 0 complexity · ad3028927fe16e8d009faf9184933c69 MD5 · raw file

  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. <groupId>org.sigmah</groupId>
  6. <artifactId>sigmah</artifactId>
  7. <packaging>war</packaging>
  8. <version>1.0</version>
  9. <name>Sigmah</name>
  10. <description>Web-based database platform for program monitoring and reporting for the UN,
  11. NGOs, and others working in humanitarian, development, and post-conflict contexts.</description>
  12. <issueManagement>
  13. <system>MantisBT</system>
  14. <url>http://www.sigmah.org/issues/</url>
  15. </issueManagement>
  16. <ciManagement>
  17. <system>mikeci</system>
  18. <url>https://build.mikeci.com/history.html?name=ActivityInfo&amp;_sub=activityinfo</url>
  19. </ciManagement>
  20. <inceptionYear>2009</inceptionYear>
  21. <scm>
  22. <connection>scm:svn:http://sigma-h.googlecode.com/svn/trunk</connection>
  23. <developerConnection>scm:svn:https://sigma-h.googlecode.com/svn/trunk</developerConnection>
  24. <url>http://code.google.com/p/sigma-h/source/browse/trunk</url>
  25. </scm>
  26. <developers>
  27. <!-- Representatives of the two organizations co-authors of Sigmah (for
  28. full developers list, see: http://code.google.com/p/sigma-h/people/list) -->
  29. <developer>
  30. <id>akbertram</id>
  31. <name>Alex Bertram</name>
  32. <email>alex@bedatadriven.com</email>
  33. <organization>bedatadriven</organization>
  34. <organizationUrl>http://www.bedatadriven.com</organizationUrl>
  35. </developer>
  36. <developer>
  37. <id>olivier.sarrat</id>
  38. <name>Olivier Sarrat</name>
  39. <email>osarrat@urd.org</email>
  40. <organization>Groupe URD</organization>
  41. <organizationUrl>http://www.urd.org</organizationUrl>
  42. </developer>
  43. </developers>
  44. <licenses>
  45. <license>
  46. <name>GPLv3</name>
  47. <url>http://www.gnu.org/licenses/gpl.html</url>
  48. </license>
  49. </licenses>
  50. <properties>
  51. <netbeans.hint.license>gpl3</netbeans.hint.license>
  52. <!-- convenience to define GWT version in one place -->
  53. <com.google.gwt.version>2.4.0</com.google.gwt.version>
  54. <gwt.maven.plugin.version>2.4.0</gwt.maven.plugin.version>
  55. <platform>windows</platform>
  56. <!-- tell the compiler we can use 1.6 -->
  57. <maven.compiler.source>1.6</maven.compiler.source>
  58. <maven.compiler.target>1.6</maven.compiler.target>
  59. <!-- Allow the build to continue even if there are test failures -->
  60. <maven.test.failure.ignore>true</maven.test.failure.ignore>
  61. </properties>
  62. <repositories>
  63. <repository>
  64. <id>central</id>
  65. <name>Central Repository</name>
  66. <url>http://repo1.maven.org/maven2/</url>
  67. </repository>
  68. <repository>
  69. <id>bedatadriven-public</id>
  70. <name>Bedatadriven Public Repo</name>
  71. <url>http://nexus.bedatadriven.com/content/groups/public</url>
  72. <snapshots>
  73. <enabled>true</enabled>
  74. </snapshots>
  75. </repository>
  76. </repositories>
  77. <pluginRepositories>
  78. <pluginRepository>
  79. <id>JBOSS</id>
  80. <name>JBoss Repository</name>
  81. <url>http://repository.jboss.org/maven2/</url>
  82. </pluginRepository>
  83. <pluginRepository>
  84. <id>bedatadriven-public</id>
  85. <name>Bedatadriven Public Repo</name>
  86. <url>http://nexus.bedatadriven.com/content/groups/public</url>
  87. </pluginRepository>
  88. </pluginRepositories>
  89. <distributionManagement>
  90. <repository>
  91. <id>bedatadriven-oss</id>
  92. <name>bedatadriven Open-Source releases</name>
  93. <url>http://nexus.bedatadriven.com/content/repositories/oss-releases</url>
  94. </repository>
  95. <snapshotRepository>
  96. <id>bedatadriven-oss</id>
  97. <name>bedatadriven Open-Source snapshots</name>
  98. <url>http://nexus.bedatadriven.com/content/repositories/oss-snapshots</url>
  99. </snapshotRepository>
  100. </distributionManagement>
  101. <dependencies>
  102. <!-- UI specific -->
  103. <dependency>
  104. <groupId>com.google.gwt</groupId>
  105. <artifactId>gwt-servlet</artifactId>
  106. <version>${com.google.gwt.version}</version>
  107. <scope>runtime</scope>
  108. </dependency>
  109. <dependency>
  110. <groupId>com.google.gwt</groupId>
  111. <artifactId>gwt-user</artifactId>
  112. <version>${com.google.gwt.version}</version>
  113. <scope>provided</scope>
  114. </dependency>
  115. <dependency>
  116. <groupId>com.google.code.gaxb</groupId>
  117. <artifactId>gaxb</artifactId>
  118. <version>1.0</version>
  119. <scope>provided</scope>
  120. </dependency>
  121. <!-- Other clientside APIs -->
  122. <dependency>
  123. <groupId>com.extjs</groupId>
  124. <artifactId>gxt</artifactId>
  125. <version>2.2.5-gwt22</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>com.google.gwt.google-apis</groupId>
  129. <artifactId>gwt-maps</artifactId>
  130. <version>1.1.1</version>
  131. <scope>provided</scope>
  132. <exclusions>
  133. <exclusion>
  134. <artifactId>gwt-user</artifactId>
  135. <groupId>com.google.gwt</groupId>
  136. </exclusion>
  137. </exclusions>
  138. </dependency>
  139. <dependency>
  140. <groupId>com.ebessette.maps</groupId>
  141. <artifactId>overlaymanager</artifactId>
  142. <version>1.0</version>
  143. <scope>provided</scope>
  144. </dependency>
  145. <dependency>
  146. <groupId>com.google.gwt.google-apis</groupId>
  147. <artifactId>gwt-gears</artifactId>
  148. <version>1.2.1</version>
  149. <scope>provided</scope>
  150. <exclusions>
  151. <exclusion>
  152. <artifactId>gwt-user</artifactId>
  153. <groupId>com.google.gwt</groupId>
  154. </exclusion>
  155. </exclusions>
  156. </dependency>
  157. <!-- Rebar- client persistence -->
  158. <dependency>
  159. <groupId>com.bedatadriven.rebar</groupId>
  160. <artifactId>rebar-appcache</artifactId>
  161. <version>2.2.2</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>com.bedatadriven.rebar</groupId>
  165. <artifactId>rebar-sql</artifactId>
  166. <version>2.2.2</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>com.bedatadriven.rebar</groupId>
  170. <artifactId>rebar-sync</artifactId>
  171. <version>2.2.2</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>org.xerial</groupId>
  175. <artifactId>sqlite-jdbc</artifactId>
  176. <version>3.6.17</version>
  177. <scope>test</scope>
  178. </dependency>
  179. <!-- Dependency Injection Framework -->
  180. <dependency>
  181. <groupId>com.google.inject</groupId>
  182. <artifactId>guice</artifactId>
  183. <version>3.0</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>com.google.inject.extensions</groupId>
  187. <artifactId>guice-servlet</artifactId>
  188. <version>3.0</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>com.google.gwt.inject</groupId>
  192. <artifactId>gin</artifactId>
  193. <version>1.5.0</version>
  194. <scope>provided</scope>
  195. <exclusions>
  196. <exclusion>
  197. <artifactId>gwt-user</artifactId>
  198. <groupId>com.google.gwt</groupId>
  199. </exclusion>
  200. <exclusion>
  201. <artifactId>gwt-servlet</artifactId>
  202. <groupId>com.google.gwt</groupId>
  203. </exclusion>
  204. <exclusion>
  205. <groupId>com.google.inject</groupId>
  206. <artifactId>guice</artifactId>
  207. </exclusion>
  208. </exclusions>
  209. </dependency>
  210. <dependency>
  211. <groupId>com.google.guava</groupId>
  212. <artifactId>guava</artifactId>
  213. <version>11.0.2</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>aopalliance</groupId>
  217. <artifactId>aopalliance</artifactId>
  218. <version>1.0</version>
  219. </dependency>
  220. <!-- Report creation dependencies -->
  221. <dependency>
  222. <groupId>net.sf.jcharts</groupId>
  223. <artifactId>krysalis-jCharts</artifactId>
  224. <version>1.0.0-alpha-1</version>
  225. </dependency>
  226. <dependency>
  227. <groupId>org.apache.poi</groupId>
  228. <artifactId>poi</artifactId>
  229. <version>3.8</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.apache.poi</groupId>
  233. <artifactId>poi-scratchpad</artifactId>
  234. <version>3.8</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>com.lowagie</groupId>
  238. <artifactId>itext</artifactId>
  239. <version>2.1.7</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>com.lowagie</groupId>
  243. <artifactId>itext-rtf</artifactId>
  244. <version>2.1.7</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>org.apache.odftoolkit</groupId>
  248. <artifactId>odfdom-java</artifactId>
  249. <version>0.8.8-incubating</version>
  250. </dependency>
  251. <dependency>
  252. <groupId>org.apache.odftoolkit</groupId>
  253. <artifactId>simple-odf</artifactId>
  254. <version>0.7-incubating</version>
  255. </dependency>
  256. <!-- Scheduling Framework -->
  257. <dependency>
  258. <groupId>quartz</groupId>
  259. <artifactId>quartz</artifactId>
  260. <version>1.5.2</version>
  261. </dependency>
  262. <!-- Emailing -->
  263. <dependency>
  264. <groupId>org.apache.commons</groupId>
  265. <artifactId>commons-email</artifactId>
  266. <version>1.1</version>
  267. <exclusions>
  268. <!-- Because the JDK1.6 already include the Java Activation API, otherwise
  269. this could generate ClassLoading en Linkage errors -->
  270. <exclusion>
  271. <groupId>javax.activation</groupId>
  272. <artifactId>activation</artifactId>
  273. </exclusion>
  274. </exclusions>
  275. </dependency>
  276. <!-- Database dependencies -->
  277. <dependency>
  278. <groupId>javax.persistence</groupId>
  279. <artifactId>persistence-api</artifactId>
  280. <version>1.0</version>
  281. </dependency>
  282. <dependency>
  283. <groupId>org.hibernate</groupId>
  284. <artifactId>hibernate-entitymanager</artifactId>
  285. <exclusions>
  286. <exclusion>
  287. <groupId>javax.transaction</groupId>
  288. <artifactId>jta</artifactId>
  289. </exclusion>
  290. </exclusions>
  291. <version>3.4.0.GA</version>
  292. </dependency>
  293. <dependency>
  294. <groupId>geronimo-spec</groupId>
  295. <artifactId>geronimo-spec-jta</artifactId>
  296. <version>1.0.1B-rc4</version>
  297. </dependency>
  298. <!-- Open source alternative to Microsoft's SQL driver -->
  299. <!-- which was not working with SQL Server 2008 Express -->
  300. <dependency>
  301. <groupId>net.sourceforge.jtds</groupId>
  302. <artifactId>jtds</artifactId>
  303. <version>1.2.4</version>
  304. </dependency>
  305. <dependency>
  306. <groupId>mysql</groupId>
  307. <artifactId>mysql-connector-java</artifactId>
  308. <version>5.1.13</version>
  309. </dependency>
  310. <dependency>
  311. <groupId>com.h2database</groupId>
  312. <artifactId>h2</artifactId>
  313. <version>1.3.148</version>
  314. </dependency>
  315. <dependency>
  316. <groupId>postgresql</groupId>
  317. <artifactId>postgresql</artifactId>
  318. <version>8.4-701.jdbc4</version>
  319. </dependency>
  320. <dependency>
  321. <groupId>org.slf4j</groupId>
  322. <artifactId>slf4j-log4j12</artifactId>
  323. <version>1.5.2</version>
  324. </dependency>
  325. <!-- Bean Mapping and XML -->
  326. <dependency>
  327. <groupId>net.sf.dozer</groupId>
  328. <artifactId>dozer</artifactId>
  329. <version>5.1</version>
  330. </dependency>
  331. <dependency>
  332. <groupId>xerces</groupId>
  333. <artifactId>xercesImpl</artifactId>
  334. <version>2.4.0</version>
  335. </dependency>
  336. <dependency>
  337. <groupId>org.freemarker</groupId>
  338. <artifactId>freemarker</artifactId>
  339. <version>2.3.16</version>
  340. </dependency>
  341. <!-- Random library for BASE64 decoding (KmlDataServlet) -->
  342. <dependency>
  343. <groupId>commons-codec</groupId>
  344. <artifactId>commons-codec</artifactId>
  345. <version>1.3</version>
  346. </dependency>
  347. <dependency>
  348. <groupId>com.google.code.gson</groupId>
  349. <artifactId>gson</artifactId>
  350. <version>2.1</version>
  351. </dependency>
  352. <!-- testing framework -->
  353. <dependency>
  354. <groupId>junit</groupId>
  355. <artifactId>junit</artifactId>
  356. <version>4.7</version>
  357. <scope>test</scope>
  358. </dependency>
  359. <dependency>
  360. <groupId>org.dbunit</groupId>
  361. <artifactId>dbunit</artifactId>
  362. <version>2.4.4</version>
  363. <scope>test</scope>
  364. </dependency>
  365. <dependency>
  366. <groupId>org.easymock</groupId>
  367. <artifactId>easymock</artifactId>
  368. <version>3.0</version>
  369. <scope>test</scope>
  370. </dependency>
  371. <dependency>
  372. <groupId>org.xerial.thirdparty</groupId>
  373. <artifactId>sqlitejdbc-nested</artifactId>
  374. <version>3.6.2</version>
  375. <scope>test</scope>
  376. </dependency>
  377. <!-- Apache Commons File Upload -->
  378. <dependency>
  379. <groupId>commons-fileupload</groupId>
  380. <artifactId>commons-fileupload</artifactId>
  381. <version>1.2.2</version>
  382. </dependency>
  383. <dependency>
  384. <groupId>com.amazonaws</groupId>
  385. <artifactId>aws-java-sdk</artifactId>
  386. <version>1.1.9</version>
  387. </dependency>
  388. <!-- Excel export/import -->
  389. <dependency>
  390. <groupId>net.sourceforge.jexcelapi</groupId>
  391. <artifactId>jxl</artifactId>
  392. <version>2.6.10</version>
  393. </dependency>
  394. </dependencies>
  395. <build>
  396. <!-- TODO: Resources that need to be filtered should move src/main/filters where dafault place -->
  397. <resources>
  398. <resource>
  399. <directory>src/main/resources</directory>
  400. <filtering>true</filtering>
  401. </resource>
  402. </resources>
  403. <outputDirectory>${basedir}/src/main/webapp/WEB-INF/classes</outputDirectory>
  404. <plugins>
  405. <!-- configure the Java Compiler Plugin -->
  406. <plugin>
  407. <groupId>org.apache.maven.plugins</groupId>
  408. <artifactId>maven-compiler-plugin</artifactId>
  409. <version>2.4</version>
  410. <configuration>
  411. <source>1.6</source>
  412. <target>1.6</target>
  413. <encoding>UTF-8</encoding>
  414. </configuration>
  415. </plugin>
  416. <plugin>
  417. <groupId>com.google.code.maven-svn-revision-number-plugin</groupId>
  418. <artifactId>maven-svn-revision-number-plugin</artifactId>
  419. <version>1.6</version>
  420. <executions>
  421. <execution>
  422. <goals>
  423. <goal>revision</goal>
  424. </goals>
  425. </execution>
  426. </executions>
  427. <configuration>
  428. <entries>
  429. <entry>
  430. <prefix>activityinfo</prefix>
  431. </entry>
  432. </entries>
  433. </configuration>
  434. </plugin>
  435. <plugin>
  436. <groupId>org.apache.maven.plugins</groupId>
  437. <artifactId>maven-resources-plugin</artifactId>
  438. <version>2.4</version>
  439. <!-- set encoding to something not platform dependent -->
  440. <configuration>
  441. <encoding>UTF-8</encoding>
  442. </configuration>
  443. </plugin>
  444. <!-- configure the GWT-Maven plugin -->
  445. <plugin>
  446. <groupId>org.codehaus.mojo</groupId>
  447. <artifactId>gwt-maven-plugin</artifactId>
  448. <version>${gwt.maven.plugin.version}</version>
  449. <configuration>
  450. <runTarget>/</runTarget>
  451. <logLevel>TRACE</logLevel>
  452. <inplace>true</inplace>
  453. <gwtVersion>${com.google.gwt.version}</gwtVersion>
  454. <port>9090</port>
  455. <module>org.sigmah.ActivityInfoProduction</module>
  456. <extraJvmArgs>-Xmx512M -Xss1M</extraJvmArgs>
  457. </configuration>
  458. <executions>
  459. <execution>
  460. <id>i18n</id>
  461. <phase>generate-sources</phase>
  462. <goals>
  463. <goal>i18n</goal>
  464. </goals>
  465. <configuration>
  466. <logLevel>ALL</logLevel>
  467. <generateDirectory>${basedir}/src/main/java</generateDirectory>
  468. <i18nConstantsBundle>org.sigmah.client.i18n.UIConstants</i18nConstantsBundle>
  469. <i18nMessagesBundle>org.sigmah.client.i18n.UIMessages</i18nMessagesBundle>
  470. </configuration>
  471. </execution>
  472. <execution>
  473. <id>sigmah-compile</id>
  474. <phase>prepare-package</phase>
  475. <goals>
  476. <goal>clean</goal>
  477. <goal>compile</goal>
  478. </goals>
  479. <configuration>
  480. <disableClassMetadata>true</disableClassMetadata>
  481. <extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs>
  482. <logLevel>INFO</logLevel>
  483. <!-- Takes WAY to long for all 12 permutations -->
  484. <!-- run with profile soyc enabled to generate maps for a single perm -->
  485. <soyc>false</soyc>
  486. <module>org.sigmah.Sigmah</module>
  487. </configuration>
  488. </execution>
  489. </executions>
  490. </plugin>
  491. <!-- TODO: clean plugin need to be removed.it's job can be done by gwt:clean-->
  492. <!-- Make sure we remove GWT-generated stuff in the war/ folder -->
  493. <!-- <plugin>
  494. <artifactId>maven-clean-plugin</artifactId>
  495. <version>2.2</version>
  496. <configuration>
  497. <filesets>
  498. <fileset>
  499. <directory>tomcat</directory>
  500. </fileset>
  501. </filesets>
  502. </configuration>
  503. </plugin> -->
  504. <!-- Exclude GWT integration tests from the test phase -->
  505. <!-- we want to run them during the integration-test phase with the gwt-maven
  506. plugin -->
  507. <plugin>
  508. <artifactId>maven-surefire-plugin</artifactId>
  509. <version>2.12</version>
  510. <configuration>
  511. <excludes>
  512. <exclude>**/*GwtTest.java</exclude>
  513. <exclude>**/report/*.java</exclude>
  514. </excludes>
  515. <failIfNoTests>false</failIfNoTests>
  516. <redirectTestOutputToFile>true</redirectTestOutputToFile>
  517. </configuration>
  518. </plugin>
  519. <plugin>
  520. <groupId>org.codehaus.mojo</groupId>
  521. <artifactId>hibernate3-maven-plugin</artifactId>
  522. <version>2.2</version>
  523. <configuration>
  524. <components>
  525. <component>
  526. <name>hbm2ddl</name>
  527. <implementation>jpaconfiguration</implementation>
  528. </component>
  529. </components>
  530. <componentProperties>
  531. <drop>false</drop>
  532. <create>true</create>
  533. <persistenceUnit>activityInfo</persistenceUnit>
  534. </componentProperties>
  535. </configuration>
  536. <dependencies>
  537. <dependency>
  538. <groupId>com.h2database</groupId>
  539. <artifactId>h2</artifactId>
  540. <version>1.2.126</version>
  541. </dependency>
  542. </dependencies>
  543. </plugin>
  544. <!-- TODO: Consider to upgrade to Jetty7 -->
  545. <!-- Embedded web server for testing -->
  546. <!-- You can start by invoking mvn jetty:run -->
  547. <!-- The server was also be started for the integration testing phase -->
  548. <plugin>
  549. <groupId>org.mortbay.jetty</groupId>
  550. <artifactId>maven-jetty-plugin</artifactId>
  551. <version>6.1.22</version>
  552. <configuration>
  553. <connectors>
  554. <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
  555. <port>9090</port>
  556. </connector>
  557. </connectors>
  558. <contextPath>/</contextPath>
  559. </configuration>
  560. </plugin>
  561. </plugins>
  562. <pluginManagement>
  563. <plugins>
  564. <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
  565. <plugin>
  566. <groupId>org.eclipse.m2e</groupId>
  567. <artifactId>lifecycle-mapping</artifactId>
  568. <version>1.0.0</version>
  569. <configuration>
  570. <lifecycleMappingMetadata>
  571. <pluginExecutions>
  572. <pluginExecution>
  573. <pluginExecutionFilter>
  574. <groupId>
  575. com.google.code.maven-svn-revision-number-plugin
  576. </groupId>
  577. <artifactId>
  578. maven-svn-revision-number-plugin
  579. </artifactId>
  580. <versionRange>
  581. [1.6,)
  582. </versionRange>
  583. <goals>
  584. <goal>revision</goal>
  585. </goals>
  586. </pluginExecutionFilter>
  587. <action>
  588. <ignore></ignore>
  589. </action>
  590. </pluginExecution>
  591. <pluginExecution>
  592. <pluginExecutionFilter>
  593. <groupId>
  594. org.codehaus.mojo
  595. </groupId>
  596. <artifactId>
  597. gwt-maven-plugin
  598. </artifactId>
  599. <versionRange>
  600. [2.4.0,)
  601. </versionRange>
  602. <goals>
  603. <goal>i18n</goal>
  604. </goals>
  605. </pluginExecutionFilter>
  606. <action>
  607. <ignore></ignore>
  608. </action>
  609. </pluginExecution>
  610. </pluginExecutions>
  611. </lifecycleMappingMetadata>
  612. </configuration>
  613. </plugin>
  614. </plugins>
  615. </pluginManagement>
  616. </build>
  617. <reporting>
  618. <plugins>
  619. <plugin>
  620. <artifactId>maven-javadoc-plugin</artifactId>
  621. </plugin>
  622. <plugin>
  623. <artifactId>maven-surefire-plugin</artifactId>
  624. </plugin>
  625. <plugin>
  626. <groupId>org.codehaus.mojo</groupId>
  627. <artifactId>emma-maven-plugin</artifactId>
  628. <configuration>
  629. <sort>+name</sort>
  630. </configuration>
  631. </plugin>
  632. <plugin>
  633. <groupId>org.codehaus.mojo</groupId>
  634. <artifactId>sonar-maven-plugin</artifactId>
  635. <version>1.0-beta-1</version>
  636. </plugin>
  637. </plugins>
  638. </reporting>
  639. <profiles>
  640. <!-- Build the Application Module with only permutations for FireFox and
  641. logging enabled for testing purposes -->
  642. <profile>
  643. <id>fftest</id>
  644. <properties>
  645. <maven.test.skip>true</maven.test.skip>
  646. </properties>
  647. <build>
  648. <plugins>
  649. <plugin>
  650. <groupId>org.codehaus.mojo</groupId>
  651. <artifactId>gwt-maven-plugin</artifactId>
  652. <version>${gwt.maven.plugin.version}</version>
  653. <configuration>
  654. <module>org.sigmah.ActivityInfoFFTest</module>
  655. <soyc>false</soyc>
  656. </configuration>
  657. <executions>
  658. <execution>
  659. <id>activityinfo-compile</id>
  660. <configuration>
  661. <draftCompile>true</draftCompile>
  662. <module>org.sigmah.ActivityInfoFFTest</module>
  663. </configuration>
  664. <goals>
  665. <goal>compile</goal>
  666. </goals>
  667. </execution>
  668. <execution>
  669. <id>sigmah-compile</id>
  670. <configuration>
  671. <skip>true</skip>
  672. </configuration>
  673. </execution>
  674. <execution>
  675. <id>login-compile</id>
  676. <configuration>
  677. <skip>true</skip>
  678. </configuration>
  679. </execution>
  680. </executions>
  681. </plugin>
  682. </plugins>
  683. </build>
  684. </profile>
  685. <!-- Build the Application Module with only permutations for IE6 and logging
  686. enabled for testing purposes -->
  687. <profile>
  688. <id>ie6test</id>
  689. <build>
  690. <plugins>
  691. <plugin>
  692. <groupId>org.codehaus.mojo</groupId>
  693. <artifactId>gwt-maven-plugin</artifactId>
  694. <version>${gwt.maven.plugin.version}</version>
  695. <configuration>
  696. <module>org.sigmah.ActivityInfoIE6Test</module>
  697. </configuration>
  698. <executions>
  699. <execution>
  700. <id>gwt-compile</id>
  701. <configuration>
  702. <draftCompile>true</draftCompile>
  703. <module>org.sigmah.ActivityInfoIE6Test</module>
  704. </configuration>
  705. <goals>
  706. <goal>compile</goal>
  707. </goals>
  708. </execution>
  709. </executions>
  710. </plugin>
  711. </plugins>
  712. </build>
  713. </profile>
  714. <!-- Build the Application Module with only permutations for Safari and
  715. logging enabled for testing purposes -->
  716. <profile>
  717. <id>safari</id>
  718. <build>
  719. <plugins>
  720. <plugin>
  721. <groupId>org.codehaus.mojo</groupId>
  722. <artifactId>gwt-maven-plugin</artifactId>
  723. <version>${gwt.maven.plugin.version}</version>
  724. <configuration>
  725. <module>org.sigmah.ActivityInfoSafariTest</module>
  726. </configuration>
  727. <executions>
  728. <execution>
  729. <id>gwt-compile</id>
  730. <configuration>
  731. <draftCompile>true</draftCompile>
  732. <module>org.sigmah.ActivityInfoSafariTest</module>
  733. </configuration>
  734. <goals>
  735. <goal>compile</goal>
  736. </goals>
  737. </execution>
  738. </executions>
  739. </plugin>
  740. </plugins>
  741. </build>
  742. </profile>
  743. <!-- Run tests against local MS SQL instance -->
  744. <profile>
  745. <id>mssql-test</id>
  746. <build>
  747. <plugins>
  748. <plugin>
  749. <groupId>org.apache.maven.plugins</groupId>
  750. <artifactId>maven-surefire-plugin</artifactId>
  751. <version>2.5</version>
  752. <configuration>
  753. <systemProperties>
  754. <property>
  755. <name>activityinfo.pu</name>
  756. <value>mssql-test</value>
  757. </property>
  758. </systemProperties>
  759. </configuration>
  760. </plugin>
  761. </plugins>
  762. </build>
  763. </profile>
  764. <profile>
  765. <id>login</id>
  766. <build>
  767. <plugins>
  768. <plugin>
  769. <groupId>org.codehaus.mojo</groupId>
  770. <artifactId>gwt-maven-plugin</artifactId>
  771. <version>${gwt.maven.plugin.version}</version>
  772. <configuration>
  773. <draftCompile>true</draftCompile>
  774. <module>org.sigmah.login.Login</module>
  775. <runTarget>login.html</runTarget>
  776. </configuration>
  777. </plugin>
  778. </plugins>
  779. </build>
  780. </profile>
  781. <!-- Build the Application Module with a single permutation but with soyc
  782. enabled -->
  783. <profile>
  784. <id>ai-soyc</id>
  785. <build>
  786. <plugins>
  787. <plugin>
  788. <groupId>org.codehaus.mojo</groupId>
  789. <artifactId>gwt-maven-plugin</artifactId>
  790. <configuration>
  791. <module>org.sigmah.ActivityInfoSoyc</module>
  792. <soyc>true</soyc>
  793. <force>true</force>
  794. <logLevel>INFO</logLevel>
  795. </configuration>
  796. </plugin>
  797. </plugins>
  798. </build>
  799. </profile>
  800. <profile>
  801. <id>sigmah-soyc</id>
  802. <build>
  803. <plugins>
  804. <plugin>
  805. <groupId>org.codehaus.mojo</groupId>
  806. <artifactId>gwt-maven-plugin</artifactId>
  807. <version>${gwt.maven.plugin.version}</version>
  808. <configuration>
  809. <module>org.sigmah.SigmahSoyc</module>
  810. <soyc>true</soyc>
  811. <force>true</force>
  812. <logLevel>INFO</logLevel>
  813. </configuration>
  814. </plugin>
  815. </plugins>
  816. </build>
  817. </profile>
  818. <profile>
  819. <id>sigmah</id>
  820. <build>
  821. <plugins>
  822. <plugin>
  823. <groupId>org.codehaus.mojo</groupId>
  824. <artifactId>gwt-maven-plugin</artifactId>
  825. <version>${gwt.maven.plugin.version}</version>
  826. <configuration>
  827. <inplace>true</inplace>
  828. <module>org.sigmah.Sigmah</module>
  829. <logLevel>INFO</logLevel>
  830. <runTarget>Sigmah</runTarget>
  831. <buildOutputDirectory>${basedir}/src/main/webapp/WEB-INF/classes</buildOutputDirectory>
  832. <hostedWebapp>${basedir}/src/main/webapp</hostedWebapp>
  833. </configuration>
  834. </plugin>
  835. <plugin>
  836. <groupId>org.apache.maven.plugins</groupId>
  837. <artifactId>maven-surefire-plugin</artifactId>
  838. <configuration>
  839. <skipTests>true</skipTests>
  840. </configuration>
  841. </plugin>
  842. </plugins>
  843. </build>
  844. </profile>
  845. <profile>
  846. <id>sigmah-production</id>
  847. <build>
  848. <plugins>
  849. <plugin>
  850. <groupId>org.codehaus.mojo</groupId>
  851. <artifactId>gwt-maven-plugin</artifactId>
  852. <version>${gwt.maven.plugin.version}</version>
  853. <configuration>
  854. <module>org.sigmah.SigmahProduction</module>
  855. <logLevel>INFO</logLevel>
  856. <runTarget>Sigmah</runTarget>
  857. </configuration>
  858. <executions>
  859. <execution>
  860. <id>gwt-compile</id>
  861. <configuration>
  862. <module>org.sigmah.SigmahProduction</module>
  863. <soyc>false</soyc>
  864. </configuration>
  865. <goals>
  866. <goal>compile</goal>
  867. </goals>
  868. </execution>
  869. </executions>
  870. </plugin>
  871. </plugins>
  872. </build>
  873. </profile>
  874. <profile>
  875. <id>schemagen</id>
  876. <build>
  877. <plugins>
  878. <plugin>
  879. <groupId>com.sun.tools.jxc.maven2</groupId>
  880. <artifactId>maven-jaxb-schemagen-plugin</artifactId>
  881. <version>1.3-SNAPSHOT</version>
  882. <configuration>
  883. <project>
  884. ${project}
  885. </project>
  886. <destdir>${project.build.directory}/schemas</destdir>
  887. <srcdir>${project.build.sourceDirectory}/org/sigmah/shared/report/model</srcdir>
  888. <verbose>true</verbose>
  889. </configuration>
  890. </plugin>
  891. </plugins>
  892. </build>
  893. </profile>
  894. </profiles>
  895. </project>