From e4d5b45c992733255c1e83e1528fd3b332c9af3e Mon Sep 17 00:00:00 2001 From: grog Date: Thu, 12 Oct 2023 06:56:08 -0700 Subject: [PATCH] secure bot updates --- pom.xml | 956 +++++++++--------- .../myrobotlab/framework/repo/IvyWrapper.java | 2 +- .../java/org/myrobotlab/service/Python.java | 1 - .../org/myrobotlab/service/meta/GitMeta.java | 2 +- .../service/meta/OpenWeatherMapMeta.java | 2 +- .../service/meta/ProgramABMeta.java | 2 +- .../myrobotlab/service/meta/PythonMeta.java | 2 +- 7 files changed, 483 insertions(+), 484 deletions(-) diff --git a/pom.xml b/pom.xml index a1507381a2..24a5d02e49 100644 --- a/pom.xml +++ b/pom.xml @@ -1,102 +1,102 @@ - - - 4.0.0 - org.myrobotlab - mrl - 0.0.1-SNAPSHOT - MyRobotLab - Open Source Creative Machine Control - - - false - - - - 1.1. - - ${maven.build.timestamp} - yyyyMMddHHmm - ${timestamp} - ${version.prefix}${build.number} - ${git.branch} - ${NODE_NAME} - ${NODE_LABELS} - - - - 11 - 11 - UTF-8 - - - + + + 4.0.0 + org.myrobotlab + mrl + 0.0.1-SNAPSHOT + MyRobotLab + Open Source Creative Machine Control + + + false + + + + 1.1. + + ${maven.build.timestamp} + yyyyMMddHHmm + ${timestamp} + ${version.prefix}${build.number} + ${git.branch} + ${NODE_NAME} + ${NODE_LABELS} + + + + 11 + 11 + UTF-8 + + + @@ -135,9 +135,9 @@ https://m2.dv8tion.net/releases - - - + + + javazoom @@ -408,7 +408,7 @@ org.eclipse.jgit org.eclipse.jgit - 5.4.0.201906121030-r + 6.6.1.202309021850-r provided @@ -1171,7 +1171,7 @@ org.json json - 20090211 + 20230227 provided @@ -1286,7 +1286,7 @@ org.python jython-standalone - 2.7.1 + 2.7.2 @@ -1358,7 +1358,7 @@ org.apache.ivy ivy - 2.5.1 + 2.5.2 org.apache.httpcomponents @@ -1734,375 +1734,375 @@ - - - org.mockito - mockito-core - 3.12.4 - test - - - - - - - false - src/main/resources - - - false - src/main/java - - ** - - - **/*.java - - - - - - false - src/test/resources - - - false - src/test/java - - ** - - - **/*.java - - - - src/main/resources - ${project.basedir} - - - - - - - - org.codehaus.mojo - properties-maven-plugin - 1.0.0 - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.1.0 - - - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - - - no-duplicate-declared-dependencies - - enforce - - - - - - - - - - - - org.codehaus.mojo - properties-maven-plugin - - - initialize - - read-project-properties - - - - build.properties - - - - - - - - - - org.apache.maven.plugins - maven-shade-plugin - 3.1.0 - - - package - - shade - - - myrobotlab - - true - myrobotlab-full - false - - - - - org.myrobotlab.service.Runtime - ${version} - ${version} - - ${build.number} - ${maven.build.timestamp} - ${agent.name} - ${user.name} - - - ${git.tags} - ${git.branch} - ${git.dirty} - ${git.remote.origin.url} - ${git.commit.id} - ${git.commit.id.abbrev} - ${git.commit.id.full} - ${git.commit.id.describe} - ${git.commit.id.describe-short} - ${git.commit.user.name} - ${git.commit.user.email} - - ${git.commit.time} - ${git.closest.tag.name} - ${git.closest.tag.commit.count} - ${git.build.user.name} - ${git.build.user.email} - ${git.build.time} - ${git.build.version} - - - - - - - *:* - - module-info.class - META-INF/*.SF - META-INF/*.DSA - META-INF/*.RSA - - - - - - - - - - org.apache.maven.plugins - maven-assembly-plugin - - - assembly.xml - - myrobotlab - false - - - - trigger-assembly - package - - single - - - - - - - true - org.apache.maven.plugins - maven-compiler-plugin - 2.3.2 - - 11 - 11 - true - true - -parameters - - - - - org.apache.maven.plugins - maven-resources-plugin - 2.4.3 - - - - pl.project13.maven - git-commit-id-plugin - 4.9.10 - - - initialize - get-the-git-infos - - revision - - - - - ${project.basedir}/.git - git - false - true - ${project.build.outputDirectory}/git.properties - - - false - false - -dirty - - - - - - maven-surefire-plugin - org.apache.maven.plugins - 2.22.2 - - -Djava.library.path=libraries/native -Djna.library.path=libraries/native - - **/*Test.java - - - **/integration/* - - - - - - - - org.apache.maven.plugins - maven-clean-plugin - 2.3 - - - - data/.myrobotlab - false - - - libraries - - ** - - false - - - data - - ** - - - - resource - - ** - - - - src/main/resources/resource/framework - - **/serviceData.json - - false - - - - - - - - - - - - org.apache.maven.plugins - maven-surefire-report-plugin - 2.22.2 - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.0.1 - - - - - myrobotlab - http://myrobotlab.org - - - github - https://github.com/MyRobotLab/myrobotlab/issues - - + + + org.mockito + mockito-core + 3.12.4 + test + + + + + + + false + src/main/resources + + + false + src/main/java + + ** + + + **/*.java + + + + + + false + src/test/resources + + + false + src/test/java + + ** + + + **/*.java + + + + src/main/resources + ${project.basedir} + + + + + + + + org.codehaus.mojo + properties-maven-plugin + 1.0.0 + + + org.apache.maven.plugins + maven-enforcer-plugin + 3.1.0 + + + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + + + no-duplicate-declared-dependencies + + enforce + + + + + + + + + + + + org.codehaus.mojo + properties-maven-plugin + + + initialize + + read-project-properties + + + + build.properties + + + + + + + + + + org.apache.maven.plugins + maven-shade-plugin + 3.1.0 + + + package + + shade + + + myrobotlab + + true + myrobotlab-full + false + + + + + org.myrobotlab.service.Runtime + ${version} + ${version} + + ${build.number} + ${maven.build.timestamp} + ${agent.name} + ${user.name} + + + ${git.tags} + ${git.branch} + ${git.dirty} + ${git.remote.origin.url} + ${git.commit.id} + ${git.commit.id.abbrev} + ${git.commit.id.full} + ${git.commit.id.describe} + ${git.commit.id.describe-short} + ${git.commit.user.name} + ${git.commit.user.email} + + ${git.commit.time} + ${git.closest.tag.name} + ${git.closest.tag.commit.count} + ${git.build.user.name} + ${git.build.user.email} + ${git.build.time} + ${git.build.version} + + + + + + + *:* + + module-info.class + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + + + + + + + + + + org.apache.maven.plugins + maven-assembly-plugin + + + assembly.xml + + myrobotlab + false + + + + trigger-assembly + package + + single + + + + + + + true + org.apache.maven.plugins + maven-compiler-plugin + 2.3.2 + + 11 + 11 + true + true + -parameters + + + + + org.apache.maven.plugins + maven-resources-plugin + 2.4.3 + + + + pl.project13.maven + git-commit-id-plugin + 4.9.10 + + + initialize + get-the-git-infos + + revision + + + + + ${project.basedir}/.git + git + false + true + ${project.build.outputDirectory}/git.properties + + + false + false + -dirty + + + + + + maven-surefire-plugin + org.apache.maven.plugins + 2.22.2 + + -Djava.library.path=libraries/native -Djna.library.path=libraries/native + + **/*Test.java + + + **/integration/* + + + + + + + + org.apache.maven.plugins + maven-clean-plugin + 2.3 + + + + data/.myrobotlab + false + + + libraries + + ** + + false + + + data + + ** + + + + resource + + ** + + + + src/main/resources/resource/framework + + **/serviceData.json + + false + + + + + + + + + + + + org.apache.maven.plugins + maven-surefire-report-plugin + 2.22.2 + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.0.1 + + + + + myrobotlab + http://myrobotlab.org + + + github + https://github.com/MyRobotLab/myrobotlab/issues + + diff --git a/src/main/java/org/myrobotlab/framework/repo/IvyWrapper.java b/src/main/java/org/myrobotlab/framework/repo/IvyWrapper.java index 5759c4866e..aae1ace772 100644 --- a/src/main/java/org/myrobotlab/framework/repo/IvyWrapper.java +++ b/src/main/java/org/myrobotlab/framework/repo/IvyWrapper.java @@ -34,7 +34,7 @@ public class IvyWrapper extends Repo implements Serializable { private static final long serialVersionUID = 1L; - public static final String IVY_VERSION = "2.5.1"; + public static final String IVY_VERSION = "2.5.2"; class IvyWrapperLogger extends AbstractMessageLogger { diff --git a/src/main/java/org/myrobotlab/service/Python.java b/src/main/java/org/myrobotlab/service/Python.java index d17709cb3c..18329e7b2e 100644 --- a/src/main/java/org/myrobotlab/service/Python.java +++ b/src/main/java/org/myrobotlab/service/Python.java @@ -827,7 +827,6 @@ public void releaseService() { inputQueueThread.stop(); thread.interruptAllThreads(); - Py.getSystemState()._systemRestart = true; } /** diff --git a/src/main/java/org/myrobotlab/service/meta/GitMeta.java b/src/main/java/org/myrobotlab/service/meta/GitMeta.java index 310b231bd9..16372e57a1 100644 --- a/src/main/java/org/myrobotlab/service/meta/GitMeta.java +++ b/src/main/java/org/myrobotlab/service/meta/GitMeta.java @@ -17,7 +17,7 @@ public GitMeta() { addCategory("programming"); // EDL (new-style BSD) licensed - addDependency("org.eclipse.jgit", "org.eclipse.jgit", "5.4.0.201906121030-r"); + addDependency("org.eclipse.jgit", "org.eclipse.jgit", "6.6.1.202309021850-r"); } } diff --git a/src/main/java/org/myrobotlab/service/meta/OpenWeatherMapMeta.java b/src/main/java/org/myrobotlab/service/meta/OpenWeatherMapMeta.java index d481e472e1..f61d2a3f72 100644 --- a/src/main/java/org/myrobotlab/service/meta/OpenWeatherMapMeta.java +++ b/src/main/java/org/myrobotlab/service/meta/OpenWeatherMapMeta.java @@ -17,7 +17,7 @@ public OpenWeatherMapMeta() { addDescription("This service will query OpenWeatherMap for the current weather. Get an API key at http://openweathermap.org/"); addCategory("weather"); setCloudService(true); - addDependency("org.json", "json", "20090211"); + addDependency("org.json", "json", "20230227"); } diff --git a/src/main/java/org/myrobotlab/service/meta/ProgramABMeta.java b/src/main/java/org/myrobotlab/service/meta/ProgramABMeta.java index d041161259..7430f362dd 100644 --- a/src/main/java/org/myrobotlab/service/meta/ProgramABMeta.java +++ b/src/main/java/org/myrobotlab/service/meta/ProgramABMeta.java @@ -26,7 +26,7 @@ public ProgramABMeta() { addDependency("com.fasterxml.jackson.dataformat", "jackson-dataformat-xml", "2.14.0"); - addDependency("org.json", "json", "20090211"); + addDependency("org.json", "json", "20230227"); // used by FileIO addDependency("commons-io", "commons-io", "2.7"); // TODO: This is for CJK support in ProgramAB move this into the published diff --git a/src/main/java/org/myrobotlab/service/meta/PythonMeta.java b/src/main/java/org/myrobotlab/service/meta/PythonMeta.java index f4c605d962..4171e2bae5 100644 --- a/src/main/java/org/myrobotlab/service/meta/PythonMeta.java +++ b/src/main/java/org/myrobotlab/service/meta/PythonMeta.java @@ -18,7 +18,7 @@ public PythonMeta() { addCategory("programming", "control"); includeServiceInOneJar(true); - addDependency("org.python", "jython-standalone", "2.7.1"); + addDependency("org.python", "jython-standalone", "2.7.2"); }