908 lines
30 KiB
XML
908 lines
30 KiB
XML
<?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">
|
|
|
|
<parent>
|
|
<groupId>org.sonatype.oss</groupId>
|
|
<artifactId>oss-parent</artifactId>
|
|
<version>9</version>
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
<artifactId>hapi-fhir</artifactId>
|
|
<packaging>pom</packaging>
|
|
<version>1.1-SNAPSHOT</version>
|
|
<name>HAPI-FHIR</name>
|
|
<url>http://jamesagnew.github.io/hapi-fhir/</url>
|
|
|
|
<organization>
|
|
<name>University Health Network</name>
|
|
<url>http://www.uhn.ca</url>
|
|
</organization>
|
|
|
|
<inceptionYear>2014</inceptionYear>
|
|
|
|
<issueManagement>
|
|
<system>GitHub</system>
|
|
<url>https://github.com/jamesagnew/hapi-fhir/issues/</url>
|
|
</issueManagement>
|
|
|
|
<distributionManagement>
|
|
<site>
|
|
<id>git.server</id>
|
|
<url>scm:git:git@github.com:jamesagnew/hapi-fhir.git</url>
|
|
</site>
|
|
</distributionManagement>
|
|
|
|
<scm>
|
|
<connection>scm:git:git@github.com:jamesagnew/hapi-fhir.git</connection>
|
|
<url>scm:git:git@github.com:jamesagnew/hapi-fhir.git</url>
|
|
<developerConnection>scm:git:git@github.com:jamesagnew/hapi-fhir.git</developerConnection>
|
|
</scm>
|
|
|
|
<description>
|
|
</description>
|
|
|
|
<dependencies>
|
|
</dependencies>
|
|
|
|
<prerequisites>
|
|
<!--
|
|
TODO: the version number here should probably be
|
|
either 3.2 or 3.3. Check and fix
|
|
-->
|
|
<maven>3.0.1</maven>
|
|
</prerequisites>
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>jamesagnew</id>
|
|
<name>James Agnew</name>
|
|
<organization>University Health Network</organization>
|
|
</developer>
|
|
<developer>
|
|
<name>Dmitri Sotnikov</name>
|
|
<organization>University Health Network</organization>
|
|
</developer>
|
|
<developer>
|
|
<name>Lisa Wong</name>
|
|
<organization>University Health Network</organization>
|
|
</developer>
|
|
<developer>
|
|
<name>Josh Mandel</name>
|
|
<organization>Boston Children's Hospital</organization>
|
|
</developer>
|
|
<developer>
|
|
<id>lmds</id>
|
|
<name>Laura MacDougall Sookraj</name>
|
|
<organization>University Health Network</organization>
|
|
</developer>
|
|
<developer>
|
|
<name>Neal Acharya</name>
|
|
<organization>University Health Network</organization>
|
|
</developer>
|
|
<developer>
|
|
<name>David Hay</name>
|
|
<organization>Orion Health</organization>
|
|
</developer>
|
|
<developer>
|
|
<id>sweetnavelorange</id>
|
|
<name>James Butler</name>
|
|
<organization>Orion Health</organization>
|
|
</developer>
|
|
<developer>
|
|
<id>suranga</id>
|
|
<name>Suranga Nath Kasthurirathne</name>
|
|
<organization>OpenMRS / Regenstrief Center for Biomedical Informatics</organization>
|
|
</developer>
|
|
<developer>
|
|
<id>dougmartin</id>
|
|
<name>Doug Martin</name>
|
|
<organization>Regenstrief Center for Biomedical Informatics</organization>
|
|
</developer>
|
|
<developer>
|
|
<id>akley</id>
|
|
<name>Alexander Kley</name>
|
|
</developer>
|
|
<developer>
|
|
<id>preston</id>
|
|
<name>Preston Lee</name>
|
|
<organization>Arizona State University</organization>
|
|
</developer>
|
|
<developer>
|
|
<id>jjathman</id>
|
|
<name>Joe Athman</name>
|
|
</developer>
|
|
<developer>
|
|
<id>petromykhailysyn</id>
|
|
<name>Petro Mykhailyshyn</name>
|
|
</developer>
|
|
<developer>
|
|
<id>tahurac</id>
|
|
<name>Tahura Chaudhry</name>
|
|
<organization>University Health Network</organization>
|
|
</developer>
|
|
<developer>
|
|
<id>b.debeaubien</id>
|
|
<name>Bill de Beaubien</name>
|
|
<organization>Systems Made Simple</organization>
|
|
</developer>
|
|
<developer>
|
|
<id>twilson650</id>
|
|
<name>Tom Wilson</name>
|
|
</developer>
|
|
<developer>
|
|
<id>esteban-aliverti</id>
|
|
<name>Esteban Aliverti</name>
|
|
</developer>
|
|
<developer>
|
|
<id>mochaholic</id>
|
|
<name>Mohammad Jafari</name>
|
|
<organization>Edmond Scientific Company</organization>
|
|
</developer>
|
|
<developer>
|
|
<id>joel-costigliola</id>
|
|
<name>Joel Costigliola</name>
|
|
<organization>JCOS-Technologies</organization>
|
|
</developer>
|
|
</developers>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>Apache Software License 2.0</name>
|
|
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
</license>
|
|
</licenses>
|
|
|
|
<properties>
|
|
<!--
|
|
This property is used in some of the site documentation where the version
|
|
is shown, so that we can deploy the site even if the project is on a
|
|
snapshot version.
|
|
-->
|
|
<hapi_stable_version>0.9</hapi_stable_version>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<!-- For site-deploy -->
|
|
<siteMainDirectory>${user.home}/sites/hapi-fhir</siteMainDirectory>
|
|
<scmPubCheckoutDirectory>${user.home}/sites/scm/hapi-fhir</scmPubCheckoutDirectory>
|
|
|
|
<!-- Plugin Versions -->
|
|
<apache_httpclient_version>4.4</apache_httpclient_version>
|
|
<apache_httpcore_version>4.4</apache_httpcore_version>
|
|
<commons_io_version>2.4</commons_io_version>
|
|
<commons_lang_version>3.3.2</commons_lang_version>
|
|
<commons_codec_version>1.10</commons_codec_version>
|
|
<derby_version>10.11.1.1</derby_version>
|
|
<guava_version>18.0</guava_version>
|
|
<hamcrest_version>2.0.0.0</hamcrest_version>
|
|
<!--
|
|
Note on Hibernate versions: Hibernate 4.3+ uses JPA 2.1, which is too new for
|
|
a number of platforms including JBoss EAP 6.x and Glassfish 3.0. Upgrade this
|
|
version with caution! Also note that if you change this, you may get a failure
|
|
in hibernate4-maven-plugin. See the note in hapi-fhir-jpaserver-base/pom.xml's
|
|
configuration for that plugin...
|
|
<hibernate_version>4.3.7.Final</hibernate_version>
|
|
-->
|
|
<hibernate_version>4.2.17.Final</hibernate_version>
|
|
<hibernate_validator_version>5.1.0.Final</hibernate_validator_version>
|
|
<jetty_version>9.2.6.v20141205</jetty_version>
|
|
<jscience_version>4.3.1</jscience_version>
|
|
<junit_version>4.12</junit_version>
|
|
<logback_version>1.1.2</logback_version>
|
|
<maven_antrun_plugin_version>1.8</maven_antrun_plugin_version>
|
|
<maven_build_helper_plugin_version>1.9.1</maven_build_helper_plugin_version>
|
|
<maven_assembly_plugin_version>2.5.3</maven_assembly_plugin_version>
|
|
<maven_failsafe_plugin_version>2.18.1</maven_failsafe_plugin_version>
|
|
<maven_gpg_plugin_version>1.6</maven_gpg_plugin_version>
|
|
<maven_javadoc_plugin_version>2.10.1</maven_javadoc_plugin_version>
|
|
<maven_jxr_plugin_version>2.5</maven_jxr_plugin_version>
|
|
<maven_license_plugin_version>1.8</maven_license_plugin_version>
|
|
<maven_project_info_plugin_version>2.8</maven_project_info_plugin_version>
|
|
<maven_surefire_plugin_version>2.18.1</maven_surefire_plugin_version>
|
|
<maven_site_plugin_version>3.4</maven_site_plugin_version>
|
|
<maven_source_plugin_version>2.4</maven_source_plugin_version>
|
|
<mitreid-connect-version>1.1.8</mitreid-connect-version>
|
|
<mockito_version>1.10.17</mockito_version>
|
|
<phloc_schematron_version>2.7.1</phloc_schematron_version>
|
|
<phloc_commons_version>4.3.6</phloc_commons_version>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<servlet_api_version>3.1.0</servlet_api_version>
|
|
<slf4j_version>1.7.10</slf4j_version>
|
|
<spring_version>4.1.5.RELEASE</spring_version>
|
|
<spring_security_version>3.2.4.RELEASE</spring_security_version>
|
|
<thymeleaf-version>2.1.4.RELEASE</thymeleaf-version>
|
|
<ebay_cors_filter_version>1.0.1</ebay_cors_filter_version>
|
|
<woodstox_version>4.4.1</woodstox_version>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
</properties>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.3</version>
|
|
<configuration>
|
|
<source>1.6</source>
|
|
<target>1.6</target>
|
|
<!-- <compilerId>javac-with-errorprone</compilerId>
|
|
<forceJavacCompilerUse>true</forceJavacCompilerUse> -->
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.google.errorprone</groupId>
|
|
<artifactId>error_prone_core</artifactId>
|
|
<version>2.0.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-compiler-javac</artifactId>
|
|
<version>2.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-compiler-javac-errorprone</artifactId>
|
|
<version>2.5</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${maven_surefire_plugin_version}</version>
|
|
<configuration>
|
|
<redirectTestOutputToFile>true</redirectTestOutputToFile>
|
|
<runOrder>random</runOrder>
|
|
<!--<argLine>-Dfile.encoding=ISO-8859-1</argLine> -->
|
|
<argLine>-Dfile.encoding=UTF-8</argLine>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>2.8.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>${maven_javadoc_plugin_version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>${maven_source_plugin_version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<version>${maven_license_plugin_version}</version>
|
|
<configuration>
|
|
<verbose>true</verbose>
|
|
<addSvnKeyWords>false</addSvnKeyWords>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
<version>${maven_site_plugin_version}</version>
|
|
<configuration>
|
|
<skip>false</skip>
|
|
<skipDeploy>true</skipDeploy>
|
|
<inputEncoding>UTF-8</inputEncoding>
|
|
<outputEncoding>UTF-8</outputEncoding>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-scm</artifactId>
|
|
<version>2.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.scm</groupId>
|
|
<artifactId>maven-scm-manager-plexus</artifactId>
|
|
<version>1.9</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.scm</groupId>
|
|
<artifactId>maven-scm-provider-gitexe</artifactId>
|
|
<version>1.9</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.scm</groupId>
|
|
<artifactId>maven-scm-api</artifactId>
|
|
<version>1.9</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.doxia</groupId>
|
|
<artifactId>doxia-module-markdown</artifactId>
|
|
<version>1.6</version>
|
|
</dependency>
|
|
<!--
|
|
-->
|
|
<dependency>
|
|
<groupId>lt.velykis.maven.skins</groupId>
|
|
<artifactId>reflow-velocity-tools</artifactId>
|
|
<version>1.1.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.velocity</groupId>
|
|
<artifactId>velocity</artifactId>
|
|
<version>1.7</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
|
|
<plugin>
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
<version>1.0.0</version>
|
|
<configuration>
|
|
<lifecycleMappingMetadata>
|
|
<pluginExecutions>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>
|
|
ca.uhn.hapi.fhir
|
|
</groupId>
|
|
<artifactId>
|
|
hapi-tinder-plugin
|
|
</artifactId>
|
|
<versionRange>
|
|
[0.8-SNAPSHOT,)
|
|
</versionRange>
|
|
<goals>
|
|
<goal>
|
|
generate-jparest-server
|
|
</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore></ignore>
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>
|
|
org.apache.maven.plugins
|
|
</groupId>
|
|
<artifactId>
|
|
maven-antrun-plugin
|
|
</artifactId>
|
|
<versionRange>
|
|
[1.7,)
|
|
</versionRange>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore></ignore>
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>
|
|
org.codehaus.mojo
|
|
</groupId>
|
|
<artifactId>
|
|
build-helper-maven-plugin
|
|
</artifactId>
|
|
<versionRange>
|
|
[1.9.1,)
|
|
</versionRange>
|
|
<goals>
|
|
<goal>add-source</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore></ignore>
|
|
</action>
|
|
</pluginExecution>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>
|
|
org.apache.maven.plugins
|
|
</groupId>
|
|
<artifactId>
|
|
maven-compiler-plugin
|
|
</artifactId>
|
|
<versionRange>
|
|
[3.3,)
|
|
</versionRange>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
<goal>testCompile</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore></ignore>
|
|
</action>
|
|
</pluginExecution>
|
|
</pluginExecutions>
|
|
</lifecycleMappingMetadata>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<inherited>false</inherited>
|
|
<executions>
|
|
<execution>
|
|
<id>update-project-license</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>update-project-license</goal>
|
|
</goals>
|
|
<configuration>
|
|
<licenseName>apache_v2</licenseName>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>${maven_antrun_plugin_version}</version>
|
|
<inherited>false</inherited>
|
|
<executions>
|
|
<execution>
|
|
<id>copySubProjects</id>
|
|
<phase>site</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<target>
|
|
<copy todir="target/site/apidocs">
|
|
<fileset dir="hapi-fhir-base/target/site/apidocs"/>
|
|
</copy>
|
|
<copy todir="target/site/apidocs-dstu">
|
|
<fileset dir="hapi-fhir-structures-dstu/target/site/apidocs"/>
|
|
</copy>
|
|
<copy todir="target/site/apidocs-hl7org-dstu2">
|
|
<fileset dir="hapi-fhir-structures-hl7org-dstu2/target/site/apidocs"/>
|
|
</copy>
|
|
<copy todir="target/site/apidocs-dstu2">
|
|
<fileset dir="hapi-fhir-structures-dstu2/target/site/apidocs"/>
|
|
</copy>
|
|
<copy todir="target/site/apidocs-jpaserver">
|
|
<fileset dir="hapi-fhir-jpaserver-base/target/site/apidocs"/>
|
|
</copy>
|
|
<copy todir="target/site/xref-jpaserver">
|
|
<fileset dir="hapi-fhir-jpaserver-base/target/site/xref"/>
|
|
</copy>
|
|
<copy todir="target/site/xref-base">
|
|
<fileset dir="hapi-fhir-base/target/site/xref"/>
|
|
</copy>
|
|
</target>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>addSyntaxHighlighter</id>
|
|
<phase>site</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<target>
|
|
<echo>Adding Fontawesome</echo>
|
|
<replace dir="target/site" summary="true">
|
|
<include name="*.html" />
|
|
<replacetoken><![CDATA[<a href="download.html" title="Download">Download</a>]]></replacetoken>
|
|
<replacevalue><![CDATA[<a href="download.html" title="Download"><i class="fa fa-download"></i> Download</a>]]></replacevalue>
|
|
</replace>
|
|
<replace dir="target/site" summary="true">
|
|
<include name="*.html" />
|
|
<replacetoken><![CDATA[<a href="https://github.com/jamesagnew/hapi-fhir/" title="GitHub Project" class="externalLink">GitHub Project</a>]]></replacetoken>
|
|
<replacevalue><![CDATA[<a href="https://github.com/jamesagnew/hapi-fhir/" title="GitHub Project" class="externalLink"><i class="fa fa-github"></i> GitHub Project</a>]]></replacevalue>
|
|
</replace>
|
|
<replace dir="target/site" summary="true">
|
|
<include name="*.html" />
|
|
<replacetoken><![CDATA[data-toggle="dropdown">Test Servers <]]></replacetoken>
|
|
<replacevalue><![CDATA[data-toggle="dropdown"><i class="fa fa-fire"></i> Test Servers <]]></replacevalue>
|
|
</replace>
|
|
<replace dir="target/site" summary="true">
|
|
<include name="*.html" />
|
|
<replacetoken><![CDATA[data-toggle="dropdown">Documentation <]]></replacetoken>
|
|
<replacevalue><![CDATA[data-toggle="dropdown"><i class="fa fa-book"></i> Documentation <]]></replacevalue>
|
|
</replace>
|
|
<replace dir="target/site" summary="true">
|
|
<include name="*.html" />
|
|
<replacetoken><![CDATA[data-toggle="dropdown">Get Help <]]></replacetoken>
|
|
<replacevalue><![CDATA[data-toggle="dropdown"><i class="fa fa-support"></i> Get Help <]]></replacevalue>
|
|
</replace>
|
|
<echo>Changing Breadcrumbs</echo>
|
|
<replace dir="target/site" summary="true">
|
|
<include name="doc_*.html"/>
|
|
<replacetoken><![CDATA[<li class="divider">/</li>]]></replacetoken>
|
|
<replacevalue><![CDATA[<li class="divider">/</li>
|
|
<li><a href="docindex.html" title="Documentation">Documentation</a></li>
|
|
<li class="divider">/</li>]]></replacevalue>
|
|
</replace>
|
|
<echo>Adding Syntax Highlighter</echo>
|
|
<replace dir="target/site" summary="true">
|
|
<include name="*.html"></include>
|
|
<replacetoken><![CDATA[</body>]]></replacetoken>
|
|
<replacevalue><![CDATA[
|
|
<script type="text/javascript">
|
|
var elements = document.getElementsByClassName("source");
|
|
for (var i=0; i < elements.length; i++) {
|
|
var pres = elements[i].getElementsByTagName("pre");
|
|
for (var j = 0; j < pres.length; j++) {
|
|
var pre = pres[j];
|
|
if (pre.innerHTML.match(/^\s*\<\;/)) {
|
|
pre.className = 'brush: xml';
|
|
} else if (pre.innerHTML.match(/\/\*/)) {
|
|
pre.className = 'brush: java';
|
|
} else if (pre.innerHTML.match(/^\/\//)) {
|
|
pre.className = 'brush: java';
|
|
} else if (pre.innerHTML.match(/^\{/)) {
|
|
pre.className = 'brush: jscript';
|
|
} else if (pre.innerHTML.match(/^\#/)) {
|
|
pre.className = 'brush: bash';
|
|
} else if (pre.innerHTML.match(/\<\;\//)) {
|
|
pre.className = 'brush: xml';
|
|
} else {
|
|
pre.className = 'brush: java';
|
|
}
|
|
}
|
|
}
|
|
|
|
SyntaxHighlighter.all();
|
|
</script>
|
|
</body>
|
|
]]></replacevalue>
|
|
</replace>
|
|
</target>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>addAnalytics</id>
|
|
<phase>post-site</phase>
|
|
<configuration>
|
|
<target>
|
|
<echo>Adding Google analytics in target/site for <body></echo>
|
|
<replace dir="target/site" summary="true">
|
|
<include name="**/*.html"></include>
|
|
<replacefilter token="#build#" value="${label}" />
|
|
<replacefilter token="#version#" value="${project.version}" />
|
|
<replacetoken><![CDATA[</body>]]></replacetoken>
|
|
<replacevalue><![CDATA[
|
|
<script>
|
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
|
|
|
ga('create', 'UA-1395874-5', 'auto');
|
|
ga('require', 'displayfeatures');
|
|
ga('require', 'linkid', 'linkid.js');
|
|
ga('send', 'pageview');
|
|
|
|
</script>
|
|
</body >
|
|
]]></replacevalue>
|
|
</replace>
|
|
<echo>Adding Google analytics in target/site for <BODY></echo>
|
|
<replace dir="target/site" summary="true">
|
|
<include name="**/*.html"></include>
|
|
<replacetoken><![CDATA[</BODY>]]></replacetoken>
|
|
<replacevalue><![CDATA[
|
|
<script>
|
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
|
|
|
ga('create', 'UA-1395874-5', 'auto');
|
|
ga('require', 'displayfeatures');
|
|
ga('require', 'linkid', 'linkid.js');
|
|
ga('send', 'pageview');
|
|
|
|
</script>
|
|
</BODY >
|
|
]]></replacevalue>
|
|
</replace>
|
|
<echo>Adding social plugins for HAPI</echo>
|
|
<replace dir="target/site/" summary="true">
|
|
<include name="**/*.html"></include>
|
|
<replacetoken><![CDATA[SOCIALPLUGINSHEREFHIR]]></replacetoken>
|
|
<replacevalue><![CDATA[
|
|
<table cellpadding="0" cellspacing="0" border="0"><tr>
|
|
<td>
|
|
<iframe src="http://ghbtns.com/github-btn.html?user=jamesagnew&repo=hapi-fhir&type=watch&count=true&v=2" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>
|
|
</td>
|
|
<td>
|
|
<iframe src="http://ghbtns.com/github-btn.html?user=jamesagnew&repo=hapi-fhir&type=star&count=true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>
|
|
</td>
|
|
<td>
|
|
<iframe src="http://ghbtns.com/github-btn.html?user=jamesagnew&repo=hapi-fhir&type=fork&count=true&v=2" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>
|
|
</td>
|
|
<td><div class="g-plusone" data-annotation="inline" data-width="300" data-href="http://hl7api.sourceforge.net/"></div></td>
|
|
<td><div class="fb-like" data-href="http://hl7api.sourceforge.net/" data-send="false" data-layout="button_count" data-width="450" data-show-faces="true"></div></td>
|
|
</tr></table>
|
|
|
|
</p><p>
|
|
<!-- Place this tag after the last +1 button tag. -->
|
|
<script type="text/javascript">
|
|
(function() {
|
|
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
|
|
po.src = 'https://apis.google.com/js/plusone.js';
|
|
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
|
|
})();
|
|
</script>
|
|
<div id="fb-root"></div>
|
|
<script>(function(d, s, id) {
|
|
var js, fjs = d.getElementsByTagName(s)[0];
|
|
if (d.getElementById(id)) return;
|
|
js = d.createElement(s); js.id = id;
|
|
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
|
|
fjs.parentNode.insertBefore(js, fjs);
|
|
}(document, 'script', 'facebook-jssdk'));</script>
|
|
]]></replacevalue>
|
|
</replace>
|
|
|
|
|
|
</target>
|
|
</configuration>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>animal-sniffer-maven-plugin</artifactId>
|
|
<version>1.12</version>
|
|
<inherited>true</inherited>
|
|
<configuration>
|
|
<signature>
|
|
<groupId>org.codehaus.mojo.signature</groupId>
|
|
<artifactId>java16</artifactId>
|
|
<version>1.01</version>
|
|
</signature>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
<inherited>false</inherited>
|
|
<executions>
|
|
<execution>
|
|
<id>stage-for-scm-publish</id>
|
|
<phase>post-site</phase>
|
|
<goals>
|
|
<goal>stage</goal>
|
|
</goals>
|
|
<configuration>
|
|
<stagingDirectory>${siteMainDirectory}</stagingDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-scm-publish-plugin</artifactId>
|
|
<version>1.1</version>
|
|
<inherited>false</inherited>
|
|
<configuration>
|
|
<checkoutDirectory>${scmPubCheckoutDirectory}</checkoutDirectory>
|
|
<content>\${siteMainDirectory}</content>
|
|
<tryUpdate>true</tryUpdate>
|
|
<scmBranch>gh-pages</scmBranch>
|
|
<pubScmUrl>scm:git:git@github.com:jamesagnew/hapi-fhir.git</pubScmUrl>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>scm-publish</id>
|
|
<phase>site-deploy</phase>
|
|
<goals>
|
|
<goal>publish-scm</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<reporting>
|
|
<plugins>
|
|
<!--
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports><report>checkstyle-aggregate</report></reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
<configuration>
|
|
<configLocation>config/sun_checks.xml</configLocation>
|
|
<includes>
|
|
hapi-fhir-base/src/main/java/**/*.java
|
|
</includes>
|
|
</configuration>
|
|
</plugin>
|
|
-->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-changes-plugin</artifactId>
|
|
<version>2.11</version>
|
|
<inherited>false</inherited>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports>
|
|
<report>changes-report</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
<configuration>
|
|
<feedType>atom_1.0</feedType>
|
|
<issueLinkTemplatePerSystem>
|
|
<default>https://github.com/jamesagnew/hapi-fhir/issues/%ISSUE%</default>
|
|
</issueLinkTemplatePerSystem>
|
|
<escapeHTML>false</escapeHTML>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
|
<version>${maven_surefire_plugin_version}</version>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports>
|
|
<report>failsafe-report-only</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
<configuration>
|
|
<reportsDirectories>
|
|
<reportDirectory>${project.basedir}/hapi-fhir-base/target/surefire-reports/</reportDirectory>
|
|
<reportDirectory>${project.basedir}/hapi-fhir-structures-dstu/target/surefire-reports/</reportDirectory>
|
|
<reportDirectory>${project.basedir}/hapi-fhir-structures-dstu2/target/surefire-reports/</reportDirectory>
|
|
<reportDirectory>${project.basedir}/hapi-fhir-jpaserver-base/target/surefire-reports/</reportDirectory>
|
|
</reportsDirectories>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
<version>${maven_project_info_plugin_version}</version>
|
|
<inherited>false</inherited>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports>
|
|
<report>project-team</report>
|
|
<report>issue-tracking</report>
|
|
<report>license</report>
|
|
<report>scm</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
<!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-linkcheck-plugin</artifactId>
|
|
<version>1.1</version> </plugin> -->
|
|
</plugins>
|
|
</reporting>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>ROOT</id>
|
|
<modules>
|
|
</modules>
|
|
<build>
|
|
<plugins>
|
|
<!--
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>${maven_assembly_plugin_version}</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<configuration>
|
|
<attach>false</attach>
|
|
<descriptors>
|
|
<descriptor>${project.basedir}/src/assembly/hapi-fhir-sample-projects.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
-->
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>SIGN_ARTIFACTS</id>
|
|
<activation>
|
|
<property>
|
|
<name>gpg.passphrase</name>
|
|
</property>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>${maven_gpg_plugin_version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>SITE</id>
|
|
<modules>
|
|
<module>hapi-fhir-base</module>
|
|
<module>hapi-fhir-structures-dstu</module>
|
|
<module>hapi-fhir-structures-dstu2</module>
|
|
<module>hapi-fhir-structures-hl7org-dstu2</module>
|
|
<module>hapi-fhir-jpaserver-base</module>
|
|
<module>examples</module>
|
|
</modules>
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
<configuration>
|
|
<classFilesDirectory>./hapi-fhir-base/target/classes</classFilesDirectory>
|
|
</configuration>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports>
|
|
<report>findbugs</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
</profile>
|
|
<profile>
|
|
<id>ALLMODULES</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
<modules>
|
|
<module>hapi-deployable-pom</module>
|
|
<module>hapi-fhir-base</module>
|
|
<!--<module>hapi-fhir-oauth2</module>-->
|
|
<module>hapi-fhir-base/testmindeps</module>
|
|
<module>hapi-tinder-plugin</module>
|
|
<module>hapi-tinder-test</module>
|
|
<module>hapi-fhir-structures-dstu</module>
|
|
<module>hapi-fhir-structures-dstu2</module>
|
|
<module>hapi-fhir-structures-hl7org-dstu2</module>
|
|
<module>hapi-fhir-jpaserver-base</module>
|
|
<module>hapi-fhir-jpaserver-example</module>
|
|
<module>restful-server-example</module>
|
|
<module>restful-server-example-test</module>
|
|
<module>hapi-fhir-testpage-overlay</module>
|
|
<module>hapi-fhir-jpaserver-uhnfhirtest</module>
|
|
<module>hapi-fhir-android</module>
|
|
<module>hapi-fhir-dist</module>
|
|
</modules>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|