From 619712de59d8c610046e1f665d212aa4a10941bf Mon Sep 17 00:00:00 2001 From: Joe Di Pol Date: Mon, 5 Aug 2024 18:16:22 -0700 Subject: [PATCH 1/4] Add support for setting --- etc/scripts/updateparent.awk | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/etc/scripts/updateparent.awk b/etc/scripts/updateparent.awk index 2daf1edb7..49316a038 100644 --- a/etc/scripts/updateparent.awk +++ b/etc/scripts/updateparent.awk @@ -26,7 +26,7 @@ # BEGIN { if (gavs == "") { - print "Must provide one or more GAVs using '-v gavs=g1:a1:v1,g2:a2:v2" + print "Must provide one or more GAVs using '-v gavs=g1:a1:v1,g2:a2:v2" exit 1 } @@ -48,6 +48,7 @@ BEGIN { inParent="false" parentGroupId="" parentArtifactId="" + parentRelativePath="false" FS="[<>]" } @@ -74,12 +75,20 @@ BEGIN { } } +// { inParent="false" parentGroupId="" parentArtifactId="" + if (parentRelativePath == "false") { + printf("%s\n", $1$1) + } } + { print $0 } From 283e94f0b41f9387a301550c064e7d10de0f45ea Mon Sep 17 00:00:00 2001 From: Joe Di Pol Date: Mon, 5 Aug 2024 18:16:55 -0700 Subject: [PATCH 2/4] Add to parent --- examples/config/basics/pom.xml | 1 + examples/config/changes/pom.xml | 1 + examples/config/git/pom.xml | 1 + examples/config/mapping/pom.xml | 1 + examples/config/metadata/pom.xml | 1 + examples/config/overrides/pom.xml | 1 + examples/config/profiles/pom.xml | 1 + examples/config/sources/pom.xml | 1 + examples/cors/pom.xml | 1 + examples/dbclient/jdbc/pom.xml | 1 + examples/dbclient/mongodb/pom.xml | 1 + examples/dbclient/pokemons/pom.xml | 1 + examples/employee-app/pom.xml | 1 + examples/graphql/basics/pom.xml | 1 + examples/health/basics/pom.xml | 1 + examples/integrations/cdi/datasource-hikaricp-h2/pom.xml | 1 + examples/integrations/cdi/datasource-hikaricp-mysql/pom.xml | 1 + examples/integrations/cdi/datasource-hikaricp/pom.xml | 1 + examples/integrations/cdi/jpa/pom.xml | 1 + examples/integrations/cdi/pokemons/pom.xml | 1 + examples/integrations/micrometer/mp/pom.xml | 3 ++- examples/integrations/micrometer/se/pom.xml | 1 + examples/integrations/micronaut/data/pom.xml | 1 + examples/integrations/microstream/greetings-mp/pom.xml | 3 ++- examples/integrations/microstream/greetings-se/pom.xml | 1 + examples/integrations/neo4j/pom.xml | 1 + examples/integrations/oci/atp-cdi/pom.xml | 1 + examples/integrations/oci/atp/pom.xml | 1 + examples/integrations/oci/metrics/pom.xml | 1 + examples/integrations/oci/objectstorage-cdi/pom.xml | 1 + examples/integrations/oci/objectstorage/pom.xml | 1 + examples/integrations/oci/vault-cdi/pom.xml | 1 + examples/integrations/oci/vault/pom.xml | 1 + examples/integrations/vault/hcp-cdi/pom.xml | 1 + examples/integrations/vault/hcp/pom.xml | 1 + examples/jbatch/pom.xml | 1 + examples/logging/jul/pom.xml | 1 + examples/logging/log4j/pom.xml | 1 + examples/logging/logback-aot/pom.xml | 1 + examples/logging/slf4j/pom.xml | 1 + examples/media/multipart/pom.xml | 1 + examples/messaging/jms-websocket-mp/pom.xml | 1 + examples/messaging/jms-websocket-se/pom.xml | 1 + examples/messaging/kafka-websocket-mp/pom.xml | 1 + examples/messaging/kafka-websocket-se/pom.xml | 1 + examples/messaging/oracle-aq-websocket-mp/pom.xml | 1 + examples/messaging/weblogic-jms-mp/pom.xml | 1 + examples/metrics/exemplar/pom.xml | 1 + examples/metrics/filtering/mp/pom.xml | 1 + examples/metrics/filtering/se/pom.xml | 1 + examples/metrics/http-status-count-se/pom.xml | 1 + examples/metrics/kpi/pom.xml | 1 + examples/microprofile/bean-validation/pom.xml | 1 + examples/microprofile/cors/pom.xml | 1 + examples/microprofile/graphql/pom.xml | 1 + examples/microprofile/hello-world-explicit/pom.xml | 1 + examples/microprofile/hello-world-implicit/pom.xml | 1 + examples/microprofile/http-status-count-mp/pom.xml | 1 + examples/microprofile/idcs/pom.xml | 1 + examples/microprofile/lra/pom.xml | 1 + examples/microprofile/messaging-sse/pom.xml | 1 + examples/microprofile/multipart/pom.xml | 1 + examples/microprofile/multiport/pom.xml | 1 + examples/microprofile/oci-tls-certificates/pom.xml | 1 + examples/microprofile/oidc/pom.xml | 1 + examples/microprofile/openapi/pom.xml | 1 + examples/microprofile/security/pom.xml | 1 + examples/microprofile/static-content/pom.xml | 1 + examples/microprofile/telemetry/greeting/pom.xml | 1 + examples/microprofile/telemetry/secondary/pom.xml | 1 + examples/microprofile/tls/pom.xml | 1 + examples/microprofile/websocket/pom.xml | 1 + examples/openapi/pom.xml | 1 + examples/quickstarts/helidon-quickstart-mp/pom.xml | 1 + examples/quickstarts/helidon-quickstart-se/pom.xml | 1 + examples/security/attribute-based-access-control/pom.xml | 1 + examples/security/basic-auth-with-static-content/pom.xml | 1 + examples/security/google-login/pom.xml | 1 + examples/security/idcs-login/pom.xml | 1 + examples/security/outbound-override/pom.xml | 1 + examples/security/programmatic/pom.xml | 1 + examples/security/spi-examples/pom.xml | 1 + examples/security/vaults/pom.xml | 1 + examples/security/webserver-digest-auth/pom.xml | 1 + examples/security/webserver-signatures/pom.xml | 1 + examples/todo-app/backend/pom.xml | 1 + examples/todo-app/frontend/pom.xml | 1 + examples/translator-app/backend/pom.xml | 1 + examples/translator-app/frontend/pom.xml | 1 + examples/webclient/standalone/pom.xml | 1 + examples/webserver/basic/pom.xml | 1 + examples/webserver/basics/pom.xml | 1 + examples/webserver/comment-aas/pom.xml | 1 + examples/webserver/echo/pom.xml | 1 + examples/webserver/fault-tolerance/pom.xml | 1 + examples/webserver/imperative/pom.xml | 1 + examples/webserver/multiport/pom.xml | 1 + examples/webserver/mutual-tls/pom.xml | 1 + examples/webserver/observe/pom.xml | 1 + examples/webserver/opentracing/pom.xml | 1 + examples/webserver/pom.xml | 1 + examples/webserver/protocols/pom.xml | 1 + examples/webserver/static-content/pom.xml | 1 + examples/webserver/streaming/pom.xml | 1 + examples/webserver/threads/pom.xml | 1 + examples/webserver/tls/pom.xml | 1 + examples/webserver/tracing/pom.xml | 1 + examples/webserver/tutorial/pom.xml | 1 + examples/webserver/websocket/pom.xml | 1 + 109 files changed, 111 insertions(+), 2 deletions(-) diff --git a/examples/config/basics/pom.xml b/examples/config/basics/pom.xml index d61872f60..9ddc20eaa 100644 --- a/examples/config/basics/pom.xml +++ b/examples/config/basics/pom.xml @@ -24,6 +24,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.config helidon-examples-config-basics diff --git a/examples/config/changes/pom.xml b/examples/config/changes/pom.xml index 8a9843449..fe5be91a0 100644 --- a/examples/config/changes/pom.xml +++ b/examples/config/changes/pom.xml @@ -24,6 +24,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.config helidon-examples-config-changes diff --git a/examples/config/git/pom.xml b/examples/config/git/pom.xml index 780ed697f..c317d8eb6 100644 --- a/examples/config/git/pom.xml +++ b/examples/config/git/pom.xml @@ -24,6 +24,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.config helidon-examples-config-git diff --git a/examples/config/mapping/pom.xml b/examples/config/mapping/pom.xml index 110ac84a1..6a9a3987d 100644 --- a/examples/config/mapping/pom.xml +++ b/examples/config/mapping/pom.xml @@ -24,6 +24,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.config helidon-examples-config-mapping diff --git a/examples/config/metadata/pom.xml b/examples/config/metadata/pom.xml index a90c058ca..7bc87715f 100644 --- a/examples/config/metadata/pom.xml +++ b/examples/config/metadata/pom.xml @@ -24,6 +24,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.config helidon-examples-config-metadata diff --git a/examples/config/overrides/pom.xml b/examples/config/overrides/pom.xml index 1e8dd408b..e4ec8a310 100644 --- a/examples/config/overrides/pom.xml +++ b/examples/config/overrides/pom.xml @@ -24,6 +24,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.config helidon-examples-config-overrides diff --git a/examples/config/profiles/pom.xml b/examples/config/profiles/pom.xml index 318453675..0b6381ba7 100644 --- a/examples/config/profiles/pom.xml +++ b/examples/config/profiles/pom.xml @@ -24,6 +24,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.config helidon-examples-config-profiles diff --git a/examples/config/sources/pom.xml b/examples/config/sources/pom.xml index 147edb88c..62222e98b 100644 --- a/examples/config/sources/pom.xml +++ b/examples/config/sources/pom.xml @@ -24,6 +24,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.config helidon-examples-config-sources diff --git a/examples/cors/pom.xml b/examples/cors/pom.xml index 70fbd8350..bb3a84d5f 100644 --- a/examples/cors/pom.xml +++ b/examples/cors/pom.xml @@ -24,6 +24,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples helidon-examples-cors diff --git a/examples/dbclient/jdbc/pom.xml b/examples/dbclient/jdbc/pom.xml index d59a3119b..78b1aa2a3 100644 --- a/examples/dbclient/jdbc/pom.xml +++ b/examples/dbclient/jdbc/pom.xml @@ -23,6 +23,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + helidon-examples-dbclient-jdbc diff --git a/examples/dbclient/mongodb/pom.xml b/examples/dbclient/mongodb/pom.xml index 0701e6270..2c83ca6da 100644 --- a/examples/dbclient/mongodb/pom.xml +++ b/examples/dbclient/mongodb/pom.xml @@ -23,6 +23,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + helidon-examples-dbclient-mongodb diff --git a/examples/dbclient/pokemons/pom.xml b/examples/dbclient/pokemons/pom.xml index 0de324ad1..fa7013140 100644 --- a/examples/dbclient/pokemons/pom.xml +++ b/examples/dbclient/pokemons/pom.xml @@ -23,6 +23,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + helidon-examples-dbclient-pokemons diff --git a/examples/employee-app/pom.xml b/examples/employee-app/pom.xml index d72b905ec..270276d8e 100644 --- a/examples/employee-app/pom.xml +++ b/examples/employee-app/pom.xml @@ -26,6 +26,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.employee helidon-examples-employee-app diff --git a/examples/graphql/basics/pom.xml b/examples/graphql/basics/pom.xml index 0797fc6da..b4b74bdc4 100644 --- a/examples/graphql/basics/pom.xml +++ b/examples/graphql/basics/pom.xml @@ -23,6 +23,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.graphql helidon-examples-graphql-basics diff --git a/examples/health/basics/pom.xml b/examples/health/basics/pom.xml index 1d7c48b12..5c4e1f314 100644 --- a/examples/health/basics/pom.xml +++ b/examples/health/basics/pom.xml @@ -23,6 +23,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.health helidon-examples-health-basics diff --git a/examples/integrations/cdi/datasource-hikaricp-h2/pom.xml b/examples/integrations/cdi/datasource-hikaricp-h2/pom.xml index 9f1f3275e..cf715ac04 100644 --- a/examples/integrations/cdi/datasource-hikaricp-h2/pom.xml +++ b/examples/integrations/cdi/datasource-hikaricp-h2/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.integrations.cdi helidon-integrations-examples-datasource-hikaricp-h2 diff --git a/examples/integrations/cdi/datasource-hikaricp-mysql/pom.xml b/examples/integrations/cdi/datasource-hikaricp-mysql/pom.xml index d45df7492..e62a38abd 100644 --- a/examples/integrations/cdi/datasource-hikaricp-mysql/pom.xml +++ b/examples/integrations/cdi/datasource-hikaricp-mysql/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.integrations.cdi helidon-integrations-examples-datasource-hikaricp-mysql diff --git a/examples/integrations/cdi/datasource-hikaricp/pom.xml b/examples/integrations/cdi/datasource-hikaricp/pom.xml index 6e0d78b80..c4d37ccdd 100644 --- a/examples/integrations/cdi/datasource-hikaricp/pom.xml +++ b/examples/integrations/cdi/datasource-hikaricp/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.integrations.cdi helidon-examples-integrations-datasource-hikaricp diff --git a/examples/integrations/cdi/jpa/pom.xml b/examples/integrations/cdi/jpa/pom.xml index 644c1bac9..a435ea732 100644 --- a/examples/integrations/cdi/jpa/pom.xml +++ b/examples/integrations/cdi/jpa/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.integrations.cdi helidon-integrations-examples-jpa diff --git a/examples/integrations/cdi/pokemons/pom.xml b/examples/integrations/cdi/pokemons/pom.xml index 0aed392b6..4c222b433 100644 --- a/examples/integrations/cdi/pokemons/pom.xml +++ b/examples/integrations/cdi/pokemons/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.integrations.cdi helidon-integrations-examples-pokemons diff --git a/examples/integrations/micrometer/mp/pom.xml b/examples/integrations/micrometer/mp/pom.xml index 07036bad9..64902f6fa 100644 --- a/examples/integrations/micrometer/mp/pom.xml +++ b/examples/integrations/micrometer/mp/pom.xml @@ -23,6 +23,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + 4.0.0 @@ -104,4 +105,4 @@ - \ No newline at end of file + diff --git a/examples/integrations/micrometer/se/pom.xml b/examples/integrations/micrometer/se/pom.xml index e0bf3789e..f473ac834 100644 --- a/examples/integrations/micrometer/se/pom.xml +++ b/examples/integrations/micrometer/se/pom.xml @@ -23,6 +23,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.integrations.micrometer-project diff --git a/examples/integrations/micronaut/data/pom.xml b/examples/integrations/micronaut/data/pom.xml index 3b09d250e..13664e320 100644 --- a/examples/integrations/micronaut/data/pom.xml +++ b/examples/integrations/micronaut/data/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + helidon-examples-integrations-micronaut-data 1.0.0-SNAPSHOT diff --git a/examples/integrations/microstream/greetings-mp/pom.xml b/examples/integrations/microstream/greetings-mp/pom.xml index 1983f45e7..f8234b185 100644 --- a/examples/integrations/microstream/greetings-mp/pom.xml +++ b/examples/integrations/microstream/greetings-mp/pom.xml @@ -24,6 +24,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + helidon-examples-integrations-microstream-greetings-mp @@ -81,4 +82,4 @@ - \ No newline at end of file + diff --git a/examples/integrations/microstream/greetings-se/pom.xml b/examples/integrations/microstream/greetings-se/pom.xml index e1ab07b07..24a62f86b 100644 --- a/examples/integrations/microstream/greetings-se/pom.xml +++ b/examples/integrations/microstream/greetings-se/pom.xml @@ -24,6 +24,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + helidon-examples-integrations-microstream-greetings-se diff --git a/examples/integrations/neo4j/pom.xml b/examples/integrations/neo4j/pom.xml index 9ca3792c5..a6d78f0b1 100644 --- a/examples/integrations/neo4j/pom.xml +++ b/examples/integrations/neo4j/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + helidon-examples-integration-neo4j 1.0.0-SNAPSHOT diff --git a/examples/integrations/oci/atp-cdi/pom.xml b/examples/integrations/oci/atp-cdi/pom.xml index 89b421456..f7d21a7d2 100644 --- a/examples/integrations/oci/atp-cdi/pom.xml +++ b/examples/integrations/oci/atp-cdi/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.integrations.oci diff --git a/examples/integrations/oci/atp/pom.xml b/examples/integrations/oci/atp/pom.xml index 0e3a3c339..56a96cb0d 100644 --- a/examples/integrations/oci/atp/pom.xml +++ b/examples/integrations/oci/atp/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.integrations.oci diff --git a/examples/integrations/oci/metrics/pom.xml b/examples/integrations/oci/metrics/pom.xml index 1394845b3..ce7daf6f8 100644 --- a/examples/integrations/oci/metrics/pom.xml +++ b/examples/integrations/oci/metrics/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + diff --git a/examples/integrations/oci/objectstorage-cdi/pom.xml b/examples/integrations/oci/objectstorage-cdi/pom.xml index 6dbfa582c..6210480fa 100644 --- a/examples/integrations/oci/objectstorage-cdi/pom.xml +++ b/examples/integrations/oci/objectstorage-cdi/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.integrations.oci diff --git a/examples/integrations/oci/objectstorage/pom.xml b/examples/integrations/oci/objectstorage/pom.xml index 28af1a635..4bc6f6ff2 100644 --- a/examples/integrations/oci/objectstorage/pom.xml +++ b/examples/integrations/oci/objectstorage/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.integrations.oci diff --git a/examples/integrations/oci/vault-cdi/pom.xml b/examples/integrations/oci/vault-cdi/pom.xml index 6b689cf5f..d68f1ad79 100644 --- a/examples/integrations/oci/vault-cdi/pom.xml +++ b/examples/integrations/oci/vault-cdi/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.integrations.oci diff --git a/examples/integrations/oci/vault/pom.xml b/examples/integrations/oci/vault/pom.xml index a46ab8376..4dbb683a5 100644 --- a/examples/integrations/oci/vault/pom.xml +++ b/examples/integrations/oci/vault/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.integrations.oci diff --git a/examples/integrations/vault/hcp-cdi/pom.xml b/examples/integrations/vault/hcp-cdi/pom.xml index a6e6833d8..681f52ac6 100644 --- a/examples/integrations/vault/hcp-cdi/pom.xml +++ b/examples/integrations/vault/hcp-cdi/pom.xml @@ -24,6 +24,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.integrations.vault diff --git a/examples/integrations/vault/hcp/pom.xml b/examples/integrations/vault/hcp/pom.xml index c4c44fd7a..010bb4f7b 100644 --- a/examples/integrations/vault/hcp/pom.xml +++ b/examples/integrations/vault/hcp/pom.xml @@ -24,6 +24,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.integrations.vault diff --git a/examples/jbatch/pom.xml b/examples/jbatch/pom.xml index 85a3fa68d..9dc0c7f53 100644 --- a/examples/jbatch/pom.xml +++ b/examples/jbatch/pom.xml @@ -24,6 +24,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.jbatch helidon-examples-jbatch diff --git a/examples/logging/jul/pom.xml b/examples/logging/jul/pom.xml index 0e348e947..84a303d16 100644 --- a/examples/logging/jul/pom.xml +++ b/examples/logging/jul/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.logging helidon-examples-logging-jul diff --git a/examples/logging/log4j/pom.xml b/examples/logging/log4j/pom.xml index 776392a49..7ed5fcc57 100644 --- a/examples/logging/log4j/pom.xml +++ b/examples/logging/log4j/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.logging helidon-examples-logging-log4j diff --git a/examples/logging/logback-aot/pom.xml b/examples/logging/logback-aot/pom.xml index 453d9397f..b43c41769 100644 --- a/examples/logging/logback-aot/pom.xml +++ b/examples/logging/logback-aot/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.logging helidon-examples-logging-slf4j-aot diff --git a/examples/logging/slf4j/pom.xml b/examples/logging/slf4j/pom.xml index 7ce8af691..59949b272 100644 --- a/examples/logging/slf4j/pom.xml +++ b/examples/logging/slf4j/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.logging helidon-examples-logging-slf4j diff --git a/examples/media/multipart/pom.xml b/examples/media/multipart/pom.xml index bb65cc2bf..db9607cc6 100644 --- a/examples/media/multipart/pom.xml +++ b/examples/media/multipart/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.media helidon-examples-media-multipart diff --git a/examples/messaging/jms-websocket-mp/pom.xml b/examples/messaging/jms-websocket-mp/pom.xml index 424b01ca3..4599a9b7c 100644 --- a/examples/messaging/jms-websocket-mp/pom.xml +++ b/examples/messaging/jms-websocket-mp/pom.xml @@ -24,6 +24,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.jms helidon-examples-jms-websocket-mp diff --git a/examples/messaging/jms-websocket-se/pom.xml b/examples/messaging/jms-websocket-se/pom.xml index 80065a32e..b25048724 100644 --- a/examples/messaging/jms-websocket-se/pom.xml +++ b/examples/messaging/jms-websocket-se/pom.xml @@ -24,6 +24,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.jms helidon-examples-jms-websocket-se diff --git a/examples/messaging/kafka-websocket-mp/pom.xml b/examples/messaging/kafka-websocket-mp/pom.xml index e21075aa4..328b420cd 100644 --- a/examples/messaging/kafka-websocket-mp/pom.xml +++ b/examples/messaging/kafka-websocket-mp/pom.xml @@ -24,6 +24,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.messaging.mp kafka-websocket-mp diff --git a/examples/messaging/kafka-websocket-se/pom.xml b/examples/messaging/kafka-websocket-se/pom.xml index b81278ec6..3d3173a99 100644 --- a/examples/messaging/kafka-websocket-se/pom.xml +++ b/examples/messaging/kafka-websocket-se/pom.xml @@ -24,6 +24,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.messaging.se kafka-websocket-se diff --git a/examples/messaging/oracle-aq-websocket-mp/pom.xml b/examples/messaging/oracle-aq-websocket-mp/pom.xml index c4fe0f3d0..22c114948 100644 --- a/examples/messaging/oracle-aq-websocket-mp/pom.xml +++ b/examples/messaging/oracle-aq-websocket-mp/pom.xml @@ -24,6 +24,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.messaging.aq aq-websocket-mp diff --git a/examples/messaging/weblogic-jms-mp/pom.xml b/examples/messaging/weblogic-jms-mp/pom.xml index f5a71814f..2bd8e1069 100644 --- a/examples/messaging/weblogic-jms-mp/pom.xml +++ b/examples/messaging/weblogic-jms-mp/pom.xml @@ -23,6 +23,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.messaging.wls weblogic-jms-mp diff --git a/examples/metrics/exemplar/pom.xml b/examples/metrics/exemplar/pom.xml index 4ec0728d6..a51fb3853 100644 --- a/examples/metrics/exemplar/pom.xml +++ b/examples/metrics/exemplar/pom.xml @@ -23,6 +23,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + 4.0.0 diff --git a/examples/metrics/filtering/mp/pom.xml b/examples/metrics/filtering/mp/pom.xml index 9d3e82370..fca49e834 100644 --- a/examples/metrics/filtering/mp/pom.xml +++ b/examples/metrics/filtering/mp/pom.xml @@ -22,6 +22,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + 4.0.0 diff --git a/examples/metrics/filtering/se/pom.xml b/examples/metrics/filtering/se/pom.xml index 2528852cb..47440ed3f 100644 --- a/examples/metrics/filtering/se/pom.xml +++ b/examples/metrics/filtering/se/pom.xml @@ -22,6 +22,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + 4.0.0 diff --git a/examples/metrics/http-status-count-se/pom.xml b/examples/metrics/http-status-count-se/pom.xml index 1571ad281..e1ce545fd 100644 --- a/examples/metrics/http-status-count-se/pom.xml +++ b/examples/metrics/http-status-count-se/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples http-status-count-se diff --git a/examples/metrics/kpi/pom.xml b/examples/metrics/kpi/pom.xml index 6912a76fa..a137f5d1d 100644 --- a/examples/metrics/kpi/pom.xml +++ b/examples/metrics/kpi/pom.xml @@ -22,6 +22,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + 4.0.0 diff --git a/examples/microprofile/bean-validation/pom.xml b/examples/microprofile/bean-validation/pom.xml index d01320dc4..036d83f85 100644 --- a/examples/microprofile/bean-validation/pom.xml +++ b/examples/microprofile/bean-validation/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.microprofile helidon-examples-microprofile-bean-validation diff --git a/examples/microprofile/cors/pom.xml b/examples/microprofile/cors/pom.xml index 768a44e5f..ef4304e33 100644 --- a/examples/microprofile/cors/pom.xml +++ b/examples/microprofile/cors/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.microprofile helidon-examples-microprofile-cors diff --git a/examples/microprofile/graphql/pom.xml b/examples/microprofile/graphql/pom.xml index 23bca5321..7a21db835 100644 --- a/examples/microprofile/graphql/pom.xml +++ b/examples/microprofile/graphql/pom.xml @@ -22,6 +22,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.microprofile helidon-examples-microprofile-graphql diff --git a/examples/microprofile/hello-world-explicit/pom.xml b/examples/microprofile/hello-world-explicit/pom.xml index 38613331a..3a103084a 100644 --- a/examples/microprofile/hello-world-explicit/pom.xml +++ b/examples/microprofile/hello-world-explicit/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + helidon-examples-microprofile-hello-world-explicit 1.0.0-SNAPSHOT diff --git a/examples/microprofile/hello-world-implicit/pom.xml b/examples/microprofile/hello-world-implicit/pom.xml index 5bd3664c7..9fcbc807a 100644 --- a/examples/microprofile/hello-world-implicit/pom.xml +++ b/examples/microprofile/hello-world-implicit/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.microprofile helidon-examples-microprofile-hello-world-implicit diff --git a/examples/microprofile/http-status-count-mp/pom.xml b/examples/microprofile/http-status-count-mp/pom.xml index aa34fc7bf..2423e129f 100644 --- a/examples/microprofile/http-status-count-mp/pom.xml +++ b/examples/microprofile/http-status-count-mp/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples http-status-count-mp diff --git a/examples/microprofile/idcs/pom.xml b/examples/microprofile/idcs/pom.xml index 374f6ae29..4f628d9bb 100644 --- a/examples/microprofile/idcs/pom.xml +++ b/examples/microprofile/idcs/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.microprofile helidon-examples-microprofile-security-idcs diff --git a/examples/microprofile/lra/pom.xml b/examples/microprofile/lra/pom.xml index 9e5c8da0e..5e3ea213c 100644 --- a/examples/microprofile/lra/pom.xml +++ b/examples/microprofile/lra/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.microprofile helidon-examples-microprofile-lra diff --git a/examples/microprofile/messaging-sse/pom.xml b/examples/microprofile/messaging-sse/pom.xml index b9ed8a169..3a728efad 100644 --- a/examples/microprofile/messaging-sse/pom.xml +++ b/examples/microprofile/messaging-sse/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.microprofile helidon-examples-microprofile-messaging-sse diff --git a/examples/microprofile/multipart/pom.xml b/examples/microprofile/multipart/pom.xml index 4212b1cf5..bcbdf445a 100644 --- a/examples/microprofile/multipart/pom.xml +++ b/examples/microprofile/multipart/pom.xml @@ -23,6 +23,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.microprofile helidon-examples-microprofile-multipart diff --git a/examples/microprofile/multiport/pom.xml b/examples/microprofile/multiport/pom.xml index 4e03ba70b..29e983e23 100644 --- a/examples/microprofile/multiport/pom.xml +++ b/examples/microprofile/multiport/pom.xml @@ -22,6 +22,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.microprofile helidon-examples-microprofile-multiport diff --git a/examples/microprofile/oci-tls-certificates/pom.xml b/examples/microprofile/oci-tls-certificates/pom.xml index 164bc58e4..19096c505 100644 --- a/examples/microprofile/oci-tls-certificates/pom.xml +++ b/examples/microprofile/oci-tls-certificates/pom.xml @@ -22,6 +22,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.microprofile diff --git a/examples/microprofile/oidc/pom.xml b/examples/microprofile/oidc/pom.xml index 6a7ecb326..05a83d21a 100644 --- a/examples/microprofile/oidc/pom.xml +++ b/examples/microprofile/oidc/pom.xml @@ -23,6 +23,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.microprofile helidon-examples-microprofile-security-oidc-login diff --git a/examples/microprofile/openapi/pom.xml b/examples/microprofile/openapi/pom.xml index 77403a81b..e5d109c3a 100644 --- a/examples/microprofile/openapi/pom.xml +++ b/examples/microprofile/openapi/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.microprofile helidon-examples-microprofile-openapi diff --git a/examples/microprofile/security/pom.xml b/examples/microprofile/security/pom.xml index 3de012061..09ab19bd1 100644 --- a/examples/microprofile/security/pom.xml +++ b/examples/microprofile/security/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.microprofile helidon-examples-microprofile-mp1_1-security diff --git a/examples/microprofile/static-content/pom.xml b/examples/microprofile/static-content/pom.xml index 6e1325f36..7f435d06b 100644 --- a/examples/microprofile/static-content/pom.xml +++ b/examples/microprofile/static-content/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.microprofile helidon-examples-microprofile-mp1_1-static-content diff --git a/examples/microprofile/telemetry/greeting/pom.xml b/examples/microprofile/telemetry/greeting/pom.xml index d0a8621e9..1fa1baf18 100644 --- a/examples/microprofile/telemetry/greeting/pom.xml +++ b/examples/microprofile/telemetry/greeting/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.microprofile helidon-examples-microprofile-telemetry-greeting diff --git a/examples/microprofile/telemetry/secondary/pom.xml b/examples/microprofile/telemetry/secondary/pom.xml index cda57d645..4a948a8c6 100644 --- a/examples/microprofile/telemetry/secondary/pom.xml +++ b/examples/microprofile/telemetry/secondary/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.microprofile helidon-examples-microprofile-telemetry-secondary diff --git a/examples/microprofile/tls/pom.xml b/examples/microprofile/tls/pom.xml index 297e74794..3bc3c2e29 100644 --- a/examples/microprofile/tls/pom.xml +++ b/examples/microprofile/tls/pom.xml @@ -22,6 +22,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.microprofile diff --git a/examples/microprofile/websocket/pom.xml b/examples/microprofile/websocket/pom.xml index 492b2c159..89adb6b0e 100644 --- a/examples/microprofile/websocket/pom.xml +++ b/examples/microprofile/websocket/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.microprofile helidon-examples-microprofile-websocket diff --git a/examples/openapi/pom.xml b/examples/openapi/pom.xml index ffe3c4e64..4a8173844 100644 --- a/examples/openapi/pom.xml +++ b/examples/openapi/pom.xml @@ -24,6 +24,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples helidon-examples-openapi diff --git a/examples/quickstarts/helidon-quickstart-mp/pom.xml b/examples/quickstarts/helidon-quickstart-mp/pom.xml index b9f5d8a48..484939bb2 100644 --- a/examples/quickstarts/helidon-quickstart-mp/pom.xml +++ b/examples/quickstarts/helidon-quickstart-mp/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.quickstarts helidon-quickstart-mp diff --git a/examples/quickstarts/helidon-quickstart-se/pom.xml b/examples/quickstarts/helidon-quickstart-se/pom.xml index 02c2ace07..968c94bf6 100644 --- a/examples/quickstarts/helidon-quickstart-se/pom.xml +++ b/examples/quickstarts/helidon-quickstart-se/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.quickstarts helidon-quickstart-se diff --git a/examples/security/attribute-based-access-control/pom.xml b/examples/security/attribute-based-access-control/pom.xml index 48e6ef37c..dec7e79eb 100644 --- a/examples/security/attribute-based-access-control/pom.xml +++ b/examples/security/attribute-based-access-control/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.security helidon-examples-security-abac diff --git a/examples/security/basic-auth-with-static-content/pom.xml b/examples/security/basic-auth-with-static-content/pom.xml index 0c77fc98f..16023ba3a 100644 --- a/examples/security/basic-auth-with-static-content/pom.xml +++ b/examples/security/basic-auth-with-static-content/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.security helidon-examples-security-webserver-basic-auth diff --git a/examples/security/google-login/pom.xml b/examples/security/google-login/pom.xml index a3524993e..0d72a52dd 100644 --- a/examples/security/google-login/pom.xml +++ b/examples/security/google-login/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.security helidon-examples-security-google-login diff --git a/examples/security/idcs-login/pom.xml b/examples/security/idcs-login/pom.xml index 28576d2a3..7d7cc1942 100644 --- a/examples/security/idcs-login/pom.xml +++ b/examples/security/idcs-login/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.security helidon-examples-security-oidc diff --git a/examples/security/outbound-override/pom.xml b/examples/security/outbound-override/pom.xml index 6c5ce221e..aef7974b8 100644 --- a/examples/security/outbound-override/pom.xml +++ b/examples/security/outbound-override/pom.xml @@ -24,6 +24,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.security 4.0.0 diff --git a/examples/security/programmatic/pom.xml b/examples/security/programmatic/pom.xml index 567319ce1..e6a6732c6 100644 --- a/examples/security/programmatic/pom.xml +++ b/examples/security/programmatic/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.security helidon-examples-security-nohttp-programmatic diff --git a/examples/security/spi-examples/pom.xml b/examples/security/spi-examples/pom.xml index 2d50c2264..046ad220f 100644 --- a/examples/security/spi-examples/pom.xml +++ b/examples/security/spi-examples/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.security helidon-examples-security-spi diff --git a/examples/security/vaults/pom.xml b/examples/security/vaults/pom.xml index 8d326da54..4065a577d 100644 --- a/examples/security/vaults/pom.xml +++ b/examples/security/vaults/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.security helidon-examples-security-vaults diff --git a/examples/security/webserver-digest-auth/pom.xml b/examples/security/webserver-digest-auth/pom.xml index 8d704b04e..ca7551b07 100644 --- a/examples/security/webserver-digest-auth/pom.xml +++ b/examples/security/webserver-digest-auth/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.security helidon-examples-security-webserver-digest-auth diff --git a/examples/security/webserver-signatures/pom.xml b/examples/security/webserver-signatures/pom.xml index c3dc38a62..5c270041f 100644 --- a/examples/security/webserver-signatures/pom.xml +++ b/examples/security/webserver-signatures/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.security helidon-examples-security-webserver-signatures diff --git a/examples/todo-app/backend/pom.xml b/examples/todo-app/backend/pom.xml index 93a8df59c..13af05292 100644 --- a/examples/todo-app/backend/pom.xml +++ b/examples/todo-app/backend/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-mp 4.1.0-SNAPSHOT + io.helidon.examples.todos helidon-examples-todo-backend diff --git a/examples/todo-app/frontend/pom.xml b/examples/todo-app/frontend/pom.xml index 736a661f4..6f9bb972b 100644 --- a/examples/todo-app/frontend/pom.xml +++ b/examples/todo-app/frontend/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.todo helidon-examples-todo-frontend diff --git a/examples/translator-app/backend/pom.xml b/examples/translator-app/backend/pom.xml index 29e3076b8..a3887cb6c 100644 --- a/examples/translator-app/backend/pom.xml +++ b/examples/translator-app/backend/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.translator helidon-examples-translator-backend diff --git a/examples/translator-app/frontend/pom.xml b/examples/translator-app/frontend/pom.xml index b9fe162ff..8f4c1eca7 100644 --- a/examples/translator-app/frontend/pom.xml +++ b/examples/translator-app/frontend/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.translator helidon-examples-translator-frontend diff --git a/examples/webclient/standalone/pom.xml b/examples/webclient/standalone/pom.xml index ae165d577..6837d7f14 100644 --- a/examples/webclient/standalone/pom.xml +++ b/examples/webclient/standalone/pom.xml @@ -23,6 +23,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + helidon-examples-webclient-standalone diff --git a/examples/webserver/basic/pom.xml b/examples/webserver/basic/pom.xml index 25efe33a8..5bf614165 100644 --- a/examples/webserver/basic/pom.xml +++ b/examples/webserver/basic/pom.xml @@ -22,6 +22,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.webserver diff --git a/examples/webserver/basics/pom.xml b/examples/webserver/basics/pom.xml index 9dfa354b9..1970e395a 100644 --- a/examples/webserver/basics/pom.xml +++ b/examples/webserver/basics/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.webserver helidon-examples-webserver-basics diff --git a/examples/webserver/comment-aas/pom.xml b/examples/webserver/comment-aas/pom.xml index 69702f02b..7ca63ea59 100644 --- a/examples/webserver/comment-aas/pom.xml +++ b/examples/webserver/comment-aas/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.webserver helidon-examples-webserver-comment-aas diff --git a/examples/webserver/echo/pom.xml b/examples/webserver/echo/pom.xml index 186fdaaf3..bfc21b8df 100644 --- a/examples/webserver/echo/pom.xml +++ b/examples/webserver/echo/pom.xml @@ -22,6 +22,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.webserver diff --git a/examples/webserver/fault-tolerance/pom.xml b/examples/webserver/fault-tolerance/pom.xml index 528f0ff7a..0a4b248a1 100644 --- a/examples/webserver/fault-tolerance/pom.xml +++ b/examples/webserver/fault-tolerance/pom.xml @@ -23,6 +23,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.webserver diff --git a/examples/webserver/imperative/pom.xml b/examples/webserver/imperative/pom.xml index cc11a465a..89c71fe14 100644 --- a/examples/webserver/imperative/pom.xml +++ b/examples/webserver/imperative/pom.xml @@ -22,6 +22,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.webserver diff --git a/examples/webserver/multiport/pom.xml b/examples/webserver/multiport/pom.xml index ce5366126..349d6bc65 100644 --- a/examples/webserver/multiport/pom.xml +++ b/examples/webserver/multiport/pom.xml @@ -24,6 +24,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.webserver helidon-examples-webserver-multiport diff --git a/examples/webserver/mutual-tls/pom.xml b/examples/webserver/mutual-tls/pom.xml index 59524e793..b846cd13a 100644 --- a/examples/webserver/mutual-tls/pom.xml +++ b/examples/webserver/mutual-tls/pom.xml @@ -22,6 +22,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.webserver helidon-examples-webserver-mutual-tls diff --git a/examples/webserver/observe/pom.xml b/examples/webserver/observe/pom.xml index aca1efbd8..93af5823e 100644 --- a/examples/webserver/observe/pom.xml +++ b/examples/webserver/observe/pom.xml @@ -22,6 +22,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.webserver diff --git a/examples/webserver/opentracing/pom.xml b/examples/webserver/opentracing/pom.xml index 1bb46c4d5..99340d0c8 100644 --- a/examples/webserver/opentracing/pom.xml +++ b/examples/webserver/opentracing/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.webserver helidon-examples-webserver-opentracing diff --git a/examples/webserver/pom.xml b/examples/webserver/pom.xml index 1986c6522..98eac770a 100644 --- a/examples/webserver/pom.xml +++ b/examples/webserver/pom.xml @@ -47,6 +47,7 @@ static-content streaming tls + threads tracing tutorial websocket diff --git a/examples/webserver/protocols/pom.xml b/examples/webserver/protocols/pom.xml index 3b3c34b6b..dfcb2e311 100644 --- a/examples/webserver/protocols/pom.xml +++ b/examples/webserver/protocols/pom.xml @@ -22,6 +22,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.webserver diff --git a/examples/webserver/static-content/pom.xml b/examples/webserver/static-content/pom.xml index 8ea9e7ad2..e77704931 100644 --- a/examples/webserver/static-content/pom.xml +++ b/examples/webserver/static-content/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.webserver helidon-examples-webserver-static-content diff --git a/examples/webserver/streaming/pom.xml b/examples/webserver/streaming/pom.xml index c9e7bac75..c605aeb05 100644 --- a/examples/webserver/streaming/pom.xml +++ b/examples/webserver/streaming/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.webserver helidon-examples-webserver-streaming diff --git a/examples/webserver/threads/pom.xml b/examples/webserver/threads/pom.xml index f194ac9eb..306452f99 100644 --- a/examples/webserver/threads/pom.xml +++ b/examples/webserver/threads/pom.xml @@ -24,6 +24,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.webserver helidon-examples-webserver-threads diff --git a/examples/webserver/tls/pom.xml b/examples/webserver/tls/pom.xml index 7831001e7..aed05e481 100644 --- a/examples/webserver/tls/pom.xml +++ b/examples/webserver/tls/pom.xml @@ -23,6 +23,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.webserver diff --git a/examples/webserver/tracing/pom.xml b/examples/webserver/tracing/pom.xml index 7d9d3c812..0a8cdbfa2 100644 --- a/examples/webserver/tracing/pom.xml +++ b/examples/webserver/tracing/pom.xml @@ -22,6 +22,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.webserver diff --git a/examples/webserver/tutorial/pom.xml b/examples/webserver/tutorial/pom.xml index 9dadd4ec4..f045fd56a 100644 --- a/examples/webserver/tutorial/pom.xml +++ b/examples/webserver/tutorial/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.webserver helidon-examples-webserver-tutorial diff --git a/examples/webserver/websocket/pom.xml b/examples/webserver/websocket/pom.xml index b68e8a287..33801c7ed 100644 --- a/examples/webserver/websocket/pom.xml +++ b/examples/webserver/websocket/pom.xml @@ -25,6 +25,7 @@ io.helidon.applications helidon-se 4.1.0-SNAPSHOT + io.helidon.examples.webserver helidon-examples-webserver-websocket From fafef9507a9ac45494decf4ca11f996ca5381ca0 Mon Sep 17 00:00:00 2001 From: Romain Grecourt Date: Mon, 5 Aug 2024 18:49:34 -0700 Subject: [PATCH 3/4] Fix copyright and checkstyle --- etc/scripts/updateparent.awk | 2 +- .../helidon/examples/webserver/threads/Main.java | 12 ++++++++---- .../webserver/threads/ThreadService.java | 16 ++++++++-------- 3 files changed, 17 insertions(+), 13 deletions(-) diff --git a/etc/scripts/updateparent.awk b/etc/scripts/updateparent.awk index 49316a038..a21043949 100644 --- a/etc/scripts/updateparent.awk +++ b/etc/scripts/updateparent.awk @@ -1,6 +1,6 @@ #!awk -f # -# Copyright (c) 2023 Oracle and/or its affiliates. +# Copyright (c) 2023, 2024 Oracle and/or its affiliates. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/webserver/threads/src/main/java/io/helidon/examples/webserver/threads/Main.java b/examples/webserver/threads/src/main/java/io/helidon/examples/webserver/threads/Main.java index 41e008633..6ac6d6ed9 100644 --- a/examples/webserver/threads/src/main/java/io/helidon/examples/webserver/threads/Main.java +++ b/examples/webserver/threads/src/main/java/io/helidon/examples/webserver/threads/Main.java @@ -16,8 +16,8 @@ package io.helidon.examples.webserver.threads; -import io.helidon.logging.common.LogConfig; import io.helidon.config.Config; +import io.helidon.logging.common.LogConfig; import io.helidon.webclient.api.WebClient; import io.helidon.webserver.WebServer; import io.helidon.webserver.http.HttpRouting; @@ -27,7 +27,7 @@ */ public class Main { - static WebClient webclient; + private static WebClient webclient; /** * Cannot be instantiated. @@ -40,7 +40,7 @@ private Main() { * @param args command line arguments. */ public static void main(String[] args) { - + // load logging configuration LogConfig.configureRuntime(); @@ -70,4 +70,8 @@ static void routing(HttpRouting.Builder routing) { routing .register("/thread", new ThreadService()); } -} \ No newline at end of file + + static WebClient webClient() { + return webclient; + } +} diff --git a/examples/webserver/threads/src/main/java/io/helidon/examples/webserver/threads/ThreadService.java b/examples/webserver/threads/src/main/java/io/helidon/examples/webserver/threads/ThreadService.java index 60ece4b13..65750d13f 100644 --- a/examples/webserver/threads/src/main/java/io/helidon/examples/webserver/threads/ThreadService.java +++ b/examples/webserver/threads/src/main/java/io/helidon/examples/webserver/threads/ThreadService.java @@ -37,7 +37,7 @@ class ThreadService implements HttpService { private static final System.Logger LOGGER = System.getLogger(ThreadService.class.getName()); - private static final Random rand = new Random(System.currentTimeMillis()); + private static final Random RANDOM = new Random(System.currentTimeMillis()); // ThreadPool of platform threads. private static ExecutorService platformExecutorService; @@ -133,7 +133,7 @@ private void fanOutHandler(ServerRequest request, ServerResponse response) { // For this we use our virtual thread based executor. We submit the work and save the Futures var futures = new ArrayList>(); for (int i = 0; i < count; i++) { - futures.add(virtualExecutorService.submit(() -> callRemote(rand.nextInt(5)))); + futures.add(virtualExecutorService.submit(() -> callRemote(RANDOM.nextInt(5)))); } // After work has been submitted we loop through the future and block getting the results. @@ -156,14 +156,14 @@ private void fanOutHandler(ServerRequest request, ServerResponse response) { } /** - * Simulate a remote client call by calling this server's sleep endpoint + * Simulate a remote client call by calling this server's sleep endpoint. * - * @param seconds number of seconds the endpoint should sleep. + * @param seconds number of seconds the endpoint should sleep * @return string response from client */ private String callRemote(int seconds) { LOGGER.log(Level.INFO, Thread.currentThread() + ": Calling remote sleep for " + seconds + "s"); - WebClient client = Main.webclient; + WebClient client = Main.webClient(); ClientResponseTyped response = client.get("/sleep/" + seconds).request(String.class); if (response.status().equals(Status.OK_200)) { return response.entity(); @@ -172,7 +172,7 @@ private String callRemote(int seconds) { } /** - * Sleep current thread + * Sleep current thread. * * @param seconds number of seconds to sleep * @return number of seconds requested to sleep @@ -187,14 +187,14 @@ private int sleep(int seconds) { } /** - * Perform a CPU intensive computation + * Perform a CPU intensive computation. * * @param iterations: number of times to perform computation * @return result of computation */ private double compute(int iterations) { LOGGER.log(Level.INFO, Thread.currentThread() + ": Computing with " + iterations + " iterations"); - double d = 123456789.123456789 * rand.nextInt(100); + double d = 123456789.123456789 * RANDOM.nextInt(100); for (int i = 0; i < iterations; i++) { for (int n = 0; n < 1_000_000; n++) { for (int j = 0; j < 5; j++) { From 04a19a857643b36602c28cf112d861df38b48852 Mon Sep 17 00:00:00 2001 From: Romain Grecourt Date: Mon, 5 Aug 2024 19:16:56 -0700 Subject: [PATCH 4/4] Fix MainTest --- .../main/java/io/helidon/examples/webserver/threads/Main.java | 4 ++++ .../java/io/helidon/examples/webserver/threads/MainTest.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/webserver/threads/src/main/java/io/helidon/examples/webserver/threads/Main.java b/examples/webserver/threads/src/main/java/io/helidon/examples/webserver/threads/Main.java index 6ac6d6ed9..96d944b60 100644 --- a/examples/webserver/threads/src/main/java/io/helidon/examples/webserver/threads/Main.java +++ b/examples/webserver/threads/src/main/java/io/helidon/examples/webserver/threads/Main.java @@ -74,4 +74,8 @@ static void routing(HttpRouting.Builder routing) { static WebClient webClient() { return webclient; } + + static void webClient(WebClient newClient) { + webclient = newClient; + } } diff --git a/examples/webserver/threads/src/test/java/io/helidon/examples/webserver/threads/MainTest.java b/examples/webserver/threads/src/test/java/io/helidon/examples/webserver/threads/MainTest.java index bbe78c10f..c286635fb 100644 --- a/examples/webserver/threads/src/test/java/io/helidon/examples/webserver/threads/MainTest.java +++ b/examples/webserver/threads/src/test/java/io/helidon/examples/webserver/threads/MainTest.java @@ -33,7 +33,7 @@ class MainTest { protected MainTest(WebClient client) { this.client = client; - Main.webclient = this.client; // Needed for ThreadService to make calls + Main.webClient(this.client); // Needed for ThreadService to make calls } @SetUpRoute