You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2021/07/13 05:48:58 UTC

[isis-app-simpleapp] branch jpa-SNAPSHOT updated (95f8238 -> 170bf69)

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a change to branch jpa-SNAPSHOT
in repository https://gitbox.apache.org/repos/asf/isis-app-simpleapp.git.


    from 95f8238  improvements
     new b3d4e72  adds isis.version property
     new dce145b  improves and renames update-parent.sh
     new 170bf69  updates parent pom to 2.0.0-M5.20210713-0226-85ec9782

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 pom.xml                    |  3 ++-
 update-parent-to-latest.sh |  6 ------
 update-parent.sh           | 15 +++++++++++++++
 3 files changed, 17 insertions(+), 7 deletions(-)
 delete mode 100644 update-parent-to-latest.sh
 create mode 100644 update-parent.sh

[isis-app-simpleapp] 03/03: updates parent pom to 2.0.0-M5.20210713-0226-85ec9782

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch jpa-SNAPSHOT
in repository https://gitbox.apache.org/repos/asf/isis-app-simpleapp.git

commit 170bf69be22ffb5ae599c9005b63a21a2f4f9227
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Tue Jul 13 06:48:38 2021 +0100

    updates parent pom to 2.0.0-M5.20210713-0226-85ec9782
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 71fd836..31d6f95 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <groupId>org.apache.isis.app</groupId>
         <artifactId>isis-app-starter-parent</artifactId>
-        <version>2.0.0-SNAPSHOT</version>
+        <version>2.0.0-M5.20210713-0226-85ec9782</version>
         <relativePath/>
     </parent>
 
@@ -19,7 +19,7 @@
     <packaging>pom</packaging>
 
     <properties>
-        <isis.version>2.0.0-SNAPSHOT</isis.version>
+        <isis.version>2.0.0-M5.20210713-0226-85ec9782</isis.version>
         <java.version>11</java.version>
         <maven-cucumber-reporting.version>5.3.0</maven-cucumber-reporting.version>
         <archunit.version>0.14.1</archunit.version>

[isis-app-simpleapp] 01/03: adds isis.version property

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch jpa-SNAPSHOT
in repository https://gitbox.apache.org/repos/asf/isis-app-simpleapp.git

commit b3d4e72d67a63a5a183daeb403bfa4b271232b8a
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Tue Jul 13 06:47:13 2021 +0100

    adds isis.version property
---
 pom.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pom.xml b/pom.xml
index 0066f4c..71fd836 100644
--- a/pom.xml
+++ b/pom.xml
@@ -19,6 +19,7 @@
     <packaging>pom</packaging>
 
     <properties>
+        <isis.version>2.0.0-SNAPSHOT</isis.version>
         <java.version>11</java.version>
         <maven-cucumber-reporting.version>5.3.0</maven-cucumber-reporting.version>
         <archunit.version>0.14.1</archunit.version>

[isis-app-simpleapp] 02/03: improves and renames update-parent.sh

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch jpa-SNAPSHOT
in repository https://gitbox.apache.org/repos/asf/isis-app-simpleapp.git

commit dce145bb7f84fb8394ddcbf355ff4769e1bc4997
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Tue Jul 13 06:48:06 2021 +0100

    improves and renames update-parent.sh
---
 update-parent-to-latest.sh |  6 ------
 update-parent.sh           | 15 +++++++++++++++
 2 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/update-parent-to-latest.sh b/update-parent-to-latest.sh
deleted file mode 100644
index 6aa6b97..0000000
--- a/update-parent-to-latest.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-PARENT=$(curl -X GET "https://nexus.incode.work/service/rest/v1/search?sort=version&repository=nightly-builds&group=org.apache.isis.app&name=isis-app-starter-parent" -H "accept: application/json" -s | jq '.items[0].version' | sed 's/"//g')
-echo "parentVersion = $PARENT"
-mvn versions:update-parent -DparentVersion="[$PARENT]"
-
-git add pom.xml
-git commit -m "updates parent pom to $PARENT"
diff --git a/update-parent.sh b/update-parent.sh
new file mode 100644
index 0000000..de78ca7
--- /dev/null
+++ b/update-parent.sh
@@ -0,0 +1,15 @@
+
+if [ $# = 1 ]; then
+  PARENT=$1
+else
+  PARENT=$(curl -X GET "https://nexus.incode.work/service/rest/v1/search?sort=version&repository=nightly-builds&group=org.apache.isis.app&name=isis-app-starter-parent" -H "accept: application/json" -s | jq '.items[0].version' | sed 's/"//g')
+fi
+
+echo "parentVersion = $PARENT"
+mvn versions:update-parent -DparentVersion="[$PARENT]"
+
+CURR=$(grep "<isis.version>" pom.xml | head -1 | cut -d'>' -f2 | cut -d'<' -f1)
+sed -i "s|<isis.version>$CURR</isis.version>|<isis.version>$PARENT</isis.version>|g" pom.xml
+
+git add pom.xml
+git commit -m "updates parent pom to $PARENT"