2014-03-24 08:32:28 -04:00
|
|
|
<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/xsd/maven-4.0.0.xsd">
|
2014-02-17 17:58:32 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir</artifactId>
|
2014-04-02 18:42:16 -04:00
|
|
|
<version>0.1</version>
|
2014-02-17 17:58:32 -05:00
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-base</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
2014-03-24 08:32:28 -04:00
|
|
|
<url>http://hl7api.sourceforge.net/hapi-fhir/</url>
|
2014-02-17 17:58:32 -05:00
|
|
|
|
|
|
|
<name>HAPI FHIR Base Library</name>
|
|
|
|
|
2014-03-24 08:32:28 -04:00
|
|
|
<distributionManagement>
|
|
|
|
<site>
|
|
|
|
<id>hl7api.sf.net</id>
|
|
|
|
<url>scp://shell.sourceforge.net/home/project-web/hl7api/htdocs/hapi-fhir</url>
|
|
|
|
</site>
|
|
|
|
</distributionManagement>
|
|
|
|
|
2014-02-17 17:58:32 -05:00
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
<!-- JSON -->
|
2014-03-24 08:32:28 -04:00
|
|
|
<!-- <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.2.4</version> </dependency> -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.json</groupId>
|
|
|
|
<artifactId>javax.json-api</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish</groupId>
|
|
|
|
<artifactId>javax.json</artifactId>
|
|
|
|
<version>1.0.4</version>
|
|
|
|
</dependency>
|
|
|
|
|
2014-02-17 17:58:32 -05:00
|
|
|
<!-- XML -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.woodstox</groupId>
|
|
|
|
<artifactId>woodstox-core-asl</artifactId>
|
|
|
|
<version>4.2.0</version>
|
|
|
|
</dependency>
|
2014-02-23 18:13:59 -05:00
|
|
|
|
2014-03-24 08:32:28 -04:00
|
|
|
<!-- <dependency> <groupId>org.codehaus.woodstox</groupId> <artifactId>stax2-api</artifactId> <version>3.1.3</version> </dependency> -->
|
|
|
|
|
2014-03-25 18:08:57 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.thymeleaf</groupId>
|
|
|
|
<artifactId>thymeleaf</artifactId>
|
|
|
|
<version>2.1.2.RELEASE</version>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2014-02-17 17:58:32 -05:00
|
|
|
|
|
|
|
<!-- General -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
<version>3.2.1</version>
|
|
|
|
</dependency>
|
2014-02-19 11:59:12 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-codec</groupId>
|
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
|
<version>1.9</version>
|
|
|
|
</dependency>
|
2014-03-07 09:14:50 -05:00
|
|
|
<dependency>
|
2014-03-07 17:31:05 -05:00
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<version>2.4</version>
|
2014-03-07 09:14:50 -05:00
|
|
|
</dependency>
|
2014-02-17 17:58:32 -05:00
|
|
|
|
|
|
|
<!-- Logging -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<version>1.7.6</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
<version>1.1.1</version>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
|
2014-02-27 13:21:47 -05:00
|
|
|
<!-- Client -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
2014-03-06 17:12:05 -05:00
|
|
|
<version>4.3.3</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2014-03-07 17:31:05 -05:00
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpcore</artifactId>
|
|
|
|
<version>4.3.2</version>
|
2014-02-27 13:21:47 -05:00
|
|
|
</dependency>
|
|
|
|
|
2014-03-05 08:26:26 -05:00
|
|
|
<!-- Server -->
|
2014-03-04 08:13:28 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
2014-03-16 15:09:30 -04:00
|
|
|
<version>3.0.1</version>
|
2014-03-05 08:26:26 -05:00
|
|
|
<scope>provided</scope>
|
2014-03-04 08:13:28 -05:00
|
|
|
</dependency>
|
2014-02-27 13:21:47 -05:00
|
|
|
|
2014-02-17 17:58:32 -05:00
|
|
|
<!-- Testing -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.11</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-02-23 18:13:59 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>xmlunit</groupId>
|
|
|
|
<artifactId>xmlunit</artifactId>
|
|
|
|
<version>1.5</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-02-27 13:21:47 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-servlets</artifactId>
|
|
|
|
<version>9.1.1.v20140108</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-servlet</artifactId>
|
|
|
|
<version>9.1.1.v20140108</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-03-04 08:13:28 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-all</artifactId>
|
|
|
|
<version>1.9.5</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-03-16 15:09:30 -04:00
|
|
|
<dependency>
|
2014-03-24 08:32:28 -04:00
|
|
|
<groupId>net.sf.json-lib</groupId>
|
|
|
|
<artifactId>json-lib</artifactId>
|
|
|
|
<version>2.4</version>
|
|
|
|
<classifier>jdk15</classifier>
|
|
|
|
<scope>test</scope>
|
2014-03-16 15:09:30 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2014-03-24 08:32:28 -04:00
|
|
|
<groupId>net.sf.json-lib</groupId>
|
|
|
|
<artifactId>json-lib</artifactId>
|
|
|
|
<version>2.4</version>
|
|
|
|
<classifier>jdk15-sources</classifier>
|
|
|
|
<scope>test</scope>
|
2014-03-16 15:09:30 -04:00
|
|
|
</dependency>
|
2014-02-27 13:21:47 -05:00
|
|
|
|
2014-03-04 08:13:28 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
|
|
|
<version>9.1.1.v20140108</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-servlet</artifactId>
|
|
|
|
<version>9.1.1.v20140108</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-httpclient</groupId>
|
|
|
|
<artifactId>commons-httpclient</artifactId>
|
|
|
|
<version>3.1</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-02-27 12:07:27 -05:00
|
|
|
|
2014-03-04 08:13:28 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>directory-naming</groupId>
|
|
|
|
<artifactId>naming-java</artifactId>
|
|
|
|
<version>0.8</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-03-24 08:32:28 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-all</artifactId>
|
|
|
|
<version>${hamcrest_version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-03-20 13:49:51 -04:00
|
|
|
|
2014-02-17 17:58:32 -05:00
|
|
|
</dependencies>
|
|
|
|
|
2014-03-31 08:19:31 -04:00
|
|
|
|
2014-03-07 17:31:05 -05:00
|
|
|
<reporting>
|
2014-03-31 08:19:31 -04:00
|
|
|
|
2014-03-07 17:31:05 -05:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
|
|
<version>3.3</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
|
|
|
<version>2.16</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>2.9.1</version>
|
|
|
|
<configuration>
|
|
|
|
</configuration>
|
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<id>default</id>
|
|
|
|
<reports>
|
|
|
|
<report>javadoc</report>
|
|
|
|
</reports>
|
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jxr-plugin</artifactId>
|
2014-03-31 17:10:05 -04:00
|
|
|
<version>2.4</version>
|
2014-03-07 17:31:05 -05:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
|
|
<version>2.7</version>
|
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<reports>
|
|
|
|
<report>project-team</report>
|
|
|
|
<report>issue-tracking</report>
|
|
|
|
<report>license</report>
|
|
|
|
<report>scm</report>
|
|
|
|
</reports>
|
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</reporting>
|
|
|
|
|
2014-03-16 15:09:30 -04:00
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
</properties>
|
|
|
|
|
2014-02-17 17:58:32 -05:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2014-03-24 08:32:28 -04:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<version>1.7</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2014-03-31 08:19:31 -04:00
|
|
|
<id>addSyntaxHighlighter</id>
|
|
|
|
<phase>site</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
|
|
|
<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];
|
2014-04-02 08:05:16 -04:00
|
|
|
if (pre.innerHTML.match(/\/\*/)) {
|
2014-03-31 08:19:31 -04:00
|
|
|
pre.className = 'brush: java';
|
2014-04-02 08:05:16 -04:00
|
|
|
} else if (pre.innerHTML.match(/^\#/)) {
|
|
|
|
pre.className = 'brush: bash';
|
2014-03-31 08:19:31 -04:00
|
|
|
} 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>
|
2014-03-24 08:32:28 -04:00
|
|
|
<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="${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', 'sourceforge.net');
|
|
|
|
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', 'sourceforge.net');
|
|
|
|
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><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.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<inherited>true</inherited>
|
|
|
|
<configuration>
|
|
|
|
<minmemory>128m</minmemory>
|
|
|
|
<maxmemory>1g</maxmemory>
|
|
|
|
<linksource>true</linksource>
|
|
|
|
<verbose>false</verbose>
|
|
|
|
<debug>false</debug>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar-no-fork</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2014-02-17 17:58:32 -05:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|