From fc810d29000fa9bc01863615e079d8cb40a4bc8b Mon Sep 17 00:00:00 2001 From: frantuma Date: Tue, 21 Nov 2023 11:05:12 +0100 Subject: [PATCH] CI and dependency management upgrade --- .github/dependabot.yml | 18 + .github/workflows/dependency-review.yml | 16 + .github/workflows/docker-release-master.yml | 68 ++ modules/swagger-codegen-maven-plugin/pom.xml | 2 +- modules/swagger-generator/pom.xml | 2 +- modules/swagger-generator/pom.xml.jenkins | 325 ------ pom.xml | 116 +- pom.xml.jenkins | 1037 ----------------- .../undertow/dependency-reduced-pom.xml | 244 ++-- 9 files changed, 327 insertions(+), 1501 deletions(-) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/dependency-review.yml create mode 100644 .github/workflows/docker-release-master.yml delete mode 100644 modules/swagger-generator/pom.xml.jenkins delete mode 100644 pom.xml.jenkins diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000000..8bf940d9cd1 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,18 @@ +version: 2 +updates: + - package-ecosystem: "maven" + target-branch: "master" + directory: "/" + schedule: + interval: "daily" + ignore: + - dependency-name: "*" + update-types: ["version-update:semver-major"] + - package-ecosystem: "maven" + target-branch: "3.0.0" + directory: "/" + schedule: + interval: "daily" + ignore: + - dependency-name: "*" + update-types: ["version-update:semver-major"] \ No newline at end of file diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml new file mode 100644 index 00000000000..f67f5a42c2e --- /dev/null +++ b/.github/workflows/dependency-review.yml @@ -0,0 +1,16 @@ +name: 'Dependency Review' +on: [pull_request] + +permissions: + contents: read + +jobs: + dependency-review: + runs-on: ubuntu-latest + steps: + - name: 'Checkout Repository' + uses: actions/checkout@v4 + - name: Dependency Review + uses: actions/dependency-review-action@v3 + with: + fail-on-severity: high diff --git a/.github/workflows/docker-release-master.yml b/.github/workflows/docker-release-master.yml new file mode 100644 index 00000000000..aec3acd9752 --- /dev/null +++ b/.github/workflows/docker-release-master.yml @@ -0,0 +1,68 @@ +name: Build And Push Docker Release Master + +on: + workflow_dispatch: + branches: [ "master" ] + inputs: + tag: + description: tag/version to release + required: true +jobs: + build_push_docker_release_master: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + name: git checkout master + with: + ref: master + - name: Set up Java + uses: actions/setup-java@v3 + with: + java-version: 17 + distribution: temurin + cache: maven + - name: preliminary checks + run: | + docker login --username=${{ secrets.DOCKERHUB_SB_USERNAME }} --password=${{ secrets.DOCKERHUB_SB_PASSWORD }} + set -e + # fail if templates/generators contain carriage return '\r' + /bin/bash ./bin/utils/detect_carriage_return.sh + # fail if generators contain merge conflicts + /bin/bash ./bin/utils/detect_merge_conflict.sh + # fail if generators contain tab '\t' + /bin/bash ./bin/utils/detect_tab_in_java_class.sh + - uses: s4u/maven-settings-action@v2.8.0 + name: setup maven settings.xml + with: + servers: | + [{ + "id": "sonatype-nexus-staging", + "username": "${{ secrets.OSSRH_USERNAME }}", + "password": "${{ secrets.OSSRH_TOKEN }}" + }, + { + "id": "sonatype-nexus-snapshots", + "username": "${{ secrets.OSSRH_USERNAME }}", + "password": "${{ secrets.OSSRH_TOKEN }}" + }] + - name: Build with Maven + run: | + # mvn clean install -U + - name: docker build and push + run: | + export DOCKER_GENERATOR_IMAGE_NAME=swaggerapi/swagger-generator + export DOCKER_CODEGEN_CLI_IMAGE_NAME=swaggerapi/swagger-codegen-cli + export MY_POM_VERSION=`mvn -q -Dexec.executable="echo" -Dexec.args='${projects.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec` + + docker build --rm=false -t $DOCKER_GENERATOR_IMAGE_NAME:${{ env.TAG }} ./modules/swagger-generator + docker tag $DOCKER_GENERATOR_IMAGE_NAME:${{ env.TAG }} $DOCKER_GENERATOR_IMAGE_NAME:latest + docker push $DOCKER_GENERATOR_IMAGE_NAME:${{ env.TAG }} + docker push $DOCKER_GENERATOR_IMAGE_NAME:latest + docker build --rm=false -t $DOCKER_CODEGEN_CLI_IMAGE_NAME:${{ env.TAG }} ./modules/swagger-codegen-cli + docker tag $DOCKER_CODEGEN_CLI_IMAGE_NAME:${{ env.TAG }} $DOCKER_CODEGEN_CLI_IMAGE_NAME:latest + docker push $DOCKER_CODEGEN_CLI_IMAGE_NAME:${{ env.TAG }} + docker push $DOCKER_CODEGEN_CLI_IMAGE_NAME:latest + env: + TAG: ${{ github.event.inputs.tag }} \ No newline at end of file diff --git a/modules/swagger-codegen-maven-plugin/pom.xml b/modules/swagger-codegen-maven-plugin/pom.xml index 2eb89b415da..b11de0f560c 100644 --- a/modules/swagger-codegen-maven-plugin/pom.xml +++ b/modules/swagger-codegen-maven-plugin/pom.xml @@ -43,7 +43,7 @@ org.apache.maven.plugin-tools maven-plugin-annotations - 3.4 + 3.10.2 io.swagger diff --git a/modules/swagger-generator/pom.xml b/modules/swagger-generator/pom.xml index f5e76197c0f..28665c08ebc 100644 --- a/modules/swagger-generator/pom.xml +++ b/modules/swagger-generator/pom.xml @@ -334,6 +334,6 @@ 2.5 2.11.5 9.4.53.v20231009 - 2.40 + 2.41 diff --git a/modules/swagger-generator/pom.xml.jenkins b/modules/swagger-generator/pom.xml.jenkins deleted file mode 100644 index 09af3cb8b18..00000000000 --- a/modules/swagger-generator/pom.xml.jenkins +++ /dev/null @@ -1,325 +0,0 @@ - - 4.0.0 - - io.swagger - swagger-codegen-project - 2.4.37-SNAPSHOT - ../.. - - swagger-generator - war - swagger-generator - - src/main/java - - - src/main/resources - true - - **/version.prop - logback.xml - - - - - - maven-dependency-plugin - - - package - - copy-dependencies - - - ${project.build.directory}/lib - - - - - - - org.codehaus.mojo - properties-maven-plugin - 1.0.0 - - - pre-integration-test - - set-system-properties - - - - - org.eclipse.jetty.util.log.class - org.eclipse.jetty.util.log.StdErrLog - - - org.eclipse.jetty.annotations.AnnotationParser.LEVEL - OFF - - - - - - - - - org.apache.maven.plugins - maven-war-plugin - 3.1.0 - - - - - ${project.build.directory}/swagger-ui-master/dist - - index.html - - - - - - - maven-failsafe-plugin - 2.6 - - false - false - - - - - integration-test - verify - - - - - - org.eclipse.jetty - jetty-maven-plugin - ${jetty-version} - - target/${project.artifactId}-${project.version}/WEB-INF/classes - - / - - target/${project.artifactId}-${project.version} - 8079 - stopit - - 60000 - - - - - start-jetty - pre-integration-test - - start - - - 0 - - - - stop-jetty - post-integration-test - - stop - - - - - - com.googlecode.maven-download-plugin - download-maven-plugin - 1.2.1 - - - swagger-ui - - wget - - - https://github.com/swagger-api/swagger-ui/archive/master.tar.gz - true - - ${project.build.directory} - - - - - - net.revelc.code - formatter-maven-plugin - - - ${project.basedir}${file.separator}${project.parent.relativePath}${file.separator}eclipse-formatter.xml - - - - - - - io.swagger - swagger-jersey2-jaxrs - ${swagger-core-version} - - - io.swagger - swagger-codegen - ${project.parent.version} - - - org.slf4j - slf4j-simple - - - - - ch.qos.logback - logback-classic - ${logback-version} - - - ch.qos.logback - logback-core - ${logback-version} - - - - javax.servlet - servlet-api - ${servlet-api-version} - provided - - - org.glassfish.jersey.inject - jersey-hk2 - ${jersey2-version} - - - org.glassfish.hk2.external - javax.inject - - - - - org.glassfish.jersey.containers - jersey-container-servlet-core - ${jersey2-version} - - - org.glassfish.hk2.external - javax.inject - - - - - org.glassfish.jersey.media - jersey-media-multipart - ${jersey2-version} - - - org.glassfish.hk2.external - javax.inject - - - - - net.lingala.zip4j - zip4j - ${zip-version} - - - org.eclipse.jetty - jetty-server - ${jetty-version} - - - org.eclipse.jetty - jetty-start - ${jetty-version} - - - org.eclipse.jetty - jetty-xml - ${jetty-version} - - - org.eclipse.jetty - jetty-webapp - ${jetty-version} - - - org.eclipse.jetty - jetty-deploy - ${jetty-version} - - - - javax.xml.bind - jaxb-api - 2.3.0 - - - com.sun.xml.bind - jaxb-core - 2.3.0 - - - com.sun.xml.bind - jaxb-impl - 2.3.0 - - - - org.eclipse.jetty - jetty-runner - ${jetty-version} - provided - - - org.glassfish - javax.el - - - org.eclipse.jetty - apache-jsp - - - - - com.fasterxml.jackson.jaxrs - jackson-jaxrs-json-provider - ${jackson-version} - - - org.testng - testng - test - - - org.jmockit - jmockit - test - - - junit - junit - ${junit-version} - test - - - - 2.5 - 1.4.6 - 1.0.0 - 2.5 - 2.11.5 - 9.4.51.v20230217 - 2.39.1 - - diff --git a/pom.xml b/pom.xml index 31a5474eeaf..f2dc96c025f 100644 --- a/pom.xml +++ b/pom.xml @@ -858,43 +858,113 @@ - samples + samples-java8 env - samples + samples-jave8 + + + + samples/client/petstore/akka-scala + samples/client/petstore/java/feign + samples/client/petstore/java/google-api-client + samples/client/petstore/java/jersey1 + samples/client/petstore/java/jersey2 + samples/client/petstore/java/okhttp-gson + samples/client/petstore/java/resteasy + samples/client/petstore/java/resttemplate + samples/client/petstore/java/resttemplate-withXml + samples/client/petstore/java/retrofit2 + samples/client/petstore/java/retrofit2rx + samples/client/petstore/java/retrofit + samples/client/petstore/java/vertx + samples/client/petstore/jaxrs-cxf-client + samples/server/petstore/java-inflector + samples/server/petstore/java-pkmst + samples/server/petstore/java-vertx/async + samples/server/petstore/java-vertx/rx + samples/server/petstore/jaxrs-cxf-annotated-base-path + samples/server/petstore/jaxrs-cxf-cdi + samples/server/petstore/jaxrs-cxf + samples/server/petstore/jaxrs-cxf-non-spring-app + samples/server/petstore/jaxrs-datelib-j8 + samples/server/petstore/jaxrs/jersey1 + samples/server/petstore/jaxrs/jersey1-useTags + samples/server/petstore/jaxrs/jersey2 + samples/server/petstore/jaxrs/jersey2-useTags + samples/server/petstore/jaxrs-resteasy/default + samples/server/petstore/jaxrs-resteasy/eap-java8 + samples/server/petstore/jaxrs-resteasy/eap-joda + samples/server/petstore/jaxrs-resteasy/eap + samples/server/petstore/jaxrs-resteasy/joda + samples/server/petstore/jaxrs-spec-interface + samples/server/petstore/springboot-beanvalidation + samples/server/petstore/springboot + samples/server/petstore/springboot-useoptional + samples/client/petstore/spring-cloud + samples/server/petstore/spring-mvc-j8-async + samples/server/petstore/spring-mvc-j8-localdatetime + samples/server/petstore/spring-mvc + samples/server/petstore/undertow + + + + + + + + maven-compiler-plugin + 3.10.1 + + 1.8 + 1.8 + + + + + + + samples-other + + + env + samples-other - - samples/client/petstore/php/SwaggerClient-php samples/client/petstore/ruby samples/client/petstore/scala samples/client/petstore/akka-scala samples/client/petstore/javascript samples/client/petstore/python - samples/client/petstore/python-asyncio - - - - - - samples/client/petstore/typescript-angular-v4/npm samples/client/petstore/typescript-angular-v4.3/npm samples/client/petstore/typescript-angular-v5/npm samples/client/petstore/typescript-angular-v6/npm - + samples/server/petstore/java-play-framework-api-package-override + samples/server/petstore/java-play-framework-controller-only + samples/server/petstore/java-play-framework + samples/server/petstore/java-play-framework-no-bean-validation + samples/server/petstore/java-play-framework-no-exception-handling + samples/server/petstore/java-play-framework-no-interface + samples/server/petstore/java-play-framework-no-swagger-ui + samples/server/petstore/java-play-framework-no-wrap-calls + samples/server/petstore/scala-lagom-server + samples/server/petstore/scalatra + + + + samples + + + env + samples + + + @@ -992,8 +1062,8 @@ 2.11.1 3.3.0 1.6.12 - 2.14.0 - 1.5.0 + 2.15.0 + 1.6.0 4.13.2 2.15.3 1.0.0 @@ -1004,7 +1074,7 @@ 7.8.0 3.0.0 1.49 - 5.6.0 + 5.7.0 0.10.2 2.2 4.5.14 diff --git a/pom.xml.jenkins b/pom.xml.jenkins deleted file mode 100644 index d7958696ceb..00000000000 --- a/pom.xml.jenkins +++ /dev/null @@ -1,1037 +0,0 @@ - - - org.sonatype.oss - oss-parent - 5 - - 4.0.0 - io.swagger - swagger-codegen-project - pom - swagger-codegen-project - 2.4.37-SNAPSHOT - https://github.com/swagger-api/swagger-codegen - - scm:git:git@github.com:swagger-api/swagger-codegen.git - scm:git:git@github.com:swagger-api/swagger-codegen.git - https://github.com/swagger-api/swagger-codegen - - - - fehguy - Tony Tam - fehguy@gmail.com - - - wing328 - William Cheng - wing328hk@gmail.com - - - - github - https://github.com/swagger-api/swagger-codegen/issues - - - - swagger-swaggersocket - https://groups.google.com/forum/#!forum/swagger-swaggersocket - - - - - Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0.html - repo - - - - src/main/java - target/classes - - - org.jvnet.wagon-svn - wagon-svn - 1.12 - - - org.apache.maven.wagon - wagon-ssh-external - 3.5.2 - - - org.apache.maven.wagon - wagon-webdav - 1.0-beta-2 - - - install - target - ${project.artifactId}-${project.version} - - - net.revelc.code - formatter-maven-plugin - - - - 1.8 - 1.8 - 1.8 - LF - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${surefire-version} - - none:none - -XX:+StartAttachListener - - - - test-testng - test - - test - - - none:none - org.testng:testng - - - - - - maven-dependency-plugin - - - package - - copy-dependencies - - - ${project.build.directory}/lib - - - - - - maven-compiler-plugin - 3.10.1 - - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-jar-plugin - 3.3.0 - - - - development - ${project.url} - ${project.version} - io.swagger - - - - - - org.apache.maven.plugins - maven-site-plugin - 3.12.0 - - - org.apache.maven.plugins - maven-release-plugin - 2.5.3 - - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.5.0 - - true - 1.8 - UTF-8 - 1g - ${javadoc.package.exclude} - - - - attach-javadocs - verify - - jar - - - - - - org.apache.maven.plugins - maven-source-plugin - 3.2.1 - - - attach-sources - verify - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.2.1 - - - enforce-versions - - enforce - - - - - 3.2.5 - - - - - - - - - - - net.revelc.code - formatter-maven-plugin - 0.5.2 - - - - - - - release-profile - - true - - - - - net.alchim31.maven - scala-maven-plugin - - - - compile - testCompile - - - - - - - org.codehaus.mojo - build-helper-maven-plugin - 3.3.0 - - - add-source - prepare-package - - add-source - - - - src/main/scala - - - - - - - - - - release-sign-artifacts - - - performRelease - true - - - - - - org.apache.maven.plugins - maven-gpg-plugin - 3.0.1 - - - sign-artifacts - verify - - sign - - - - - - - - - - android-client - - - env - java - - - - samples/client/petstore/android/volley - - - - bash-client - - - env - java - - - - samples/client/petstore/bash - - - - clojure-client - - - env - clojure - - - - samples/client/petstore/clojure - - - - haskell-http-client - - - env - haskell-http-client - - - - samples/client/petstore/haskell-http-client - - - - haskell-http-client-integration-test - - - env - haskell-http-client - - - - samples/client/petstore/haskell-http-client/tests-integration - - - - java-client-jersey1 - - - env - java - - - - samples/client/petstore/java/jersey1 - - - - java-client-jersey2 - - - env - java - - - - samples/client/petstore/java/jersey2 - - - - java-client-okhttp-gson - - - env - java - - - - samples/client/petstore/java/okhttp-gson - - - - java-client-okhttp-gson-parcelable - - - env - java - - - - samples/client/petstore/java/okhttp-gson/parcelableModel - - - - java-client-retrofit - - - env - java - - - - samples/client/petstore/java/retrofit - - - - java-client-retrofit2 - - - env - java - - - - samples/client/petstore/java/retrofit2 - - - - java-client-retrofit2-rx - - - env - java - - - - samples/client/petstore/java/retrofit2rx - - - - java-client-feign - - - env - java - - - - samples/client/petstore/java/feign - - - - javascript-client - - - env - javascript - - - - samples/client/petstore/javascript - - - - scala-client - - - env - scala - - - - samples/client/petstore/scala - - - - objc-client - - - env - objc - - - - samples/client/petstore/objc/default/SwaggerClientTests - - - - swift-client - - - env - swift - - - - samples/client/petstore/swift/default/SwaggerClientTests - - - - java-msf4j-server - - - env - java - - - - samples/server/petstore/java-msf4/ - - - - jaxrs-cxf-server - - - env - java - - - - samples/server/petstore/jaxrs-cxf - - - - jaxrs-resteasy-server - - - env - java - - - - samples/server/petstore/jaxrs-resteasy/default - - - - jaxrs-resteasy-server-joda - - - env - java - - - - samples/server/petstore/jaxrs-resteasy/joda - - - - jaxrs-resteasy-eap-server - - - env - java - - - - samples/server/petstore/jaxrs-resteasy/eap - - - - jaxrs-resteasy-eap-server-java8 - - - env - java - - - - samples/server/petstore/jaxrs-resteasy/eap-java8 - - - - jaxrs-resteasy-eap-server-joda - - - env - java - - - - samples/server/petstore/jaxrs-resteasy/eap-joda - - - - jaxrs-server - - - env - java - - - - samples/server/petstore/jaxrs/jersey2 - - - - jaxrs-server-jersey1 - - - env - java - - - - samples/server/petstore/jaxrs/jersey1 - - - - typescript-fetch-client-tests-default - - - env - java - - - - samples/client/petstore/typescript-fetch/tests/default - - - - typescript-fetch-client-builds-default - - - env - java - - - - samples/client/petstore/typescript-fetch/builds/default - - - - typescript-fetch-client-builds-es6-target - - - env - java - - - - samples/client/petstore/typescript-fetch/builds/es6-target - - - - typescript-fetch-client-builds-with-npm-version - - - env - java - - - - samples/client/petstore/typescript-fetch/builds/with-npm-version - - - - typescript-angularjs-client - - - env - java - - - - samples/client/petstore/typescript-angularjs/npm - - - - typescript-node-npm-client - - - env - java - - - - samples/client/petstore/typescript-node/npm - - - - python-client - - - env - java - - - - samples/client/petstore/python - - - - ruby-client - - - env - java - - - - samples/client/petstore/ruby - - - - go-client - - - env - java - - - - samples/client/petstore/go - - - - spring-mvc - - - env - java - - - - samples/server/petstore/spring-mvc - - - - springboot-useoptional - - - env - java - - - - samples/server/petstore/springboot-useoptional - - - - springboot-beanvalidation - - - env - java - - - - samples/server/petstore/springboot-beanvalidation - - - - springboot - - - env - java - - - - samples/server/petstore/springboot - - - - spring-cloud - - - env - java - - - - samples/client/petstore/spring-cloud - - - - scalatra-server - - - env - java - - - - samples/server/petstore/scalatra - - - - java-inflector - - - env - java - - - - samples/server/petstore/java-inflector - - - - java-undertowr - - - env - java - - - - samples/server/petstore/undertow - - - - samples - - - env - samples - - - - - - - - samples/client/petstore/akka-scala - - - - samples/client/petstore/java/feign - samples/client/petstore/java/jersey1 - samples/client/petstore/java/jersey2 - samples/client/petstore/java/okhttp-gson - samples/client/petstore/java/retrofit - samples/client/petstore/java/retrofit2 - samples/client/petstore/java/retrofit2rx - samples/client/petstore/jaxrs-cxf-client - samples/client/petstore/java/resttemplate - samples/client/petstore/java/resttemplate-withXml - samples/client/petstore/java/vertx - samples/client/petstore/java/resteasy - samples/client/petstore/java/google-api-client - - - - - - samples/server/petstore/java-vertx/rx - samples/server/petstore/java-vertx/async - samples/server/petstore/java-inflector - samples/server/petstore/java-pkmst - samples/server/petstore/java-play-framework - samples/server/petstore/java-play-framework-no-wrap-calls - samples/server/petstore/java-play-framework-no-swagger-ui - samples/server/petstore/java-play-framework-no-interface - samples/server/petstore/java-play-framework-no-exception-handling - samples/server/petstore/java-play-framework-no-bean-validation - - samples/server/petstore/java-play-framework-controller-only - samples/server/petstore/java-play-framework-api-package-override - samples/server/petstore/undertow - samples/server/petstore/jaxrs/jersey1 - samples/server/petstore/jaxrs/jersey2 - samples/server/petstore/jaxrs/jersey1-useTags - samples/server/petstore/jaxrs/jersey2-useTags - samples/server/petstore/jaxrs-datelib-j8 - samples/server/petstore/jaxrs-resteasy/default - samples/server/petstore/jaxrs-resteasy/eap - samples/server/petstore/jaxrs-resteasy/eap-joda - samples/server/petstore/jaxrs-resteasy/eap-java8 - samples/server/petstore/jaxrs-resteasy/joda - samples/server/petstore/spring-mvc - samples/server/petstore/spring-mvc-j8-async - samples/server/petstore/spring-mvc-j8-localdatetime - samples/client/petstore/spring-cloud - samples/server/petstore/springboot - samples/server/petstore/springboot-beanvalidation - samples/server/petstore/springboot-useoptional - samples/server/petstore/jaxrs-cxf - samples/server/petstore/jaxrs-cxf-annotated-base-path - samples/server/petstore/jaxrs-cxf-cdi - samples/server/petstore/jaxrs-cxf-non-spring-app - - samples/server/petstore/jaxrs-spec-interface - samples/server/petstore/scala-lagom-server - samples/server/petstore/scalatra - - - - - modules/swagger-codegen - modules/swagger-codegen-cli - modules/swagger-codegen-maven-plugin - modules/swagger-generator - - - target/site - - - net.alchim31.maven - scala-maven-plugin - ${scala-maven-plugin-version} - - - org.apache.maven.plugins - maven-jxr-plugin - 3.3.0 - - true - - - - org.apache.maven.plugins - maven-project-info-reports-plugin - 3.4.2 - - - - project-team - - - - - - - - - - org.yaml - snakeyaml - ${snakeyaml-version} - - - junit - junit - ${junit-version} - test - - - org.testng - testng - ${testng-version} - test - - - org.jmockit - jmockit - ${jmockit-version} - test - - - org.mockito - mockito-core - ${mockito-version} - test - - - org.apache.httpcomponents - httpclient - ${httpclient-version} - - - org.json - json - ${json-version} - - - - - - sonatype-snapshots - https://oss.sonatype.org/content/repositories/snapshots - - true - - - - - 1.0.68 - 2.11.1 - 3.3.0 - 1.6.12 - 2.11.0 - 1.5.0 - 4.13.2 - 2.15.3 - 1.0.0 - 3.13.0 - 1.7.36 - 3.2.1 - 1.15 - 7.8.0 - 3.0.0 - 1.49 - 5.6.0 - 0.10.2 - 2.2 - 4.5.14 - 20231013 - - diff --git a/samples/server/petstore/undertow/dependency-reduced-pom.xml b/samples/server/petstore/undertow/dependency-reduced-pom.xml index f2613cc6b43..bb14c4e90fa 100644 --- a/samples/server/petstore/undertow/dependency-reduced-pom.xml +++ b/samples/server/petstore/undertow/dependency-reduced-pom.xml @@ -1,114 +1,130 @@ - - - - oss-parent - org.sonatype.oss - 5 - ../pom.xml/pom.xml - - 4.0.0 - io.swagger - swagger-undertow-server - swagger-undertow-server - 1.0.0 - - 2.2.0 - - - install - target - ${project.artifactId}-${project.version} - - - maven-shade-plugin - 2.4.3 - - - package - - shade - - - - - - - - - - - maven-jar-plugin - 2.6 - - - - com.networknt.server.Server - - - - - - org.codehaus.mojo - exec-maven-plugin - 1.4.0 - - java - - -jar - target/${project.build.finalName}.jar - - - - - - - - - sonatype-snapshots - https://oss.sonatype.org/content/repositories/snapshots - - - - - junit - junit - 4.12 - test - - - hamcrest-core - org.hamcrest - - - - - org.apache.httpcomponents - httpclient - 4.5.2 - test - - - - 4.1.2 - 1.10 - 3.1.2 - 2.2.0 - UTF-8 - 1.2 - 4.5.2 - 1.4.0.Final - 0.5.2 - 2.6 - 1.8 - 2.8.2 - 0.1.1 - 1.5.10 - 2.1.0-beta.124 - 1.7.21 - 2.5 - 1.2.9 - 4.12 - 4.5.3 - - - + + + + oss-parent + org.sonatype.oss + 5 + ../pom.xml/pom.xml + + 4.0.0 + io.swagger + swagger-undertow-server + swagger-undertow-server + 1.0.0 + + install + target + ${project.artifactId}-${project.version} + + + maven-enforcer-plugin + 3.0.0-M1 + + + enforce-maven + + enforce + + + + + 2.2.0 + + + + + + + + maven-shade-plugin + 2.4.3 + + + package + + shade + + + + + + + + + + + maven-jar-plugin + 2.6 + + + + com.networknt.server.Server + + + + + + org.codehaus.mojo + exec-maven-plugin + 1.4.0 + + java + + -jar + target/${project.build.finalName}.jar + + + + + + + + + sonatype-snapshots + https://oss.sonatype.org/content/repositories/snapshots + + + + + junit + junit + 4.12 + test + + + hamcrest-core + org.hamcrest + + + + + org.apache.httpcomponents + httpclient + 4.5.2 + test + + + + 4.1.2 + 1.10 + 3.1.2 + 2.2.0 + UTF-8 + 1.2 + 4.5.2 + 1.4.0.Final + 0.5.2 + 2.6 + 1.8 + 2.11.4 + 0.1.1 + 1.5.10 + 2.1.0-beta.124 + 1.7.21 + 2.5 + 1.2.9 + 4.12 + 4.5.3 + + +