Skip to content

Commit

Permalink
Changes group ID to allow EHRbase build w/ locally installed SDK deps
Browse files Browse the repository at this point in the history
and manual patch version bump
  • Loading branch information
wlad committed Jun 30, 2020
1 parent 67fa04b commit f1bbb84
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 44 deletions.
9 changes: 4 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,11 @@ jobs:
;;
( !(!(*"patch"*)|!(*"release"*)) )
echo "deploy patch release"
mvn build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion} versions:commit
echo "TODO - deploy to jitpack command goes here"
mvn build-helper:parse-version versions:set -DnewVersion=v\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion}-SNAPSHOT versions:commit
SDK_VERSION=$(mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive exec:exec)
git commit -am "released v${SDK_VERSION}-SNAPSHOT [skip ci]"
git tag -a v${SDK_VERSION} -m "release v${SDK_VERSION}-SNAPSHOT"
git push --set-upstream origin develop v${SDK_VERSION}
git commit -am "released ${SDK_VERSION} [skip ci]"
git tag -a ${SDK_VERSION} -m "release ${SDK_VERSION}"
git push --set-upstream origin develop ${SDK_VERSION}
exit 0
;;
*)
Expand Down
14 changes: 7 additions & 7 deletions client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>root</artifactId>
<groupId>org.ehrbase.sdk</groupId>
<version>0.3.1-SNAPSHOT</version>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<version>v0.3.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand All @@ -43,24 +43,24 @@

</dependency>
<dependency>
<groupId>org.ehrbase.sdk</groupId>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<artifactId>opt-1.4</artifactId>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
</dependency>
<dependency>
<groupId>org.ehrbase.sdk</groupId>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<artifactId>serialisation</artifactId>
</dependency>
<dependency>
<groupId>org.ehrbase.sdk</groupId>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<artifactId>terminology</artifactId>
</dependency>

<dependency>
<groupId>org.ehrbase.sdk</groupId>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<artifactId>response-dto</artifactId>
</dependency>
<dependency>
Expand Down Expand Up @@ -102,7 +102,7 @@

</dependency>
<dependency>
<groupId>org.ehrbase.sdk</groupId>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<artifactId>test-data</artifactId>

</dependency>
Expand Down
8 changes: 4 additions & 4 deletions generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>root</artifactId>
<groupId>org.ehrbase.sdk</groupId>
<version>0.3.1-SNAPSHOT</version>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<version>v0.3.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>generator</artifactId>
<dependencies>
<dependency>
<groupId>org.ehrbase.sdk</groupId>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<artifactId>client</artifactId>
</dependency>

Expand All @@ -54,7 +54,7 @@
<artifactId>mockito-core</artifactId>
</dependency>
<dependency>
<groupId>org.ehrbase.sdk</groupId>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<artifactId>test-data</artifactId>
</dependency>
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions opt-1.4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>root</artifactId>
<groupId>org.ehrbase.sdk</groupId>
<version>0.3.1-SNAPSHOT</version>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<version>v0.3.2-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
20 changes: 10 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
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>

<groupId>org.ehrbase.sdk</groupId>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<artifactId>root</artifactId>
<packaging>pom</packaging>
<version>0.3.1-SNAPSHOT</version>
<version>v0.3.2-SNAPSHOT</version>
<modules>
<module>client</module>
<module>generator</module>
Expand Down Expand Up @@ -113,42 +113,42 @@
<dependencies>
<!-- modules -->
<dependency>
<groupId>org.ehrbase.sdk</groupId>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<artifactId>client</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.ehrbase.sdk</groupId>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<artifactId>generator</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.ehrbase.sdk</groupId>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<artifactId>response-dto</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.ehrbase.sdk</groupId>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<artifactId>opt-1.4</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.ehrbase.sdk</groupId>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<artifactId>serialisation</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.ehrbase.sdk</groupId>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<artifactId>terminology</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.ehrbase.sdk</groupId>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<artifactId>validation</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.ehrbase.sdk</groupId>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<artifactId>test-data</artifactId>
<version>${project.version}</version>
<scope>test</scope>
Expand Down
4 changes: 2 additions & 2 deletions response-dto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>root</artifactId>
<groupId>org.ehrbase.sdk</groupId>
<version>0.3.1-SNAPSHOT</version>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<version>v0.3.2-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
6 changes: 3 additions & 3 deletions serialisation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>root</artifactId>
<groupId>org.ehrbase.sdk</groupId>
<version>0.3.1-SNAPSHOT</version>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<version>v0.3.2-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -91,7 +91,7 @@

</dependency>
<dependency>
<groupId>org.ehrbase.sdk</groupId>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<artifactId>test-data</artifactId>
</dependency>
<dependency>
Expand Down
6 changes: 3 additions & 3 deletions terminology/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>root</artifactId>
<groupId>org.ehrbase.sdk</groupId>
<version>0.3.1-SNAPSHOT</version>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<version>v0.3.2-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -36,7 +36,7 @@
<artifactId>archie</artifactId>
</dependency>
<dependency>
<groupId>org.ehrbase.sdk</groupId>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<artifactId>serialisation</artifactId>
</dependency>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions test-data/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>root</artifactId>
<groupId>org.ehrbase.sdk</groupId>
<version>0.3.1-SNAPSHOT</version>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<version>v0.3.2-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
12 changes: 6 additions & 6 deletions validation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,20 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>root</artifactId>
<groupId>org.ehrbase.sdk</groupId>
<version>0.3.1-SNAPSHOT</version>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<version>v0.3.2-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>validation</artifactId>

<dependencies>
<dependency>
<groupId>org.ehrbase.sdk</groupId>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<artifactId>terminology</artifactId>
</dependency>
<dependency>
<groupId>org.ehrbase.sdk</groupId>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<artifactId>opt-1.4</artifactId>
</dependency>
<dependency>
Expand All @@ -50,12 +50,12 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ehrbase.sdk</groupId>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<artifactId>test-data</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ehrbase.sdk</groupId>
<groupId>com.github.ehrbase.openEHR_SDK</groupId>
<artifactId>serialisation</artifactId>
<scope>test</scope>
</dependency>
Expand Down

0 comments on commit f1bbb84

Please sign in to comment.