From f13979f3a1e99640e569d00c2f824922c88d3687 Mon Sep 17 00:00:00 2001 From: Simon Martinelli Date: Tue, 11 Jul 2023 16:44:31 +0200 Subject: [PATCH 01/41] Update for next development version --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b8f50b8..760417b 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.utplsql utplsql-maven-plugin - 3.1.11 + 3.1.12-SNAPSHOT maven-plugin utPLSQL Maven Plugin From 36d6ab3c6a5094d9b0a790e008214da32e7bfa87 Mon Sep 17 00:00:00 2001 From: Simon Martinelli Date: Sat, 31 Aug 2024 14:00:24 +0200 Subject: [PATCH 02/41] Upgrade to Oracle Database Free #74 --- .github/workflows/build.yml | 2 +- .github/workflows/release.yml | 2 +- scripts/0_start_db.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b3a4e7b..07c5189 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: services: oracle: - image: gvenzl/oracle-xe:21-slim + image: gvenzl/oracle-free:23-slim env: ORACLE_PASSWORD: oracle ports: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4825e34..f5b1c45 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: services: oracle: - image: gvenzl/oracle-xe:21-slim + image: gvenzl/oracle-free:23-slim env: ORACLE_PASSWORD: oracle ports: diff --git a/scripts/0_start_db.sh b/scripts/0_start_db.sh index d319407..d1bd8bb 100644 --- a/scripts/0_start_db.sh +++ b/scripts/0_start_db.sh @@ -1 +1 @@ -docker run -d --name ora-utplsql -p 1521:1521 -e ORACLE_PASSWORD=oracle gvenzl/oracle-xe:21-slim +docker run -d --name ora-utplsql -p 1521:1521 -e ORACLE_PASSWORD=oracle gvenzl/oracle-free:23-slim From 9d60472bd6bf3ba5e1f5c4046047d1bd9dffe37e Mon Sep 17 00:00:00 2001 From: Simon Martinelli Date: Sat, 31 Aug 2024 14:07:31 +0200 Subject: [PATCH 03/41] User FREEPDB1 SID --- README.md | 2 +- .../java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java | 8 ++------ .../maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml | 2 +- .../plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml | 2 +- .../maven/plugin/UtPlsqlMojoIT/include_object/pom.xml | 2 +- .../plugin/UtPlsqlMojoIT/include_object_expr/pom.xml | 2 +- .../utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml | 2 +- .../maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml | 2 +- .../maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml | 2 +- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml | 2 +- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml | 2 +- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml | 2 +- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml | 2 +- .../maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml | 2 +- src/test/resources/unit-tests/dbms_output/pom.xml | 2 +- .../unit-tests/default_console_output_behaviour/pom.xml | 2 +- src/test/resources/unit-tests/default_reporter/pom.xml | 2 +- src/test/resources/unit-tests/exclude_object/pom.xml | 2 +- src/test/resources/unit-tests/exclude_object_expr/pom.xml | 2 +- src/test/resources/unit-tests/exclude_schema_expr/pom.xml | 2 +- src/test/resources/unit-tests/include_object/pom.xml | 2 +- src/test/resources/unit-tests/include_object_expr/pom.xml | 2 +- src/test/resources/unit-tests/include_schema_expr/pom.xml | 2 +- .../unit-tests/invalid_sources_directory/pom.xml | 2 +- .../resources/unit-tests/invalid_tests_directory/pom.xml | 2 +- src/test/resources/unit-tests/ora_stuck_timeout/pom.xml | 2 +- src/test/resources/unit-tests/skip_utplsql_tests/pom.xml | 2 +- .../sources_and_tests_parameter_does_not_exist/pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../resources/unit-tests/sources_tests_parameters/pom.xml | 2 +- 32 files changed, 33 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index d57328f..c428511 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ Please refer to the following usage example for the parameters descriptions: - + url_of_connection diff --git a/src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java b/src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java index 6315072..3964c13 100644 --- a/src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java +++ b/src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java @@ -12,11 +12,7 @@ import java.io.PrintStream; import java.util.List; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertThrows; -import static org.junit.Assert.assertTrue; +import static org.junit.Assert.*; public class UtPlsqlMojoTest { @@ -308,7 +304,7 @@ public void dbms_output() throws Exception { */ @Test public void db_config_using_system_properties() throws Exception { - System.setProperty("dbUrl", "jdbc:oracle:thin:@localhost:1521:xe"); + System.setProperty("dbUrl", "jdbc:oracle:thin:@localhost:1521:FREEPDB1"); System.setProperty("dbUser", "UT3"); System.setProperty("dbPass", "UT3"); diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml index 15411c2..36b3693 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:xe + jdbc:oracle:thin:@localhost:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml index 22d0869..fbe3782 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:xe + jdbc:oracle:thin:@localhost:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml index ee6d13f..d5c2a74 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:xe + jdbc:oracle:thin:@localhost:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml index e807d13..b99d1f5 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:xe + jdbc:oracle:thin:@localhost:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml index 40759d2..307b956 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:xe + jdbc:oracle:thin:@localhost:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml index f0c33da..55c3bed 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:xe + jdbc:oracle:thin:@localhost:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml index 961940b..156b956 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:xe + jdbc:oracle:thin:@localhost:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml index 2620738..cbe578a 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:xe + jdbc:oracle:thin:@localhost:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml index c174c87..605124b 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:xe + jdbc:oracle:thin:@localhost:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml index f9264fb..839a6af 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:xe + jdbc:oracle:thin:@localhost:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml index 01150a1..b82af37 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:xe + jdbc:oracle:thin:@localhost:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml index 3cf0033..432deb2 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:xe + jdbc:oracle:thin:@localhost:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/dbms_output/pom.xml b/src/test/resources/unit-tests/dbms_output/pom.xml index 4f45635..bf4bb04 100644 --- a/src/test/resources/unit-tests/dbms_output/pom.xml +++ b/src/test/resources/unit-tests/dbms_output/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml b/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml index ac6b14c..266f353 100644 --- a/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml +++ b/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/default_reporter/pom.xml b/src/test/resources/unit-tests/default_reporter/pom.xml index 8f03e25..a1483af 100644 --- a/src/test/resources/unit-tests/default_reporter/pom.xml +++ b/src/test/resources/unit-tests/default_reporter/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/exclude_object/pom.xml b/src/test/resources/unit-tests/exclude_object/pom.xml index d65fde3..59c2529 100644 --- a/src/test/resources/unit-tests/exclude_object/pom.xml +++ b/src/test/resources/unit-tests/exclude_object/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/exclude_object_expr/pom.xml b/src/test/resources/unit-tests/exclude_object_expr/pom.xml index 7993e05..2540641 100644 --- a/src/test/resources/unit-tests/exclude_object_expr/pom.xml +++ b/src/test/resources/unit-tests/exclude_object_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/exclude_schema_expr/pom.xml b/src/test/resources/unit-tests/exclude_schema_expr/pom.xml index 28df05e..29a9a01 100644 --- a/src/test/resources/unit-tests/exclude_schema_expr/pom.xml +++ b/src/test/resources/unit-tests/exclude_schema_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/include_object/pom.xml b/src/test/resources/unit-tests/include_object/pom.xml index f031df5..b3bcfa4 100644 --- a/src/test/resources/unit-tests/include_object/pom.xml +++ b/src/test/resources/unit-tests/include_object/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/include_object_expr/pom.xml b/src/test/resources/unit-tests/include_object_expr/pom.xml index 636098b..c3f43b9 100644 --- a/src/test/resources/unit-tests/include_object_expr/pom.xml +++ b/src/test/resources/unit-tests/include_object_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/include_schema_expr/pom.xml b/src/test/resources/unit-tests/include_schema_expr/pom.xml index f953ec0..95f28dd 100644 --- a/src/test/resources/unit-tests/include_schema_expr/pom.xml +++ b/src/test/resources/unit-tests/include_schema_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/invalid_sources_directory/pom.xml b/src/test/resources/unit-tests/invalid_sources_directory/pom.xml index af6643d..b6b3d5e 100644 --- a/src/test/resources/unit-tests/invalid_sources_directory/pom.xml +++ b/src/test/resources/unit-tests/invalid_sources_directory/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/invalid_tests_directory/pom.xml b/src/test/resources/unit-tests/invalid_tests_directory/pom.xml index c7380ef..af69a88 100644 --- a/src/test/resources/unit-tests/invalid_tests_directory/pom.xml +++ b/src/test/resources/unit-tests/invalid_tests_directory/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml b/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml index f04825c..2e3649d 100644 --- a/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml +++ b/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml b/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml index 3e978d5..88e75af 100644 --- a/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml +++ b/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml index a556a7e..bb59752 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml index a556a7e..bb59752 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml index d5382b4..fe55db1 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml index d33e917..c848bbd 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml @@ -10,7 +10,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_tests_parameters/pom.xml b/src/test/resources/unit-tests/sources_tests_parameters/pom.xml index 6f4c2d0..c07668c 100644 --- a/src/test/resources/unit-tests/sources_tests_parameters/pom.xml +++ b/src/test/resources/unit-tests/sources_tests_parameters/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 From f67d92a003aaba57f77dad358c1c56650e68d92e Mon Sep 17 00:00:00 2001 From: Simon Martinelli Date: Sat, 31 Aug 2024 14:11:48 +0200 Subject: [PATCH 04/41] Fixed JDBC Url --- README.md | 2 +- src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java | 2 +- .../utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml | 2 +- .../maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml | 2 +- .../utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml | 2 +- .../maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml | 2 +- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml | 2 +- .../maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml | 2 +- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml | 2 +- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml | 2 +- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml | 2 +- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml | 2 +- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml | 2 +- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml | 2 +- src/test/resources/unit-tests/dbms_output/pom.xml | 2 +- .../unit-tests/default_console_output_behaviour/pom.xml | 2 +- src/test/resources/unit-tests/default_reporter/pom.xml | 2 +- src/test/resources/unit-tests/exclude_object/pom.xml | 2 +- src/test/resources/unit-tests/exclude_object_expr/pom.xml | 2 +- src/test/resources/unit-tests/exclude_schema_expr/pom.xml | 2 +- src/test/resources/unit-tests/include_object/pom.xml | 2 +- src/test/resources/unit-tests/include_object_expr/pom.xml | 2 +- src/test/resources/unit-tests/include_schema_expr/pom.xml | 2 +- src/test/resources/unit-tests/invalid_sources_directory/pom.xml | 2 +- src/test/resources/unit-tests/invalid_tests_directory/pom.xml | 2 +- src/test/resources/unit-tests/ora_stuck_timeout/pom.xml | 2 +- src/test/resources/unit-tests/skip_utplsql_tests/pom.xml | 2 +- .../sources_and_tests_parameter_does_not_exist/pom.xml | 2 +- .../pom.xml | 2 +- .../sources_and_tests_parameter_have_not_directory_tag/pom.xml | 2 +- .../sources_and_tests_parameter_have_not_includes_tag/pom.xml | 2 +- src/test/resources/unit-tests/sources_tests_parameters/pom.xml | 2 +- 32 files changed, 32 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index c428511..ae7b2d7 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ Please refer to the following usage example for the parameters descriptions: - + url_of_connection diff --git a/src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java b/src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java index 3964c13..deb7546 100644 --- a/src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java +++ b/src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java @@ -304,7 +304,7 @@ public void dbms_output() throws Exception { */ @Test public void db_config_using_system_properties() throws Exception { - System.setProperty("dbUrl", "jdbc:oracle:thin:@localhost:1521:FREEPDB1"); + System.setProperty("dbUrl", "jdbc:oracle:thin:@localhost:1521/FREEPDB1"); System.setProperty("dbUser", "UT3"); System.setProperty("dbPass", "UT3"); diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml index 36b3693..4889335 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:FREEPDB1 + jdbc:oracle:thin:@localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml index fbe3782..c4a016f 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:FREEPDB1 + jdbc:oracle:thin:@localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml index d5c2a74..bcdc456 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:FREEPDB1 + jdbc:oracle:thin:@localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml index b99d1f5..df74866 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:FREEPDB1 + jdbc:oracle:thin:@localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml index 307b956..0660f2e 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:FREEPDB1 + jdbc:oracle:thin:@localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml index 55c3bed..0c2f255 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:FREEPDB1 + jdbc:oracle:thin:@localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml index 156b956..e358a2d 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:FREEPDB1 + jdbc:oracle:thin:@localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml index cbe578a..3e1fd7f 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:FREEPDB1 + jdbc:oracle:thin:@localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml index 605124b..c8e0113 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:FREEPDB1 + jdbc:oracle:thin:@localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml index 839a6af..864cb07 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:FREEPDB1 + jdbc:oracle:thin:@localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml index b82af37..2403efd 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:FREEPDB1 + jdbc:oracle:thin:@localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml index 432deb2..493e0d3 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:FREEPDB1 + jdbc:oracle:thin:@localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/dbms_output/pom.xml b/src/test/resources/unit-tests/dbms_output/pom.xml index bf4bb04..7e0ded0 100644 --- a/src/test/resources/unit-tests/dbms_output/pom.xml +++ b/src/test/resources/unit-tests/dbms_output/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml b/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml index 266f353..60c5437 100644 --- a/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml +++ b/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/default_reporter/pom.xml b/src/test/resources/unit-tests/default_reporter/pom.xml index a1483af..c5eec78 100644 --- a/src/test/resources/unit-tests/default_reporter/pom.xml +++ b/src/test/resources/unit-tests/default_reporter/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/exclude_object/pom.xml b/src/test/resources/unit-tests/exclude_object/pom.xml index 59c2529..c5a1b47 100644 --- a/src/test/resources/unit-tests/exclude_object/pom.xml +++ b/src/test/resources/unit-tests/exclude_object/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/exclude_object_expr/pom.xml b/src/test/resources/unit-tests/exclude_object_expr/pom.xml index 2540641..28e2b2b 100644 --- a/src/test/resources/unit-tests/exclude_object_expr/pom.xml +++ b/src/test/resources/unit-tests/exclude_object_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/exclude_schema_expr/pom.xml b/src/test/resources/unit-tests/exclude_schema_expr/pom.xml index 29a9a01..97e900f 100644 --- a/src/test/resources/unit-tests/exclude_schema_expr/pom.xml +++ b/src/test/resources/unit-tests/exclude_schema_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/include_object/pom.xml b/src/test/resources/unit-tests/include_object/pom.xml index b3bcfa4..d15d710 100644 --- a/src/test/resources/unit-tests/include_object/pom.xml +++ b/src/test/resources/unit-tests/include_object/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/include_object_expr/pom.xml b/src/test/resources/unit-tests/include_object_expr/pom.xml index c3f43b9..ddd1e1d 100644 --- a/src/test/resources/unit-tests/include_object_expr/pom.xml +++ b/src/test/resources/unit-tests/include_object_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/include_schema_expr/pom.xml b/src/test/resources/unit-tests/include_schema_expr/pom.xml index 95f28dd..09d3793 100644 --- a/src/test/resources/unit-tests/include_schema_expr/pom.xml +++ b/src/test/resources/unit-tests/include_schema_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/invalid_sources_directory/pom.xml b/src/test/resources/unit-tests/invalid_sources_directory/pom.xml index b6b3d5e..74d9946 100644 --- a/src/test/resources/unit-tests/invalid_sources_directory/pom.xml +++ b/src/test/resources/unit-tests/invalid_sources_directory/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/invalid_tests_directory/pom.xml b/src/test/resources/unit-tests/invalid_tests_directory/pom.xml index af69a88..e086711 100644 --- a/src/test/resources/unit-tests/invalid_tests_directory/pom.xml +++ b/src/test/resources/unit-tests/invalid_tests_directory/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml b/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml index 2e3649d..4bcb833 100644 --- a/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml +++ b/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml b/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml index 88e75af..4a0809e 100644 --- a/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml +++ b/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml index bb59752..123d569 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml index bb59752..123d569 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml index fe55db1..8f6fd16 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml index c848bbd..9c1550e 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml @@ -10,7 +10,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_tests_parameters/pom.xml b/src/test/resources/unit-tests/sources_tests_parameters/pom.xml index c07668c..5588400 100644 --- a/src/test/resources/unit-tests/sources_tests_parameters/pom.xml +++ b/src/test/resources/unit-tests/sources_tests_parameters/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 UT3 UT3 From 482b7f1e2b63d28a7095127cd8a2270f5f150a2f Mon Sep 17 00:00:00 2001 From: Simon Martinelli Date: Sat, 31 Aug 2024 14:25:43 +0200 Subject: [PATCH 05/41] Updated scripts for new DB --- .gitignore | 460 ++++++++++++++++++++++++++++++ scripts/0_start_db.sh | 0 scripts/1_install_utplsql.sh | 2 +- scripts/2_install_demo_project.sh | 8 +- 4 files changed, 465 insertions(+), 5 deletions(-) mode change 100644 => 100755 scripts/0_start_db.sh mode change 100644 => 100755 scripts/1_install_utplsql.sh mode change 100644 => 100755 scripts/2_install_demo_project.sh diff --git a/.gitignore b/.gitignore index ed6f99b..4325a42 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,463 @@ doc/ /utPLSQL/ /utPLSQL.zip /tree.txt +/scripts/utPLSQL.zip +/scripts/utPLSQL/docs/about/authors.html +/scripts/utPLSQL/docs/about/license.html +/scripts/utPLSQL/docs/about/project-details.html +/scripts/utPLSQL/docs/about/support.html +/scripts/utPLSQL/docs/assets/images/favicon.png +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.ar.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.da.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.de.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.du.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.el.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.es.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.fi.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.fr.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.he.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.hi.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.hu.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.hy.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.it.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.ja.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.jp.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.kn.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.ko.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.multi.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.nl.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.no.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.pt.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.ro.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.ru.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.sa.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.stemmer.support.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.sv.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.ta.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.te.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.th.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.tr.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.vi.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.zh.min.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/tinyseg.js +/scripts/utPLSQL/docs/assets/javascripts/lunr/wordcut.js +/scripts/utPLSQL/docs/assets/javascripts/workers/search.b8dbb3d2.min.js +/scripts/utPLSQL/docs/assets/javascripts/workers/search.b8dbb3d2.min.js.map +/scripts/utPLSQL/docs/assets/javascripts/bundle.8fd75fb4.min.js +/scripts/utPLSQL/docs/assets/javascripts/bundle.8fd75fb4.min.js.map +/scripts/utPLSQL/docs/assets/stylesheets/main.7e359304.min.css +/scripts/utPLSQL/docs/assets/stylesheets/main.7e359304.min.css.map +/scripts/utPLSQL/docs/assets/stylesheets/palette.06af60db.min.css +/scripts/utPLSQL/docs/assets/stylesheets/palette.06af60db.min.css.map +/scripts/utPLSQL/docs/assets/favicon.png +/scripts/utPLSQL/docs/assets/icon-transparent.png +/scripts/utPLSQL/docs/images/3_steps_to_run_utPLSQL.gif +/scripts/utPLSQL/docs/images/coverage_html_details.png +/scripts/utPLSQL/docs/images/coverage_html_summary.png +/scripts/utPLSQL/docs/images/documentation_reporter.png +/scripts/utPLSQL/docs/images/documentation_reporter_color.png +/scripts/utPLSQL/docs/images/example_1_coverage_mapping.png +/scripts/utPLSQL/docs/images/example_1_test_mapping.png +/scripts/utPLSQL/docs/images/example_2_coverage_mapping.png +/scripts/utPLSQL/docs/images/example_2_test_mapping.png +/scripts/utPLSQL/docs/images/example_3_coverage_mapping.png +/scripts/utPLSQL/docs/images/example_3_test_mapping.png +/scripts/utPLSQL/docs/images/example_4_coverage_mapping.png +/scripts/utPLSQL/docs/images/example_4_test_mapping.png +/scripts/utPLSQL/docs/images/extended_coverage_html_line.png +/scripts/utPLSQL/docs/images/extended_coverage_html_summary.png +/scripts/utPLSQL/docs/images/junit_errors.png +/scripts/utPLSQL/docs/images/junit_summary.png +/scripts/utPLSQL/docs/images/supported_by_redgate_100.png +/scripts/utPLSQL/docs/images/teamcity_report_example.png +/scripts/utPLSQL/docs/images/teamcity_report_example_errors.png +/scripts/utPLSQL/docs/images/tfs_details.png +/scripts/utPLSQL/docs/images/tfs_summary.png +/scripts/utPLSQL/docs/images/utPLSQL-testing-framework-transparent_120.png +/scripts/utPLSQL/docs/images/venn21.gif +/scripts/utPLSQL/docs/images/venn22.gif +/scripts/utPLSQL/docs/stylesheets/extra.css +/scripts/utPLSQL/docs/userguide/advanced_data_comparison.html +/scripts/utPLSQL/docs/userguide/annotations.html +/scripts/utPLSQL/docs/userguide/best-practices.html +/scripts/utPLSQL/docs/userguide/exception-reporting.html +/scripts/utPLSQL/docs/userguide/expectations.html +/scripts/utPLSQL/docs/userguide/getting-started.html +/scripts/utPLSQL/docs/userguide/install.html +/scripts/utPLSQL/docs/userguide/querying_suites.html +/scripts/utPLSQL/docs/userguide/reporters.html +/scripts/utPLSQL/docs/userguide/running-unit-tests.html +/scripts/utPLSQL/docs/userguide/upgrade.html +/scripts/utPLSQL/docs/404.html +/scripts/utPLSQL/docs/compare_version2_to_3.html +/scripts/utPLSQL/docs/index.html +/scripts/utPLSQL/docs/sitemap.xml +/scripts/utPLSQL/examples/award_bonus/award_bonus.sql +/scripts/utPLSQL/examples/award_bonus/employees_test.sql +/scripts/utPLSQL/examples/award_bonus/run_award_bonus_test.sql +/scripts/utPLSQL/examples/award_bonus/test_award_bonus.pkg +/scripts/utPLSQL/examples/between_string/betwnstr.sql +/scripts/utPLSQL/examples/between_string/run_betwnstr_test.sql +/scripts/utPLSQL/examples/between_string/run_betwnstr_test_coverage.sql +/scripts/utPLSQL/examples/between_string/test_betwnstr.pkb +/scripts/utPLSQL/examples/between_string/test_betwnstr.pks +/scripts/utPLSQL/examples/custom_reporters/run_ut_custom_reporter.sql +/scripts/utPLSQL/examples/custom_reporters/run_ut_expectations_reporter.sql +/scripts/utPLSQL/examples/custom_reporters/ut_custom_reporter.tpb +/scripts/utPLSQL/examples/custom_reporters/ut_custom_reporter.tps +/scripts/utPLSQL/examples/custom_reporters/ut_expectations_reporter.tpb +/scripts/utPLSQL/examples/custom_reporters/ut_expectations_reporter.tps +/scripts/utPLSQL/examples/demo_of_expectations/demo_equal_matcher.sql +/scripts/utPLSQL/examples/demo_of_expectations/drop_demo_equal_matcher.sql +/scripts/utPLSQL/examples/demo_of_expectations/run.sql +/scripts/utPLSQL/examples/developer_examples/RunExampleTestAnnotationsParsingTimeHugePackage.sql +/scripts/utPLSQL/examples/developer_examples/RunExampleTestSuite.sql +/scripts/utPLSQL/examples/developer_examples/RunExampleTestSuiteWithCompositeReporter.sql +/scripts/utPLSQL/examples/developer_examples/tst_pkg_huge.pks +/scripts/utPLSQL/examples/developer_examples/ut_exampletest.pkb +/scripts/utPLSQL/examples/developer_examples/ut_exampletest.pks +/scripts/utPLSQL/examples/developer_examples/ut_exampletest2.pkb +/scripts/utPLSQL/examples/developer_examples/ut_exampletest2.pks +/scripts/utPLSQL/examples/remove_rooms_by_name/remove_rooms_by_name.sql +/scripts/utPLSQL/examples/remove_rooms_by_name/rooms.sql +/scripts/utPLSQL/examples/remove_rooms_by_name/run_remove_rooms_by_name_test.sql +/scripts/utPLSQL/examples/remove_rooms_by_name/test_remove_rooms_by_name.pkg +/scripts/utPLSQL/examples/demo_expectations.pck +/scripts/utPLSQL/examples/department.tps +/scripts/utPLSQL/examples/departments.tps +/scripts/utPLSQL/examples/readme.md +/scripts/utPLSQL/examples/RunAllExamples.sql +/scripts/utPLSQL/examples/RunAllExamplesAsTests.sql +/scripts/utPLSQL/examples/RunCustomReportersExamples.sql +/scripts/utPLSQL/examples/RunDeveloperExamples.sql +/scripts/utPLSQL/examples/RunExampleTestAnnotationBasedForCurrentSchema.sql +/scripts/utPLSQL/examples/RunExpectations.sql +/scripts/utPLSQL/examples/RunUserExamples.sql +/scripts/utPLSQL/examples/RunWithDocumentationReporter.sql +/scripts/utPLSQL/examples/test_pkg1.pck +/scripts/utPLSQL/examples/test_pkg2.pck +/scripts/utPLSQL/source/api/be_between.syn +/scripts/utPLSQL/source/api/be_empty.syn +/scripts/utPLSQL/source/api/be_false.syn +/scripts/utPLSQL/source/api/be_greater_or_equal.syn +/scripts/utPLSQL/source/api/be_greater_than.syn +/scripts/utPLSQL/source/api/be_less_or_equal.syn +/scripts/utPLSQL/source/api/be_less_than.syn +/scripts/utPLSQL/source/api/be_like.syn +/scripts/utPLSQL/source/api/be_not_null.syn +/scripts/utPLSQL/source/api/be_null.syn +/scripts/utPLSQL/source/api/be_true.syn +/scripts/utPLSQL/source/api/be_within.syn +/scripts/utPLSQL/source/api/be_within_pct.syn +/scripts/utPLSQL/source/api/contain.syn +/scripts/utPLSQL/source/api/equal.syn +/scripts/utPLSQL/source/api/have_count.syn +/scripts/utPLSQL/source/api/match.syn +/scripts/utPLSQL/source/api/ut.pkb +/scripts/utPLSQL/source/api/ut.pks +/scripts/utPLSQL/source/api/ut_runner.pkb +/scripts/utPLSQL/source/api/ut_runner.pks +/scripts/utPLSQL/source/api/ut_suite_item_info.tpb +/scripts/utPLSQL/source/api/ut_suite_item_info.tps +/scripts/utPLSQL/source/api/ut_suite_items_info.tps +/scripts/utPLSQL/source/core/annotations/ut_annotated_object.tps +/scripts/utPLSQL/source/core/annotations/ut_annotated_objects.tps +/scripts/utPLSQL/source/core/annotations/ut_annotation.tps +/scripts/utPLSQL/source/core/annotations/ut_annotation_cache.sql +/scripts/utPLSQL/source/core/annotations/ut_annotation_cache_info.sql +/scripts/utPLSQL/source/core/annotations/ut_annotation_cache_manager.pkb +/scripts/utPLSQL/source/core/annotations/ut_annotation_cache_manager.pks +/scripts/utPLSQL/source/core/annotations/ut_annotation_cache_schema.sql +/scripts/utPLSQL/source/core/annotations/ut_annotation_cache_seq.sql +/scripts/utPLSQL/source/core/annotations/ut_annotation_manager.pkb +/scripts/utPLSQL/source/core/annotations/ut_annotation_manager.pks +/scripts/utPLSQL/source/core/annotations/ut_annotation_obj_cache_info.tps +/scripts/utPLSQL/source/core/annotations/ut_annotation_objs_cache_info.tps +/scripts/utPLSQL/source/core/annotations/ut_annotation_parser.pkb +/scripts/utPLSQL/source/core/annotations/ut_annotation_parser.pks +/scripts/utPLSQL/source/core/annotations/ut_annotations.tps +/scripts/utPLSQL/source/core/annotations/ut_trigger_annotation_parsing.trg +/scripts/utPLSQL/source/core/annotations/ut_trigger_check.pkb +/scripts/utPLSQL/source/core/annotations/ut_trigger_check.pks +/scripts/utPLSQL/source/core/coverage/dbms_plssqlcode.sql +/scripts/utPLSQL/source/core/coverage/proftab.sql +/scripts/utPLSQL/source/core/coverage/ut_coverage.pkb +/scripts/utPLSQL/source/core/coverage/ut_coverage.pks +/scripts/utPLSQL/source/core/coverage/ut_coverage_block.pkb +/scripts/utPLSQL/source/core/coverage/ut_coverage_block.pks +/scripts/utPLSQL/source/core/coverage/ut_coverage_helper.pkb +/scripts/utPLSQL/source/core/coverage/ut_coverage_helper.pks +/scripts/utPLSQL/source/core/coverage/ut_coverage_helper_block.pkb +/scripts/utPLSQL/source/core/coverage/ut_coverage_helper_block.pks +/scripts/utPLSQL/source/core/coverage/ut_coverage_helper_profiler.pkb +/scripts/utPLSQL/source/core/coverage/ut_coverage_helper_profiler.pks +/scripts/utPLSQL/source/core/coverage/ut_coverage_profiler.pkb +/scripts/utPLSQL/source/core/coverage/ut_coverage_profiler.pks +/scripts/utPLSQL/source/core/coverage/ut_coverage_reporter_base.tpb +/scripts/utPLSQL/source/core/coverage/ut_coverage_reporter_base.tps +/scripts/utPLSQL/source/core/coverage/ut_coverage_runs.sql +/scripts/utPLSQL/source/core/coverage/ut_coverage_sources_tmp.sql +/scripts/utPLSQL/source/core/events/ut_event_item.tps +/scripts/utPLSQL/source/core/events/ut_event_listener.tps +/scripts/utPLSQL/source/core/events/ut_event_manager.pkb +/scripts/utPLSQL/source/core/events/ut_event_manager.pks +/scripts/utPLSQL/source/core/output_buffers/ut_output_buffer_base.tpb +/scripts/utPLSQL/source/core/output_buffers/ut_output_buffer_base.tps +/scripts/utPLSQL/source/core/output_buffers/ut_output_buffer_info_tmp.sql +/scripts/utPLSQL/source/core/output_buffers/ut_output_buffer_tmp.sql +/scripts/utPLSQL/source/core/output_buffers/ut_output_bulk_buffer.tpb +/scripts/utPLSQL/source/core/output_buffers/ut_output_bulk_buffer.tps +/scripts/utPLSQL/source/core/output_buffers/ut_output_clob_buffer_tmp.sql +/scripts/utPLSQL/source/core/output_buffers/ut_output_clob_table_buffer.tpb +/scripts/utPLSQL/source/core/output_buffers/ut_output_clob_table_buffer.tps +/scripts/utPLSQL/source/core/output_buffers/ut_output_data_row.tps +/scripts/utPLSQL/source/core/output_buffers/ut_output_data_rows.tps +/scripts/utPLSQL/source/core/output_buffers/ut_output_table_buffer.tpb +/scripts/utPLSQL/source/core/output_buffers/ut_output_table_buffer.tps +/scripts/utPLSQL/source/core/session_context/ut_session_context.pkb +/scripts/utPLSQL/source/core/session_context/ut_session_context.pks +/scripts/utPLSQL/source/core/session_context/ut_session_info.tpb +/scripts/utPLSQL/source/core/session_context/ut_session_info.tps +/scripts/utPLSQL/source/core/types/ut_console_reporter_base.tpb +/scripts/utPLSQL/source/core/types/ut_console_reporter_base.tps +/scripts/utPLSQL/source/core/types/ut_coverage_options.tpb +/scripts/utPLSQL/source/core/types/ut_coverage_options.tps +/scripts/utPLSQL/source/core/types/ut_executable.tpb +/scripts/utPLSQL/source/core/types/ut_executable.tps +/scripts/utPLSQL/source/core/types/ut_executable_test.tpb +/scripts/utPLSQL/source/core/types/ut_executable_test.tps +/scripts/utPLSQL/source/core/types/ut_executables.tps +/scripts/utPLSQL/source/core/types/ut_expectation_result.tpb +/scripts/utPLSQL/source/core/types/ut_expectation_result.tps +/scripts/utPLSQL/source/core/types/ut_expectation_results.tps +/scripts/utPLSQL/source/core/types/ut_file_mapping.tpb +/scripts/utPLSQL/source/core/types/ut_file_mapping.tps +/scripts/utPLSQL/source/core/types/ut_file_mappings.tps +/scripts/utPLSQL/source/core/types/ut_integer_list.tps +/scripts/utPLSQL/source/core/types/ut_key_value_pair.tps +/scripts/utPLSQL/source/core/types/ut_key_value_pairs.tps +/scripts/utPLSQL/source/core/types/ut_logical_suite.tpb +/scripts/utPLSQL/source/core/types/ut_logical_suite.tps +/scripts/utPLSQL/source/core/types/ut_object_name.tpb +/scripts/utPLSQL/source/core/types/ut_object_name.tps +/scripts/utPLSQL/source/core/types/ut_object_names.tps +/scripts/utPLSQL/source/core/types/ut_output_reporter_base.tpb +/scripts/utPLSQL/source/core/types/ut_output_reporter_base.tps +/scripts/utPLSQL/source/core/types/ut_path_item.tpb +/scripts/utPLSQL/source/core/types/ut_path_item.tps +/scripts/utPLSQL/source/core/types/ut_path_items.tps +/scripts/utPLSQL/source/core/types/ut_reporter_base.tpb +/scripts/utPLSQL/source/core/types/ut_reporter_base.tps +/scripts/utPLSQL/source/core/types/ut_reporter_info.tps +/scripts/utPLSQL/source/core/types/ut_reporters.tps +/scripts/utPLSQL/source/core/types/ut_reporters_info.tps +/scripts/utPLSQL/source/core/types/ut_results_counter.tpb +/scripts/utPLSQL/source/core/types/ut_results_counter.tps +/scripts/utPLSQL/source/core/types/ut_run.tpb +/scripts/utPLSQL/source/core/types/ut_run.tps +/scripts/utPLSQL/source/core/types/ut_run_info.tpb +/scripts/utPLSQL/source/core/types/ut_run_info.tps +/scripts/utPLSQL/source/core/types/ut_stack.tpb +/scripts/utPLSQL/source/core/types/ut_stack.tps +/scripts/utPLSQL/source/core/types/ut_suite.tpb +/scripts/utPLSQL/source/core/types/ut_suite.tps +/scripts/utPLSQL/source/core/types/ut_suite_cache_row.tps +/scripts/utPLSQL/source/core/types/ut_suite_cache_rows.tps +/scripts/utPLSQL/source/core/types/ut_suite_context.tpb +/scripts/utPLSQL/source/core/types/ut_suite_context.tps +/scripts/utPLSQL/source/core/types/ut_suite_item.tpb +/scripts/utPLSQL/source/core/types/ut_suite_item.tps +/scripts/utPLSQL/source/core/types/ut_suite_items.tps +/scripts/utPLSQL/source/core/types/ut_test.tpb +/scripts/utPLSQL/source/core/types/ut_test.tps +/scripts/utPLSQL/source/core/types/ut_varchar2_list.tps +/scripts/utPLSQL/source/core/types/ut_varchar2_rows.tps +/scripts/utPLSQL/source/core/ut_dbms_output_cache.sql +/scripts/utPLSQL/source/core/ut_expectation_processor.pkb +/scripts/utPLSQL/source/core/ut_expectation_processor.pks +/scripts/utPLSQL/source/core/ut_file_mapper.pkb +/scripts/utPLSQL/source/core/ut_file_mapper.pks +/scripts/utPLSQL/source/core/ut_metadata.pkb +/scripts/utPLSQL/source/core/ut_metadata.pks +/scripts/utPLSQL/source/core/ut_savepoint_seq.sql +/scripts/utPLSQL/source/core/ut_suite_builder.pkb +/scripts/utPLSQL/source/core/ut_suite_builder.pks +/scripts/utPLSQL/source/core/ut_suite_cache.sql +/scripts/utPLSQL/source/core/ut_suite_cache_manager.pkb +/scripts/utPLSQL/source/core/ut_suite_cache_manager.pks +/scripts/utPLSQL/source/core/ut_suite_cache_package.sql +/scripts/utPLSQL/source/core/ut_suite_cache_schema.sql +/scripts/utPLSQL/source/core/ut_suite_cache_seq.sql +/scripts/utPLSQL/source/core/ut_suite_manager.pkb +/scripts/utPLSQL/source/core/ut_suite_manager.pks +/scripts/utPLSQL/source/core/ut_suite_tag_filter.pkb +/scripts/utPLSQL/source/core/ut_suite_tag_filter.pks +/scripts/utPLSQL/source/core/ut_utils.pkb +/scripts/utPLSQL/source/core/ut_utils.pks +/scripts/utPLSQL/source/expectations/data_values/ut_compound_data_diff_tmp.sql +/scripts/utPLSQL/source/expectations/data_values/ut_compound_data_helper.pkb +/scripts/utPLSQL/source/expectations/data_values/ut_compound_data_helper.pks +/scripts/utPLSQL/source/expectations/data_values/ut_compound_data_tmp.sql +/scripts/utPLSQL/source/expectations/data_values/ut_compound_data_value.tpb +/scripts/utPLSQL/source/expectations/data_values/ut_compound_data_value.tps +/scripts/utPLSQL/source/expectations/data_values/ut_cursor_column.tpb +/scripts/utPLSQL/source/expectations/data_values/ut_cursor_column.tps +/scripts/utPLSQL/source/expectations/data_values/ut_cursor_column_tab.tps +/scripts/utPLSQL/source/expectations/data_values/ut_cursor_details.tpb +/scripts/utPLSQL/source/expectations/data_values/ut_cursor_details.tps +/scripts/utPLSQL/source/expectations/data_values/ut_data_value.tpb +/scripts/utPLSQL/source/expectations/data_values/ut_data_value.tps +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_anydata.tpb +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_anydata.tps +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_blob.tpb +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_blob.tps +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_boolean.tpb +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_boolean.tps +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_clob.tpb +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_clob.tps +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_date.tpb +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_date.tps +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_dsinterval.tpb +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_dsinterval.tps +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_json.tpb +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_json.tps +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_number.tpb +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_number.tps +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_refcursor.tpb +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_refcursor.tps +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_timestamp.tpb +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_timestamp.tps +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_timestamp_ltz.tpb +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_timestamp_ltz.tps +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_timestamp_tz.tpb +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_timestamp_tz.tps +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_varchar2.tpb +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_varchar2.tps +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_xmltype.tpb +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_xmltype.tps +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_yminterval.tpb +/scripts/utPLSQL/source/expectations/data_values/ut_data_value_yminterval.tps +/scripts/utPLSQL/source/expectations/data_values/ut_json_data_diff_tmp.sql +/scripts/utPLSQL/source/expectations/data_values/ut_json_leaf.tpb +/scripts/utPLSQL/source/expectations/data_values/ut_json_leaf.tps +/scripts/utPLSQL/source/expectations/data_values/ut_json_leaf_tab.tps +/scripts/utPLSQL/source/expectations/data_values/ut_json_tree_details.tpb +/scripts/utPLSQL/source/expectations/data_values/ut_json_tree_details.tps +/scripts/utPLSQL/source/expectations/data_values/ut_key_anyval_pair.tps +/scripts/utPLSQL/source/expectations/data_values/ut_key_anyval_pairs.tps +/scripts/utPLSQL/source/expectations/data_values/ut_key_anyvalues.tpb +/scripts/utPLSQL/source/expectations/data_values/ut_key_anyvalues.tps +/scripts/utPLSQL/source/expectations/matchers/ut_be_between.tpb +/scripts/utPLSQL/source/expectations/matchers/ut_be_between.tps +/scripts/utPLSQL/source/expectations/matchers/ut_be_empty.tpb +/scripts/utPLSQL/source/expectations/matchers/ut_be_empty.tps +/scripts/utPLSQL/source/expectations/matchers/ut_be_false.tpb +/scripts/utPLSQL/source/expectations/matchers/ut_be_false.tps +/scripts/utPLSQL/source/expectations/matchers/ut_be_greater_or_equal.tpb +/scripts/utPLSQL/source/expectations/matchers/ut_be_greater_or_equal.tps +/scripts/utPLSQL/source/expectations/matchers/ut_be_greater_than.tpb +/scripts/utPLSQL/source/expectations/matchers/ut_be_greater_than.tps +/scripts/utPLSQL/source/expectations/matchers/ut_be_less_or_equal.tpb +/scripts/utPLSQL/source/expectations/matchers/ut_be_less_or_equal.tps +/scripts/utPLSQL/source/expectations/matchers/ut_be_less_than.tpb +/scripts/utPLSQL/source/expectations/matchers/ut_be_less_than.tps +/scripts/utPLSQL/source/expectations/matchers/ut_be_like.tpb +/scripts/utPLSQL/source/expectations/matchers/ut_be_like.tps +/scripts/utPLSQL/source/expectations/matchers/ut_be_not_null.tpb +/scripts/utPLSQL/source/expectations/matchers/ut_be_not_null.tps +/scripts/utPLSQL/source/expectations/matchers/ut_be_null.tpb +/scripts/utPLSQL/source/expectations/matchers/ut_be_null.tps +/scripts/utPLSQL/source/expectations/matchers/ut_be_true.tpb +/scripts/utPLSQL/source/expectations/matchers/ut_be_true.tps +/scripts/utPLSQL/source/expectations/matchers/ut_be_within.tpb +/scripts/utPLSQL/source/expectations/matchers/ut_be_within.tps +/scripts/utPLSQL/source/expectations/matchers/ut_be_within_helper.pkb +/scripts/utPLSQL/source/expectations/matchers/ut_be_within_helper.pks +/scripts/utPLSQL/source/expectations/matchers/ut_be_within_pct.tpb +/scripts/utPLSQL/source/expectations/matchers/ut_be_within_pct.tps +/scripts/utPLSQL/source/expectations/matchers/ut_comparison_matcher.tpb +/scripts/utPLSQL/source/expectations/matchers/ut_comparison_matcher.tps +/scripts/utPLSQL/source/expectations/matchers/ut_contain.tpb +/scripts/utPLSQL/source/expectations/matchers/ut_contain.tps +/scripts/utPLSQL/source/expectations/matchers/ut_equal.tpb +/scripts/utPLSQL/source/expectations/matchers/ut_equal.tps +/scripts/utPLSQL/source/expectations/matchers/ut_have_count.tpb +/scripts/utPLSQL/source/expectations/matchers/ut_have_count.tps +/scripts/utPLSQL/source/expectations/matchers/ut_match.tpb +/scripts/utPLSQL/source/expectations/matchers/ut_match.tps +/scripts/utPLSQL/source/expectations/matchers/ut_matcher.tpb +/scripts/utPLSQL/source/expectations/matchers/ut_matcher.tps +/scripts/utPLSQL/source/expectations/matchers/ut_matcher_base.tps +/scripts/utPLSQL/source/expectations/matchers/ut_matcher_options.tpb +/scripts/utPLSQL/source/expectations/matchers/ut_matcher_options.tps +/scripts/utPLSQL/source/expectations/matchers/ut_matcher_options_items.tpb +/scripts/utPLSQL/source/expectations/matchers/ut_matcher_options_items.tps +/scripts/utPLSQL/source/expectations/json_objects_specs.sql +/scripts/utPLSQL/source/expectations/ut_expectation.tpb +/scripts/utPLSQL/source/expectations/ut_expectation.tps +/scripts/utPLSQL/source/expectations/ut_expectation_base.tpb +/scripts/utPLSQL/source/expectations/ut_expectation_base.tps +/scripts/utPLSQL/source/expectations/ut_expectation_compound.tpb +/scripts/utPLSQL/source/expectations/ut_expectation_compound.tps +/scripts/utPLSQL/source/expectations/ut_expectation_json.tpb +/scripts/utPLSQL/source/expectations/ut_expectation_json.tps +/scripts/utPLSQL/source/reporters/ut_ansiconsole_helper.pkb +/scripts/utPLSQL/source/reporters/ut_ansiconsole_helper.pks +/scripts/utPLSQL/source/reporters/ut_coverage_cobertura_reporter.tpb +/scripts/utPLSQL/source/reporters/ut_coverage_cobertura_reporter.tps +/scripts/utPLSQL/source/reporters/ut_coverage_html_reporter.tpb +/scripts/utPLSQL/source/reporters/ut_coverage_html_reporter.tps +/scripts/utPLSQL/source/reporters/ut_coverage_report_html_helper.pkb +/scripts/utPLSQL/source/reporters/ut_coverage_report_html_helper.pks +/scripts/utPLSQL/source/reporters/ut_coverage_sonar_reporter.tpb +/scripts/utPLSQL/source/reporters/ut_coverage_sonar_reporter.tps +/scripts/utPLSQL/source/reporters/ut_coveralls_reporter.tpb +/scripts/utPLSQL/source/reporters/ut_coveralls_reporter.tps +/scripts/utPLSQL/source/reporters/ut_debug_reporter.tpb +/scripts/utPLSQL/source/reporters/ut_debug_reporter.tps +/scripts/utPLSQL/source/reporters/ut_documentation_reporter.tpb +/scripts/utPLSQL/source/reporters/ut_documentation_reporter.tps +/scripts/utPLSQL/source/reporters/ut_junit_reporter.tpb +/scripts/utPLSQL/source/reporters/ut_junit_reporter.tps +/scripts/utPLSQL/source/reporters/ut_realtime_reporter.tpb +/scripts/utPLSQL/source/reporters/ut_realtime_reporter.tps +/scripts/utPLSQL/source/reporters/ut_sonar_test_reporter.tpb +/scripts/utPLSQL/source/reporters/ut_sonar_test_reporter.tps +/scripts/utPLSQL/source/reporters/ut_teamcity_reporter.tpb +/scripts/utPLSQL/source/reporters/ut_teamcity_reporter.tps +/scripts/utPLSQL/source/reporters/ut_teamcity_reporter_helper.pkb +/scripts/utPLSQL/source/reporters/ut_teamcity_reporter_helper.pks +/scripts/utPLSQL/source/reporters/ut_tfs_junit_reporter.tpb +/scripts/utPLSQL/source/reporters/ut_tfs_junit_reporter.tps +/scripts/utPLSQL/source/reporters/ut_xunit_reporter.tpb +/scripts/utPLSQL/source/reporters/ut_xunit_reporter.tps +/scripts/utPLSQL/source/check_object_grants.sql +/scripts/utPLSQL/source/check_sys_grants.sql +/scripts/utPLSQL/source/create_grants.sql +/scripts/utPLSQL/source/create_synonyms.sql +/scripts/utPLSQL/source/create_synonyms_and_grants_for_public.sql +/scripts/utPLSQL/source/create_user_grants.sql +/scripts/utPLSQL/source/create_user_synonyms.sql +/scripts/utPLSQL/source/create_utplsql_owner.sql +/scripts/utPLSQL/source/define_ut3_owner_param.sql +/scripts/utPLSQL/source/dummy.sql +/scripts/utPLSQL/source/install.log +/scripts/utPLSQL/source/install.sql +/scripts/utPLSQL/source/install_above_12_1.sql +/scripts/utPLSQL/source/install_component.sql +/scripts/utPLSQL/source/install_ddl_trigger.sql +/scripts/utPLSQL/source/install_headless.sql +/scripts/utPLSQL/source/install_headless_with_trigger.sql +/scripts/utPLSQL/source/set_install_params.sql +/scripts/utPLSQL/source/uninstall.sql +/scripts/utPLSQL/source/uninstall_all.sql +/scripts/utPLSQL/source/uninstall_coverage_tables.sql +/scripts/utPLSQL/source/uninstall_objects.sql +/scripts/utPLSQL/source/uninstall_synonyms.sql +/scripts/utPLSQL/BUILD_NO +/scripts/utPLSQL/CODE_OF_CONDUCT.md +/scripts/utPLSQL/CONTRIBUTING.md +/scripts/utPLSQL/LICENSE +/scripts/utPLSQL/mkdocs_offline.yml +/scripts/utPLSQL/readme.md +/scripts/utPLSQL/VERSION diff --git a/scripts/0_start_db.sh b/scripts/0_start_db.sh old mode 100644 new mode 100755 diff --git a/scripts/1_install_utplsql.sh b/scripts/1_install_utplsql.sh old mode 100644 new mode 100755 index bb6577c..4b803f2 --- a/scripts/1_install_utplsql.sh +++ b/scripts/1_install_utplsql.sh @@ -5,4 +5,4 @@ curl -Lk "${UTPLSQL_DOWNLOAD_URL}" -o utPLSQL.zip unzip -q utPLSQL.zip docker run --rm -v $(pwd)/utPLSQL:/utPLSQL -w /utPLSQL/source --network host \ - --entrypoint sqlplus truemark/sqlplus:19.8 sys/oracle@//127.0.0.1:1521/XE as sysdba @install_headless.sql UT3 UT3 users + --entrypoint sqlplus truemark/sqlplus:19.8 sys/oracle@//127.0.0.1:1521/FREEPDB1 as sysdba @install_headless.sql UT3 UT3 users diff --git a/scripts/2_install_demo_project.sh b/scripts/2_install_demo_project.sh old mode 100644 new mode 100755 index a4089b1..319b8a8 --- a/scripts/2_install_demo_project.sh +++ b/scripts/2_install_demo_project.sh @@ -1,11 +1,11 @@ docker run --rm -v $(pwd):/work -w /work/ --network host --entrypoint sqlplus truemark/sqlplus:19.8 \ - sys/oracle@//127.0.0.1:1521/XE as sysdba @scripts/sql/create_users.sql + sys/oracle@//127.0.0.1:1521/FREEPDB1 as sysdba @scripts/sql/create_users.sql docker run --rm -v $(pwd):/work -w /work/ --network host --entrypoint sqlplus truemark/sqlplus:19.8 \ - app/pass@//127.0.0.1:1521/XE @scripts/sql/create_app_objects.sql + app/pass@//127.0.0.1:1521/FREEPDB1 @scripts/sql/create_app_objects.sql docker run --rm -v $(pwd):/work -w /work/ --network host --entrypoint sqlplus truemark/sqlplus:19.8 \ - code_owner/pass@//127.0.0.1:1521/XE @scripts/sql/create_source_owner_objects.sql + code_owner/pass@//127.0.0.1:1521/ @scripts/sql/create_source_owner_objects.sql docker run --rm -v $(pwd):/work -w /work/ --network host --entrypoint sqlplus truemark/sqlplus:19.8 \ - tests_owner/pass@//127.0.0.1:1521/XE @scripts/sql/create_tests_owner_objects.sql + tests_owner/pass@//127.0.0.1:1521/FREEPDB1 @scripts/sql/create_tests_owner_objects.sql From 61d3e515434d3fc06cbab563626be15d7e87bf28 Mon Sep 17 00:00:00 2001 From: pigelvy Date: Mon, 30 Sep 2024 11:42:35 +0200 Subject: [PATCH 06/41] Fix typo in README.md. In the plugin configuration example, the option "excludeObjectExpr" is misspelled "excludeObjectExprr" --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d57328f..20c9cf3 100644 --- a/README.md +++ b/README.md @@ -181,7 +181,7 @@ Please refer to the following usage example for the parameters descriptions: app.test1,app.test2 - app.test1,app.test2 + app.test1,app.test2 app.test1,app.test2 From 6464650f9fa90eb5d81b2406bd72b1e0b3059ff9 Mon Sep 17 00:00:00 2001 From: Simon Martinelli Date: Tue, 15 Oct 2024 09:18:36 +0200 Subject: [PATCH 07/41] Revert "Updated scripts for new DB" This reverts commit 482b7f1e2b63d28a7095127cd8a2270f5f150a2f. --- .gitignore | 460 ------------------------------ scripts/0_start_db.sh | 0 scripts/1_install_utplsql.sh | 2 +- scripts/2_install_demo_project.sh | 8 +- 4 files changed, 5 insertions(+), 465 deletions(-) mode change 100755 => 100644 scripts/0_start_db.sh mode change 100755 => 100644 scripts/1_install_utplsql.sh mode change 100755 => 100644 scripts/2_install_demo_project.sh diff --git a/.gitignore b/.gitignore index 4325a42..ed6f99b 100644 --- a/.gitignore +++ b/.gitignore @@ -27,463 +27,3 @@ doc/ /utPLSQL/ /utPLSQL.zip /tree.txt -/scripts/utPLSQL.zip -/scripts/utPLSQL/docs/about/authors.html -/scripts/utPLSQL/docs/about/license.html -/scripts/utPLSQL/docs/about/project-details.html -/scripts/utPLSQL/docs/about/support.html -/scripts/utPLSQL/docs/assets/images/favicon.png -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.ar.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.da.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.de.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.du.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.el.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.es.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.fi.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.fr.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.he.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.hi.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.hu.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.hy.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.it.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.ja.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.jp.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.kn.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.ko.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.multi.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.nl.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.no.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.pt.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.ro.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.ru.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.sa.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.stemmer.support.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.sv.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.ta.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.te.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.th.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.tr.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.vi.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/min/lunr.zh.min.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/tinyseg.js -/scripts/utPLSQL/docs/assets/javascripts/lunr/wordcut.js -/scripts/utPLSQL/docs/assets/javascripts/workers/search.b8dbb3d2.min.js -/scripts/utPLSQL/docs/assets/javascripts/workers/search.b8dbb3d2.min.js.map -/scripts/utPLSQL/docs/assets/javascripts/bundle.8fd75fb4.min.js -/scripts/utPLSQL/docs/assets/javascripts/bundle.8fd75fb4.min.js.map -/scripts/utPLSQL/docs/assets/stylesheets/main.7e359304.min.css -/scripts/utPLSQL/docs/assets/stylesheets/main.7e359304.min.css.map -/scripts/utPLSQL/docs/assets/stylesheets/palette.06af60db.min.css -/scripts/utPLSQL/docs/assets/stylesheets/palette.06af60db.min.css.map -/scripts/utPLSQL/docs/assets/favicon.png -/scripts/utPLSQL/docs/assets/icon-transparent.png -/scripts/utPLSQL/docs/images/3_steps_to_run_utPLSQL.gif -/scripts/utPLSQL/docs/images/coverage_html_details.png -/scripts/utPLSQL/docs/images/coverage_html_summary.png -/scripts/utPLSQL/docs/images/documentation_reporter.png -/scripts/utPLSQL/docs/images/documentation_reporter_color.png -/scripts/utPLSQL/docs/images/example_1_coverage_mapping.png -/scripts/utPLSQL/docs/images/example_1_test_mapping.png -/scripts/utPLSQL/docs/images/example_2_coverage_mapping.png -/scripts/utPLSQL/docs/images/example_2_test_mapping.png -/scripts/utPLSQL/docs/images/example_3_coverage_mapping.png -/scripts/utPLSQL/docs/images/example_3_test_mapping.png -/scripts/utPLSQL/docs/images/example_4_coverage_mapping.png -/scripts/utPLSQL/docs/images/example_4_test_mapping.png -/scripts/utPLSQL/docs/images/extended_coverage_html_line.png -/scripts/utPLSQL/docs/images/extended_coverage_html_summary.png -/scripts/utPLSQL/docs/images/junit_errors.png -/scripts/utPLSQL/docs/images/junit_summary.png -/scripts/utPLSQL/docs/images/supported_by_redgate_100.png -/scripts/utPLSQL/docs/images/teamcity_report_example.png -/scripts/utPLSQL/docs/images/teamcity_report_example_errors.png -/scripts/utPLSQL/docs/images/tfs_details.png -/scripts/utPLSQL/docs/images/tfs_summary.png -/scripts/utPLSQL/docs/images/utPLSQL-testing-framework-transparent_120.png -/scripts/utPLSQL/docs/images/venn21.gif -/scripts/utPLSQL/docs/images/venn22.gif -/scripts/utPLSQL/docs/stylesheets/extra.css -/scripts/utPLSQL/docs/userguide/advanced_data_comparison.html -/scripts/utPLSQL/docs/userguide/annotations.html -/scripts/utPLSQL/docs/userguide/best-practices.html -/scripts/utPLSQL/docs/userguide/exception-reporting.html -/scripts/utPLSQL/docs/userguide/expectations.html -/scripts/utPLSQL/docs/userguide/getting-started.html -/scripts/utPLSQL/docs/userguide/install.html -/scripts/utPLSQL/docs/userguide/querying_suites.html -/scripts/utPLSQL/docs/userguide/reporters.html -/scripts/utPLSQL/docs/userguide/running-unit-tests.html -/scripts/utPLSQL/docs/userguide/upgrade.html -/scripts/utPLSQL/docs/404.html -/scripts/utPLSQL/docs/compare_version2_to_3.html -/scripts/utPLSQL/docs/index.html -/scripts/utPLSQL/docs/sitemap.xml -/scripts/utPLSQL/examples/award_bonus/award_bonus.sql -/scripts/utPLSQL/examples/award_bonus/employees_test.sql -/scripts/utPLSQL/examples/award_bonus/run_award_bonus_test.sql -/scripts/utPLSQL/examples/award_bonus/test_award_bonus.pkg -/scripts/utPLSQL/examples/between_string/betwnstr.sql -/scripts/utPLSQL/examples/between_string/run_betwnstr_test.sql -/scripts/utPLSQL/examples/between_string/run_betwnstr_test_coverage.sql -/scripts/utPLSQL/examples/between_string/test_betwnstr.pkb -/scripts/utPLSQL/examples/between_string/test_betwnstr.pks -/scripts/utPLSQL/examples/custom_reporters/run_ut_custom_reporter.sql -/scripts/utPLSQL/examples/custom_reporters/run_ut_expectations_reporter.sql -/scripts/utPLSQL/examples/custom_reporters/ut_custom_reporter.tpb -/scripts/utPLSQL/examples/custom_reporters/ut_custom_reporter.tps -/scripts/utPLSQL/examples/custom_reporters/ut_expectations_reporter.tpb -/scripts/utPLSQL/examples/custom_reporters/ut_expectations_reporter.tps -/scripts/utPLSQL/examples/demo_of_expectations/demo_equal_matcher.sql -/scripts/utPLSQL/examples/demo_of_expectations/drop_demo_equal_matcher.sql -/scripts/utPLSQL/examples/demo_of_expectations/run.sql -/scripts/utPLSQL/examples/developer_examples/RunExampleTestAnnotationsParsingTimeHugePackage.sql -/scripts/utPLSQL/examples/developer_examples/RunExampleTestSuite.sql -/scripts/utPLSQL/examples/developer_examples/RunExampleTestSuiteWithCompositeReporter.sql -/scripts/utPLSQL/examples/developer_examples/tst_pkg_huge.pks -/scripts/utPLSQL/examples/developer_examples/ut_exampletest.pkb -/scripts/utPLSQL/examples/developer_examples/ut_exampletest.pks -/scripts/utPLSQL/examples/developer_examples/ut_exampletest2.pkb -/scripts/utPLSQL/examples/developer_examples/ut_exampletest2.pks -/scripts/utPLSQL/examples/remove_rooms_by_name/remove_rooms_by_name.sql -/scripts/utPLSQL/examples/remove_rooms_by_name/rooms.sql -/scripts/utPLSQL/examples/remove_rooms_by_name/run_remove_rooms_by_name_test.sql -/scripts/utPLSQL/examples/remove_rooms_by_name/test_remove_rooms_by_name.pkg -/scripts/utPLSQL/examples/demo_expectations.pck -/scripts/utPLSQL/examples/department.tps -/scripts/utPLSQL/examples/departments.tps -/scripts/utPLSQL/examples/readme.md -/scripts/utPLSQL/examples/RunAllExamples.sql -/scripts/utPLSQL/examples/RunAllExamplesAsTests.sql -/scripts/utPLSQL/examples/RunCustomReportersExamples.sql -/scripts/utPLSQL/examples/RunDeveloperExamples.sql -/scripts/utPLSQL/examples/RunExampleTestAnnotationBasedForCurrentSchema.sql -/scripts/utPLSQL/examples/RunExpectations.sql -/scripts/utPLSQL/examples/RunUserExamples.sql -/scripts/utPLSQL/examples/RunWithDocumentationReporter.sql -/scripts/utPLSQL/examples/test_pkg1.pck -/scripts/utPLSQL/examples/test_pkg2.pck -/scripts/utPLSQL/source/api/be_between.syn -/scripts/utPLSQL/source/api/be_empty.syn -/scripts/utPLSQL/source/api/be_false.syn -/scripts/utPLSQL/source/api/be_greater_or_equal.syn -/scripts/utPLSQL/source/api/be_greater_than.syn -/scripts/utPLSQL/source/api/be_less_or_equal.syn -/scripts/utPLSQL/source/api/be_less_than.syn -/scripts/utPLSQL/source/api/be_like.syn -/scripts/utPLSQL/source/api/be_not_null.syn -/scripts/utPLSQL/source/api/be_null.syn -/scripts/utPLSQL/source/api/be_true.syn -/scripts/utPLSQL/source/api/be_within.syn -/scripts/utPLSQL/source/api/be_within_pct.syn -/scripts/utPLSQL/source/api/contain.syn -/scripts/utPLSQL/source/api/equal.syn -/scripts/utPLSQL/source/api/have_count.syn -/scripts/utPLSQL/source/api/match.syn -/scripts/utPLSQL/source/api/ut.pkb -/scripts/utPLSQL/source/api/ut.pks -/scripts/utPLSQL/source/api/ut_runner.pkb -/scripts/utPLSQL/source/api/ut_runner.pks -/scripts/utPLSQL/source/api/ut_suite_item_info.tpb -/scripts/utPLSQL/source/api/ut_suite_item_info.tps -/scripts/utPLSQL/source/api/ut_suite_items_info.tps -/scripts/utPLSQL/source/core/annotations/ut_annotated_object.tps -/scripts/utPLSQL/source/core/annotations/ut_annotated_objects.tps -/scripts/utPLSQL/source/core/annotations/ut_annotation.tps -/scripts/utPLSQL/source/core/annotations/ut_annotation_cache.sql -/scripts/utPLSQL/source/core/annotations/ut_annotation_cache_info.sql -/scripts/utPLSQL/source/core/annotations/ut_annotation_cache_manager.pkb -/scripts/utPLSQL/source/core/annotations/ut_annotation_cache_manager.pks -/scripts/utPLSQL/source/core/annotations/ut_annotation_cache_schema.sql -/scripts/utPLSQL/source/core/annotations/ut_annotation_cache_seq.sql -/scripts/utPLSQL/source/core/annotations/ut_annotation_manager.pkb -/scripts/utPLSQL/source/core/annotations/ut_annotation_manager.pks -/scripts/utPLSQL/source/core/annotations/ut_annotation_obj_cache_info.tps -/scripts/utPLSQL/source/core/annotations/ut_annotation_objs_cache_info.tps -/scripts/utPLSQL/source/core/annotations/ut_annotation_parser.pkb -/scripts/utPLSQL/source/core/annotations/ut_annotation_parser.pks -/scripts/utPLSQL/source/core/annotations/ut_annotations.tps -/scripts/utPLSQL/source/core/annotations/ut_trigger_annotation_parsing.trg -/scripts/utPLSQL/source/core/annotations/ut_trigger_check.pkb -/scripts/utPLSQL/source/core/annotations/ut_trigger_check.pks -/scripts/utPLSQL/source/core/coverage/dbms_plssqlcode.sql -/scripts/utPLSQL/source/core/coverage/proftab.sql -/scripts/utPLSQL/source/core/coverage/ut_coverage.pkb -/scripts/utPLSQL/source/core/coverage/ut_coverage.pks -/scripts/utPLSQL/source/core/coverage/ut_coverage_block.pkb -/scripts/utPLSQL/source/core/coverage/ut_coverage_block.pks -/scripts/utPLSQL/source/core/coverage/ut_coverage_helper.pkb -/scripts/utPLSQL/source/core/coverage/ut_coverage_helper.pks -/scripts/utPLSQL/source/core/coverage/ut_coverage_helper_block.pkb -/scripts/utPLSQL/source/core/coverage/ut_coverage_helper_block.pks -/scripts/utPLSQL/source/core/coverage/ut_coverage_helper_profiler.pkb -/scripts/utPLSQL/source/core/coverage/ut_coverage_helper_profiler.pks -/scripts/utPLSQL/source/core/coverage/ut_coverage_profiler.pkb -/scripts/utPLSQL/source/core/coverage/ut_coverage_profiler.pks -/scripts/utPLSQL/source/core/coverage/ut_coverage_reporter_base.tpb -/scripts/utPLSQL/source/core/coverage/ut_coverage_reporter_base.tps -/scripts/utPLSQL/source/core/coverage/ut_coverage_runs.sql -/scripts/utPLSQL/source/core/coverage/ut_coverage_sources_tmp.sql -/scripts/utPLSQL/source/core/events/ut_event_item.tps -/scripts/utPLSQL/source/core/events/ut_event_listener.tps -/scripts/utPLSQL/source/core/events/ut_event_manager.pkb -/scripts/utPLSQL/source/core/events/ut_event_manager.pks -/scripts/utPLSQL/source/core/output_buffers/ut_output_buffer_base.tpb -/scripts/utPLSQL/source/core/output_buffers/ut_output_buffer_base.tps -/scripts/utPLSQL/source/core/output_buffers/ut_output_buffer_info_tmp.sql -/scripts/utPLSQL/source/core/output_buffers/ut_output_buffer_tmp.sql -/scripts/utPLSQL/source/core/output_buffers/ut_output_bulk_buffer.tpb -/scripts/utPLSQL/source/core/output_buffers/ut_output_bulk_buffer.tps -/scripts/utPLSQL/source/core/output_buffers/ut_output_clob_buffer_tmp.sql -/scripts/utPLSQL/source/core/output_buffers/ut_output_clob_table_buffer.tpb -/scripts/utPLSQL/source/core/output_buffers/ut_output_clob_table_buffer.tps -/scripts/utPLSQL/source/core/output_buffers/ut_output_data_row.tps -/scripts/utPLSQL/source/core/output_buffers/ut_output_data_rows.tps -/scripts/utPLSQL/source/core/output_buffers/ut_output_table_buffer.tpb -/scripts/utPLSQL/source/core/output_buffers/ut_output_table_buffer.tps -/scripts/utPLSQL/source/core/session_context/ut_session_context.pkb -/scripts/utPLSQL/source/core/session_context/ut_session_context.pks -/scripts/utPLSQL/source/core/session_context/ut_session_info.tpb -/scripts/utPLSQL/source/core/session_context/ut_session_info.tps -/scripts/utPLSQL/source/core/types/ut_console_reporter_base.tpb -/scripts/utPLSQL/source/core/types/ut_console_reporter_base.tps -/scripts/utPLSQL/source/core/types/ut_coverage_options.tpb -/scripts/utPLSQL/source/core/types/ut_coverage_options.tps -/scripts/utPLSQL/source/core/types/ut_executable.tpb -/scripts/utPLSQL/source/core/types/ut_executable.tps -/scripts/utPLSQL/source/core/types/ut_executable_test.tpb -/scripts/utPLSQL/source/core/types/ut_executable_test.tps -/scripts/utPLSQL/source/core/types/ut_executables.tps -/scripts/utPLSQL/source/core/types/ut_expectation_result.tpb -/scripts/utPLSQL/source/core/types/ut_expectation_result.tps -/scripts/utPLSQL/source/core/types/ut_expectation_results.tps -/scripts/utPLSQL/source/core/types/ut_file_mapping.tpb -/scripts/utPLSQL/source/core/types/ut_file_mapping.tps -/scripts/utPLSQL/source/core/types/ut_file_mappings.tps -/scripts/utPLSQL/source/core/types/ut_integer_list.tps -/scripts/utPLSQL/source/core/types/ut_key_value_pair.tps -/scripts/utPLSQL/source/core/types/ut_key_value_pairs.tps -/scripts/utPLSQL/source/core/types/ut_logical_suite.tpb -/scripts/utPLSQL/source/core/types/ut_logical_suite.tps -/scripts/utPLSQL/source/core/types/ut_object_name.tpb -/scripts/utPLSQL/source/core/types/ut_object_name.tps -/scripts/utPLSQL/source/core/types/ut_object_names.tps -/scripts/utPLSQL/source/core/types/ut_output_reporter_base.tpb -/scripts/utPLSQL/source/core/types/ut_output_reporter_base.tps -/scripts/utPLSQL/source/core/types/ut_path_item.tpb -/scripts/utPLSQL/source/core/types/ut_path_item.tps -/scripts/utPLSQL/source/core/types/ut_path_items.tps -/scripts/utPLSQL/source/core/types/ut_reporter_base.tpb -/scripts/utPLSQL/source/core/types/ut_reporter_base.tps -/scripts/utPLSQL/source/core/types/ut_reporter_info.tps -/scripts/utPLSQL/source/core/types/ut_reporters.tps -/scripts/utPLSQL/source/core/types/ut_reporters_info.tps -/scripts/utPLSQL/source/core/types/ut_results_counter.tpb -/scripts/utPLSQL/source/core/types/ut_results_counter.tps -/scripts/utPLSQL/source/core/types/ut_run.tpb -/scripts/utPLSQL/source/core/types/ut_run.tps -/scripts/utPLSQL/source/core/types/ut_run_info.tpb -/scripts/utPLSQL/source/core/types/ut_run_info.tps -/scripts/utPLSQL/source/core/types/ut_stack.tpb -/scripts/utPLSQL/source/core/types/ut_stack.tps -/scripts/utPLSQL/source/core/types/ut_suite.tpb -/scripts/utPLSQL/source/core/types/ut_suite.tps -/scripts/utPLSQL/source/core/types/ut_suite_cache_row.tps -/scripts/utPLSQL/source/core/types/ut_suite_cache_rows.tps -/scripts/utPLSQL/source/core/types/ut_suite_context.tpb -/scripts/utPLSQL/source/core/types/ut_suite_context.tps -/scripts/utPLSQL/source/core/types/ut_suite_item.tpb -/scripts/utPLSQL/source/core/types/ut_suite_item.tps -/scripts/utPLSQL/source/core/types/ut_suite_items.tps -/scripts/utPLSQL/source/core/types/ut_test.tpb -/scripts/utPLSQL/source/core/types/ut_test.tps -/scripts/utPLSQL/source/core/types/ut_varchar2_list.tps -/scripts/utPLSQL/source/core/types/ut_varchar2_rows.tps -/scripts/utPLSQL/source/core/ut_dbms_output_cache.sql -/scripts/utPLSQL/source/core/ut_expectation_processor.pkb -/scripts/utPLSQL/source/core/ut_expectation_processor.pks -/scripts/utPLSQL/source/core/ut_file_mapper.pkb -/scripts/utPLSQL/source/core/ut_file_mapper.pks -/scripts/utPLSQL/source/core/ut_metadata.pkb -/scripts/utPLSQL/source/core/ut_metadata.pks -/scripts/utPLSQL/source/core/ut_savepoint_seq.sql -/scripts/utPLSQL/source/core/ut_suite_builder.pkb -/scripts/utPLSQL/source/core/ut_suite_builder.pks -/scripts/utPLSQL/source/core/ut_suite_cache.sql -/scripts/utPLSQL/source/core/ut_suite_cache_manager.pkb -/scripts/utPLSQL/source/core/ut_suite_cache_manager.pks -/scripts/utPLSQL/source/core/ut_suite_cache_package.sql -/scripts/utPLSQL/source/core/ut_suite_cache_schema.sql -/scripts/utPLSQL/source/core/ut_suite_cache_seq.sql -/scripts/utPLSQL/source/core/ut_suite_manager.pkb -/scripts/utPLSQL/source/core/ut_suite_manager.pks -/scripts/utPLSQL/source/core/ut_suite_tag_filter.pkb -/scripts/utPLSQL/source/core/ut_suite_tag_filter.pks -/scripts/utPLSQL/source/core/ut_utils.pkb -/scripts/utPLSQL/source/core/ut_utils.pks -/scripts/utPLSQL/source/expectations/data_values/ut_compound_data_diff_tmp.sql -/scripts/utPLSQL/source/expectations/data_values/ut_compound_data_helper.pkb -/scripts/utPLSQL/source/expectations/data_values/ut_compound_data_helper.pks -/scripts/utPLSQL/source/expectations/data_values/ut_compound_data_tmp.sql -/scripts/utPLSQL/source/expectations/data_values/ut_compound_data_value.tpb -/scripts/utPLSQL/source/expectations/data_values/ut_compound_data_value.tps -/scripts/utPLSQL/source/expectations/data_values/ut_cursor_column.tpb -/scripts/utPLSQL/source/expectations/data_values/ut_cursor_column.tps -/scripts/utPLSQL/source/expectations/data_values/ut_cursor_column_tab.tps -/scripts/utPLSQL/source/expectations/data_values/ut_cursor_details.tpb -/scripts/utPLSQL/source/expectations/data_values/ut_cursor_details.tps -/scripts/utPLSQL/source/expectations/data_values/ut_data_value.tpb -/scripts/utPLSQL/source/expectations/data_values/ut_data_value.tps -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_anydata.tpb -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_anydata.tps -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_blob.tpb -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_blob.tps -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_boolean.tpb -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_boolean.tps -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_clob.tpb -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_clob.tps -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_date.tpb -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_date.tps -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_dsinterval.tpb -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_dsinterval.tps -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_json.tpb -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_json.tps -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_number.tpb -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_number.tps -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_refcursor.tpb -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_refcursor.tps -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_timestamp.tpb -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_timestamp.tps -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_timestamp_ltz.tpb -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_timestamp_ltz.tps -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_timestamp_tz.tpb -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_timestamp_tz.tps -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_varchar2.tpb -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_varchar2.tps -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_xmltype.tpb -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_xmltype.tps -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_yminterval.tpb -/scripts/utPLSQL/source/expectations/data_values/ut_data_value_yminterval.tps -/scripts/utPLSQL/source/expectations/data_values/ut_json_data_diff_tmp.sql -/scripts/utPLSQL/source/expectations/data_values/ut_json_leaf.tpb -/scripts/utPLSQL/source/expectations/data_values/ut_json_leaf.tps -/scripts/utPLSQL/source/expectations/data_values/ut_json_leaf_tab.tps -/scripts/utPLSQL/source/expectations/data_values/ut_json_tree_details.tpb -/scripts/utPLSQL/source/expectations/data_values/ut_json_tree_details.tps -/scripts/utPLSQL/source/expectations/data_values/ut_key_anyval_pair.tps -/scripts/utPLSQL/source/expectations/data_values/ut_key_anyval_pairs.tps -/scripts/utPLSQL/source/expectations/data_values/ut_key_anyvalues.tpb -/scripts/utPLSQL/source/expectations/data_values/ut_key_anyvalues.tps -/scripts/utPLSQL/source/expectations/matchers/ut_be_between.tpb -/scripts/utPLSQL/source/expectations/matchers/ut_be_between.tps -/scripts/utPLSQL/source/expectations/matchers/ut_be_empty.tpb -/scripts/utPLSQL/source/expectations/matchers/ut_be_empty.tps -/scripts/utPLSQL/source/expectations/matchers/ut_be_false.tpb -/scripts/utPLSQL/source/expectations/matchers/ut_be_false.tps -/scripts/utPLSQL/source/expectations/matchers/ut_be_greater_or_equal.tpb -/scripts/utPLSQL/source/expectations/matchers/ut_be_greater_or_equal.tps -/scripts/utPLSQL/source/expectations/matchers/ut_be_greater_than.tpb -/scripts/utPLSQL/source/expectations/matchers/ut_be_greater_than.tps -/scripts/utPLSQL/source/expectations/matchers/ut_be_less_or_equal.tpb -/scripts/utPLSQL/source/expectations/matchers/ut_be_less_or_equal.tps -/scripts/utPLSQL/source/expectations/matchers/ut_be_less_than.tpb -/scripts/utPLSQL/source/expectations/matchers/ut_be_less_than.tps -/scripts/utPLSQL/source/expectations/matchers/ut_be_like.tpb -/scripts/utPLSQL/source/expectations/matchers/ut_be_like.tps -/scripts/utPLSQL/source/expectations/matchers/ut_be_not_null.tpb -/scripts/utPLSQL/source/expectations/matchers/ut_be_not_null.tps -/scripts/utPLSQL/source/expectations/matchers/ut_be_null.tpb -/scripts/utPLSQL/source/expectations/matchers/ut_be_null.tps -/scripts/utPLSQL/source/expectations/matchers/ut_be_true.tpb -/scripts/utPLSQL/source/expectations/matchers/ut_be_true.tps -/scripts/utPLSQL/source/expectations/matchers/ut_be_within.tpb -/scripts/utPLSQL/source/expectations/matchers/ut_be_within.tps -/scripts/utPLSQL/source/expectations/matchers/ut_be_within_helper.pkb -/scripts/utPLSQL/source/expectations/matchers/ut_be_within_helper.pks -/scripts/utPLSQL/source/expectations/matchers/ut_be_within_pct.tpb -/scripts/utPLSQL/source/expectations/matchers/ut_be_within_pct.tps -/scripts/utPLSQL/source/expectations/matchers/ut_comparison_matcher.tpb -/scripts/utPLSQL/source/expectations/matchers/ut_comparison_matcher.tps -/scripts/utPLSQL/source/expectations/matchers/ut_contain.tpb -/scripts/utPLSQL/source/expectations/matchers/ut_contain.tps -/scripts/utPLSQL/source/expectations/matchers/ut_equal.tpb -/scripts/utPLSQL/source/expectations/matchers/ut_equal.tps -/scripts/utPLSQL/source/expectations/matchers/ut_have_count.tpb -/scripts/utPLSQL/source/expectations/matchers/ut_have_count.tps -/scripts/utPLSQL/source/expectations/matchers/ut_match.tpb -/scripts/utPLSQL/source/expectations/matchers/ut_match.tps -/scripts/utPLSQL/source/expectations/matchers/ut_matcher.tpb -/scripts/utPLSQL/source/expectations/matchers/ut_matcher.tps -/scripts/utPLSQL/source/expectations/matchers/ut_matcher_base.tps -/scripts/utPLSQL/source/expectations/matchers/ut_matcher_options.tpb -/scripts/utPLSQL/source/expectations/matchers/ut_matcher_options.tps -/scripts/utPLSQL/source/expectations/matchers/ut_matcher_options_items.tpb -/scripts/utPLSQL/source/expectations/matchers/ut_matcher_options_items.tps -/scripts/utPLSQL/source/expectations/json_objects_specs.sql -/scripts/utPLSQL/source/expectations/ut_expectation.tpb -/scripts/utPLSQL/source/expectations/ut_expectation.tps -/scripts/utPLSQL/source/expectations/ut_expectation_base.tpb -/scripts/utPLSQL/source/expectations/ut_expectation_base.tps -/scripts/utPLSQL/source/expectations/ut_expectation_compound.tpb -/scripts/utPLSQL/source/expectations/ut_expectation_compound.tps -/scripts/utPLSQL/source/expectations/ut_expectation_json.tpb -/scripts/utPLSQL/source/expectations/ut_expectation_json.tps -/scripts/utPLSQL/source/reporters/ut_ansiconsole_helper.pkb -/scripts/utPLSQL/source/reporters/ut_ansiconsole_helper.pks -/scripts/utPLSQL/source/reporters/ut_coverage_cobertura_reporter.tpb -/scripts/utPLSQL/source/reporters/ut_coverage_cobertura_reporter.tps -/scripts/utPLSQL/source/reporters/ut_coverage_html_reporter.tpb -/scripts/utPLSQL/source/reporters/ut_coverage_html_reporter.tps -/scripts/utPLSQL/source/reporters/ut_coverage_report_html_helper.pkb -/scripts/utPLSQL/source/reporters/ut_coverage_report_html_helper.pks -/scripts/utPLSQL/source/reporters/ut_coverage_sonar_reporter.tpb -/scripts/utPLSQL/source/reporters/ut_coverage_sonar_reporter.tps -/scripts/utPLSQL/source/reporters/ut_coveralls_reporter.tpb -/scripts/utPLSQL/source/reporters/ut_coveralls_reporter.tps -/scripts/utPLSQL/source/reporters/ut_debug_reporter.tpb -/scripts/utPLSQL/source/reporters/ut_debug_reporter.tps -/scripts/utPLSQL/source/reporters/ut_documentation_reporter.tpb -/scripts/utPLSQL/source/reporters/ut_documentation_reporter.tps -/scripts/utPLSQL/source/reporters/ut_junit_reporter.tpb -/scripts/utPLSQL/source/reporters/ut_junit_reporter.tps -/scripts/utPLSQL/source/reporters/ut_realtime_reporter.tpb -/scripts/utPLSQL/source/reporters/ut_realtime_reporter.tps -/scripts/utPLSQL/source/reporters/ut_sonar_test_reporter.tpb -/scripts/utPLSQL/source/reporters/ut_sonar_test_reporter.tps -/scripts/utPLSQL/source/reporters/ut_teamcity_reporter.tpb -/scripts/utPLSQL/source/reporters/ut_teamcity_reporter.tps -/scripts/utPLSQL/source/reporters/ut_teamcity_reporter_helper.pkb -/scripts/utPLSQL/source/reporters/ut_teamcity_reporter_helper.pks -/scripts/utPLSQL/source/reporters/ut_tfs_junit_reporter.tpb -/scripts/utPLSQL/source/reporters/ut_tfs_junit_reporter.tps -/scripts/utPLSQL/source/reporters/ut_xunit_reporter.tpb -/scripts/utPLSQL/source/reporters/ut_xunit_reporter.tps -/scripts/utPLSQL/source/check_object_grants.sql -/scripts/utPLSQL/source/check_sys_grants.sql -/scripts/utPLSQL/source/create_grants.sql -/scripts/utPLSQL/source/create_synonyms.sql -/scripts/utPLSQL/source/create_synonyms_and_grants_for_public.sql -/scripts/utPLSQL/source/create_user_grants.sql -/scripts/utPLSQL/source/create_user_synonyms.sql -/scripts/utPLSQL/source/create_utplsql_owner.sql -/scripts/utPLSQL/source/define_ut3_owner_param.sql -/scripts/utPLSQL/source/dummy.sql -/scripts/utPLSQL/source/install.log -/scripts/utPLSQL/source/install.sql -/scripts/utPLSQL/source/install_above_12_1.sql -/scripts/utPLSQL/source/install_component.sql -/scripts/utPLSQL/source/install_ddl_trigger.sql -/scripts/utPLSQL/source/install_headless.sql -/scripts/utPLSQL/source/install_headless_with_trigger.sql -/scripts/utPLSQL/source/set_install_params.sql -/scripts/utPLSQL/source/uninstall.sql -/scripts/utPLSQL/source/uninstall_all.sql -/scripts/utPLSQL/source/uninstall_coverage_tables.sql -/scripts/utPLSQL/source/uninstall_objects.sql -/scripts/utPLSQL/source/uninstall_synonyms.sql -/scripts/utPLSQL/BUILD_NO -/scripts/utPLSQL/CODE_OF_CONDUCT.md -/scripts/utPLSQL/CONTRIBUTING.md -/scripts/utPLSQL/LICENSE -/scripts/utPLSQL/mkdocs_offline.yml -/scripts/utPLSQL/readme.md -/scripts/utPLSQL/VERSION diff --git a/scripts/0_start_db.sh b/scripts/0_start_db.sh old mode 100755 new mode 100644 diff --git a/scripts/1_install_utplsql.sh b/scripts/1_install_utplsql.sh old mode 100755 new mode 100644 index 4b803f2..bb6577c --- a/scripts/1_install_utplsql.sh +++ b/scripts/1_install_utplsql.sh @@ -5,4 +5,4 @@ curl -Lk "${UTPLSQL_DOWNLOAD_URL}" -o utPLSQL.zip unzip -q utPLSQL.zip docker run --rm -v $(pwd)/utPLSQL:/utPLSQL -w /utPLSQL/source --network host \ - --entrypoint sqlplus truemark/sqlplus:19.8 sys/oracle@//127.0.0.1:1521/FREEPDB1 as sysdba @install_headless.sql UT3 UT3 users + --entrypoint sqlplus truemark/sqlplus:19.8 sys/oracle@//127.0.0.1:1521/XE as sysdba @install_headless.sql UT3 UT3 users diff --git a/scripts/2_install_demo_project.sh b/scripts/2_install_demo_project.sh old mode 100755 new mode 100644 index 319b8a8..a4089b1 --- a/scripts/2_install_demo_project.sh +++ b/scripts/2_install_demo_project.sh @@ -1,11 +1,11 @@ docker run --rm -v $(pwd):/work -w /work/ --network host --entrypoint sqlplus truemark/sqlplus:19.8 \ - sys/oracle@//127.0.0.1:1521/FREEPDB1 as sysdba @scripts/sql/create_users.sql + sys/oracle@//127.0.0.1:1521/XE as sysdba @scripts/sql/create_users.sql docker run --rm -v $(pwd):/work -w /work/ --network host --entrypoint sqlplus truemark/sqlplus:19.8 \ - app/pass@//127.0.0.1:1521/FREEPDB1 @scripts/sql/create_app_objects.sql + app/pass@//127.0.0.1:1521/XE @scripts/sql/create_app_objects.sql docker run --rm -v $(pwd):/work -w /work/ --network host --entrypoint sqlplus truemark/sqlplus:19.8 \ - code_owner/pass@//127.0.0.1:1521/ @scripts/sql/create_source_owner_objects.sql + code_owner/pass@//127.0.0.1:1521/XE @scripts/sql/create_source_owner_objects.sql docker run --rm -v $(pwd):/work -w /work/ --network host --entrypoint sqlplus truemark/sqlplus:19.8 \ - tests_owner/pass@//127.0.0.1:1521/FREEPDB1 @scripts/sql/create_tests_owner_objects.sql + tests_owner/pass@//127.0.0.1:1521/XE @scripts/sql/create_tests_owner_objects.sql From ebccd01e9a35d10ef71c3ba3b683191790b7c345 Mon Sep 17 00:00:00 2001 From: Simon Martinelli Date: Tue, 15 Oct 2024 09:18:39 +0200 Subject: [PATCH 08/41] Revert "Fixed JDBC Url" This reverts commit f67d92a003aaba57f77dad358c1c56650e68d92e. --- README.md | 2 +- src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java | 2 +- .../utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml | 2 +- .../maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml | 2 +- .../utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml | 2 +- .../maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml | 2 +- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml | 2 +- .../maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml | 2 +- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml | 2 +- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml | 2 +- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml | 2 +- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml | 2 +- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml | 2 +- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml | 2 +- src/test/resources/unit-tests/dbms_output/pom.xml | 2 +- .../unit-tests/default_console_output_behaviour/pom.xml | 2 +- src/test/resources/unit-tests/default_reporter/pom.xml | 2 +- src/test/resources/unit-tests/exclude_object/pom.xml | 2 +- src/test/resources/unit-tests/exclude_object_expr/pom.xml | 2 +- src/test/resources/unit-tests/exclude_schema_expr/pom.xml | 2 +- src/test/resources/unit-tests/include_object/pom.xml | 2 +- src/test/resources/unit-tests/include_object_expr/pom.xml | 2 +- src/test/resources/unit-tests/include_schema_expr/pom.xml | 2 +- src/test/resources/unit-tests/invalid_sources_directory/pom.xml | 2 +- src/test/resources/unit-tests/invalid_tests_directory/pom.xml | 2 +- src/test/resources/unit-tests/ora_stuck_timeout/pom.xml | 2 +- src/test/resources/unit-tests/skip_utplsql_tests/pom.xml | 2 +- .../sources_and_tests_parameter_does_not_exist/pom.xml | 2 +- .../pom.xml | 2 +- .../sources_and_tests_parameter_have_not_directory_tag/pom.xml | 2 +- .../sources_and_tests_parameter_have_not_includes_tag/pom.xml | 2 +- src/test/resources/unit-tests/sources_tests_parameters/pom.xml | 2 +- 32 files changed, 32 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index ae7b2d7..c428511 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ Please refer to the following usage example for the parameters descriptions: - + url_of_connection diff --git a/src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java b/src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java index deb7546..3964c13 100644 --- a/src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java +++ b/src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java @@ -304,7 +304,7 @@ public void dbms_output() throws Exception { */ @Test public void db_config_using_system_properties() throws Exception { - System.setProperty("dbUrl", "jdbc:oracle:thin:@localhost:1521/FREEPDB1"); + System.setProperty("dbUrl", "jdbc:oracle:thin:@localhost:1521:FREEPDB1"); System.setProperty("dbUser", "UT3"); System.setProperty("dbPass", "UT3"); diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml index 4889335..36b3693 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521/FREEPDB1 + jdbc:oracle:thin:@localhost:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml index c4a016f..fbe3782 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521/FREEPDB1 + jdbc:oracle:thin:@localhost:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml index bcdc456..d5c2a74 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521/FREEPDB1 + jdbc:oracle:thin:@localhost:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml index df74866..b99d1f5 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521/FREEPDB1 + jdbc:oracle:thin:@localhost:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml index 0660f2e..307b956 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521/FREEPDB1 + jdbc:oracle:thin:@localhost:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml index 0c2f255..55c3bed 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521/FREEPDB1 + jdbc:oracle:thin:@localhost:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml index e358a2d..156b956 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521/FREEPDB1 + jdbc:oracle:thin:@localhost:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml index 3e1fd7f..cbe578a 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521/FREEPDB1 + jdbc:oracle:thin:@localhost:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml index c8e0113..605124b 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521/FREEPDB1 + jdbc:oracle:thin:@localhost:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml index 864cb07..839a6af 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521/FREEPDB1 + jdbc:oracle:thin:@localhost:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml index 2403efd..b82af37 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521/FREEPDB1 + jdbc:oracle:thin:@localhost:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml index 493e0d3..432deb2 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521/FREEPDB1 + jdbc:oracle:thin:@localhost:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/dbms_output/pom.xml b/src/test/resources/unit-tests/dbms_output/pom.xml index 7e0ded0..bf4bb04 100644 --- a/src/test/resources/unit-tests/dbms_output/pom.xml +++ b/src/test/resources/unit-tests/dbms_output/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml b/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml index 60c5437..266f353 100644 --- a/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml +++ b/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/default_reporter/pom.xml b/src/test/resources/unit-tests/default_reporter/pom.xml index c5eec78..a1483af 100644 --- a/src/test/resources/unit-tests/default_reporter/pom.xml +++ b/src/test/resources/unit-tests/default_reporter/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/exclude_object/pom.xml b/src/test/resources/unit-tests/exclude_object/pom.xml index c5a1b47..59c2529 100644 --- a/src/test/resources/unit-tests/exclude_object/pom.xml +++ b/src/test/resources/unit-tests/exclude_object/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/exclude_object_expr/pom.xml b/src/test/resources/unit-tests/exclude_object_expr/pom.xml index 28e2b2b..2540641 100644 --- a/src/test/resources/unit-tests/exclude_object_expr/pom.xml +++ b/src/test/resources/unit-tests/exclude_object_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/exclude_schema_expr/pom.xml b/src/test/resources/unit-tests/exclude_schema_expr/pom.xml index 97e900f..29a9a01 100644 --- a/src/test/resources/unit-tests/exclude_schema_expr/pom.xml +++ b/src/test/resources/unit-tests/exclude_schema_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/include_object/pom.xml b/src/test/resources/unit-tests/include_object/pom.xml index d15d710..b3bcfa4 100644 --- a/src/test/resources/unit-tests/include_object/pom.xml +++ b/src/test/resources/unit-tests/include_object/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/include_object_expr/pom.xml b/src/test/resources/unit-tests/include_object_expr/pom.xml index ddd1e1d..c3f43b9 100644 --- a/src/test/resources/unit-tests/include_object_expr/pom.xml +++ b/src/test/resources/unit-tests/include_object_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/include_schema_expr/pom.xml b/src/test/resources/unit-tests/include_schema_expr/pom.xml index 09d3793..95f28dd 100644 --- a/src/test/resources/unit-tests/include_schema_expr/pom.xml +++ b/src/test/resources/unit-tests/include_schema_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/invalid_sources_directory/pom.xml b/src/test/resources/unit-tests/invalid_sources_directory/pom.xml index 74d9946..b6b3d5e 100644 --- a/src/test/resources/unit-tests/invalid_sources_directory/pom.xml +++ b/src/test/resources/unit-tests/invalid_sources_directory/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/invalid_tests_directory/pom.xml b/src/test/resources/unit-tests/invalid_tests_directory/pom.xml index e086711..af69a88 100644 --- a/src/test/resources/unit-tests/invalid_tests_directory/pom.xml +++ b/src/test/resources/unit-tests/invalid_tests_directory/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml b/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml index 4bcb833..2e3649d 100644 --- a/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml +++ b/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml b/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml index 4a0809e..88e75af 100644 --- a/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml +++ b/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml index 123d569..bb59752 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml index 123d569..bb59752 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml index 8f6fd16..fe55db1 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml index 9c1550e..c848bbd 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml @@ -10,7 +10,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_tests_parameters/pom.xml b/src/test/resources/unit-tests/sources_tests_parameters/pom.xml index 5588400..c07668c 100644 --- a/src/test/resources/unit-tests/sources_tests_parameters/pom.xml +++ b/src/test/resources/unit-tests/sources_tests_parameters/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521/FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 UT3 UT3 From a312a2588c12816d4b15f062fd13437211a3094d Mon Sep 17 00:00:00 2001 From: Simon Martinelli Date: Tue, 15 Oct 2024 09:18:42 +0200 Subject: [PATCH 09/41] Revert "User FREEPDB1 SID" This reverts commit 9d60472bd6bf3ba5e1f5c4046047d1bd9dffe37e. --- README.md | 2 +- .../java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java | 8 ++++++-- .../maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml | 2 +- .../plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml | 2 +- .../maven/plugin/UtPlsqlMojoIT/include_object/pom.xml | 2 +- .../plugin/UtPlsqlMojoIT/include_object_expr/pom.xml | 2 +- .../utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml | 2 +- .../maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml | 2 +- .../maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml | 2 +- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml | 2 +- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml | 2 +- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml | 2 +- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml | 2 +- .../maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml | 2 +- src/test/resources/unit-tests/dbms_output/pom.xml | 2 +- .../unit-tests/default_console_output_behaviour/pom.xml | 2 +- src/test/resources/unit-tests/default_reporter/pom.xml | 2 +- src/test/resources/unit-tests/exclude_object/pom.xml | 2 +- src/test/resources/unit-tests/exclude_object_expr/pom.xml | 2 +- src/test/resources/unit-tests/exclude_schema_expr/pom.xml | 2 +- src/test/resources/unit-tests/include_object/pom.xml | 2 +- src/test/resources/unit-tests/include_object_expr/pom.xml | 2 +- src/test/resources/unit-tests/include_schema_expr/pom.xml | 2 +- .../unit-tests/invalid_sources_directory/pom.xml | 2 +- .../resources/unit-tests/invalid_tests_directory/pom.xml | 2 +- src/test/resources/unit-tests/ora_stuck_timeout/pom.xml | 2 +- src/test/resources/unit-tests/skip_utplsql_tests/pom.xml | 2 +- .../sources_and_tests_parameter_does_not_exist/pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../resources/unit-tests/sources_tests_parameters/pom.xml | 2 +- 32 files changed, 37 insertions(+), 33 deletions(-) diff --git a/README.md b/README.md index c428511..d57328f 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ Please refer to the following usage example for the parameters descriptions: - + url_of_connection diff --git a/src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java b/src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java index 3964c13..6315072 100644 --- a/src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java +++ b/src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java @@ -12,7 +12,11 @@ import java.io.PrintStream; import java.util.List; -import static org.junit.Assert.*; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertThrows; +import static org.junit.Assert.assertTrue; public class UtPlsqlMojoTest { @@ -304,7 +308,7 @@ public void dbms_output() throws Exception { */ @Test public void db_config_using_system_properties() throws Exception { - System.setProperty("dbUrl", "jdbc:oracle:thin:@localhost:1521:FREEPDB1"); + System.setProperty("dbUrl", "jdbc:oracle:thin:@localhost:1521:xe"); System.setProperty("dbUser", "UT3"); System.setProperty("dbPass", "UT3"); diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml index 36b3693..15411c2 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:FREEPDB1 + jdbc:oracle:thin:@localhost:1521:xe UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml index fbe3782..22d0869 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:FREEPDB1 + jdbc:oracle:thin:@localhost:1521:xe UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml index d5c2a74..ee6d13f 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:FREEPDB1 + jdbc:oracle:thin:@localhost:1521:xe UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml index b99d1f5..e807d13 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:FREEPDB1 + jdbc:oracle:thin:@localhost:1521:xe UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml index 307b956..40759d2 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:FREEPDB1 + jdbc:oracle:thin:@localhost:1521:xe UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml index 55c3bed..f0c33da 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:FREEPDB1 + jdbc:oracle:thin:@localhost:1521:xe UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml index 156b956..961940b 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:FREEPDB1 + jdbc:oracle:thin:@localhost:1521:xe UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml index cbe578a..2620738 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:FREEPDB1 + jdbc:oracle:thin:@localhost:1521:xe UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml index 605124b..c174c87 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:FREEPDB1 + jdbc:oracle:thin:@localhost:1521:xe UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml index 839a6af..f9264fb 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:FREEPDB1 + jdbc:oracle:thin:@localhost:1521:xe UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml index b82af37..01150a1 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:FREEPDB1 + jdbc:oracle:thin:@localhost:1521:xe UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml index 432deb2..3cf0033 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:FREEPDB1 + jdbc:oracle:thin:@localhost:1521:xe UT3 UT3 diff --git a/src/test/resources/unit-tests/dbms_output/pom.xml b/src/test/resources/unit-tests/dbms_output/pom.xml index bf4bb04..4f45635 100644 --- a/src/test/resources/unit-tests/dbms_output/pom.xml +++ b/src/test/resources/unit-tests/dbms_output/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:xe UT3 UT3 diff --git a/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml b/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml index 266f353..ac6b14c 100644 --- a/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml +++ b/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:xe UT3 UT3 diff --git a/src/test/resources/unit-tests/default_reporter/pom.xml b/src/test/resources/unit-tests/default_reporter/pom.xml index a1483af..8f03e25 100644 --- a/src/test/resources/unit-tests/default_reporter/pom.xml +++ b/src/test/resources/unit-tests/default_reporter/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:xe UT3 UT3 diff --git a/src/test/resources/unit-tests/exclude_object/pom.xml b/src/test/resources/unit-tests/exclude_object/pom.xml index 59c2529..d65fde3 100644 --- a/src/test/resources/unit-tests/exclude_object/pom.xml +++ b/src/test/resources/unit-tests/exclude_object/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:xe UT3 UT3 diff --git a/src/test/resources/unit-tests/exclude_object_expr/pom.xml b/src/test/resources/unit-tests/exclude_object_expr/pom.xml index 2540641..7993e05 100644 --- a/src/test/resources/unit-tests/exclude_object_expr/pom.xml +++ b/src/test/resources/unit-tests/exclude_object_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:xe UT3 UT3 diff --git a/src/test/resources/unit-tests/exclude_schema_expr/pom.xml b/src/test/resources/unit-tests/exclude_schema_expr/pom.xml index 29a9a01..28df05e 100644 --- a/src/test/resources/unit-tests/exclude_schema_expr/pom.xml +++ b/src/test/resources/unit-tests/exclude_schema_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:xe UT3 UT3 diff --git a/src/test/resources/unit-tests/include_object/pom.xml b/src/test/resources/unit-tests/include_object/pom.xml index b3bcfa4..f031df5 100644 --- a/src/test/resources/unit-tests/include_object/pom.xml +++ b/src/test/resources/unit-tests/include_object/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:xe UT3 UT3 diff --git a/src/test/resources/unit-tests/include_object_expr/pom.xml b/src/test/resources/unit-tests/include_object_expr/pom.xml index c3f43b9..636098b 100644 --- a/src/test/resources/unit-tests/include_object_expr/pom.xml +++ b/src/test/resources/unit-tests/include_object_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:xe UT3 UT3 diff --git a/src/test/resources/unit-tests/include_schema_expr/pom.xml b/src/test/resources/unit-tests/include_schema_expr/pom.xml index 95f28dd..f953ec0 100644 --- a/src/test/resources/unit-tests/include_schema_expr/pom.xml +++ b/src/test/resources/unit-tests/include_schema_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:xe UT3 UT3 diff --git a/src/test/resources/unit-tests/invalid_sources_directory/pom.xml b/src/test/resources/unit-tests/invalid_sources_directory/pom.xml index b6b3d5e..af6643d 100644 --- a/src/test/resources/unit-tests/invalid_sources_directory/pom.xml +++ b/src/test/resources/unit-tests/invalid_sources_directory/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:xe UT3 UT3 diff --git a/src/test/resources/unit-tests/invalid_tests_directory/pom.xml b/src/test/resources/unit-tests/invalid_tests_directory/pom.xml index af69a88..c7380ef 100644 --- a/src/test/resources/unit-tests/invalid_tests_directory/pom.xml +++ b/src/test/resources/unit-tests/invalid_tests_directory/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:xe UT3 UT3 diff --git a/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml b/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml index 2e3649d..f04825c 100644 --- a/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml +++ b/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:xe UT3 UT3 diff --git a/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml b/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml index 88e75af..3e978d5 100644 --- a/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml +++ b/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:xe UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml index bb59752..a556a7e 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:xe UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml index bb59752..a556a7e 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:xe UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml index fe55db1..d5382b4 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:xe UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml index c848bbd..d33e917 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml @@ -10,7 +10,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:xe UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_tests_parameters/pom.xml b/src/test/resources/unit-tests/sources_tests_parameters/pom.xml index c07668c..6f4c2d0 100644 --- a/src/test/resources/unit-tests/sources_tests_parameters/pom.xml +++ b/src/test/resources/unit-tests/sources_tests_parameters/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:FREEPDB1 + jdbc:oracle:thin:@127.0.0.1:1521:xe UT3 UT3 From 560f1983236b6db4e713d9643f4a8982a14cf948 Mon Sep 17 00:00:00 2001 From: Simon Martinelli Date: Tue, 15 Oct 2024 09:18:45 +0200 Subject: [PATCH 10/41] Revert "Upgrade to Oracle Database Free #74" This reverts commit 36d6ab3c6a5094d9b0a790e008214da32e7bfa87. --- .github/workflows/build.yml | 2 +- .github/workflows/release.yml | 2 +- scripts/0_start_db.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 07c5189..b3a4e7b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: services: oracle: - image: gvenzl/oracle-free:23-slim + image: gvenzl/oracle-xe:21-slim env: ORACLE_PASSWORD: oracle ports: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f5b1c45..4825e34 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: services: oracle: - image: gvenzl/oracle-free:23-slim + image: gvenzl/oracle-xe:21-slim env: ORACLE_PASSWORD: oracle ports: diff --git a/scripts/0_start_db.sh b/scripts/0_start_db.sh index d1bd8bb..d319407 100644 --- a/scripts/0_start_db.sh +++ b/scripts/0_start_db.sh @@ -1 +1 @@ -docker run -d --name ora-utplsql -p 1521:1521 -e ORACLE_PASSWORD=oracle gvenzl/oracle-free:23-slim +docker run -d --name ora-utplsql -p 1521:1521 -e ORACLE_PASSWORD=oracle gvenzl/oracle-xe:21-slim From d95d4885502f85ba2ea53e2a934480b23fa142d9 Mon Sep 17 00:00:00 2001 From: Simon Martinelli Date: Tue, 15 Oct 2024 09:23:50 +0200 Subject: [PATCH 11/41] Java 8 --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b3a4e7b..8410bc3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,7 +43,7 @@ jobs: - name: Set up JDK 11 uses: actions/setup-java@v2 with: - java-version: '11' + java-version: '8' distribution: 'adopt' server-id: ossrh server-username: MAVEN_USERNAME From 1eecf3b755f1d20601f5e542517a4285a52d6cbe Mon Sep 17 00:00:00 2001 From: Simon Martinelli Date: Tue, 15 Oct 2024 09:43:25 +0200 Subject: [PATCH 12/41] SonarQube requires later Java version --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8410bc3..6c848b6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,10 +40,10 @@ jobs: - name: Install demo project run: sh ${{ github.workspace }}/scripts/2_install_demo_project.sh - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v2 with: - java-version: '8' + java-version: '17' distribution: 'adopt' server-id: ossrh server-username: MAVEN_USERNAME From 38fa57f8c1c85a5b1c12e140fb9e564486a24a5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Thu, 23 Apr 2026 17:16:12 +0300 Subject: [PATCH 13/41] Update readme. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d57328f..20c9cf3 100644 --- a/README.md +++ b/README.md @@ -181,7 +181,7 @@ Please refer to the following usage example for the parameters descriptions: app.test1,app.test2 - app.test1,app.test2 + app.test1,app.test2 app.test1,app.test2 From 8bb7bb51a895e3033ac7d26373a0df6156c9931c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 23 Apr 2026 14:19:46 +0000 Subject: [PATCH 14/41] Bump org.codehaus.plexus:plexus-utils from 3.1.0 to 3.6.1 Bumps [org.codehaus.plexus:plexus-utils](https://github.com/codehaus-plexus/plexus-utils) from 3.1.0 to 3.6.1. - [Release notes](https://github.com/codehaus-plexus/plexus-utils/releases) - [Commits](https://github.com/codehaus-plexus/plexus-utils/compare/plexus-utils-3.1.0...plexus-utils-3.6.1) --- updated-dependencies: - dependency-name: org.codehaus.plexus:plexus-utils dependency-version: 3.6.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 760417b..f491c16 100644 --- a/pom.xml +++ b/pom.xml @@ -96,7 +96,7 @@ org.codehaus.plexus plexus-utils - 3.1.0 + 3.6.1 From 8ceee13351c9babeb6afa2ee994a8bc7b7a77f84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Thu, 23 Apr 2026 18:45:59 +0300 Subject: [PATCH 15/41] Update to Java 17. Update of utPLSQL-java-api version. Update of maven dependencies. Improved maintainability of tests - DB_URL and credentials are managed in env variables. --- .github/workflows/build.yml | 4 + README.md | 81 +++++++---------- pom.xml | 89 ++++++++++--------- scripts/0_start_db.sh | 1 - scripts/1_install_utplsql.sh | 2 +- scripts/2_install_demo_project.sh | 8 +- .../utplsql/maven/plugin/ReportChecker.java | 6 +- .../utplsql/maven/plugin/UtPlsqlMojoTest.java | 8 +- .../UtPlsqlMojoIT/exclude_object/pom.xml | 2 +- .../UtPlsqlMojoIT/exclude_object_expr/pom.xml | 2 +- .../UtPlsqlMojoIT/include_object/pom.xml | 2 +- .../UtPlsqlMojoIT/include_object_expr/pom.xml | 2 +- .../plugin/UtPlsqlMojoIT/minimalist/pom.xml | 2 +- .../UtPlsqlMojoIT/ora_stuck_timeout/pom.xml | 2 +- .../plugin/UtPlsqlMojoIT/owner_param/pom.xml | 2 +- .../maven/plugin/UtPlsqlMojoIT/regex/pom.xml | 2 +- .../maven/plugin/UtPlsqlMojoIT/simple/pom.xml | 2 +- .../maven/plugin/UtPlsqlMojoIT/skip/pom.xml | 2 +- .../maven/plugin/UtPlsqlMojoIT/tags/pom.xml | 2 +- .../plugin/UtPlsqlMojoIT/type_mapping/pom.xml | 2 +- .../db_config_using_system_properties/pom.xml | 2 +- .../resources/unit-tests/dbms_output/pom.xml | 4 +- .../default_console_output_behaviour/pom.xml | 2 +- .../unit-tests/default_reporter/pom.xml | 2 +- .../unit-tests/exclude_object/pom.xml | 4 +- .../unit-tests/exclude_object_expr/pom.xml | 4 +- .../unit-tests/exclude_schema_expr/pom.xml | 4 +- .../unit-tests/include_object/pom.xml | 4 +- .../unit-tests/include_object_expr/pom.xml | 4 +- .../unit-tests/include_schema_expr/pom.xml | 4 +- .../invalid_sources_directory/pom.xml | 2 +- .../invalid_tests_directory/pom.xml | 2 +- .../unit-tests/ora_stuck_timeout/pom.xml | 4 +- .../unit-tests/skip_utplsql_tests/pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../sources_tests_parameters/pom.xml | 2 +- 39 files changed, 136 insertions(+), 141 deletions(-) delete mode 100644 scripts/0_start_db.sh diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6c848b6..54289d3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,6 +15,10 @@ jobs: build: runs-on: ubuntu-latest + env: + DB_URL: "//localhost:1521/FREEPDB1" + DB_USER: UT3 + DB_PASS: UT3 services: oracle: diff --git a/README.md b/README.md index 20c9cf3..1844273 100644 --- a/README.md +++ b/README.md @@ -11,18 +11,8 @@ This plugin is compatible with utPLSQL 3.1.0+. ## Prerequisites -* Java SE Runtime Environment 8 -* Maven Version 3.5+ -* Oracle JDBC driver - -```xml - - - com.oracle.database.jdbc - ojdbc8 - 21.3.0.0 - -``` +* Java SE Runtime Environment 17 +* Maven Version 3.9.9+ ## Usage @@ -31,7 +21,6 @@ This plugin is compatible with utPLSQL 3.1.0+. To skip running the tests for a particular project, set the **skipUtplsqlTests** property to true. ```xml - true @@ -47,7 +36,6 @@ If you want to skip tests by default but want the ability to re-enable tests fro properties section in the pom: ```xml - true @@ -62,7 +50,6 @@ This will allow you to run with all tests disabled by default and to run them wi Please refer to the following usage example for the parameters descriptions: ```xml - @@ -267,35 +254,35 @@ directory: ## Comparison with utPLSQL CLI -| CLI short parameter | CLI long parameter | Maven XML path | -| --- | --- | --- | -| -c | --color | | -| | --failure-exit-code | | -| -p | --path | paths.path | -| -f | --format | reporters.reporter.name | -| -o | | reporters.reporter.fileOutput | -| -s | | reporters.reporter.consoleOutput | -| | | ignoreFailure | -| -scc | --skip-compatibility-check | skipCompatibilityCheck | -| | --tags | tags.tag | -| -D | --dbms_output | dbmsOutput | -| -r | --random-test-order | randomTestOrder | -| -seed | --random-test-order-seed | randomTestOrderSeed | -| -exclude | | excludeObject | -| -include | | includeObject | -| | | | -| -source_path | | sources.source.directory | -| -owner | | sourcesOwner | -| -regex_expression | | sourcesRegexExpression | -| -type_mapping | | list of testsCustomTypeMapping.customTypeMapping | -| -owner_subexpression | | sourcesOwnerSubexpression | -| -type_subexpression | | sourcesTypeSubexpression | -| -name_subexpression | | sourcesNameSubexpression | -| | | | -| -test_path | | tests.test.directory | -| -owner | | testsOwner | -| -regex_expression | | testsRegexExpression | -| -type_mapping | | list of testsCustomTypeMapping.customTypeMapping | -| -owner_subexpression | | testsOwnerSubexpression | -| -type_subexpression | | testsTypeSubexpression | -| -name_subexpression | | testsNameSubexpression | +| CLI short parameter | CLI long parameter | Maven XML path | +|----------------------|----------------------------|--------------------------------------------------| +| -c | --color | | +| | --failure-exit-code | | +| -p | --path | paths.path | +| -f | --format | reporters.reporter.name | +| -o | | reporters.reporter.fileOutput | +| -s | | reporters.reporter.consoleOutput | +| | | ignoreFailure | +| -scc | --skip-compatibility-check | skipCompatibilityCheck | +| | --tags | tags.tag | +| -D | --dbms_output | dbmsOutput | +| -r | --random-test-order | randomTestOrder | +| -seed | --random-test-order-seed | randomTestOrderSeed | +| -exclude | | excludeObject | +| -include | | includeObject | +| | | | +| -source_path | | sources.source.directory | +| -owner | | sourcesOwner | +| -regex_expression | | sourcesRegexExpression | +| -type_mapping | | list of testsCustomTypeMapping.customTypeMapping | +| -owner_subexpression | | sourcesOwnerSubexpression | +| -type_subexpression | | sourcesTypeSubexpression | +| -name_subexpression | | sourcesNameSubexpression | +| | | | +| -test_path | | tests.test.directory | +| -owner | | testsOwner | +| -regex_expression | | testsRegexExpression | +| -type_mapping | | list of testsCustomTypeMapping.customTypeMapping | +| -owner_subexpression | | testsOwnerSubexpression | +| -type_subexpression | | testsTypeSubexpression | +| -name_subexpression | | testsNameSubexpression | diff --git a/pom.xml b/pom.xml index f491c16..c1c5681 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.utplsql utplsql-maven-plugin - 3.1.12-SNAPSHOT + 3.2.0-SNAPSHOT maven-plugin utPLSQL Maven Plugin @@ -26,6 +26,11 @@ utPLSQL.org http://utplsql.org + + Jacek Gebal + utPLSQL.org + https://utplsql.org + Simon Martinelli utPLSQL.org @@ -40,29 +45,35 @@ - ossrh - https://oss.sonatype.org/content/repositories/snapshots + central + https://central.sonatype.com/repository/maven-snapshots/ - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ + central + https://central.sonatype.com - 1.8 - 1.8 UTF-8 + 17 + + 3.2.3 - 3.5.2 - 0.11.0 - 5.8.1 + + 3.9.9 + + 3.15.2 + + 0.13.1 + 5.12.2 utplsql https://sonarcloud.io + org.apache.maven maven-core @@ -72,31 +83,27 @@ org.apache.maven.plugin-tools maven-plugin-annotations - ${maven.version} + ${maven.plugin.tools.version} provided org.apache.maven.shared maven-shared-utils - 3.3.4 - - - - org.utplsql - utplsql-java-api - 3.1.15 - - - - com.oracle.database.jdbc - ojdbc8 - 21.3.0.0 + 3.4.2 + org.codehaus.plexus plexus-utils 3.6.1 + provided + + + + org.utplsql + utplsql-java-api + ${utplsql-java-api.version} @@ -109,7 +116,7 @@ org.apache.maven.plugin-testing maven-plugin-testing-harness - 3.3.0 + 3.5.1 test @@ -142,22 +149,27 @@ org.slf4j slf4j-simple - 1.7.32 + 2.0.17 test + + org.apache.maven.plugins + maven-compiler-plugin + 3.14.0 + org.apache.maven.plugins maven-surefire-plugin - 2.22.2 + 3.5.5 org.apache.maven.plugins maven-failsafe-plugin - 2.22.2 + 3.5.5 @@ -185,7 +197,7 @@ org.apache.maven.plugins maven-shade-plugin - 3.2.2 + 3.6.2 package @@ -194,18 +206,11 @@ - - - - org.utplsql:java-api - - - org.apache.maven.plugins maven-plugin-plugin - ${maven.version} + ${maven.plugin.tools.version} utplsql true @@ -228,7 +233,7 @@ com.amashchenko.maven.plugin gitflow-maven-plugin - 1.16.0 + 1.21.0 true @@ -247,7 +252,7 @@ org.jacoco jacoco-maven-plugin - 0.8.7 + 0.8.13 prepare-agent @@ -278,7 +283,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.3.1 + 3.12.0 attach-javadocs @@ -291,7 +296,7 @@ org.apache.maven.plugins maven-source-plugin - 3.2.1 + 3.4.0 attach-sources @@ -305,7 +310,7 @@ org.apache.maven.plugins maven-gpg-plugin - 3.0.1 + 3.2.8 sign-artifacts diff --git a/scripts/0_start_db.sh b/scripts/0_start_db.sh deleted file mode 100644 index d319407..0000000 --- a/scripts/0_start_db.sh +++ /dev/null @@ -1 +0,0 @@ -docker run -d --name ora-utplsql -p 1521:1521 -e ORACLE_PASSWORD=oracle gvenzl/oracle-xe:21-slim diff --git a/scripts/1_install_utplsql.sh b/scripts/1_install_utplsql.sh index bb6577c..e85d855 100644 --- a/scripts/1_install_utplsql.sh +++ b/scripts/1_install_utplsql.sh @@ -5,4 +5,4 @@ curl -Lk "${UTPLSQL_DOWNLOAD_URL}" -o utPLSQL.zip unzip -q utPLSQL.zip docker run --rm -v $(pwd)/utPLSQL:/utPLSQL -w /utPLSQL/source --network host \ - --entrypoint sqlplus truemark/sqlplus:19.8 sys/oracle@//127.0.0.1:1521/XE as sysdba @install_headless.sql UT3 UT3 users + --entrypoint sqlplus truemark/sqlplus:19.8 sys/oracle@${DB_URL} as sysdba @install_headless.sql UT3 UT3 users diff --git a/scripts/2_install_demo_project.sh b/scripts/2_install_demo_project.sh index a4089b1..a2a002d 100644 --- a/scripts/2_install_demo_project.sh +++ b/scripts/2_install_demo_project.sh @@ -1,11 +1,11 @@ docker run --rm -v $(pwd):/work -w /work/ --network host --entrypoint sqlplus truemark/sqlplus:19.8 \ - sys/oracle@//127.0.0.1:1521/XE as sysdba @scripts/sql/create_users.sql + sys/oracle@${DB_URL} as sysdba @scripts/sql/create_users.sql docker run --rm -v $(pwd):/work -w /work/ --network host --entrypoint sqlplus truemark/sqlplus:19.8 \ - app/pass@//127.0.0.1:1521/XE @scripts/sql/create_app_objects.sql + app/pass@${DB_URL} @scripts/sql/create_app_objects.sql docker run --rm -v $(pwd):/work -w /work/ --network host --entrypoint sqlplus truemark/sqlplus:19.8 \ - code_owner/pass@//127.0.0.1:1521/XE @scripts/sql/create_source_owner_objects.sql + code_owner/pass@${DB_URL} @scripts/sql/create_source_owner_objects.sql docker run --rm -v $(pwd):/work -w /work/ --network host --entrypoint sqlplus truemark/sqlplus:19.8 \ - tests_owner/pass@//127.0.0.1:1521/XE @scripts/sql/create_tests_owner_objects.sql + tests_owner/pass@${DB_URL} @scripts/sql/create_tests_owner_objects.sql diff --git a/src/test/java/org/utplsql/maven/plugin/ReportChecker.java b/src/test/java/org/utplsql/maven/plugin/ReportChecker.java index 3818674..9c8d815 100644 --- a/src/test/java/org/utplsql/maven/plugin/ReportChecker.java +++ b/src/test/java/org/utplsql/maven/plugin/ReportChecker.java @@ -28,8 +28,8 @@ private ReportChecker() { */ public static void assertThatReportsAreGeneratedAsExpected(MavenExecutionResult result, String... files) { for (String filename : files) { - File expectedOutputFile = new File(result.getMavenProjectResult().getTargetProjectDirectory(), "/expected-output/utplsql/" + filename); - File outputFile = new File(result.getMavenProjectResult().getTargetProjectDirectory(), "/target/utplsql/" + filename); + File expectedOutputFile = new File(result.getMavenProjectResult().getTargetProjectDirectory().toFile(), "/expected-output/utplsql/" + filename); + File outputFile = new File(result.getMavenProjectResult().getTargetProjectDirectory().toFile(), "/target/utplsql/" + filename); assertThat(result.getMavenProjectResult()).withFile("/utplsql/" + filename).exists(); @@ -60,7 +60,7 @@ public static void assertThatReportsAreGeneratedAsExpected(MavenExecutionResult * @return if report exits */ public static boolean reportWasGenerated(MavenExecutionResult result, String filename) { - File outputFile = new File(result.getMavenProjectResult().getTargetProjectDirectory(), "/target/utplsql/" + filename); + File outputFile = new File(result.getMavenProjectResult().getTargetProjectDirectory().toFile(), "/target/utplsql/" + filename); return outputFile.exists(); } } diff --git a/src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java b/src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java index 6315072..010bb38 100644 --- a/src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java +++ b/src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java @@ -308,7 +308,7 @@ public void dbms_output() throws Exception { */ @Test public void db_config_using_system_properties() throws Exception { - System.setProperty("dbUrl", "jdbc:oracle:thin:@localhost:1521:xe"); + System.setProperty("dbUrl", "jdbc:oracle:thin:@//localhost:1521/FREEPDB1"); System.setProperty("dbUser", "UT3"); System.setProperty("dbPass", "UT3"); @@ -317,9 +317,9 @@ public void db_config_using_system_properties() throws Exception { utPlsqlMojo.execute(); - System.setProperty("dbUrl", ""); - System.setProperty("dbUser", ""); - System.setProperty("dbPass", ""); + System.clearProperty("dbUrl"); + System.clearProperty("dbUser"); + System.clearProperty("dbPass"); } /** diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml index 15411c2..9380999 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml index 22d0869..b0468bd 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml index ee6d13f..e7fdcc9 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml index e807d13..dc2e708 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml index 40759d2..6232de0 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml index f0c33da..5219fac 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml index 961940b..b627c6d 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml index 2620738..8da3e34 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml index c174c87..aea7b77 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml index f9264fb..5f2b9cf 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml index 01150a1..61a46b9 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml index 3cf0033..e93b79b 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@localhost:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/db_config_using_system_properties/pom.xml b/src/test/resources/unit-tests/db_config_using_system_properties/pom.xml index 814c181..a2c510f 100644 --- a/src/test/resources/unit-tests/db_config_using_system_properties/pom.xml +++ b/src/test/resources/unit-tests/db_config_using_system_properties/pom.xml @@ -14,7 +14,7 @@ org.utplsql utplsql-maven-plugin - @proj + @project.version@ test diff --git a/src/test/resources/unit-tests/dbms_output/pom.xml b/src/test/resources/unit-tests/dbms_output/pom.xml index 4f45635..2c70715 100644 --- a/src/test/resources/unit-tests/dbms_output/pom.xml +++ b/src/test/resources/unit-tests/dbms_output/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 @@ -20,7 +20,7 @@ org.utplsql utplsql-maven-plugin - @proj + @project.version@ test diff --git a/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml b/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml index ac6b14c..812c4e1 100644 --- a/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml +++ b/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/default_reporter/pom.xml b/src/test/resources/unit-tests/default_reporter/pom.xml index 8f03e25..d47b54c 100644 --- a/src/test/resources/unit-tests/default_reporter/pom.xml +++ b/src/test/resources/unit-tests/default_reporter/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/exclude_object/pom.xml b/src/test/resources/unit-tests/exclude_object/pom.xml index d65fde3..137b9e1 100644 --- a/src/test/resources/unit-tests/exclude_object/pom.xml +++ b/src/test/resources/unit-tests/exclude_object/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 @@ -20,7 +20,7 @@ org.utplsql utplsql-maven-plugin - @proj + @project.version@ test diff --git a/src/test/resources/unit-tests/exclude_object_expr/pom.xml b/src/test/resources/unit-tests/exclude_object_expr/pom.xml index 7993e05..e2e2a07 100644 --- a/src/test/resources/unit-tests/exclude_object_expr/pom.xml +++ b/src/test/resources/unit-tests/exclude_object_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 @@ -20,7 +20,7 @@ org.utplsql utplsql-maven-plugin - @proj + @project.version@ test diff --git a/src/test/resources/unit-tests/exclude_schema_expr/pom.xml b/src/test/resources/unit-tests/exclude_schema_expr/pom.xml index 28df05e..e2bbdb4 100644 --- a/src/test/resources/unit-tests/exclude_schema_expr/pom.xml +++ b/src/test/resources/unit-tests/exclude_schema_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 @@ -20,7 +20,7 @@ org.utplsql utplsql-maven-plugin - @proj + @project.version@ test diff --git a/src/test/resources/unit-tests/include_object/pom.xml b/src/test/resources/unit-tests/include_object/pom.xml index f031df5..69391c5 100644 --- a/src/test/resources/unit-tests/include_object/pom.xml +++ b/src/test/resources/unit-tests/include_object/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 @@ -20,7 +20,7 @@ org.utplsql utplsql-maven-plugin - @proj + @project.version@ test diff --git a/src/test/resources/unit-tests/include_object_expr/pom.xml b/src/test/resources/unit-tests/include_object_expr/pom.xml index 636098b..cd005be 100644 --- a/src/test/resources/unit-tests/include_object_expr/pom.xml +++ b/src/test/resources/unit-tests/include_object_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 @@ -20,7 +20,7 @@ org.utplsql utplsql-maven-plugin - @proj + @project.version@ test diff --git a/src/test/resources/unit-tests/include_schema_expr/pom.xml b/src/test/resources/unit-tests/include_schema_expr/pom.xml index f953ec0..80bcc07 100644 --- a/src/test/resources/unit-tests/include_schema_expr/pom.xml +++ b/src/test/resources/unit-tests/include_schema_expr/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 @@ -20,7 +20,7 @@ org.utplsql utplsql-maven-plugin - @proj + @project.version@ test diff --git a/src/test/resources/unit-tests/invalid_sources_directory/pom.xml b/src/test/resources/unit-tests/invalid_sources_directory/pom.xml index af6643d..05f9b28 100644 --- a/src/test/resources/unit-tests/invalid_sources_directory/pom.xml +++ b/src/test/resources/unit-tests/invalid_sources_directory/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/invalid_tests_directory/pom.xml b/src/test/resources/unit-tests/invalid_tests_directory/pom.xml index c7380ef..e8a614f 100644 --- a/src/test/resources/unit-tests/invalid_tests_directory/pom.xml +++ b/src/test/resources/unit-tests/invalid_tests_directory/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml b/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml index f04825c..40555e3 100644 --- a/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml +++ b/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 @@ -20,7 +20,7 @@ org.utplsql utplsql-maven-plugin - @proj + @project.version@ test diff --git a/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml b/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml index 3e978d5..8365731 100644 --- a/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml +++ b/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml index a556a7e..5fbaf3e 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml index a556a7e..5fbaf3e 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml index d5382b4..c38c9e8 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml index d33e917..7ab6ed3 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml @@ -10,7 +10,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 diff --git a/src/test/resources/unit-tests/sources_tests_parameters/pom.xml b/src/test/resources/unit-tests/sources_tests_parameters/pom.xml index 6f4c2d0..b1a778e 100644 --- a/src/test/resources/unit-tests/sources_tests_parameters/pom.xml +++ b/src/test/resources/unit-tests/sources_tests_parameters/pom.xml @@ -9,7 +9,7 @@ pom - jdbc:oracle:thin:@127.0.0.1:1521:xe + jdbc:oracle:thin:@//localhost:1521/FREEPDB1 UT3 UT3 From e47e2c0f5f0ef6bf96c01707326978b3ac10a45d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Thu, 23 Apr 2026 18:48:36 +0300 Subject: [PATCH 16/41] Update build process --- .github/workflows/build.yml | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 54289d3..628906a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,7 @@ jobs: --health-retries 10 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -45,7 +45,7 @@ jobs: run: sh ${{ github.workspace }}/scripts/2_install_demo_project.sh - name: Set up JDK 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v5 with: java-version: '17' distribution: 'adopt' @@ -56,7 +56,7 @@ jobs: gpg-passphrase: MAVEN_GPG_PASSPHRASE - name: Cache local Maven repository - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -77,23 +77,7 @@ jobs: MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} - name: Publish unit test results - uses: EnricoMi/publish-unit-test-result-action@v1.24 + uses: EnricoMi/publish-unit-test-result-action@v2 if: always() with: files: target/**/TEST**.xml - - slack-workflow-status: - if: always() - name: Post Workflow Status To Slack - needs: [ build ] - runs-on: ubuntu-latest - steps: - - name: Slack Workflow Notification - uses: Gamesight/slack-workflow-status@master - with: - # Required Input - repo_token: ${{secrets.GITHUB_TOKEN}} - slack_webhook_url: ${{secrets.SLACK_WEBHOOK_URL}} - # Optional Input - name: 'Github Actions[bot]' - icon_url: 'https://octodex.github.com/images/mona-the-rivetertocat.png' From 2751fed6d1b387ec4173776f2c854837ef2be1ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Thu, 23 Apr 2026 18:49:08 +0300 Subject: [PATCH 17/41] Update build process --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 628906a..b6724f5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,7 @@ name: Build and deploy snapshot on: push: - branches-ignore: [ main ] + branches: [ develop ] pull_request: branches: [ develop ] From 6497f283b9ac69cfa863079c42e48ffca0ee5175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Sat, 25 Apr 2026 20:53:58 +0300 Subject: [PATCH 18/41] Update unit test setup to avoid UK violation when testing maven plugin on a PDB. --- .../java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java | 8 ++++---- .../maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml | 4 ++-- .../plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml | 4 ++-- .../maven/plugin/UtPlsqlMojoIT/include_object/pom.xml | 4 ++-- .../plugin/UtPlsqlMojoIT/include_object_expr/pom.xml | 4 ++-- .../utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml | 4 ++-- .../maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml | 4 ++-- .../maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml | 4 ++-- .../scripts/sources/foo/packages/PKG_TEST_ME.pks | 5 ++++- .../owner_param/scripts/sources/foo/tables/TO_TEST_ME.sql | 2 ++ .../org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml | 4 ++-- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml | 4 ++-- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml | 4 ++-- .../org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml | 4 ++-- .../maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml | 4 ++-- src/test/resources/unit-tests/dbms_output/pom.xml | 4 ++-- .../unit-tests/default_console_output_behaviour/pom.xml | 4 ++-- src/test/resources/unit-tests/default_reporter/pom.xml | 4 ++-- src/test/resources/unit-tests/exclude_object/pom.xml | 4 ++-- src/test/resources/unit-tests/exclude_object_expr/pom.xml | 4 ++-- src/test/resources/unit-tests/exclude_schema_expr/pom.xml | 4 ++-- src/test/resources/unit-tests/include_object/pom.xml | 4 ++-- src/test/resources/unit-tests/include_object_expr/pom.xml | 6 +++--- src/test/resources/unit-tests/include_schema_expr/pom.xml | 6 +++--- .../unit-tests/invalid_sources_directory/pom.xml | 4 ++-- .../resources/unit-tests/invalid_tests_directory/pom.xml | 4 ++-- src/test/resources/unit-tests/ora_stuck_timeout/pom.xml | 4 ++-- src/test/resources/unit-tests/skip_utplsql_tests/pom.xml | 4 ++-- .../sources_and_tests_parameter_does_not_exist/pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../resources/unit-tests/sources_tests_parameters/pom.xml | 4 ++-- 33 files changed, 72 insertions(+), 67 deletions(-) diff --git a/src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java b/src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java index 010bb38..bd8cd6c 100644 --- a/src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java +++ b/src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java @@ -309,8 +309,8 @@ public void dbms_output() throws Exception { @Test public void db_config_using_system_properties() throws Exception { System.setProperty("dbUrl", "jdbc:oracle:thin:@//localhost:1521/FREEPDB1"); - System.setProperty("dbUser", "UT3"); - System.setProperty("dbPass", "UT3"); + System.setProperty("dbUser", "APP"); + System.setProperty("dbPass", "pass"); UtPlsqlMojo utPlsqlMojo = createUtPlsqlMojo("db_config_using_system_properties"); assertNotNull(utPlsqlMojo); @@ -370,7 +370,7 @@ public void include_object_expr() throws Exception { utPlsqlMojo.execute(); - assertEquals("*", utPlsqlMojo.includeObjectExpr); + assertEquals("APP.*", utPlsqlMojo.includeObjectExpr); } /** @@ -405,7 +405,7 @@ public void include_schema_expr() throws Exception { utPlsqlMojo.execute(); - assertEquals("*", utPlsqlMojo.includeSchemaExpr); + assertEquals("APP", utPlsqlMojo.includeSchemaExpr); } /** diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml index 9380999..bf3af31 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml index b0468bd..14a165c 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml index e7fdcc9..afc2c9b 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml index dc2e708..a756848 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml index 6232de0..9aa8065 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml index 5219fac..4f9d58d 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml index b627c6d..f429ebe 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/scripts/sources/foo/packages/PKG_TEST_ME.pks b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/scripts/sources/foo/packages/PKG_TEST_ME.pks index 959b122..9bd569e 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/scripts/sources/foo/packages/PKG_TEST_ME.pks +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/scripts/sources/foo/packages/PKG_TEST_ME.pks @@ -5,4 +5,7 @@ CREATE OR REPLACE PACKAGE CODE_OWNER.PKG_TEST_ME AS FUNCTION FC_TEST_ME(PPARAM1 IN VARCHAR2) RETURN NUMBER; PROCEDURE PR_TEST_ME(PSNAME IN VARCHAR2); END PKG_TEST_ME; -/ \ No newline at end of file +/ + +grant execute on pkg_test_me to tests_owner; +grant debug on pkg_test_me to tests_owner; diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/scripts/sources/foo/tables/TO_TEST_ME.sql b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/scripts/sources/foo/tables/TO_TEST_ME.sql index b2e90d9..d130dca 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/scripts/sources/foo/tables/TO_TEST_ME.sql +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/scripts/sources/foo/tables/TO_TEST_ME.sql @@ -6,3 +6,5 @@ CREATE TABLE TO_TEST_ME SNAME VARCHAR2(10) ) / + +grant all on to_test_me to tests_owner; \ No newline at end of file diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml index 8da3e34..61f4b0a 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml index aea7b77..e9fa2b4 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml index 5f2b9cf..7b083c6 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml index 61a46b9..e62a442 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml index e93b79b..f11fce0 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources/unit-tests/dbms_output/pom.xml b/src/test/resources/unit-tests/dbms_output/pom.xml index 2c70715..67d26b9 100644 --- a/src/test/resources/unit-tests/dbms_output/pom.xml +++ b/src/test/resources/unit-tests/dbms_output/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml b/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml index 812c4e1..5788a5e 100644 --- a/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml +++ b/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources/unit-tests/default_reporter/pom.xml b/src/test/resources/unit-tests/default_reporter/pom.xml index d47b54c..0c00eef 100644 --- a/src/test/resources/unit-tests/default_reporter/pom.xml +++ b/src/test/resources/unit-tests/default_reporter/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources/unit-tests/exclude_object/pom.xml b/src/test/resources/unit-tests/exclude_object/pom.xml index 137b9e1..fab0f81 100644 --- a/src/test/resources/unit-tests/exclude_object/pom.xml +++ b/src/test/resources/unit-tests/exclude_object/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources/unit-tests/exclude_object_expr/pom.xml b/src/test/resources/unit-tests/exclude_object_expr/pom.xml index e2e2a07..7adab95 100644 --- a/src/test/resources/unit-tests/exclude_object_expr/pom.xml +++ b/src/test/resources/unit-tests/exclude_object_expr/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources/unit-tests/exclude_schema_expr/pom.xml b/src/test/resources/unit-tests/exclude_schema_expr/pom.xml index e2bbdb4..f41b1b5 100644 --- a/src/test/resources/unit-tests/exclude_schema_expr/pom.xml +++ b/src/test/resources/unit-tests/exclude_schema_expr/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources/unit-tests/include_object/pom.xml b/src/test/resources/unit-tests/include_object/pom.xml index 69391c5..2e6a724 100644 --- a/src/test/resources/unit-tests/include_object/pom.xml +++ b/src/test/resources/unit-tests/include_object/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources/unit-tests/include_object_expr/pom.xml b/src/test/resources/unit-tests/include_object_expr/pom.xml index cd005be..049969d 100644 --- a/src/test/resources/unit-tests/include_object_expr/pom.xml +++ b/src/test/resources/unit-tests/include_object_expr/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass @@ -44,7 +44,7 @@ true - * + APP.* diff --git a/src/test/resources/unit-tests/include_schema_expr/pom.xml b/src/test/resources/unit-tests/include_schema_expr/pom.xml index 80bcc07..1408299 100644 --- a/src/test/resources/unit-tests/include_schema_expr/pom.xml +++ b/src/test/resources/unit-tests/include_schema_expr/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass @@ -44,7 +44,7 @@ true - * + APP diff --git a/src/test/resources/unit-tests/invalid_sources_directory/pom.xml b/src/test/resources/unit-tests/invalid_sources_directory/pom.xml index 05f9b28..799c4f5 100644 --- a/src/test/resources/unit-tests/invalid_sources_directory/pom.xml +++ b/src/test/resources/unit-tests/invalid_sources_directory/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources/unit-tests/invalid_tests_directory/pom.xml b/src/test/resources/unit-tests/invalid_tests_directory/pom.xml index e8a614f..d7bd80a 100644 --- a/src/test/resources/unit-tests/invalid_tests_directory/pom.xml +++ b/src/test/resources/unit-tests/invalid_tests_directory/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml b/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml index 40555e3..f8233f5 100644 --- a/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml +++ b/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml b/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml index 8365731..eee75a7 100644 --- a/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml +++ b/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml index 5fbaf3e..985fc79 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml index 5fbaf3e..985fc79 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml index c38c9e8..a9f4690 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml index 7ab6ed3..7b92dda 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml @@ -11,8 +11,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass diff --git a/src/test/resources/unit-tests/sources_tests_parameters/pom.xml b/src/test/resources/unit-tests/sources_tests_parameters/pom.xml index b1a778e..256e63f 100644 --- a/src/test/resources/unit-tests/sources_tests_parameters/pom.xml +++ b/src/test/resources/unit-tests/sources_tests_parameters/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - UT3 - UT3 + APP + pass From b415c63b0ebabbf8fc4c51c6b39ea7104ac55cb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Sat, 25 Apr 2026 21:20:17 +0300 Subject: [PATCH 19/41] Update build process. --- .github/workflows/api-snapshot-check.yml | 63 +++++++++++++++++++ .github/workflows/build.yml | 14 ++--- .github/workflows/release.yml | 29 +++------ scripts/1_install_utplsql.sh | 35 +++++++++-- scripts/sql/create_users.sql | 2 +- .../utplsql/maven/plugin/UtPlsqlMojoTest.java | 4 +- .../UtPlsqlMojoIT/exclude_object/pom.xml | 4 +- .../UtPlsqlMojoIT/exclude_object_expr/pom.xml | 4 +- .../UtPlsqlMojoIT/include_object/pom.xml | 4 +- .../UtPlsqlMojoIT/include_object_expr/pom.xml | 6 +- .../plugin/UtPlsqlMojoIT/minimalist/pom.xml | 4 +- .../UtPlsqlMojoIT/ora_stuck_timeout/pom.xml | 4 +- .../plugin/UtPlsqlMojoIT/owner_param/pom.xml | 4 +- .../sources/foo/packages/PKG_TEST_ME.pks | 5 +- .../scripts/sources/foo/tables/TO_TEST_ME.sql | 2 - .../maven/plugin/UtPlsqlMojoIT/regex/pom.xml | 4 +- .../maven/plugin/UtPlsqlMojoIT/simple/pom.xml | 4 +- .../maven/plugin/UtPlsqlMojoIT/skip/pom.xml | 4 +- .../maven/plugin/UtPlsqlMojoIT/tags/pom.xml | 4 +- .../plugin/UtPlsqlMojoIT/type_mapping/pom.xml | 4 +- .../resources/unit-tests/dbms_output/pom.xml | 4 +- .../default_console_output_behaviour/pom.xml | 4 +- .../unit-tests/default_reporter/pom.xml | 4 +- .../unit-tests/exclude_object/pom.xml | 4 +- .../unit-tests/exclude_object_expr/pom.xml | 4 +- .../unit-tests/exclude_schema_expr/pom.xml | 4 +- .../unit-tests/include_object/pom.xml | 4 +- .../unit-tests/include_object_expr/pom.xml | 4 +- .../unit-tests/include_schema_expr/pom.xml | 4 +- .../invalid_sources_directory/pom.xml | 4 +- .../invalid_tests_directory/pom.xml | 4 +- .../unit-tests/ora_stuck_timeout/pom.xml | 4 +- .../unit-tests/skip_utplsql_tests/pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../pom.xml | 4 +- .../sources_tests_parameters/pom.xml | 4 +- 38 files changed, 172 insertions(+), 104 deletions(-) create mode 100644 .github/workflows/api-snapshot-check.yml diff --git a/.github/workflows/api-snapshot-check.yml b/.github/workflows/api-snapshot-check.yml new file mode 100644 index 0000000..0e9dae3 --- /dev/null +++ b/.github/workflows/api-snapshot-check.yml @@ -0,0 +1,63 @@ +name: Test with utplsql-java-api snapshot + +on: + workflow_dispatch: + inputs: + api_version: + description: 'utplsql-java-api snapshot version (e.g. 3.2.4-SNAPSHOT)' + required: true + + repository_dispatch: + types: [utPLSQL-java-api-build] + +defaults: + run: + shell: bash + +jobs: + build: + name: Test with utplsql-java-api ${{ github.event.client_payload.api_version || inputs.api_version }} + runs-on: ubuntu-latest + env: + UTPLSQL_VERSION: develop + UTPLSQL_FILE: utPLSQL + DB_URL: "//localhost:1521/FREEPDB1" + DB_USER: APP + DB_PASS: pass + + services: + oracle: + image: gvenzl/oracle-free:23-slim-faststart + env: + ORACLE_PASSWORD: oracle + DB_URL: "//localhost:1521/FREEPDB1" + ports: + - 1521:1521 + options: >- + --health-cmd healthcheck.sh + --health-interval 10s + --health-timeout 5s + --health-retries 10 + --name oracle + + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Set up JDK + uses: actions/setup-java@v5 + with: + distribution: 'temurin' + java-version: '21' + + - name: Install utplsql + run: .github/scripts/1_install_utplsql.sh + + - name: Install demo project + run: .github/scripts/install_demo_project.sh + + - name: Build and Test + run: | + API_VERSION="${{ github.event.client_payload.api_version || inputs.api_version }}" + mvn verify appassembler:assemble -Dutplsql-java-api.version="$API_VERSION" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b6724f5..6a4a88b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,21 +8,20 @@ on: workflow_dispatch: - repository_dispatch: - type: [utPLSQL-build,utPLSQL-java-api-build] - jobs: build: runs-on: ubuntu-latest env: + UTPLSQL_VERSION: develop + UTPLSQL_FILE: utPLSQL DB_URL: "//localhost:1521/FREEPDB1" - DB_USER: UT3 - DB_PASS: UT3 + DB_USER: APP + DB_PASS: pass services: oracle: - image: gvenzl/oracle-xe:21-slim + image: gvenzl/oracle-free:23-slim-faststart env: ORACLE_PASSWORD: oracle ports: @@ -32,6 +31,7 @@ jobs: --health-interval 10s --health-timeout 5s --health-retries 10 + --name oracle steps: - uses: actions/checkout@v4 @@ -48,7 +48,7 @@ jobs: uses: actions/setup-java@v5 with: java-version: '17' - distribution: 'adopt' + distribution: 'temurin' server-id: ossrh server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4825e34..a18c098 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: services: oracle: - image: gvenzl/oracle-xe:21-slim + image: gvenzl/oracle-free:23-slim-faststart env: ORACLE_PASSWORD: oracle ports: @@ -23,7 +23,7 @@ jobs: --health-retries 10 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install utPLSQL run: sh ${{ github.workspace }}/scripts/1_install_utplsql.sh @@ -31,11 +31,11 @@ jobs: - name: Install demo project run: sh ${{ github.workspace }}/scripts/2_install_demo_project.sh - - name: Set up JDK 11 - uses: actions/setup-java@v2 + - name: Set up JDK 17 + uses: actions/setup-java@v5 with: - java-version: '11' - distribution: 'adopt' + java-version: '17' + distribution: 'temurin' server-id: ossrh server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD @@ -43,7 +43,7 @@ jobs: gpg-passphrase: MAVEN_GPG_PASSPHRASE - name: Cache local Maven repository - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -57,18 +57,3 @@ jobs: MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} - slack-workflow-status: - if: always() - name: Post Workflow Status To Slack - needs: [ build ] - runs-on: ubuntu-latest - steps: - - name: Slack Workflow Notification - uses: Gamesight/slack-workflow-status@master - with: - # Required Input - repo_token: ${{secrets.GITHUB_TOKEN}} - slack_webhook_url: ${{secrets.SLACK_WEBHOOK_URL}} - # Optional Input - name: 'Github Actions[bot]' - icon_url: 'https://octodex.github.com/images/mona-the-rivetertocat.png' diff --git a/scripts/1_install_utplsql.sh b/scripts/1_install_utplsql.sh index e85d855..8aee546 100644 --- a/scripts/1_install_utplsql.sh +++ b/scripts/1_install_utplsql.sh @@ -1,8 +1,33 @@ -UTPLSQL_DOWNLOAD_URL=$(curl --silent https://api.github.com/repos/utPLSQL/utPLSQL/releases/latest | awk '/browser_download_url/ { print $2 }' | grep ".zip\"" | sed 's/"//g') +#!/bin/bash +set -ev +cd $(dirname $(readlink -f $0)) -curl -Lk "${UTPLSQL_DOWNLOAD_URL}" -o utPLSQL.zip +# Download the specified version of utPLSQL. +if [ "$UTPLSQL_VERSION" == "develop" ] +then + git clone -b develop --single-branch https://github.com/utPLSQL/utPLSQL.git +else + curl -L -O "https://github.com/utPLSQL/utPLSQL/releases/download/$UTPLSQL_VERSION/$UTPLSQL_FILE.tar.gz" + tar -xzf ${UTPLSQL_FILE}.tar.gz && rm ${UTPLSQL_FILE}.tar.gz +fi -unzip -q utPLSQL.zip +chmod -R go+w ./${UTPLSQL_FILE}/{source,examples} +# Create a temporary install script. +cat > install.sh.tmp < jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml index 14a165c..8e1701a 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml index afc2c9b..ae6edd8 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml index a756848..e78b9d2 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 @@ -42,7 +42,7 @@ true - app.* + APP.* diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml index 9aa8065..6a1a36a 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/minimalist/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml index 4f9d58d..8c88c5c 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/ora_stuck_timeout/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml index f429ebe..c43a7e5 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/scripts/sources/foo/packages/PKG_TEST_ME.pks b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/scripts/sources/foo/packages/PKG_TEST_ME.pks index 9bd569e..959b122 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/scripts/sources/foo/packages/PKG_TEST_ME.pks +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/scripts/sources/foo/packages/PKG_TEST_ME.pks @@ -5,7 +5,4 @@ CREATE OR REPLACE PACKAGE CODE_OWNER.PKG_TEST_ME AS FUNCTION FC_TEST_ME(PPARAM1 IN VARCHAR2) RETURN NUMBER; PROCEDURE PR_TEST_ME(PSNAME IN VARCHAR2); END PKG_TEST_ME; -/ - -grant execute on pkg_test_me to tests_owner; -grant debug on pkg_test_me to tests_owner; +/ \ No newline at end of file diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/scripts/sources/foo/tables/TO_TEST_ME.sql b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/scripts/sources/foo/tables/TO_TEST_ME.sql index d130dca..b2e90d9 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/scripts/sources/foo/tables/TO_TEST_ME.sql +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/owner_param/scripts/sources/foo/tables/TO_TEST_ME.sql @@ -6,5 +6,3 @@ CREATE TABLE TO_TEST_ME SNAME VARCHAR2(10) ) / - -grant all on to_test_me to tests_owner; \ No newline at end of file diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml index 61f4b0a..02fddc2 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/regex/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml index e9fa2b4..dbb4a25 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/simple/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml index 7b083c6..e0b2e44 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/skip/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml index e62a442..d027db2 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/tags/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml index f11fce0..555a850 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/type_mapping/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources/unit-tests/dbms_output/pom.xml b/src/test/resources/unit-tests/dbms_output/pom.xml index 67d26b9..13037fb 100644 --- a/src/test/resources/unit-tests/dbms_output/pom.xml +++ b/src/test/resources/unit-tests/dbms_output/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml b/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml index 5788a5e..5b980dc 100644 --- a/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml +++ b/src/test/resources/unit-tests/default_console_output_behaviour/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources/unit-tests/default_reporter/pom.xml b/src/test/resources/unit-tests/default_reporter/pom.xml index 0c00eef..d4411d8 100644 --- a/src/test/resources/unit-tests/default_reporter/pom.xml +++ b/src/test/resources/unit-tests/default_reporter/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources/unit-tests/exclude_object/pom.xml b/src/test/resources/unit-tests/exclude_object/pom.xml index fab0f81..43f83ca 100644 --- a/src/test/resources/unit-tests/exclude_object/pom.xml +++ b/src/test/resources/unit-tests/exclude_object/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources/unit-tests/exclude_object_expr/pom.xml b/src/test/resources/unit-tests/exclude_object_expr/pom.xml index 7adab95..7db4090 100644 --- a/src/test/resources/unit-tests/exclude_object_expr/pom.xml +++ b/src/test/resources/unit-tests/exclude_object_expr/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources/unit-tests/exclude_schema_expr/pom.xml b/src/test/resources/unit-tests/exclude_schema_expr/pom.xml index f41b1b5..e0fa712 100644 --- a/src/test/resources/unit-tests/exclude_schema_expr/pom.xml +++ b/src/test/resources/unit-tests/exclude_schema_expr/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources/unit-tests/include_object/pom.xml b/src/test/resources/unit-tests/include_object/pom.xml index 2e6a724..6da5ff1 100644 --- a/src/test/resources/unit-tests/include_object/pom.xml +++ b/src/test/resources/unit-tests/include_object/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources/unit-tests/include_object_expr/pom.xml b/src/test/resources/unit-tests/include_object_expr/pom.xml index 049969d..967f725 100644 --- a/src/test/resources/unit-tests/include_object_expr/pom.xml +++ b/src/test/resources/unit-tests/include_object_expr/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources/unit-tests/include_schema_expr/pom.xml b/src/test/resources/unit-tests/include_schema_expr/pom.xml index 1408299..9193e5b 100644 --- a/src/test/resources/unit-tests/include_schema_expr/pom.xml +++ b/src/test/resources/unit-tests/include_schema_expr/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources/unit-tests/invalid_sources_directory/pom.xml b/src/test/resources/unit-tests/invalid_sources_directory/pom.xml index 799c4f5..74c84ea 100644 --- a/src/test/resources/unit-tests/invalid_sources_directory/pom.xml +++ b/src/test/resources/unit-tests/invalid_sources_directory/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources/unit-tests/invalid_tests_directory/pom.xml b/src/test/resources/unit-tests/invalid_tests_directory/pom.xml index d7bd80a..e6f868a 100644 --- a/src/test/resources/unit-tests/invalid_tests_directory/pom.xml +++ b/src/test/resources/unit-tests/invalid_tests_directory/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml b/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml index f8233f5..fbb4dcd 100644 --- a/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml +++ b/src/test/resources/unit-tests/ora_stuck_timeout/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml b/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml index eee75a7..dd99f13 100644 --- a/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml +++ b/src/test/resources/unit-tests/skip_utplsql_tests/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml index 985fc79..83b1daa 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml index 985fc79..83b1daa 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_does_not_exist_but_default_directory_exists/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml index a9f4690..16d419c 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_directory_tag/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml index 7b92dda..52adc45 100644 --- a/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml +++ b/src/test/resources/unit-tests/sources_and_tests_parameter_have_not_includes_tag/pom.xml @@ -11,8 +11,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 diff --git a/src/test/resources/unit-tests/sources_tests_parameters/pom.xml b/src/test/resources/unit-tests/sources_tests_parameters/pom.xml index 256e63f..9ec7a27 100644 --- a/src/test/resources/unit-tests/sources_tests_parameters/pom.xml +++ b/src/test/resources/unit-tests/sources_tests_parameters/pom.xml @@ -10,8 +10,8 @@ jdbc:oracle:thin:@//localhost:1521/FREEPDB1 - APP - pass + UT3 + ut3 From f601046c0fa7317b7ef0b1ff9d9dc36dc6964dda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Sat, 25 Apr 2026 21:31:14 +0300 Subject: [PATCH 20/41] Update build process. --- {scripts => .github/scripts}/1_install_utplsql.sh | 0 {scripts => .github/scripts}/2_install_demo_project.sh | 9 +++++---- {scripts => .github/scripts}/sql/create_app_objects.sql | 0 .../scripts}/sql/create_source_owner_objects.sql | 0 .../scripts}/sql/create_tests_owner_objects.sql | 0 {scripts => .github/scripts}/sql/create_users.sql | 0 .github/workflows/api-snapshot-check.yml | 2 +- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 9 files changed, 10 insertions(+), 9 deletions(-) rename {scripts => .github/scripts}/1_install_utplsql.sh (100%) rename {scripts => .github/scripts}/2_install_demo_project.sh (56%) rename {scripts => .github/scripts}/sql/create_app_objects.sql (100%) rename {scripts => .github/scripts}/sql/create_source_owner_objects.sql (100%) rename {scripts => .github/scripts}/sql/create_tests_owner_objects.sql (100%) rename {scripts => .github/scripts}/sql/create_users.sql (100%) diff --git a/scripts/1_install_utplsql.sh b/.github/scripts/1_install_utplsql.sh similarity index 100% rename from scripts/1_install_utplsql.sh rename to .github/scripts/1_install_utplsql.sh diff --git a/scripts/2_install_demo_project.sh b/.github/scripts/2_install_demo_project.sh similarity index 56% rename from scripts/2_install_demo_project.sh rename to .github/scripts/2_install_demo_project.sh index a2a002d..b9fdb97 100644 --- a/scripts/2_install_demo_project.sh +++ b/.github/scripts/2_install_demo_project.sh @@ -1,11 +1,12 @@ +#!/bin/bash docker run --rm -v $(pwd):/work -w /work/ --network host --entrypoint sqlplus truemark/sqlplus:19.8 \ - sys/oracle@${DB_URL} as sysdba @scripts/sql/create_users.sql + sys/oracle@${DB_URL} as sysdba @.github/scripts/sql/create_users.sql docker run --rm -v $(pwd):/work -w /work/ --network host --entrypoint sqlplus truemark/sqlplus:19.8 \ - app/pass@${DB_URL} @scripts/sql/create_app_objects.sql + app/pass@${DB_URL} @.github/scripts/sql/create_app_objects.sql docker run --rm -v $(pwd):/work -w /work/ --network host --entrypoint sqlplus truemark/sqlplus:19.8 \ - code_owner/pass@${DB_URL} @scripts/sql/create_source_owner_objects.sql + code_owner/pass@${DB_URL} @.github/scripts/sql/create_source_owner_objects.sql docker run --rm -v $(pwd):/work -w /work/ --network host --entrypoint sqlplus truemark/sqlplus:19.8 \ - tests_owner/pass@${DB_URL} @scripts/sql/create_tests_owner_objects.sql + tests_owner/pass@${DB_URL} @.github/scripts/sql/create_tests_owner_objects.sql diff --git a/scripts/sql/create_app_objects.sql b/.github/scripts/sql/create_app_objects.sql similarity index 100% rename from scripts/sql/create_app_objects.sql rename to .github/scripts/sql/create_app_objects.sql diff --git a/scripts/sql/create_source_owner_objects.sql b/.github/scripts/sql/create_source_owner_objects.sql similarity index 100% rename from scripts/sql/create_source_owner_objects.sql rename to .github/scripts/sql/create_source_owner_objects.sql diff --git a/scripts/sql/create_tests_owner_objects.sql b/.github/scripts/sql/create_tests_owner_objects.sql similarity index 100% rename from scripts/sql/create_tests_owner_objects.sql rename to .github/scripts/sql/create_tests_owner_objects.sql diff --git a/scripts/sql/create_users.sql b/.github/scripts/sql/create_users.sql similarity index 100% rename from scripts/sql/create_users.sql rename to .github/scripts/sql/create_users.sql diff --git a/.github/workflows/api-snapshot-check.yml b/.github/workflows/api-snapshot-check.yml index 0e9dae3..6190333 100644 --- a/.github/workflows/api-snapshot-check.yml +++ b/.github/workflows/api-snapshot-check.yml @@ -55,7 +55,7 @@ jobs: run: .github/scripts/1_install_utplsql.sh - name: Install demo project - run: .github/scripts/install_demo_project.sh + run: .github/scripts/2_install_demo_project.sh - name: Build and Test run: | diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6a4a88b..d61f37d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,10 +39,10 @@ jobs: fetch-depth: 0 - name: Install utPLSQL - run: sh ${{ github.workspace }}/scripts/1_install_utplsql.sh + run: .github/scripts/1_install_utplsql.sh - name: Install demo project - run: sh ${{ github.workspace }}/scripts/2_install_demo_project.sh + run: .github/scripts/2_install_demo_project.sh - name: Set up JDK 17 uses: actions/setup-java@v5 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a18c098..11652fa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,10 +26,10 @@ jobs: - uses: actions/checkout@v4 - name: Install utPLSQL - run: sh ${{ github.workspace }}/scripts/1_install_utplsql.sh + run: .github/scripts/1_install_utplsql.sh - name: Install demo project - run: sh ${{ github.workspace }}/scripts/2_install_demo_project.sh + run: .github/scripts/2_install_demo_project.sh - name: Set up JDK 17 uses: actions/setup-java@v5 From 7855bfd46c97cb0e62d78de90d4639074e1c7a8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Sat, 25 Apr 2026 21:36:50 +0300 Subject: [PATCH 21/41] Fixing fle permissions --- .github/scripts/1_install_utplsql.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 .github/scripts/1_install_utplsql.sh diff --git a/.github/scripts/1_install_utplsql.sh b/.github/scripts/1_install_utplsql.sh old mode 100644 new mode 100755 From 5027e4a6fc95da515b81543cf9b0ef5cd2f55a0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Sat, 25 Apr 2026 21:41:08 +0300 Subject: [PATCH 22/41] Fixing new install scripts --- .github/scripts/1_install_utplsql.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/scripts/1_install_utplsql.sh b/.github/scripts/1_install_utplsql.sh index 8aee546..88ae94c 100755 --- a/.github/scripts/1_install_utplsql.sh +++ b/.github/scripts/1_install_utplsql.sh @@ -20,9 +20,7 @@ EOF # Copy utPLSQL files to the container and install it. docker cp ./${UTPLSQL_FILE} oracle:/${UTPLSQL_FILE} -# docker cp ./$UTPLSQL_FILE $ORACLE_VERSION:/$UTPLSQL_FILE docker cp ./install.sh.tmp oracle:/install.sh -docker cp ./create_api_user.sh oracle:/create_api_user.sh # Remove temporary files. # rm $UTPLSQL_FILE.tar.gz rm -rf $UTPLSQL_FILE @@ -30,4 +28,3 @@ rm install.sh.tmp # Execute the utPLSQL installation inside the container. docker exec oracle bash /install.sh -docker exec oracle bash /create_api_user.sh From 88f43d5b201e71cc828b45966a7b003a9b507051 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Sat, 25 Apr 2026 21:43:12 +0300 Subject: [PATCH 23/41] Fixing file permissions. --- .github/scripts/2_install_demo_project.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 .github/scripts/2_install_demo_project.sh diff --git a/.github/scripts/2_install_demo_project.sh b/.github/scripts/2_install_demo_project.sh old mode 100644 new mode 100755 From d8d839e3ae5ad6401bcc647902cf84e8f28f7e90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Sat, 25 Apr 2026 21:51:14 +0300 Subject: [PATCH 24/41] Replaced `org.codehaus.plexus.util.DirectoryScanner` with `org.apache.maven.shared.utils.io.DirectoryScanner` --- pom.xml | 8 -------- .../java/org/utplsql/maven/plugin/io/SqlFileScanner.java | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index c1c5681..209c36b 100644 --- a/pom.xml +++ b/pom.xml @@ -92,14 +92,6 @@ 3.4.2 - - - org.codehaus.plexus - plexus-utils - 3.6.1 - provided - - org.utplsql utplsql-java-api diff --git a/src/main/java/org/utplsql/maven/plugin/io/SqlFileScanner.java b/src/main/java/org/utplsql/maven/plugin/io/SqlFileScanner.java index f126769..14001fe 100644 --- a/src/main/java/org/utplsql/maven/plugin/io/SqlFileScanner.java +++ b/src/main/java/org/utplsql/maven/plugin/io/SqlFileScanner.java @@ -1,7 +1,7 @@ package org.utplsql.maven.plugin.io; import org.apache.maven.model.Resource; -import org.codehaus.plexus.util.DirectoryScanner; +import org.apache.maven.shared.utils.io.DirectoryScanner; import java.io.File; import java.io.IOException; From 079ba4819b7a67f85d9e3be71fd615220b73cc0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Sat, 25 Apr 2026 22:08:29 +0300 Subject: [PATCH 25/41] Fixing issues with output paths. --- src/test/java/org/utplsql/maven/plugin/ReportChecker.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/utplsql/maven/plugin/ReportChecker.java b/src/test/java/org/utplsql/maven/plugin/ReportChecker.java index 9c8d815..828989e 100644 --- a/src/test/java/org/utplsql/maven/plugin/ReportChecker.java +++ b/src/test/java/org/utplsql/maven/plugin/ReportChecker.java @@ -28,10 +28,10 @@ private ReportChecker() { */ public static void assertThatReportsAreGeneratedAsExpected(MavenExecutionResult result, String... files) { for (String filename : files) { - File expectedOutputFile = new File(result.getMavenProjectResult().getTargetProjectDirectory().toFile(), "/expected-output/utplsql/" + filename); - File outputFile = new File(result.getMavenProjectResult().getTargetProjectDirectory().toFile(), "/target/utplsql/" + filename); + File expectedOutputFile = new File(result.getMavenProjectResult().getTargetProjectDirectory().toFile(), "expected-output/utplsql/" + filename); + File outputFile = new File(result.getMavenProjectResult().getTargetProjectDirectory().toFile(), "target/utplsql/" + filename); - assertThat(result.getMavenProjectResult()).withFile("/utplsql/" + filename).exists(); + assertThat(result.getMavenProjectResult()).withFile("utplsql/" + filename).exists(); try (Stream stream = Files.lines(outputFile.toPath())) { String outputContent = stream From 4481cfcf5ea4698f33570930acee4498613543cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Sat, 25 Apr 2026 22:23:58 +0300 Subject: [PATCH 26/41] Fixing failing coverage test. --- .../expected-output/utplsql/coverage-sonar-report.xml | 2 +- .../maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/expected-output/utplsql/coverage-sonar-report.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/expected-output/utplsql/coverage-sonar-report.xml index 2dbcb4d..f59ddcf 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/expected-output/utplsql/coverage-sonar-report.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/expected-output/utplsql/coverage-sonar-report.xml @@ -1 +1 @@ - + diff --git a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml index e78b9d2..1369fda 100644 --- a/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml +++ b/src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml @@ -42,7 +42,7 @@ true - APP.* + TEST_PKG_.*_ME From 284b30469423c4729e1e544cbd364447212191e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Sat, 25 Apr 2026 22:31:14 +0300 Subject: [PATCH 27/41] Update sonar project key --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d61f37d..57f68e2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -64,7 +64,7 @@ jobs: ${{ runner.os }}-maven- - name: Maven unit and integration tests with sonar - run: mvn clean verify sonar:sonar -Pcoverage -Dsonar.projectKey=org.utplsql:utplsql-maven-plugin + run: mvn clean verify sonar:sonar -Pcoverage -Dsonar.projectKey=utPLSQL_utPLSQL-maven-plugin env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} From 11cf9d89292ab1de481c6231ee1b64407e8ae234 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Mon, 27 Apr 2026 12:31:13 +0300 Subject: [PATCH 28/41] Update maven deployment settings --- .github/workflows/build.yml | 4 +--- .github/workflows/release.yml | 9 ++++++++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 57f68e2..ac1d3f7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,8 +35,6 @@ jobs: steps: - uses: actions/checkout@v4 - with: - fetch-depth: 0 - name: Install utPLSQL run: .github/scripts/1_install_utplsql.sh @@ -49,7 +47,7 @@ jobs: with: java-version: '17' distribution: 'temurin' - server-id: ossrh + server-id: central server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 11652fa..3d855a7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,12 @@ jobs: build: runs-on: ubuntu-latest + env: + UTPLSQL_VERSION: develop + UTPLSQL_FILE: utPLSQL + DB_URL: "//localhost:1521/FREEPDB1" + DB_USER: APP + DB_PASS: pass services: oracle: @@ -21,6 +27,7 @@ jobs: --health-interval 10s --health-timeout 5s --health-retries 10 + --name oracle steps: - uses: actions/checkout@v4 @@ -36,7 +43,7 @@ jobs: with: java-version: '17' distribution: 'temurin' - server-id: ossrh + server-id: central server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} From e4f2831ddfef0356d75074ee5c3f9e92aa660f73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Mon, 27 Apr 2026 12:43:56 +0300 Subject: [PATCH 29/41] Update build process --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ac1d3f7..1202fd9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,6 +68,7 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - name: Maven deploy snapshot + if: github.event_name != 'pull_request' run: mvn deploy -DskipTests env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} From f5c62d6a5410cecceb17534e5e112de201d6b3c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Mon, 27 Apr 2026 13:51:37 +0300 Subject: [PATCH 30/41] update java-api to version 3.2.4 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 209c36b..5c7ad8a 100644 --- a/pom.xml +++ b/pom.xml @@ -58,7 +58,7 @@ UTF-8 17 - 3.2.3 + 3.2.4 3.9.9 From 75a862a68aef9f8779969ab53b27ddccaac2ea6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Mon, 27 Apr 2026 14:47:52 +0300 Subject: [PATCH 31/41] Fixing the pom to allow for builds against a snapshot version of API --- pom.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pom.xml b/pom.xml index 5c7ad8a..32c37fa 100644 --- a/pom.xml +++ b/pom.xml @@ -43,6 +43,19 @@ https://github.com/utPLSQL/utPLSQL-maven-plugin + + + central-snapshots + https://central.sonatype.com/repository/maven-snapshots/ + + true + + + false + + + + central From efb68e5d100b79a66f0009df83aede9948b4ad8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Mon, 27 Apr 2026 18:02:03 +0300 Subject: [PATCH 32/41] Fixing the pom to allow for builds against a snapshot version of API --- .github/workflows/api-snapshot-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/api-snapshot-check.yml b/.github/workflows/api-snapshot-check.yml index 6190333..1393181 100644 --- a/.github/workflows/api-snapshot-check.yml +++ b/.github/workflows/api-snapshot-check.yml @@ -60,4 +60,4 @@ jobs: - name: Build and Test run: | API_VERSION="${{ github.event.client_payload.api_version || inputs.api_version }}" - mvn verify appassembler:assemble -Dutplsql-java-api.version="$API_VERSION" + mvn clean verify sonar:sonar -Pcoverage -Dsonar.projectKey=utPLSQL_utPLSQL-maven-plugin -Dutplsql-java-api.version="$API_VERSION" From c2f8c2e71b647007a37e386a9f7e3f3e99c413fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Mon, 27 Apr 2026 19:03:21 +0300 Subject: [PATCH 33/41] Fixing the pom to allow for builds against a snapshot version of API --- .github/workflows/api-snapshot-check.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/api-snapshot-check.yml b/.github/workflows/api-snapshot-check.yml index 1393181..f560d0c 100644 --- a/.github/workflows/api-snapshot-check.yml +++ b/.github/workflows/api-snapshot-check.yml @@ -61,3 +61,6 @@ jobs: run: | API_VERSION="${{ github.event.client_payload.api_version || inputs.api_version }}" mvn clean verify sonar:sonar -Pcoverage -Dsonar.projectKey=utPLSQL_utPLSQL-maven-plugin -Dutplsql-java-api.version="$API_VERSION" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} From 3656c9757a8dc1eb639e1f558cdeb5067a7cb484 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Mon, 27 Apr 2026 20:00:41 +0300 Subject: [PATCH 34/41] Update project badges --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1844273..c380641 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ [![Build status](https://github.com/utPLSQL/utPLSQL-maven-plugin/actions/workflows/build.yml/badge.svg)](https://github.com/utPLSQL/utPLSQL-maven-plugin/actions/workflows/build.yml) -[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=org.utplsql%3Autplsql-maven-plugin&metric=alert_status)](https://sonarcloud.io/dashboard?id=org.utplsql%3Autplsql-maven-plugin) +[![license](https://img.shields.io/github/license/utPLSQL/utPLSQL-cli.svg)](https://www.apache.org/licenses/LICENSE-2.0) +[![Build](https://github.com/utPLSQL/utPLSQL-maven-plugin/actions/workflows/build.yml/badge.svg?branch=develop)](https://github.com/utPLSQL/utPLSQL-maven-plugin/actions/workflows/build.yml) +[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=utPLSQL_utPLSQL-maven-plugin&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=utPLSQL_utPLSQL-maven-plugin) # utPLSQL-maven-plugin From 7fb4662e114667f16c8a607e3474ced237ab551d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Mon, 27 Apr 2026 20:15:39 +0300 Subject: [PATCH 35/41] Added latest release badge. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c380641..3efb1d6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build status](https://github.com/utPLSQL/utPLSQL-maven-plugin/actions/workflows/build.yml/badge.svg)](https://github.com/utPLSQL/utPLSQL-maven-plugin/actions/workflows/build.yml) +[![latest-release](https://img.shields.io/github/release/utPLSQL/utPLSQL-maven-plugin.svg)](https://github.com/utPLSQL/utPLSQL-maven-plugin/releases) [![license](https://img.shields.io/github/license/utPLSQL/utPLSQL-cli.svg)](https://www.apache.org/licenses/LICENSE-2.0) [![Build](https://github.com/utPLSQL/utPLSQL-maven-plugin/actions/workflows/build.yml/badge.svg?branch=develop)](https://github.com/utPLSQL/utPLSQL-maven-plugin/actions/workflows/build.yml) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=utPLSQL_utPLSQL-maven-plugin&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=utPLSQL_utPLSQL-maven-plugin) From 666721ffa4c33f1c1f6b37eeac44c078b788ab6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Tue, 28 Apr 2026 20:02:54 +0300 Subject: [PATCH 36/41] Move properties to the beginning of pom --- pom.xml | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/pom.xml b/pom.xml index 32c37fa..295b6fb 100644 --- a/pom.xml +++ b/pom.xml @@ -12,6 +12,24 @@ A maven plugin for running Unit Tests with utPLSQL v3+. https://github.com/utPLSQL/utPLSQL-maven-plugin + + UTF-8 + 17 + + 3.2.4 + + + 3.9.9 + + 3.15.2 + + 0.13.1 + 5.12.2 + + utplsql + https://sonarcloud.io + + Apache License, Version 2.0 @@ -67,23 +85,6 @@ - - UTF-8 - 17 - - 3.2.4 - - - 3.9.9 - - 3.15.2 - - 0.13.1 - 5.12.2 - - utplsql - https://sonarcloud.io - From 992f0186ecf4879a490c03512c4b362ff322db8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Tue, 28 Apr 2026 20:16:15 +0300 Subject: [PATCH 37/41] Update release process --- .github/workflows/release.yml | 104 +++++++++++++++++++++------------- 1 file changed, 64 insertions(+), 40 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3d855a7..c45fd24 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,61 +1,52 @@ -name: Build and deploy release +name: Release on: - push: - branches: [ main ] + workflow_dispatch: + inputs: + release_version: + description: 'Release version (e.g. 3.2.3)' + required: true + next_snapshot: + description: 'Next development version (default: auto-increment patch, e.g. 3.2.4) without the "-SNAPSHOT" word' + required: false -jobs: - build: +permissions: + contents: write + id-token: write + attestations: write - runs-on: ubuntu-latest - env: - UTPLSQL_VERSION: develop - UTPLSQL_FILE: utPLSQL - DB_URL: "//localhost:1521/FREEPDB1" - DB_USER: APP - DB_PASS: pass +defaults: + run: + shell: bash - services: - oracle: - image: gvenzl/oracle-free:23-slim-faststart - env: - ORACLE_PASSWORD: oracle - ports: - - 1521:1521 - options: >- - --health-cmd healthcheck.sh - --health-interval 10s - --health-timeout 5s - --health-retries 10 - --name oracle +jobs: + release: + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - - name: Install utPLSQL - run: .github/scripts/1_install_utplsql.sh - - - name: Install demo project - run: .github/scripts/2_install_demo_project.sh - - - name: Set up JDK 17 + - name: Set up JDK uses: actions/setup-java@v5 with: - java-version: '17' distribution: 'temurin' + java-version: '21' + cache: 'maven' server-id: central server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} gpg-passphrase: MAVEN_GPG_PASSPHRASE - - name: Cache local Maven repository - uses: actions/cache@v4 - with: - path: ~/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-maven- + - name: Configure Git + run: | + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + + - name: Set release version + run: mvn versions:set -DnewVersion=${{ inputs.release_version }} -DgenerateBackupPoms=false - name: Maven deploy release run: mvn clean deploy -Prelease @@ -64,3 +55,36 @@ jobs: MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} + - name: Commit and tag release version + run: | + git add pom.xml + git commit -m "Release v${{ inputs.release_version }}" + git tag -a "v${{ inputs.release_version }}" -m "Release ${{ inputs.release_version }}" + + - name: Calculate and set next development version + run: | + if [[ -n "${{ inputs.next_snapshot }}" ]]; then + NEXT="${{ inputs.next_snapshot }}-SNAPSHOT" + else + IFS='.' read -r major minor patch <<< "${{ inputs.release_version }}" + NEXT="${major}.${minor}.$((patch + 1))-SNAPSHOT" + fi + mvn -B versions:set -DnewVersion="$NEXT" -DgenerateBackupPoms=false + git add pom.xml + git commit -m "Prepare next development version $NEXT [skip ci]" + + - name: Push commits and tag + run: | + git push origin HEAD:${{ github.ref_name }} + git push origin "v${{ inputs.release_version }}" + + - name: Create GitHub Release + uses: softprops/action-gh-release@v2 + with: + tag_name: v${{ inputs.release_version }} + name: "utPLSQL-cli v${{ inputs.release_version }}" + generate_release_notes: true + fail_on_unmatched_files: true + files: | + target/utPLSQL-cli.zip + target/utPLSQL-cli.zip.sha256 From ca46e6b11256049a0513ad8ecc070f24a8f4000a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Tue, 28 Apr 2026 20:21:33 +0300 Subject: [PATCH 38/41] Update release process --- .github/workflows/release.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c45fd24..0ed636f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,12 +22,38 @@ defaults: jobs: release: runs-on: ubuntu-latest + env: + UTPLSQL_VERSION: develop + UTPLSQL_FILE: utPLSQL + DB_URL: "//localhost:1521/FREEPDB1" + DB_USER: APP + DB_PASS: pass + + services: + oracle: + image: gvenzl/oracle-free:23-slim-faststart + env: + ORACLE_PASSWORD: oracle + ports: + - 1521:1521 + options: >- + --health-cmd healthcheck.sh + --health-interval 10s + --health-timeout 5s + --health-retries 10 + --name oracle steps: - uses: actions/checkout@v4 with: fetch-depth: 0 + - name: Install utPLSQL + run: .github/scripts/1_install_utplsql.sh + + - name: Install demo project + run: .github/scripts/2_install_demo_project.sh + - name: Set up JDK uses: actions/setup-java@v5 with: From 819374870ce7fccc962f397e6f5b2481c036bdc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Tue, 28 Apr 2026 20:35:54 +0300 Subject: [PATCH 39/41] Update release process. Added central-publishing-maven-plugin --- pom.xml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 295b6fb..be62ed4 100644 --- a/pom.xml +++ b/pom.xml @@ -79,10 +79,6 @@ central https://central.sonatype.com/repository/maven-snapshots/ - - central - https://central.sonatype.com - @@ -313,6 +309,17 @@ + + org.sonatype.central + central-publishing-maven-plugin + 0.10.0 + true + + central + true + published + + org.apache.maven.plugins maven-gpg-plugin From 86df7579ad4cd4297e1a22dcfa5cb3c7b19c7354 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Tue, 28 Apr 2026 20:50:59 +0300 Subject: [PATCH 40/41] Workaround for failed release build. --- .github/workflows/release.yml | 51 +++++++++++++++++------------------ 1 file changed, 24 insertions(+), 27 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0ed636f..455c1cb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,30 +29,30 @@ jobs: DB_USER: APP DB_PASS: pass - services: - oracle: - image: gvenzl/oracle-free:23-slim-faststart - env: - ORACLE_PASSWORD: oracle - ports: - - 1521:1521 - options: >- - --health-cmd healthcheck.sh - --health-interval 10s - --health-timeout 5s - --health-retries 10 - --name oracle +# services: +# oracle: +# image: gvenzl/oracle-free:23-slim-faststart +# env: +# ORACLE_PASSWORD: oracle +# ports: +# - 1521:1521 +# options: >- +# --health-cmd healthcheck.sh +# --health-interval 10s +# --health-timeout 5s +# --health-retries 10 +# --name oracle steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Install utPLSQL - run: .github/scripts/1_install_utplsql.sh - - - name: Install demo project - run: .github/scripts/2_install_demo_project.sh +# - name: Install utPLSQL +# run: .github/scripts/1_install_utplsql.sh +# +# - name: Install demo project +# run: .github/scripts/2_install_demo_project.sh - name: Set up JDK uses: actions/setup-java@v5 @@ -74,12 +74,12 @@ jobs: - name: Set release version run: mvn versions:set -DnewVersion=${{ inputs.release_version }} -DgenerateBackupPoms=false - - name: Maven deploy release - run: mvn clean deploy -Prelease - env: - MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} - MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} - MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} +# - name: Maven deploy release +# run: mvn clean deploy -Prelease +# env: +# MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} +# MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} +# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} - name: Commit and tag release version run: | @@ -111,6 +111,3 @@ jobs: name: "utPLSQL-cli v${{ inputs.release_version }}" generate_release_notes: true fail_on_unmatched_files: true - files: | - target/utPLSQL-cli.zip - target/utPLSQL-cli.zip.sha256 From 3b24dca54546249e466d53530b8f517cd4df2e64 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 28 Apr 2026 17:52:02 +0000 Subject: [PATCH 41/41] Release v3.2.0 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index be62ed4..4f06dce 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.utplsql utplsql-maven-plugin - 3.2.0-SNAPSHOT + 3.2.0 maven-plugin utPLSQL Maven Plugin