This is an automated email from the ASF dual-hosted git repository. rzo1 pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomee.git
commit 25ff85f53cf03b82120a336e3b64602bb86510e6 Author: Richard Zowalla <r...@apache.org> AuthorDate: Thu May 16 10:39:12 2024 +0200 Remove "docker" profile as it is no longer working reliably and building can just be done with the normal docker routines. --- examples/mp-metrics-counted/README.adoc | 12 -------- examples/mp-metrics-counted/README_es.adoc | 13 --------- examples/mp-metrics-counted/README_pt.adoc | 13 --------- examples/mp-metrics-counted/pom.xml | 46 ------------------------------ 4 files changed, 84 deletions(-) diff --git a/examples/mp-metrics-counted/README.adoc b/examples/mp-metrics-counted/README.adoc index a38369c704..b04699e4da 100644 --- a/examples/mp-metrics-counted/README.adoc +++ b/examples/mp-metrics-counted/README.adoc @@ -13,18 +13,6 @@ includes a docker profile which can be used to create a Docker image. $ mvn clean install tomee:run ---- -NOTE: Alternatively, build and run the application via Docker (note the use of the docker profile): - -[source,bash] ----- -$ mvn -Pdocker docker:build ----- - -[source,bash] ----- -$ docker run -it --rm -p 8080:8080 --name=tomee-mp-metrics-counted tomee/mp-metrics-counted ----- - Within the application, there is an endpoint that will give you weather status for the day and week. diff --git a/examples/mp-metrics-counted/README_es.adoc b/examples/mp-metrics-counted/README_es.adoc index b40f0c6af1..a391d5d825 100644 --- a/examples/mp-metrics-counted/README_es.adoc +++ b/examples/mp-metrics-counted/README_es.adoc @@ -14,19 +14,6 @@ Docker. $ mvn clean install tomee:run ---- -NOTE: Alternativamente, compile y ejecute la aplicación a través de Docker -(tenga en cuenta el uso del perfil de docker): - -[source,bash] ----- -$ mvn -Pdocker docker:build ----- - -[source,bash] ----- -$ docker run -it --rm -p 8080:8080 --name=tomee-mp-metrics-counted tomee/mp-metrics-counted ----- - Dentro de la aplicación, hay un endpoint que te dará el estado del clima para el día y la semana. diff --git a/examples/mp-metrics-counted/README_pt.adoc b/examples/mp-metrics-counted/README_pt.adoc index 983b2bb7e9..4f5e1fe1b4 100644 --- a/examples/mp-metrics-counted/README_pt.adoc +++ b/examples/mp-metrics-counted/README_pt.adoc @@ -12,19 +12,6 @@ Este é um exemplo sobre como utilizar as métricas de MicroProfile no Tomee. O $ mvn clean install tomee:run ---- -NOTE: Como alternativa, compile e execute o aplicativo através do Docker -(observe o uso do perfil docker): - -[source,bash] ----- -$ mvn -Pdocker docker:build ----- - -[source,bash] ----- -$ docker run -it --rm -p 8080:8080 --name=tomee-mp-metrics-counted tomee/mp-metrics-counted ----- - Dentro do aplicativo, há um endpoint que fornecerá o estado do tempo para o dia e a semana. == Veja o clima da semana: diff --git a/examples/mp-metrics-counted/pom.xml b/examples/mp-metrics-counted/pom.xml index 8b26eff0b9..d447d2790d 100644 --- a/examples/mp-metrics-counted/pom.xml +++ b/examples/mp-metrics-counted/pom.xml @@ -101,52 +101,6 @@ </plugins> </build> - <profiles> - <profile> - <id>docker</id> - <build> - <plugins> - <plugin> - <groupId>io.fabric8</groupId> - <artifactId>docker-maven-plugin</artifactId> - <version>0.28.0</version> - <executions> - <execution> - <id>start</id> - <phase>pre-integration-test</phase> - <goals> - <goal>build</goal> - <goal>start</goal> - </goals> - </execution> - <execution> - <id>stop</id> - <phase>post-integration-test</phase> - <goals> - <goal>stop</goal> - </goals> - </execution> - </executions> - <configuration> - <pushRegistry>somename</pushRegistry> - <images> - <image> - <name>${docker.image.name}</name> - <build> - <tags> - <tag>${project.version}</tag> - <tag>latest</tag> - </tags> - <dockerFile>${project.basedir}/${docker.file.name}</dockerFile> - </build> - </image> - </images> - </configuration> - </plugin> - </plugins> - </build> - </profile> - </profiles> <!-- This section allows you to configure where to publish libraries for sharing. It is not required and may be deleted. For more information see: http://maven.apache.org/plugins/maven-deploy-plugin/ -->