Moving site generation into root project
|
@ -13,6 +13,40 @@
|
||||||
|
|
||||||
<name>HAPI FHIR - Deployable Artifact Parent POM</name>
|
<name>HAPI FHIR - Deployable Artifact Parent POM</name>
|
||||||
|
|
||||||
|
<reporting>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
||||||
|
<version>2.7</version>
|
||||||
|
<reportSets>
|
||||||
|
<reportSet>
|
||||||
|
<reports>
|
||||||
|
</reports>
|
||||||
|
</reportSet>
|
||||||
|
</reportSets>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
|
<version>${maven_javadoc_plugin_version}</version>
|
||||||
|
<reportSets>
|
||||||
|
<reportSet>
|
||||||
|
<id>default</id>
|
||||||
|
<reports>
|
||||||
|
<report>javadoc</report>
|
||||||
|
</reports>
|
||||||
|
<configuration>
|
||||||
|
<links>
|
||||||
|
<link>http://docs.oracle.com/javaee/7/api</link>
|
||||||
|
</links>
|
||||||
|
</configuration>
|
||||||
|
</reportSet>
|
||||||
|
</reportSets>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</reporting>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
<profile>
|
<profile>
|
||||||
<id>DIST</id>
|
<id>DIST</id>
|
||||||
|
|
|
@ -192,272 +192,13 @@
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
||||||
<reporting>
|
|
||||||
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-changes-plugin</artifactId>
|
|
||||||
<version>2.10</version>
|
|
||||||
<inherited>false</inherited>
|
|
||||||
<reportSets>
|
|
||||||
<reportSet>
|
|
||||||
<reports>
|
|
||||||
<report>changes-report</report>
|
|
||||||
</reports>
|
|
||||||
</reportSet>
|
|
||||||
</reportSets>
|
|
||||||
<configuration>
|
|
||||||
<feedType>atom_1.0</feedType>
|
|
||||||
<issueLinkTemplatePerSystem>
|
|
||||||
<default>http://sourceforge.net/support/tracker.php?aid=%ISSUE%</default>
|
|
||||||
<newbugs>https://sourceforge.net/p/hl7api/bugs/%ISSUE%/</newbugs>
|
|
||||||
<newfeatures>https://sourceforge.net/p/hl7api/feature-requests/%ISSUE%/</newfeatures>
|
|
||||||
</issueLinkTemplatePerSystem>
|
|
||||||
<escapeHTML>false</escapeHTML>
|
|
||||||
</configuration>
|
|
||||||
</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>
|
|
||||||
<!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-linkcheck-plugin</artifactId> <version>1.1</version> </plugin> -->
|
|
||||||
</plugins>
|
|
||||||
</reporting>
|
|
||||||
|
|
||||||
<properties>
|
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
||||||
<siteMainDirectory>${user.home}/sites/hapi-fhir</siteMainDirectory>
|
|
||||||
<scmPubCheckoutDirectory>${user.home}/sites/scm/hapi-fhir</scmPubCheckoutDirectory>
|
|
||||||
</properties>
|
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<pluginManagement>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-site-plugin</artifactId>
|
|
||||||
<version>${maven_site_plugin_version}</version>
|
|
||||||
<configuration>
|
|
||||||
<skip>false</skip>
|
|
||||||
<skipDeploy>true</skipDeploy>
|
|
||||||
</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>
|
|
||||||
</dependencies>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</pluginManagement>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
|
||||||
<version>1.7</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<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];
|
|
||||||
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><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>
|
|
||||||
<artifactId>maven-site-plugin</artifactId>
|
|
||||||
<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>
|
|
||||||
<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>
|
|
||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
<directory>src/main/resources</directory>
|
<directory>src/main/resources</directory>
|
||||||
<filtering>true</filtering>
|
<filtering>true</filtering>
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
<!-- <extensions> <extension> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-scm</artifactId> <version>2.6</version> </extension> <extension> <groupId>org.apache.maven.scm</groupId>
|
|
||||||
<artifactId>maven-scm-manager-plexus</artifactId> <version>1.9</version> </extension> <extension> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-provider-gitexe</artifactId>
|
|
||||||
<version>1.9</version> </extension> </extensions> -->
|
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
|
@ -465,40 +206,10 @@
|
||||||
<id>MINI</id>
|
<id>MINI</id>
|
||||||
</profile>
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
<id>DEFAULT</id>
|
<id>SITE</id>
|
||||||
<!--
|
|
||||||
The default profile has a bunch of the site plugins that
|
|
||||||
take longer to execute, so that they can be skipped for
|
|
||||||
testing the site build
|
|
||||||
-->
|
|
||||||
<activation>
|
|
||||||
<activeByDefault>true</activeByDefault>
|
|
||||||
</activation>
|
|
||||||
<reporting>
|
<reporting>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<!--
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-surefire-report-plugin</artifactId>
|
|
||||||
<version>${maven_surefire_plugin_version}</version>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
|
||||||
<version>${maven_javadoc_plugin_version}</version>
|
|
||||||
<configuration>
|
|
||||||
<links>
|
|
||||||
<link>http://docs.oracle.com/javaee/7/api</link>
|
|
||||||
</links>
|
|
||||||
</configuration>
|
|
||||||
<reportSets>
|
|
||||||
<reportSet>
|
|
||||||
<id>default</id>
|
|
||||||
<reports>
|
|
||||||
<report>javadoc</report>
|
|
||||||
</reports>
|
|
||||||
</reportSet>
|
|
||||||
</reportSets>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>findbugs-maven-plugin</artifactId>
|
<artifactId>findbugs-maven-plugin</artifactId>
|
||||||
|
@ -528,7 +239,8 @@
|
||||||
</configuration>
|
</configuration>
|
||||||
</reportSet>
|
</reportSet>
|
||||||
</reportSets>
|
</reportSets>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
-->
|
||||||
<!--
|
<!--
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
|
|
@ -11,6 +11,10 @@
|
||||||
Profile generation on the server was not working due to IdDt being
|
Profile generation on the server was not working due to IdDt being
|
||||||
incorrectly used. Thanks to Bill de Beaubien for the pull request!
|
incorrectly used. Thanks to Bill de Beaubien for the pull request!
|
||||||
</action>
|
</action>
|
||||||
|
<action type="add" issue="42">
|
||||||
|
Profiles did not generate correctly if a resource definition class had a
|
||||||
|
defined extension which was of a composite type. Thanks to Bill de Beaubien for the pull request!
|
||||||
|
</action>
|
||||||
</release>
|
</release>
|
||||||
<release version="0.7" date="2014-Oct-23">
|
<release version="0.7" date="2014-Oct-23">
|
||||||
<action type="add" issue="30">
|
<action type="add" issue="30">
|
||||||
|
|
|
@ -17,5 +17,11 @@
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry combineaccessrules="false" kind="src" path="/hapi-fhir-base"/>
|
<classpathentry combineaccessrules="false" kind="src" path="/hapi-fhir-base"/>
|
||||||
|
<classpathentry kind="src" output="target/classes" path="src/main/java">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="optional" value="true"/>
|
||||||
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
|
</attributes>
|
||||||
|
</classpathentry>
|
||||||
<classpathentry kind="output" path="target/classes"/>
|
<classpathentry kind="output" path="target/classes"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
eclipse.preferences.version=1
|
eclipse.preferences.version=1
|
||||||
|
encoding//src/test/java=UTF-8
|
||||||
encoding/<project>=UTF-8
|
encoding/<project>=UTF-8
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
<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">
|
<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">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
|
@ -7,7 +8,7 @@
|
||||||
<version>0.8-SNAPSHOT</version>
|
<version>0.8-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
<id>maven.java.net</id>
|
<id>maven.java.net</id>
|
||||||
|
@ -19,22 +20,12 @@
|
||||||
</releases>
|
</releases>
|
||||||
<url>https://maven.java.net/service/local/repositories/snapshots/content/</url>
|
<url>https://maven.java.net/service/local/repositories/snapshots/content/</url>
|
||||||
</repository>
|
</repository>
|
||||||
<!--
|
<!-- <repository> <id>UOM</id> <url>https://github.com/unitsofmeasurement/repository</url>
|
||||||
<repository>
|
<releases> <enabled>true</enabled> </releases> </repository> <repository>
|
||||||
<id>UOM</id>
|
<id>maven-geotoolkit.org</id> <name>GeoToolkit Repository for Maven</name>
|
||||||
<url>https://github.com/unitsofmeasurement/repository</url>
|
<url>http://maven.geotoolkit.org/</url> </repository> -->
|
||||||
<releases>
|
|
||||||
<enabled>true</enabled>
|
|
||||||
</releases>
|
|
||||||
</repository>
|
|
||||||
<repository>
|
|
||||||
<id>maven-geotoolkit.org</id>
|
|
||||||
<name>GeoToolkit Repository for Maven</name>
|
|
||||||
<url>http://maven.geotoolkit.org/</url>
|
|
||||||
</repository>
|
|
||||||
-->
|
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<artifactId>hapi-fhir-jpaserver-base</artifactId>
|
<artifactId>hapi-fhir-jpaserver-base</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
|
@ -57,11 +48,11 @@
|
||||||
<artifactId>hapi-fhir-structures-dstu</artifactId>
|
<artifactId>hapi-fhir-structures-dstu</artifactId>
|
||||||
<version>0.8-SNAPSHOT</version>
|
<version>0.8-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.slf4j</groupId>
|
<groupId>org.slf4j</groupId>
|
||||||
<artifactId>jcl-over-slf4j</artifactId>
|
<artifactId>jcl-over-slf4j</artifactId>
|
||||||
<version>${slf4j_version}</version>
|
<version>${slf4j_version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -79,58 +70,25 @@
|
||||||
|
|
||||||
<!-- For UCUM -->
|
<!-- For UCUM -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.jscience</groupId>
|
<groupId>org.jscience</groupId>
|
||||||
<artifactId>jscience</artifactId>
|
<artifactId>jscience</artifactId>
|
||||||
<version>${jscience_version}</version>
|
<version>${jscience_version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!--
|
|
||||||
FHIR RI is pulled in for UCUM support, but we don't want any
|
|
||||||
of its dependencies.
|
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<dependency>
|
|
||||||
<groupId>me.fhir</groupId>
|
|
||||||
<artifactId>fhir-dstu1</artifactId>
|
|
||||||
<version>0.0.81.2489</version>
|
|
||||||
<exclusions>
|
|
||||||
<exclusion>
|
|
||||||
<artifactId>Saxon-HE</artifactId>
|
|
||||||
<groupId>net.sf.saxon</groupId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<artifactId>commons-discovery</artifactId>
|
|
||||||
<groupId>commons-discovery</groupId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<artifactId>commons-codec</artifactId>
|
|
||||||
<groupId>commons-codec</groupId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<artifactId>commons-logging</artifactId>
|
|
||||||
<groupId>commons-logging</groupId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<artifactId>xpp3</artifactId>
|
|
||||||
<groupId>xpp3</groupId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<artifactId>junit</artifactId>
|
|
||||||
<groupId>junit</groupId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<artifactId>jdom</artifactId>
|
|
||||||
<groupId>org.jdom</groupId>
|
|
||||||
</exclusion>
|
|
||||||
<exclusion>
|
|
||||||
<artifactId>gson</artifactId>
|
|
||||||
<groupId>com.google.code.gson</groupId>
|
|
||||||
</exclusion>
|
|
||||||
</exclusions>
|
|
||||||
</dependency>
|
|
||||||
-->
|
|
||||||
|
|
||||||
|
<!-- FHIR RI is pulled in for UCUM support, but we don't want any of its
|
||||||
|
dependencies. -->
|
||||||
|
<!-- <dependency> <groupId>me.fhir</groupId> <artifactId>fhir-dstu1</artifactId>
|
||||||
|
<version>0.0.81.2489</version> <exclusions> <exclusion> <artifactId>Saxon-HE</artifactId>
|
||||||
|
<groupId>net.sf.saxon</groupId> </exclusion> <exclusion> <artifactId>commons-discovery</artifactId>
|
||||||
|
<groupId>commons-discovery</groupId> </exclusion> <exclusion> <artifactId>commons-codec</artifactId>
|
||||||
|
<groupId>commons-codec</groupId> </exclusion> <exclusion> <artifactId>commons-logging</artifactId>
|
||||||
|
<groupId>commons-logging</groupId> </exclusion> <exclusion> <artifactId>xpp3</artifactId>
|
||||||
|
<groupId>xpp3</groupId> </exclusion> <exclusion> <artifactId>junit</artifactId>
|
||||||
|
<groupId>junit</groupId> </exclusion> <exclusion> <artifactId>jdom</artifactId>
|
||||||
|
<groupId>org.jdom</groupId> </exclusion> <exclusion> <artifactId>gson</artifactId>
|
||||||
|
<groupId>com.google.code.gson</groupId> </exclusion> </exclusions> </dependency> -->
|
||||||
|
|
||||||
|
|
||||||
<!-- Test Database -->
|
<!-- Test Database -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
|
@ -150,16 +108,17 @@
|
||||||
<version>1.4</version>
|
<version>1.4</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>javax.servlet</groupId>
|
<groupId>javax.servlet</groupId>
|
||||||
<artifactId>javax.servlet-api</artifactId>
|
<artifactId>javax.servlet-api</artifactId>
|
||||||
<version>3.1.0</version>
|
<version>3.1.0</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
<!-- <dependency> <groupId>org.hsqldb</groupId> <artifactId>hsqldb</artifactId> <version>2.3.2</version> </dependency> -->
|
<!-- <dependency> <groupId>org.hsqldb</groupId> <artifactId>hsqldb</artifactId>
|
||||||
|
<version>2.3.2</version> </dependency> -->
|
||||||
|
|
||||||
<!-- Spring -->
|
<!-- Spring -->
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -259,21 +218,21 @@
|
||||||
<version>1.1.0.Final</version>
|
<version>1.1.0.Final</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>javax.el</groupId>
|
<groupId>javax.el</groupId>
|
||||||
<artifactId>javax.el-api</artifactId>
|
<artifactId>javax.el-api</artifactId>
|
||||||
<version>3.0.0</version>
|
<version>3.0.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.glassfish</groupId>
|
<groupId>org.glassfish</groupId>
|
||||||
<artifactId>javax.el</artifactId>
|
<artifactId>javax.el</artifactId>
|
||||||
<version>3.0.0</version>
|
<version>3.0.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- Misc -->
|
<!-- Misc -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.google.guava</groupId>
|
<groupId>com.google.guava</groupId>
|
||||||
<artifactId>guava</artifactId>
|
<artifactId>guava</artifactId>
|
||||||
<version>${guava_version}</version>
|
<version>${guava_version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
@ -287,10 +246,10 @@
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-site-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>1.6</source>
|
<skip>true</skip>
|
||||||
<target>1.6</target>
|
<skipDeploy>true</skipDeploy>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
|
|
@ -300,13 +300,6 @@
|
||||||
<buildDatatypes>true</buildDatatypes>
|
<buildDatatypes>true</buildDatatypes>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-deploy-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<skip>true</skip>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
</plugins>
|
||||||
<pluginManagement>
|
<pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
|
|
@ -273,13 +273,6 @@
|
||||||
<buildDatatypes>true</buildDatatypes>
|
<buildDatatypes>true</buildDatatypes>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-deploy-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<skip>true</skip>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
</plugins>
|
||||||
<pluginManagement>
|
<pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
@ -312,16 +305,4 @@
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<reporting>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
|
||||||
<version>${maven_javadoc_plugin_version}</version>
|
|
||||||
<configuration>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</reporting>
|
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -48,10 +48,12 @@ import ca.uhn.fhir.context.RuntimeChildPrimitiveDatatypeDefinition;
|
||||||
import ca.uhn.fhir.context.RuntimeChildResourceBlockDefinition;
|
import ca.uhn.fhir.context.RuntimeChildResourceBlockDefinition;
|
||||||
import ca.uhn.fhir.context.RuntimeChildResourceDefinition;
|
import ca.uhn.fhir.context.RuntimeChildResourceDefinition;
|
||||||
import ca.uhn.fhir.context.RuntimeChildUndeclaredExtensionDefinition;
|
import ca.uhn.fhir.context.RuntimeChildUndeclaredExtensionDefinition;
|
||||||
|
import ca.uhn.fhir.context.RuntimeCompositeDatatypeDefinition;
|
||||||
import ca.uhn.fhir.context.RuntimePrimitiveDatatypeDefinition;
|
import ca.uhn.fhir.context.RuntimePrimitiveDatatypeDefinition;
|
||||||
import ca.uhn.fhir.context.RuntimeResourceBlockDefinition;
|
import ca.uhn.fhir.context.RuntimeResourceBlockDefinition;
|
||||||
import ca.uhn.fhir.context.RuntimeResourceDefinition;
|
import ca.uhn.fhir.context.RuntimeResourceDefinition;
|
||||||
import ca.uhn.fhir.context.RuntimeResourceReferenceDefinition;
|
import ca.uhn.fhir.context.RuntimeResourceReferenceDefinition;
|
||||||
|
import ca.uhn.fhir.model.api.ICompositeDatatype;
|
||||||
import ca.uhn.fhir.model.api.IFhirVersion;
|
import ca.uhn.fhir.model.api.IFhirVersion;
|
||||||
import ca.uhn.fhir.model.api.IPrimitiveDatatype;
|
import ca.uhn.fhir.model.api.IPrimitiveDatatype;
|
||||||
import ca.uhn.fhir.model.api.IResource;
|
import ca.uhn.fhir.model.api.IResource;
|
||||||
|
@ -79,7 +81,7 @@ public class FhirDstu1 implements IFhirVersion {
|
||||||
public Object createServerConformanceProvider(RestfulServer theServer) {
|
public Object createServerConformanceProvider(RestfulServer theServer) {
|
||||||
return new ServerConformanceProvider(theServer);
|
return new ServerConformanceProvider(theServer);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void fillBasics(StructureElement theElement, BaseRuntimeElementDefinition<?> def, LinkedList<String> path, BaseRuntimeDeclaredChildDefinition theChild) {
|
private void fillBasics(StructureElement theElement, BaseRuntimeElementDefinition<?> def, LinkedList<String> path, BaseRuntimeDeclaredChildDefinition theChild) {
|
||||||
if (path.isEmpty()) {
|
if (path.isEmpty()) {
|
||||||
path.add(def.getName());
|
path.add(def.getName());
|
||||||
|
@ -311,6 +313,9 @@ public class FhirDstu1 implements IFhirVersion {
|
||||||
if (nextChild.getChildType() != null && IPrimitiveDatatype.class.isAssignableFrom(nextChild.getChildType())) {
|
if (nextChild.getChildType() != null && IPrimitiveDatatype.class.isAssignableFrom(nextChild.getChildType())) {
|
||||||
RuntimePrimitiveDatatypeDefinition pdef = (RuntimePrimitiveDatatypeDefinition) nextChild.getSingleChildOrThrow();
|
RuntimePrimitiveDatatypeDefinition pdef = (RuntimePrimitiveDatatypeDefinition) nextChild.getSingleChildOrThrow();
|
||||||
defn.getDefinition().addType().setCode(DataTypeEnum.VALUESET_BINDER.fromCodeString(pdef.getName()));
|
defn.getDefinition().addType().setCode(DataTypeEnum.VALUESET_BINDER.fromCodeString(pdef.getName()));
|
||||||
|
} else if (nextChild.getChildType() != null && ICompositeDatatype.class.isAssignableFrom(nextChild.getChildType())) {
|
||||||
|
RuntimeCompositeDatatypeDefinition pdef = (RuntimeCompositeDatatypeDefinition) nextChild.getSingleChildOrThrow();
|
||||||
|
defn.getDefinition().addType().setCode(DataTypeEnum.VALUESET_BINDER.fromCodeString(pdef.getName()));
|
||||||
} else {
|
} else {
|
||||||
RuntimeResourceBlockDefinition pdef = (RuntimeResourceBlockDefinition) nextChild.getSingleChildOrThrow();
|
RuntimeResourceBlockDefinition pdef = (RuntimeResourceBlockDefinition) nextChild.getSingleChildOrThrow();
|
||||||
scanForExtensions(theProfile, pdef);
|
scanForExtensions(theProfile, pdef);
|
||||||
|
|
345
pom.xml
|
@ -43,7 +43,7 @@
|
||||||
<prerequisites>
|
<prerequisites>
|
||||||
<maven>3.0.1</maven>
|
<maven>3.0.1</maven>
|
||||||
</prerequisites>
|
</prerequisites>
|
||||||
|
|
||||||
<developers>
|
<developers>
|
||||||
<developer>
|
<developer>
|
||||||
<id>jamesagnew</id>
|
<id>jamesagnew</id>
|
||||||
|
@ -110,25 +110,14 @@
|
||||||
</license>
|
</license>
|
||||||
</licenses>
|
</licenses>
|
||||||
|
|
||||||
<modules>
|
|
||||||
<module>hapi-deployable-pom</module>
|
|
||||||
<module>hapi-fhir-base</module>
|
|
||||||
<module>hapi-fhir-oauth2</module>
|
|
||||||
<module>hapi-fhir-base/examples</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-dev</module>
|
|
||||||
<module>hapi-fhir-jpaserver-base</module>
|
|
||||||
<module>hapi-fhir-jpaserver-test</module>
|
|
||||||
<module>restful-server-example</module>
|
|
||||||
<module>restful-server-example-test</module>
|
|
||||||
<module>hapi-fhir-testpage-overlay</module>
|
|
||||||
<module>hapi-fhir-jpaserver-uhnfhirtest</module>
|
|
||||||
</modules>
|
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
<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 -->
|
||||||
<commons_lang_version>3.3.2</commons_lang_version>
|
<commons_lang_version>3.3.2</commons_lang_version>
|
||||||
<derby_version>10.11.1.1</derby_version>
|
<derby_version>10.11.1.1</derby_version>
|
||||||
<guava_version>18.0</guava_version>
|
<guava_version>18.0</guava_version>
|
||||||
|
@ -178,7 +167,7 @@
|
||||||
<configuration>
|
<configuration>
|
||||||
<redirectTestOutputToFile>true</redirectTestOutputToFile>
|
<redirectTestOutputToFile>true</redirectTestOutputToFile>
|
||||||
<runOrder>random</runOrder>
|
<runOrder>random</runOrder>
|
||||||
<!--<argLine>-Dfile.encoding=ISO-8859-1</argLine>-->
|
<!--<argLine>-Dfile.encoding=ISO-8859-1</argLine> -->
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
@ -226,20 +215,287 @@
|
||||||
<addSvnKeyWords>false</addSvnKeyWords>
|
<addSvnKeyWords>false</addSvnKeyWords>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!--This plugin's configuration is used to store Eclipse m2e settings
|
<plugin>
|
||||||
only. It has no influence on the Maven build itself. -->
|
<artifactId>maven-site-plugin</artifactId>
|
||||||
<!-- <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId>
|
<version>${maven_site_plugin_version}</version>
|
||||||
<version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions>
|
<configuration>
|
||||||
<pluginExecution> <pluginExecutionFilter> <groupId> org.apache.maven.plugins
|
<skip>false</skip>
|
||||||
</groupId> <artifactId> maven-antrun-plugin </artifactId> <versionRange>
|
<skipDeploy>true</skipDeploy>
|
||||||
[1.7,) </versionRange> <goals> <goal>run</goal> </goals> </pluginExecutionFilter>
|
</configuration>
|
||||||
<action> <ignore></ignore> </action> </pluginExecution> </pluginExecutions>
|
<dependencies>
|
||||||
</lifecycleMappingMetadata> </configuration> </plugin> -->
|
<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>
|
||||||
|
</dependencies>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
|
<version>1.7</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-dev">
|
||||||
|
<fileset dir="hapi-fhir-structures-dev/target/site/apidocs"/>
|
||||||
|
</copy>
|
||||||
|
</target>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<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];
|
||||||
|
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><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>
|
||||||
|
<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>
|
</build>
|
||||||
|
|
||||||
|
<reporting>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-changes-plugin</artifactId>
|
||||||
|
<version>2.10</version>
|
||||||
|
<inherited>false</inherited>
|
||||||
|
<reportSets>
|
||||||
|
<reportSet>
|
||||||
|
<reports>
|
||||||
|
<report>changes-report</report>
|
||||||
|
</reports>
|
||||||
|
</reportSet>
|
||||||
|
</reportSets>
|
||||||
|
<configuration>
|
||||||
|
<feedType>atom_1.0</feedType>
|
||||||
|
<issueLinkTemplatePerSystem>
|
||||||
|
<default>http://sourceforge.net/support/tracker.php?aid=%ISSUE%</default>
|
||||||
|
<newbugs>https://sourceforge.net/p/hl7api/bugs/%ISSUE%/</newbugs>
|
||||||
|
<newfeatures>https://sourceforge.net/p/hl7api/feature-requests/%ISSUE%/</newfeatures>
|
||||||
|
</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>
|
||||||
|
<configuration>
|
||||||
|
<aggregate>true</aggregate>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
||||||
|
<version>2.7</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>
|
<profiles>
|
||||||
<profile>
|
<profile>
|
||||||
<id>SIGN_ARTIFACTS</id>
|
<id>SIGN_ARTIFACTS</id>
|
||||||
|
@ -267,6 +523,37 @@
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>SITE</id>
|
||||||
|
<modules>
|
||||||
|
<module>hapi-fhir-base</module>
|
||||||
|
<module>hapi-fhir-structures-dstu</module>
|
||||||
|
<module>hapi-fhir-structures-dev</module>
|
||||||
|
</modules>
|
||||||
|
</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/examples</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-dev</module>
|
||||||
|
<module>hapi-fhir-jpaserver-base</module>
|
||||||
|
<module>hapi-fhir-jpaserver-test</module>
|
||||||
|
<module>restful-server-example</module>
|
||||||
|
<module>restful-server-example-test</module>
|
||||||
|
<module>hapi-fhir-testpage-overlay</module>
|
||||||
|
<module>hapi-fhir-jpaserver-uhnfhirtest</module>
|
||||||
|
</modules>
|
||||||
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 7.6 KiB |
|
@ -35,7 +35,7 @@
|
||||||
HAPI stylesheet comes after because it overwrites the Syntax Highlighter
|
HAPI stylesheet comes after because it overwrites the Syntax Highlighter
|
||||||
font size
|
font size
|
||||||
-->
|
-->
|
||||||
<link rel="shortcut icon" href="http://hl7api.sourceforge.net/images/favicon.png" />
|
<link rel="shortcut icon" href="https://github.com/jamesagnew/hapi-fhir/images/favicon.png" />
|
||||||
<link rel="stylesheet" type="text/css" href="hapi.css" />
|
<link rel="stylesheet" type="text/css" href="hapi.css" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -85,8 +85,10 @@
|
||||||
</menu>
|
</menu>
|
||||||
|
|
||||||
<menu name="JavaDocs">
|
<menu name="JavaDocs">
|
||||||
<item name="API Documentation" href="./apidocs/index.html" />
|
<item name="API (Core)" href="./apidocs/index.html" />
|
||||||
<item name="JXR" href="./xref/index.html" />
|
<item name="API (DSTU Model)" href="./apidocs-dstu/index.html" />
|
||||||
|
<item name="API (DEV Model)" href="./apidocs-dev/index.html" />
|
||||||
|
<item name="Source Code" href=".https://github.com/jamesagnew/hapi-fhir" />
|
||||||
</menu>
|
</menu>
|
||||||
|
|
||||||
<menu name="Reports">
|
<menu name="Reports">
|
|
@ -35,7 +35,7 @@
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
If you are using Maven, this JAR is marked as optional so you will need to
|
If you are using Maven, you will need to
|
||||||
explicitly include it in your project pom.xml using the following dependency:
|
explicitly include it in your project pom.xml using the following dependency:
|
||||||
</p>
|
</p>
|
||||||
<source><![CDATA[<dependency>
|
<source><![CDATA[<dependency>
|