PageRenderTime 20ms CodeModel.GetById 2ms app.highlight 12ms RepoModel.GetById 1ms app.codeStats 0ms

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