Skip to content

Instantly share code, notes, and snippets.

@r351574nc3
Created February 27, 2012 19:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r351574nc3/1926373 to your computer and use it in GitHub Desktop.
Save r351574nc3/1926373 to your computer and use it in GitHub Desktop.
rSmart Overlay POM File
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<!--
The default build of this project targets a servlet 2.4 web container. Profiles are provided for
targeting different environments.
-->
<modelVersion>4.0.0</modelVersion>
<groupId>com.rsmart.kuali</groupId>
<artifactId>kfs</artifactId>
<packaging>war</packaging>
<name>kfs</name>
<version>4.0M2</version>
<description>Kuali Financial System With Embedded TEM</description>
<url>http://kuali.org/kfs</url>
<organization>
<name>The Kuali Foundation</name>
<url>http://kuali.org</url>
</organization>
<licenses>
<license>
<name>The Kuali Foundation Educational Community License 2.0</name>
<url>http://www.opensource.org/licenses/ecl2.txt</url>
<distribution>manual</distribution>
</license>
</licenses>
<build>
<finalName>${project.artifactId}-${build.environment}</finalName>
<resources>
<resource>
<filtering>true</filtering>
<directory>src/main/resources</directory>
<includes>
<include>META-INF/kfs-config-build.xml</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<excludes>
<exclude>help.zip</exclude>
<exclude>web.xml</exclude>
</excludes>
</resource>
</resources>
<testResources>
<testResource>
<filtering>true</filtering>
<directory>src/test/resources</directory>
<includes>
<include>META-INF/kfs-test-config.xml</include>
</includes>
</testResource>
<testResource>
<directory>src/test/resources</directory>
</testResource>
<testResource>
<directory>src/main/resources</directory>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.0-alpha-2</version>
<configuration>
<files>
<file>src/main/config/properties/logging.properties</file>
<file>src/main/config/properties/batch.properties</file>
<file>src/main/config/properties/email.properties</file>
<file>src/main/config/properties/url.properties</file>
<file>src/main/config/properties/cas.properties</file>
<file>src/main/config/properties/rice.properties</file>
<file>src/main/config/properties/spring.properties</file>
<file>src/main/config/properties/web.properties</file>
<file>src/main/config/properties/b2b.properties</file>
<file>src/main/config/properties/database.properties</file>
<file>src/main/config/properties/directory.properties</file>
<file>src/main/config/properties/build.properties</file>
<file>${basedir}/${environment}-build.properties</file>
<file>${user.home}/kfs-build.properties</file>
</files>
</configuration>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>read-project-properties</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.rsmart.kuali.tools</groupId>
<artifactId>lb-maven-plugin</artifactId>
<version>0.0.1</version>
<configuration>
<changeLogTagUrl>https://svn.rsmart.com/svn/kuali/contribution/community/travel_module/tags/</changeLogTagUrl>
</configuration>
<executions>
<execution>
<id>test-liquibase-changelogs</id>
<phase>none</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>com.rsmart.kuali.tools.liquibase</groupId>
<artifactId>rsmart-lb-extensions</artifactId>
<version>1.0.0</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc14</artifactId>
<version>${oracle.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>selenium-maven-plugin</artifactId>
<version>2.0</version>
<executions>
<execution>
<phase>pre-integration-test</phase>
<goals>
<goal>start-server</goal>
</goals>
<configuration>
<background>true</background>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire.plugin.version}</version>
<configuration>
<useFile>${surefire.useFile}</useFile>
<testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
<!-- hopefully only temporary until all our tests are fixed :-) -->
<test>${surefire.test}</test>
<forkMode>${surefire.forkMode}</forkMode>
<reportFormat>${surefire.reportFormat}</reportFormat>
<argLine>${surefire.argLine}</argLine>
<aggregate>${surefire.aggregate}</aggregate>
<includes>
<include>**/module/tem/**/*Test.java</include>
</includes>
</configuration>
<executions>
<execution>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<skip>false</skip>
<includes>
<include>**/integration/*</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>unpack-help</id>
<phase>generate-resources</phase>
<configuration>
<target>
<unzip src="src/main/resources/help.zip"
dest="src/main/webapp/static/help/"
overwrite="false" />
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<id>load-properties</id>
<phase>generate-resources</phase>
<configuration>
<target>
<tstamp><format property="build.version" pattern="MM/dd/yyyy hh:mm aa" /></tstamp>
<tstamp><format property="current.year" pattern="yyyy" locale="en,US" /></tstamp>
<condition property="context.docbase" value=' docBase="${basedir}/target/${project.build.finalName}"'><isset property="is.local.build" /></condition>
<property name="context.docbase" value="" />
<condition property="datasource.url" value="${mysql.datasource.url}"><equals arg1="${datasource.ojb.platform}" arg2="${mysql.ojb.platform}" /></condition>
<property name="datasource.url" value="${oracle.datasource.url}" />
<condition property="use.p6spy.local">
<and>
<isset property="is.local.build" />
<equals arg1="${use.p6spy}" arg2="true" />
</and>
</condition>
<condition property="rice.standalone.flag">
<equals arg1="${rice.standalone}" arg2="true" />
</condition>
<condition property="datasource.driver.class" value="${p6spy.driver.class}"><equals arg1="${use.p6spy.local}" arg2="true"/></condition>
<condition property="datasource.driver.class" value="${mysql.driver.class}"><equals arg1="${datasource.ojb.platform}" arg2="${mysql.ojb.platform}" /></condition>
<property name="datasource.driver.class" value="${oracle.driver.class}" />
<condition property="p6spy.real.driver.class" value="${mysql.driver.class}"><equals arg1="${datasource.ojb.platform}" arg2="${mysql.ojb.platform}" /></condition>
<property name="p6spy.real.driver.class" value="${oracle.driver.class}" />
<condition property="datasource.ojb.sequence.manager" value="${mysql.ojb.sequence.manager}"><equals arg1="${datasource.ojb.platform}" arg2="${mysql.ojb.platform}" /></condition>
<property name="datasource.ojb.sequence.manager" value="${oracle.ojb.sequence.manager}" />
<condition property="use.quartz.jdbc.jobstore" value="false"><isset property="is.local.build" /></condition>
<property name="use.quartz.jdbc.jobstore" value="true" />
<condition property="b2b.environment" value="${b2b.production.environment}">
<equals arg1="${build.environment}" arg2="${production.environment.code}" />
</condition>
<property name="b2b.environment" value="${b2b.test.environment}" />
<condition property="b2b.purchase.order.password" value="${b2b.production.purchase.order.password}">
<equals arg1="${build.environment}" arg2="${production.environment.code}" />
</condition>
<property name="b2b.purchase.order.password" value="${b2b.test.purchase.order.password}" />
<condition property="b2b.shopping.password" value="${b2b.production.shopping.password}">
<equals arg1="${build.environment}" arg2="${production.environment.code}" />
</condition>
<property name="b2b.shopping.password" value="${b2b.test.shopping.password}" />
<condition property="b2b.purchase.order.url" value="${b2b.production.purchase.order.url}">
<equals arg1="${build.environment}" arg2="${production.environment.code}" />
</condition>
<property name="b2b.purchase.order.url" value="${b2b.test.purchase.order.url}" />
<condition property="b2b.punch.back.url" value="${b2b.production.punch.back.url}">
<equals arg1="${build.environment}" arg2="${production.environment.code}" />
</condition>
<property name="b2b.punch.back.url" value="${b2b.test.punch.back.url}" />
<condition property="b2b.punch.out.url" value="${b2b.production.punch.out.url}">
<equals arg1="${build.environment}" arg2="${production.environment.code}" />
</condition>
<property name="b2b.punch.out.url" value="${b2b.test.punch.out.url}" />
<condition property="real.notifications.enabled" value="true" else="false" >
<equals arg1="${build.environment}" arg2="${production.environment.code}" />
</condition>
<property name="rice.server.datasource.driver.class" value="${datasource.driver.class}" />
<property name="rice.server.datasource.url" value="${datasource.url}" />
<condition property="rice.server.datasource.platform" value="${mysql.server.datasource.platform}"><equals arg1="${datasource.ojb.platform}" arg2="${mysql.ojb.platform}" /></condition>
<property name="rice.server.datasource.platform" value="${oracle.server.datasource.platform}" />
<condition property="rice.dev.mode" value="false"><equals arg1="${rice.standalone}" arg2="true" /></condition>
<condition property="rice.dev.mode" value="true"><isset property="is.local.build" /></condition>
<property name="rice.dev.mode" value="false" />
<!-- <rice module>.mode...
# local - used in development - embedding everything, including web content
# embedded - using standalone rice server but running KEW / KIM services locally
# remote - accessing KIM core services over the KSB - not currently supported by KFS for KEW - KSB is always local -->
<condition property="kim.mode" value="embedded" else="local"><equals arg1="${rice.standalone}" arg2="true" /></condition>
<condition property="kew.mode" value="embedded" else="local"><equals arg1="${rice.standalone}" arg2="true" /></condition>
<condition property="rice.url" value="${appserver.url}/${rice.application}-${build.environment}">
<equals arg1="${rice.standalone}" arg2="true" />
</condition>
<property name="rice.url" value="${application.url}"/>
<property name="rice.kr.url" value="${rice.url}/${rice.application}"/>
<property name="rice.kim.url" value="${rice.url}/${kim.application}"/>
<property name="rice.kew.url" value="${rice.url}/${kew.application}"/>
<property name="rice.externalizable.images.url" value="${application.url}/kr/static/images/"/>
<condition property="rice.ksb.message.persistence" value="false"><isset property="is.local.build" /></condition>
<property name="rice.ksb.message.persistence" value="true" />
<condition property="rice.ksb.use.quartz.database" value="true">
<and>
<equals arg1="${use.quartz.scheduling}" arg2="true" />
<equals arg1="${use.quartz.jdbc.jobstore}" arg2="true" />
</and>
</condition>
<property name="rice.ksb.use.quartz.database" value="false" />
<condition property="rice.kew.exception.routing.immediate" value="true"><equals arg1="${use.quartz.scheduling}" arg2="false" /></condition>
<property name="rice.kew.exception.routing.immediate" value="false" />
<!-- check if the various optional modules are being included -->
<condition property="internal.contracts.and.grants.spring.files" value="${contracts.and.grants.spring.files}" else="">
<istrue value="${module.contracts.and.grants.enabled}"/>
</condition>
<condition property="internal.kuali.coeus.spring.files" value="${kuali.coeus.spring.files}" else="">
<istrue value="${module.external.kuali.coeus.enabled}"/>
</condition>
<condition property="internal.accounts.receivable.spring.files" value="${accounts.receivable.spring.files}" else="">
<istrue value="${module.accounts.receivable.enabled}"/>
</condition>
<condition property="internal.purchasing.spring.files" value="${purchasing.spring.files}" else="">
<istrue value="${module.purchasing.enabled}"/>
</condition>
<condition property="internal.capital.asset.spring.files" value="${capital.asset.spring.files}" else="">
<istrue value="${module.capital.asset.enabled}"/>
</condition>
<condition property="internal.labor.distribution.spring.files" value="${labor.distribution.spring.files}" else="">
<istrue value="${module.labor.distribution.enabled}"/>
</condition>
<condition property="internal.endowment.spring.files" value="${endowment.spring.files}" else="">
<istrue value="${module.endowment.enabled}"/>
</condition>
<!-- Do the same for the test configurations for the optional modules -->
<condition property="internal.contracts.and.grants.spring.test.files" value="${contracts.and.grants.spring.test.files}" else="">
<istrue value="${module.contracts.and.grants.enabled}"/>
</condition>
<condition property="internal.accounts.receivable.spring.test.files" value="${accounts.receivable.spring.test.files}" else="">
<istrue value="${module.accounts.receivable.enabled}"/>
</condition>
<condition property="internal.purchasing.spring.test.files" value="${purchasing.spring.test.files}" else="">
<istrue value="${module.purchasing.enabled}"/>
</condition>
<condition property="internal.capital.asset.spring.test.files" value="${capital.asset.spring.test.files}" else="">
<istrue value="${module.capital.asset.enabled}"/>
</condition>
<condition property="internal.labor.distribution.spring.test.files" value="${labor.distribution.spring.test.files}" else="">
<istrue value="${module.labor.distribution.enabled}"/>
</condition>
<condition property="internal.endowment.spring.test.files" value="${endowment.spring.test.files}" else="">
<istrue value="${module.endowment.enabled}"/>
</condition>
<!-- Access security files - these are split into three files, since pieces
affect the KFS Code, the LD optional module, and Rice -->
<condition property="internal.access.security.core.spring.files" value="${access.security.core.spring.files}" else="">
<istrue value="${module.access.security.enabled}"/>
</condition>
<condition property="internal.access.security.ld.spring.files" value="${access.security.ld.spring.files}" else="">
<and>
<istrue value="${module.access.security.enabled}"/>
<istrue value="${module.labor.distribution.enabled}"/>
</and>
</condition>
<condition property="internal.access.security.purap.spring.files" value="${access.security.purap.spring.files}" else="">
<and>
<istrue value="${module.access.security.enabled}"/>
<istrue value="${module.purchasing.enabled}"/>
</and>
</condition>
<condition property="internal.access.security.rice.spring.files" value="${access.security.rice.spring.files}" else="">
<istrue value="${module.access.security.enabled}"/>
</condition>
<property name="batch.spring.files" value ="" />
<!-- see if we need to include the additional batch server configuration -->
<condition property="internal.batch.spring.files" value="${batch.spring.files}" else="">
<istrue value="${use.quartz.scheduling}" />
</condition>
<!-- build the optional module spring files lists, but defer to ones set by the institution -->
<property name="optional.module.spring.source.files" value="${internal.contracts.and.grants.spring.files}${internal.kuali.coeus.spring.files}${internal.accounts.receivable.spring.files}${internal.purchasing.spring.files}${internal.access.security.purap.spring.files}${internal.capital.asset.spring.files}${internal.labor.distribution.spring.files}${internal.access.security.ld.spring.files}${internal.endowment.spring.files}" />
<property name="optional.module.spring.test.files" value="${internal.contracts.and.grants.spring.test.files}${internal.accounts.receivable.spring.test.files}${internal.purchasing.spring.test.files}${internal.capital.asset.spring.test.files}${internal.labor.distribution.spring.test.files}${internal.endowment.spring.test.files}" />
<property name="spring.source.files"
value="${core.spring.source.files}${internal.access.security.core.spring.files}${integration.spring.files}${optional.module.spring.source.files}${institution.spring.source.files}" />
<property name="spring.test.files"
value="${core.spring.test.files}${optional.module.spring.test.files}${institution.spring.test.files}" />
<property name="kfs.rice.override.spring.files"
value="${base.kfs.rice.override.spring.files}${internal.access.security.rice.spring.files}${internal.batch.spring.files}" />
<property name="cas.datasource.url" value="${datasource.url}" />
<property name="cas.datasource.driver.class" value="${datasource.driver.class}" />
<loadfile property="configuration" srcfile="${build.project.directory}/${configuration.file}"><filterchain><expandproperties/></filterchain></loadfile>
<!-- tokenize and write out the files to the file system -->
<loadfile property="p6spy" srcfile="${build.project.directory}/${p6spy.file}"><filterchain><expandproperties/></filterchain></loadfile>
<loadfile property="web" srcfile="${build.project.directory}/${web.file}"><filterchain><expandproperties/></filterchain></loadfile>
<loadfile property="ojb-prop" srcfile="${build.project.directory}/${ojb.properties.file}"><filterchain><expandproperties/></filterchain></loadfile>
<loadfile property="ojb-logging" srcfile="${build.project.directory}/${ojb.logging.file}"><filterchain><expandproperties/></filterchain></loadfile>
<loadfile property="ojb-repo" srcfile="${build.project.directory}/${ojb.repository.file}"><filterchain><expandproperties/></filterchain></loadfile>
<loadfile property="log4j" srcfile="${user.home}/${log4j.file}" failonerror="false"><filterchain><expandproperties/></filterchain></loadfile>
<loadfile property="log4j" srcfile="${build.external.directory}/${log4j.file}"><filterchain><expandproperties/></filterchain></loadfile>
<loadfile property="security" srcfile="${build.external.directory}/${security.file}"><filterchain><expandproperties/></filterchain></loadfile>
<loadfile property="cas.context" srcfile="${build.appserver.directory}/${cas.context.file}"><filterchain><expandproperties/></filterchain></loadfile>
<loadfile property="rice.config" srcfile="${build.appserver.directory}/standalone-rice-config.xml"><filterchain><expandproperties/></filterchain></loadfile>
<echo file="src/main/resources/${configuration.file}" message="${configuration}" />
<echo file="src/main/resources/${ojb.properties.file}" message="${ojb-prop}" />
<echo file="src/main/resources/${ojb.logging.file}" message="${ojb-logging}" />
<echo file="src/main/resources/${ojb.repository.file}" message="${ojb-repo}" />
<echo file="src/main/resources/${p6spy.file}" message="${p6spy}" />
<echo file="src/main/webapp/WEB-INF/${web.file}" message="${web}" />
<mkdir dir="${settings.directory}" />
<echo file="${log4j.settings.file}" message="${log4j}" />
<mkdir dir="${security.directory}" />
<echo file="${security.property.file}" message="${security}" />
<copy file="${build.external.directory}/${keystore.filename}" tofile="${keystore.file}"/>
<copy todir="${external.work.directory}">
<fileset dir="${build.work.directory}" />
<filterset>
<filter token="externalizable.static.content.url" value="${externalizable.static.content.url}" />
</filterset>
</copy>
<mkdir dir="${logs.directory}" />
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<id>filter-project</id>
<phase>compile</phase>
<configuration>
<target>
<property file="${user.home}/kfs-build.properties" />
<property file="${properties.directory}/build.properties" />
<property file="${properties.directory}/directory.properties" />
<property file="${properties.directory}/rice.properties" />
<property file="src/main/resources/configuration.properties" />
<condition property="rebuild.dd.schema" value='false'><not><isset property="rebuild.dd.schema"/></not></condition>
<java classname="org.kuali.kfs.sys.context.SchemaBuilder" fork="true">
<arg value="${build.project.directory}"/>
<arg value="${static.directory}"/>
<arg value="${use.dd.schema.validation}"/>
<arg value="${externalizable.static.content.url}"/>
<arg value="${rebuild.dd.schema}"/>
<jvmarg value="-Xmx${run.tests.max.memory}" />
<jvmarg value="-XX:MaxPermSize=${run.tests.max.permsize}" />
<classpath refid="maven.compile.classpath" />
</java>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<verbose>true</verbose>
<compilerVersion>1.6</compilerVersion>
<meminitial>${compile.min.memory}</meminitial>
<maxmem>${compile.max.memory}</maxmem>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.2</version>
<executions>
<execution>
<id>unpack-data-dictionary</id>
<phase>process-test-resources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.kuali.kfs</groupId>
<artifactId>kfs</artifactId>
<version>4.0M2</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>target/test-classes</outputDirectory>
</artifactItem>
</artifactItems>
<includes>org/**/*.xml</includes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<executions>
<execution>
<id>copy-test-changelogs</id>
<!-- here the phase you need -->
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/changelogs/update</outputDirectory>
<resources>
<resource>
<directory>src/main/changelogs/update</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version>
<configuration>
<overlays>
<overlay>
<groupId>org.kuali.kfs</groupId>
<artifactId>kfs</artifactId>
<excludes>
<exclude>WEB-INF/classes/ApplicationResources.properties</exclude>
<exclude>WEB-INF/classes/configuration.properties</exclude>
<exclude>WEB-INF/tags/portal/</exclude>
</excludes>
</overlay>
</overlays>
</configuration>
</plugin>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>${jetty.version}</version>
<configuration>
<webAppConfig>
<contextPath>${default.context.path}</contextPath>
</webAppConfig>
</configuration>
<dependencies>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc14</artifactId>
<version>${oracle.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<!-- tomcat 6.0.26 -->
<version>1.1</version>
<configuration>
<mode>war</mode>
<path>${default.context.path}</path>
<useSeparateTomcatClassLoader>true</useSeparateTomcatClassLoader>
<classesDir>${basedir}/target/classes</classesDir>
<warFile>${project.build.directory}/${project.build.finalName}.war</warFile>
<username>${tomcat.deploy.username}</username>
<password>${tomcat.deploy.password}</password>
<url>${tomcat.deploy.url}</url>
<update>true</update>
</configuration>
<dependencies>
<!--
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jsp-api</artifactId>
<version>${jsp.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>${servlet.version}</version>
<scope>runtime</scope>
</dependency>
-->
</dependencies>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<scope>system</scope>
<systemPath>${toolsjar}</systemPath>
<version>${jdk.version}</version>
</dependency>
<dependency>
<groupId>org.kuali.kfs</groupId>
<artifactId>kfs</artifactId>
<type>jar</type>
<version>4.0M2</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
</exclusion>
<exclusion>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
</exclusion>
<exclusion>
<groupId>javax.servlet</groupId>
<artifactId>jsp-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.5</version>
</dependency>
<dependency>
<groupId>com.lowagie</groupId>
<artifactId>itext</artifactId>
<version>1.4.8</version>
<exclusions>
<exclusion>
<artifactId>bcprov-jdk14</artifactId>
<groupId>bouncycastle</groupId>
</exclusion>
<exclusion>
<artifactId>bcmail-jdk14</artifactId>
<groupId>bouncycastle</groupId>
</exclusion>
<exclusion>
<artifactId>bcprov-jdk14</artifactId>
<groupId>org.bouncycastle</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>jasperreports</groupId>
<artifactId>jasperreports</artifactId>
<version>3.5.3</version>
</dependency>
<dependency>
<groupId>org.kuali.kfs</groupId>
<artifactId>kfs</artifactId>
<type>war</type>
<version>4.0M2</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
</exclusion>
<exclusion>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
</exclusion>
<exclusion>
<groupId>javax.servlet</groupId>
<artifactId>jsp-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.16</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>${servlet.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>${jstl.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>taglibs</groupId>
<artifactId>standard</artifactId>
<version>1.1.2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jsp-api</artifactId>
<version>${jsp.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-deploy</artifactId>
<version>${jetty.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-jsp-2.1</artifactId>
<version>${jetty.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<version>${jetty.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-webapp</artifactId>
<version>${jetty.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<!--
cannot update to 1.2 b/c api is not compatible with junit 4.8.x
http://github.com/KentBeck/junit/issues#issue/36
-->
<version>1.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>${springframework.version}</version>
<exclusions>
<exclusion>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${springframework.version}</version>
<exclusions>
<exclusion>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>${springframework.version}</version>
<exclusions>
<exclusion>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${springframework.version}</version>
<exclusions>
<exclusion>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${springframework.version}</version>
<exclusions>
<exclusion>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>${springframework.version}</version>
<exclusions>
<exclusion>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springmodules</groupId>
<artifactId>spring-modules-ojb</artifactId>
<version>0.8a</version>
<exclusions>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
</exclusion>
<exclusion>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
</exclusion>
<exclusion>
<groupId>ojb</groupId>
<artifactId>db-ojb</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<profiles>
<profile>
<id>windows_profile</id>
<activation>
<os>
<family>Windows</family>
</os>
</activation>
<properties>
<toolsjar>${java.home}/../lib/tools.jar</toolsjar>
</properties>
</profile>
<profile>
<id>unix_profile</id>
<activation>
<os>
<family>unix</family>
</os>
</activation>
<properties>
<toolsjar>${java.home}/../lib/tools.jar</toolsjar>
</properties>
</profile>
<profile>
<id>osx_profile</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<properties>
<toolsjar>${java.home}/../Classes/classes.jar</toolsjar>
</properties>
</profile>
<!--
This profile handles unpacking and cleaning of the rice web content and is on by default but can be
turned off by toggling the activeByDefault flag. This is useful to test changes to rice files locally.
-->
<profile>
<id>rice-web</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<!--
Using dependency unpack as opposed to war overlay for a number of reasons
1) overlay requires the packaging phase - tomcat plugin run goal does not work with overlays (used by launch files).
2) we could force our launch files to use run-exploded or run-war but that is too slow.
3) overlayed resources are not placed in a directory (like generated code) making
it difficult for developers to look at the overlayed resources
4) our unit test's jetty lifecycle assume all web content resides in src/main/webapp (see point 3)
-->
<!--
Having unpacked resources placed in src/main/webapp as opposed to target directory for the following reasons
1) we could configure additional web resource directories for war packaging (via the war plugin)
(ex: target/generated/rice-web but this does not work with either the tomcat or jetty plugins' run goals.
2) we could force our launch files to use run-exploded or run-war but that is too slow.
3) our unit test's jetty lifecycle assume all web content resides in src/main/webapp
This seems like the way to go (placing unpacked content in target like other generated code) if we could find a
solution for the tomcat/jetty plugins used by our launch files. This rice-web content could be cleaned and unpacked again
similar to other generated code. If we did this we would not have to maintain a separate clean step to delete the
unpacked rice web content. It would also be nicer in that all unpacked generated code would be place in a single
directory rather than merged into our source tree. This has the added benefit that the rice content would
automatically be excluded from svn. Currently, we have to use svn:ignore on individual rice folders & files.
Update: for jetty support with multiple web resource directories see:
http://docs.codehaus.org/display/JETTY/Multiple+WebApp+Source+Directory
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.2</version>
<executions>
<execution>
<id>unpack-rice-web</id>
<phase>generate-sources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.kuali.rice</groupId>
<artifactId>rice-web</artifactId>
<version>${rice.snapshot.web.version}</version>
<type>war</type>
<overWrite>true</overWrite>
<outputDirectory>src/main/webapp</outputDirectory>
</artifactItem>
</artifactItems>
<includes>*/**</includes>
<excludes>${rice.web.excludes}</excludes>
</configuration>
</execution>
</executions>
</plugin>
<!-- cleans out rice unpacked rice web content -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>2.4.1</version>
<executions>
<execution>
<id>delete-rice-web</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
<configuration>
<filesets>
<fileset>
<directory>src/main/webapp</directory>
<includes>
<include>index.jsp</include>
<include>portal.jsp</include>
<include>kcb/</include>
<include>ken/</include>
<include>kew/</include>
<include>kim/</include>
<include>kr/</include>
<include>ksb/</include>
<include>rice-portal</include>
<include>WEB-INF/jsp/dummy_login.jsp</include>
<include>WEB-INF/jsp/recurseCheckTabHighlight.jsp</include>
<include>WEB-INF/jsp/recurseRowDisplay.jsp</include>
<include>WEB-INF/tags/kew/</include>
<include>WEB-INF/tags/kim/</include>
<include>WEB-INF/tags/kr/</include>
<include>WEB-INF/tags/rice-portal/channel/administration/</include>
<include>WEB-INF/tags/rice-portal/channel/main/</include>
<include>WEB-INF/tags/rice-portal/channel/portalChannelBottom.tag</include>
<include>WEB-INF/tags/rice-portal/channel/portalChannelTop.tag</include>
<include>WEB-INF/tags/rice-portal/administrationTab.tag</include>
<include>WEB-INF/tags/rice-portal/iframePortletContainer.tag</include>
<include>WEB-INF/tags/rice-portal/immutableBar.tag</include>
<include>WEB-INF/tags/rice-portal/maintenanceTab.tag</include>
<include>WEB-INF/tags/rice-portal/portalBottom.tag</include>
<include>WEB-INF/tags/rice-portal/portalLink.tag</include>
<include>WEB-INF/tags/rice-portal/portalTop.tag</include>
</includes>
<excludes>
<exclude>**/.svn</exclude>
<exclude>**/.svn/**</exclude>
</excludes>
</fileset>
</filesets>
</configuration>
</execution>
<execution>
<id>delete-help</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
<configuration>
<filesets>
<fileset>
<directory>src/main/webapp/static</directory>
<includes>
<include>help/</include>
</includes>
<excludes>
<exclude>**/.svn</exclude>
<exclude>**/.svn/**</exclude>
</excludes>
</fileset>
</filesets>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!--
This profile defines the dependencies/plugins for targeting servlet 2.5 web containers like Tomcat 6+ & Jetty 6+
This config also defines plugins for running kc/rice in an embedded configuration.
-->
<profile>
<id>servlet-2.5-embedded</id>
<build>
<plugins>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>${jetty.version}</version>
<configuration>
<webAppConfig>
<contextPath>${default.context.path}</contextPath>
</webAppConfig>
<contextHandlers>
<contextHandler implementation="org.eclipse.jetty.webapp.WebAppContext">
<!-- this is kind of hacky not sure if there is a better way -->
<war>${settings.localRepository}/org/kuali/rice/rice-web/${rice.version}/rice-web-${rice.snapshot.web.version}.war</war>
<contextPath>/kr-dev</contextPath>
</contextHandler>
</contextHandlers>
</configuration>
<dependencies>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc14</artifactId>
<version>${oracle.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<properties>
<!-- overriding property to change versions of libraries-->
<jstl.version>1.2</jstl.version>
<servlet.version>2.5</servlet.version>
</properties>
</profile>
<!--
Maven 3 Migration: This profile should be removed when fully migrated to Maven 3.
The contents of this profile should be placed into the standard build configuration.
see https://cwiki.apache.org/MAVEN/maven-3x-and-site-plugin.html
-->
<profile>
<id>maven-3</id>
<activation>
<file>
<!-- This employs that the basedir expression is only recognized by Maven 3.x (see MNG-2363) -->
<exists>${basedir}</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.0-beta-2</version>
<configuration>
<reportPlugins>
<plugin>
<groupId>net.sourceforge.maven-taglib</groupId>
<artifactId>maven-taglib-plugin</artifactId>
<version>${taglib.plugin.version}</version>
</plugin>
<!--
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${checkstyle.plugin.version}</version>
<configuration>
-->
<!--
looks like there are some bugs related to the suppression file location - using a nonstandard property.
This must be also set by the eclipse pluigin.
-->
<!--
<propertyExpansion>cs.suppression.file=${basedir}/src/main/config/checkstyle_suppressions.xml</propertyExpansion>
</configuration>
</plugin>
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${javadoc.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>${project.info.reports.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>${cobertura.maven.plugin.version}</version>
</plugin>
</reportPlugins>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>distribute</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2.1</version>
<dependencies>
<dependency>
<groupId>com.rsmart.kuali</groupId>
<artifactId>kfs-assembly</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
<configuration>
<!-- This is where we use our shared assembly descriptor -->
<descriptorRefs>
<descriptorRef>external-config-assembly</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<properties>
<external.config.directory>${basedir}/temp/kuali/main/${build.environment}</external.config.directory>
<base.security.directory>${external.config.directory}/security</base.security.directory>
<base.settings.directory>${external.config.directory}/settings</base.settings.directory>
</properties>
</profile>
</profiles>
<repositories>
<repository>
<id>kuali.nexus</id>
<name>Nexus Repository Manager</name>
<url>http://nexus.kuali.org/content/groups/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>kuali</id>
<name>Kuali Repository</name>
<url>https://test.kuali.org/maven</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<!--
<repository>
<id>jboss</id>
<name>jboss</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
</repository>
-->
<repository>
<id>jboss</id>
<name>jboss</name>
<url>http://repository.jboss.org/</url>
</repository>
<repository>
<id>maven</id>
<name>maven</name>
<url>http://repo1.maven.org/maven2/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>kuali.nexus</id>
<name>Nexus Repository Manager</name>
<url>http://nexus.kuali.org/content/groups/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<!--
Maven 3 Migration: The reporting section should be removed when fully migrated to Maven 3
Currently, Maven 3 reporting is configured with a profile
see https://cwiki.apache.org/MAVEN/maven-3x-and-site-plugin.html
-->
<reporting>
<plugins>
<plugin>
<groupId>net.sourceforge.maven-taglib</groupId>
<artifactId>maven-taglib-plugin</artifactId>
<version>${taglib.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${checkstyle.plugin.version}</version>
<configuration>
<!--
looks like there are some bugs related to the suppression file location - using a nonstandard property.
This must be also set by the eclipse pluigin.
-->
<propertyExpansion>cs.suppression.file=${basedir}/src/main/config/checkstyle_suppressions.xml</propertyExpansion>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${javadoc.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>${project.info.reports.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire.plugin.version}</version>
<configuration>
<useFile>${surefire.useFile}</useFile>
<testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
<forkMode>${surefire.forkMode}</forkMode>
<argLine>${surefire.argLine}</argLine>
<reportFormat>${surefire.reportFormat}</reportFormat>
<aggregate>${surefire.aggregate}</aggregate>
<includes>
<include>**/module/tem/test/**/*Test.java</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>${cobertura.maven.plugin.version}</version>
</plugin>
</plugins>
</reporting>
<issueManagement>
<system>Jira</system>
<url>https://jira.rsmart.com</url>
</issueManagement>
<scm>
<connection>scm:svn:https://svn.rsmart.com/svn/kuali/contribution/community/travel_module/branches/release-4-0-overlay</connection>
<developerConnection>scm:svn:https://svn.rsmart.com/svn/kuali/contribution/community/travel_module/branches/release-4-0-overlay</developerConnection>
<url>https://svn.rsmart.com/svn/kuali/contribution/community/travel_module/branches/release-4-0-overlay/</url>
</scm>
<properties>
<cxf.version>2.2.9</cxf.version>
<drools.version>5.1.1</drools.version>
<jetty.version>7.2.0.v20101020</jetty.version>
<jmock.version>2.5.1</jmock.version>
<jstl.version>1.2</jstl.version>
<mysql.version>5.1.13</mysql.version>
<oracle.version>10.2.0.3.0</oracle.version>
<rice.version>1.0.3.1</rice.version>
<rice.snapshot.impl.version>1.0.3.1</rice.snapshot.impl.version>
<rice.snapshot.web.version>1.0.3.1</rice.snapshot.web.version>
<selenium.version>2.0b3</selenium.version>
<servlet.version>2.5</servlet.version>
<slf4j.version>1.6.1</slf4j.version>
<springframework.version>2.5.6</springframework.version>
<struts.version>1.2.9</struts.version>
<!-- Checkstyle config -->
<checkstyle.config.location>${basedir}/src/main/config/Checkstyle.xml</checkstyle.config.location>
<checkstyle.enable.rss>false</checkstyle.enable.rss>
<checkstyle.enable.rules.summary>false</checkstyle.enable.rules.summary>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- defaults to dev unless overriden -->
<build.environment>dev</build.environment>
<default.context.path>/${project.artifactId}-${build.environment}</default.context.path>
<rice.web.excludes>
META-INF/,
WEB-INF/classes/,
WEB-INF/lib/,
rice-portal/,
WEB-INF/jsp/travelDocument2.jsp,
WEB-INF/tags/rice-portal/
WEB-INF/struts-config.xml,
WEB-INF/validator-rules.xml,
WEB-INF/web.xml,
portal.jsp
acknowledgments.jsp,
WEB-INF/tags/rice-portal/portalBody.tag,
WEB-INF/tags/rice-portal/portalTabs.tag,
</rice.web.excludes>
<!--
Maven 3 Migration: This section is used to removed the duplicate
properties needed to support the different reporting style in Maven 3.
After migrating to Maven 3 this will not be required
see https://cwiki.apache.org/MAVEN/maven-3x-and-site-plugin.html
-->
<environment>dev</environment>
<jsp.version>2.0</jsp.version>
<jdk.version>1.6.0_18</jdk.version>
<taglib.plugin.version>2.4</taglib.plugin.version>
<checkstyle.plugin.version>2.6</checkstyle.plugin.version>
<javadoc.plugin.version>2.7</javadoc.plugin.version>
<project.info.reports.plugin.version>2.2</project.info.reports.plugin.version>
<surefire.plugin.version>2.8.1</surefire.plugin.version>
<surefire.usefile>false</surefire.usefile>
<surefire.testFailureIgnore>false</surefire.testFailureIgnore>
<surefire.forkMode>once</surefire.forkMode>
<surefire.reportFormat>plain</surefire.reportFormat>
<surefire.argLine>-Xmx1536m -Xms1024m -XX:MaxPermSize=512m</surefire.argLine>
<surefire.aggregate>true</surefire.aggregate>
<cobertura.maven.plugin.version>2.4</cobertura.maven.plugin.version>
<cobertura.maxmem>512M</cobertura.maxmem>
<properties.directory>src/main/config/properties</properties.directory>
<gg.wsdl.location>${basedir}/src/main/resources/wsdl</gg.wsdl.location>
<gg.schema.dir>${basedir}/src/main/resources/wsdl/schema</gg.schema.dir>
<account.wsdl.packaged.location>wsdl/AccountCreationService.wsdl</account.wsdl.packaged.location>
<tomcat.deploy.url>http://localhost:8080/manager</tomcat.deploy.url>
</properties>
</project>
<!-- Unpacks the datadictionary because KFS has trouble accessing the datadictionary from a jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency-plugin.version}</version>
<executions>
<execution>
<id>unpack-datadictionary</id>
<phase>generate-sources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>${project.groupId}</groupId>
<artifactId>kfs-core</artifactId>
<version>${project.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
<excludes>**/*.class</excludes>
</artifactItem>
<artifactItem>
<groupId>${project.groupId}</groupId>
<artifactId>kfs-module-endow</artifactId>
<version>${project.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
<excludes>**/*.class</excludes>
</artifactItem>
<artifactItem>
<groupId>${project.groupId}</groupId>
<artifactId>kfs-module-external</artifactId>
<version>${project.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
<excludes>**/*.class</excludes>
</artifactItem>
<artifactItem>
<groupId>${project.groupId}</groupId>
<artifactId>kfs-rice</artifactId>
<version>${project.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
<excludes>**/*.class</excludes>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment