Merge branch 'master' of github.com:hapifhir/org.hl7.fhir.core
This commit is contained in:
commit
b38e81ac88
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||||
<artifactId>org.hl7.fhir.core</artifactId>
|
<artifactId>org.hl7.fhir.core</artifactId>
|
||||||
<version>3.7.28-SNAPSHOT</version>
|
<version>3.7.29-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||||
<artifactId>org.hl7.fhir.core</artifactId>
|
<artifactId>org.hl7.fhir.core</artifactId>
|
||||||
<version>3.7.28-SNAPSHOT</version>
|
<version>3.7.29-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||||
<artifactId>org.hl7.fhir.core</artifactId>
|
<artifactId>org.hl7.fhir.core</artifactId>
|
||||||
<version>3.7.28-SNAPSHOT</version>
|
<version>3.7.29-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||||
<artifactId>org.hl7.fhir.core</artifactId>
|
<artifactId>org.hl7.fhir.core</artifactId>
|
||||||
<version>3.7.28-SNAPSHOT</version>
|
<version>3.7.29-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||||
<artifactId>org.hl7.fhir.core</artifactId>
|
<artifactId>org.hl7.fhir.core</artifactId>
|
||||||
<version>3.7.28-SNAPSHOT</version>
|
<version>3.7.29-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||||
<artifactId>org.hl7.fhir.core</artifactId>
|
<artifactId>org.hl7.fhir.core</artifactId>
|
||||||
<version>3.7.28-SNAPSHOT</version>
|
<version>3.7.29-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||||
<artifactId>org.hl7.fhir.core</artifactId>
|
<artifactId>org.hl7.fhir.core</artifactId>
|
||||||
<version>3.7.28-SNAPSHOT</version>
|
<version>3.7.29-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
|
@ -350,22 +350,22 @@ import com.google.gson.JsonObject;
|
||||||
return content;
|
return content;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static NpmPackage fromFolder(String folder) throws IOException {
|
public static NpmPackage fromFolder(String folder, String... exemptions) throws IOException {
|
||||||
return fromFolder(folder, null);
|
return fromFolder(folder, null, exemptions);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static NpmPackage fromFolder(String folder, PackageType defType) throws IOException {
|
public static NpmPackage fromFolder(String folder, PackageType defType, String... exemptions) throws IOException {
|
||||||
NpmPackage res = new NpmPackage(null);
|
NpmPackage res = new NpmPackage(null);
|
||||||
loadFiles(res, folder, new File(folder));
|
loadFiles(res, folder, new File(folder), exemptions);
|
||||||
if (!res.content.containsKey("package/package.json") && defType != null)
|
if (!res.content.containsKey("package/package.json") && defType != null)
|
||||||
res.content.put("package/package.json", TextFile.stringToBytes("{ \"type\" : \""+defType.getCode()+"\"}", false));
|
res.content.put("package/package.json", TextFile.stringToBytes("{ \"type\" : \""+defType.getCode()+"\"}", false));
|
||||||
res.npm = (JsonObject) new com.google.gson.JsonParser().parse(new String(res.content.get("package/package.json")));
|
res.npm = (JsonObject) new com.google.gson.JsonParser().parse(new String(res.content.get("package/package.json")));
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void loadFiles(NpmPackage res, String base, File folder) throws FileNotFoundException, IOException {
|
private static void loadFiles(NpmPackage res, String base, File folder, String... exemptions) throws FileNotFoundException, IOException {
|
||||||
for (File f : folder.listFiles()) {
|
for (File f : folder.listFiles()) {
|
||||||
if (!f.getName().equals(".git")) {
|
if (!f.getName().equals(".git") || !Utilities.existsInList(f.getName(), exemptions)) {
|
||||||
if (f.isDirectory())
|
if (f.isDirectory())
|
||||||
loadFiles(res, base, f);
|
loadFiles(res, base, f);
|
||||||
else {
|
else {
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||||
<artifactId>org.hl7.fhir.core</artifactId>
|
<artifactId>org.hl7.fhir.core</artifactId>
|
||||||
<version>3.7.28-SNAPSHOT</version>
|
<version>3.7.29-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||||
<artifactId>org.hl7.fhir.core</artifactId>
|
<artifactId>org.hl7.fhir.core</artifactId>
|
||||||
<version>3.7.28-SNAPSHOT</version>
|
<version>3.7.29-SNAPSHOT</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|
|
@ -251,7 +251,7 @@ public class Validator {
|
||||||
System.out.print(s.contains(" ") ? " \""+s+"\"" : " "+s);
|
System.out.print(s.contains(" ") ? " \""+s+"\"" : " "+s);
|
||||||
System.out.println();
|
System.out.println();
|
||||||
|
|
||||||
String definitions = "hl7.fhir.core#"+Constants.VERSION;
|
String definitions = "hl7.fhir.core#current";
|
||||||
String map = null;
|
String map = null;
|
||||||
List<String> igs = new ArrayList<String>();
|
List<String> igs = new ArrayList<String>();
|
||||||
List<String> questionnaires = new ArrayList<String>();
|
List<String> questionnaires = new ArrayList<String>();
|
||||||
|
|
|
@ -150,7 +150,7 @@
|
||||||
"errorCount": 0
|
"errorCount": 0
|
||||||
},
|
},
|
||||||
"primitive-bad.xml" : {
|
"primitive-bad.xml" : {
|
||||||
"errorCount": 49
|
"errorCount": 47
|
||||||
},
|
},
|
||||||
"primitive-bad-empty.xml" : {
|
"primitive-bad-empty.xml" : {
|
||||||
"errorCount": 3
|
"errorCount": 3
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -13,7 +13,7 @@
|
||||||
each other. It is fine to bump the point version of this POM without affecting
|
each other. It is fine to bump the point version of this POM without affecting
|
||||||
HAPI FHIR.
|
HAPI FHIR.
|
||||||
-->
|
-->
|
||||||
<version>3.7.28-SNAPSHOT</version>
|
<version>3.7.29-SNAPSHOT</version>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<hapi_fhir_version>3.7.0-SNAPSHOT</hapi_fhir_version>
|
<hapi_fhir_version>3.7.0-SNAPSHOT</hapi_fhir_version>
|
||||||
|
|
|
@ -4,15 +4,15 @@ REM make sure you are committed
|
||||||
echo
|
echo
|
||||||
|
|
||||||
echo ===============================================================
|
echo ===============================================================
|
||||||
echo upgrade and release fhir.core from 3.7.27-SNAPSHOT to 3.7.28-SNAPSHOT
|
echo upgrade and release fhir.core from 3.7.28-SNAPSHOT to 3.7.29-SNAPSHOT
|
||||||
echo ===============================================================
|
echo ===============================================================
|
||||||
pause
|
pause
|
||||||
|
|
||||||
call mvn versions:set -DnewVersion=3.7.28-SNAPSHOT
|
call mvn versions:set -DnewVersion=3.7.29-SNAPSHOT
|
||||||
call git commit -a -m "Release new version"
|
call git commit -a -m "Release new version"
|
||||||
call git push origin master
|
call git push origin master
|
||||||
call "C:\tools\fnr.exe" --cl --dir "C:\work\org.hl7.fhir\build" --fileMask "*.java" --excludeFileMask "*.dll, *.exe" --includeSubDirectories --find "3.7.27-SNAPSHOT" --replace "3.7.28-SNAPSHOT"
|
call "C:\tools\fnr.exe" --cl --dir "C:\work\org.hl7.fhir\build" --fileMask "*.java" --excludeFileMask "*.dll, *.exe" --includeSubDirectories --find "3.7.28-SNAPSHOT" --replace "3.7.29-SNAPSHOT"
|
||||||
call "C:\tools\fnr.exe" --cl --dir "C:\work\org.hl7.fhir\build" --fileMask "*.xml" --excludeFileMask "*.dll, *.exe" --find "3.7.27-SNAPSHOT" --replace "3.7.28-SNAPSHOT"
|
call "C:\tools\fnr.exe" --cl --dir "C:\work\org.hl7.fhir\build" --fileMask "*.xml" --excludeFileMask "*.dll, *.exe" --find "3.7.28-SNAPSHOT" --replace "3.7.29-SNAPSHOT"
|
||||||
call mvn deploy
|
call mvn deploy
|
||||||
|
|
||||||
echo ===============================================================
|
echo ===============================================================
|
||||||
|
|
Loading…
Reference in New Issue