From 93f929d84b11e59090a644a6c9396208c4541af6 Mon Sep 17 00:00:00 2001 From: rgheorghe Date: Fri, 27 Oct 2023 13:43:18 +0300 Subject: [PATCH] Modified pom.xml & release.properties --- pom.xml | 6 +- pom.xml.releaseBackup | 473 ++++++++++++++++++++++++++++++++++++++++++ release.properties | 11 +- 3 files changed, 483 insertions(+), 7 deletions(-) create mode 100644 pom.xml.releaseBackup diff --git a/pom.xml b/pom.xml index e45bff45e..ad270af3d 100644 --- a/pom.xml +++ b/pom.xml @@ -465,9 +465,9 @@ - scm:git:file://localhost:8080/repository/maven-snapshots - scm:git:file://localhost:8080/repository/maven-snapshots - http://localhost:8080/repository/maven-snapshots + scm:git:http://localhost:8080/repository/maven-snapshots + scm:git:http://localhost:8080/repository/maven-snapshots + https://github.com/surtexx/spring-petclinic.git spring-petclinic-3.1.4 diff --git a/pom.xml.releaseBackup b/pom.xml.releaseBackup new file mode 100644 index 000000000..d619273eb --- /dev/null +++ b/pom.xml.releaseBackup @@ -0,0 +1,473 @@ + + + 4.0.0 + org.springframework.samples + spring-petclinic + 3.1.4-SNAPSHOT + jar + + + nexus-snapshots + http://localhost:8080/repository/maven-snapshots/ + + + nexus-releases + http://localhost:8080/repository/maven-releases/ + + + + org.springframework.boot + spring-boot-starter-parent + 3.1.3 + + petclinic + + + + 17 + UTF-8 + UTF-8 + + 2023-10-27T10:26:47Z + + + 5.2.3 + 4.7.0 + + 10.11.0 + 0.8.10 + 0.2.29 + 1.0.0 + 3.2.2 + + 0.0.39 + + + + + + + org.springframework.boot + spring-boot-starter-actuator + + + org.springframework.boot + spring-boot-starter-cache + + + org.springframework.boot + spring-boot-starter-data-jpa + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-validation + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.h2database + h2 + runtime + + + com.mysql + mysql-connector-j + runtime + + + org.postgresql + postgresql + runtime + + + + + javax.cache + cache-api + + + com.github.ben-manes.caffeine + caffeine + + + + + org.webjars.npm + bootstrap + ${webjars-bootstrap.version} + + + org.webjars.npm + font-awesome + ${webjars-font-awesome.version} + + + + + org.springframework.boot + spring-boot-devtools + test + + + org.springframework.boot + spring-boot-testcontainers + test + + + org.springframework.boot + spring-boot-docker-compose + test + + + org.testcontainers + junit-jupiter + test + + + org.testcontainers + mysql + test + + + + jakarta.xml.bind + jakarta.xml.bind-api + + + + + + + + org.testcontainers + testcontainers-bom + ${testcontainers.version} + pom + import + + + + + + + + maven-deploy-plugin + 2.8.1 + + + default-deploy + deploy + + deploy + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-java + + enforce + + + + + This build requires at least Java ${java.version}, update your JVM, and run the build again + ${java.version} + + + + + + + + io.spring.javaformat + spring-javaformat-maven-plugin + ${spring-format.version} + + + validate + + validate + + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + ${maven-checkstyle.version} + + + com.puppycrawl.tools + checkstyle + ${checkstyle.version} + + + + + + + + + org.graalvm.buildtools + native-maven-plugin + + + org.springframework.boot + spring-boot-maven-plugin + + + + + build-info + + + + ${project.build.sourceEncoding} + ${project.reporting.outputEncoding} + ${java.version} + ${java.version} + + + + + + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + + prepare-agent + + + + report + prepare-package + + report + + + + + + + + io.github.git-commit-id + git-commit-id-maven-plugin + + false + false + + + + + + + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0 + + + + + + spring-snapshots + Spring Snapshots + https://repo.spring.io/snapshot + + true + + + + spring-milestones + Spring Milestones + https://repo.spring.io/milestone + + false + + + + + + + spring-snapshots + Spring Snapshots + https://repo.spring.io/snapshot + + true + + + + spring-milestones + Spring Milestones + https://repo.spring.io/milestone + + false + + + + + + + css + + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack + + generate-resources + + unpack + + + + + org.webjars.npm + bootstrap + ${webjars-bootstrap.version} + + + ${project.build.directory}/webjars + + + + + + com.gitlab.haynes + libsass-maven-plugin + ${libsass.version} + + + generate-resources + + + compile + + + + + ${basedir}/src/main/scss/ + ${basedir}/src/main/resources/static/resources/css/ + ${project.build.directory}/webjars/META-INF/resources/webjars/bootstrap/${webjars-bootstrap.version}/scss/ + + + + + + + m2e + + + m2e.version + + + + + + + + org.eclipse.m2e + lifecycle-mapping + ${lifecycle-mapping} + + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + [1,) + + check + + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + [1,) + + build-info + + + + + + + + + io.spring.javaformat + spring-javaformat-maven-plugin + [0,) + + validate + + + + + + + + + + + + + + + + + scm:git:file://localhost:8080/repository/maven-snapshots + scm:git:file://localhost:8080/repository/maven-snapshots + http://localhost:8080/repository/maven-snapshots + + + diff --git a/release.properties b/release.properties index 62e3c8bf1..4ddb90e34 100644 --- a/release.properties +++ b/release.properties @@ -1,13 +1,15 @@ #release configuration -#Fri Oct 27 13:31:01 EEST 2023 -completedPhase=check-poms +#Fri Oct 27 13:37:33 EEST 2023 +completedPhase=run-preparation-goals exec.activateProfiles=nexus exec.pomFileName=pom.xml exec.snapshotReleasePluginAllowed=false pinExternals=false preparationGoals=clean verify -project.scm.org.springframework.samples\:spring-petclinic.connection=scm\:git\:http\://localhost\:8080/repository/maven-snapshots -project.scm.org.springframework.samples\:spring-petclinic.developerConnection=scm\:git\:http\://localhost\:8080/repository/maven-snapshots +project.dev.org.springframework.samples\:spring-petclinic=3.1.5-SNAPSHOT +project.rel.org.springframework.samples\:spring-petclinic=3.1.4 +project.scm.org.springframework.samples\:spring-petclinic.connection=scm\:git\:file\://localhost\:8080/repository/maven-snapshots +project.scm.org.springframework.samples\:spring-petclinic.developerConnection=scm\:git\:file\://localhost\:8080/repository/maven-snapshots project.scm.org.springframework.samples\:spring-petclinic.tag=HEAD project.scm.org.springframework.samples\:spring-petclinic.url=http\://localhost\:8080/repository/maven-snapshots projectVersionPolicyConfig=${projectVersionPolicyConfig}\n @@ -20,5 +22,6 @@ scm.commentPrefix=[maven-release-plugin] scm.developmentCommitComment=@{prefix} prepare for next development iteration scm.releaseCommitComment=@{prefix} prepare release @{releaseLabel} scm.rollbackCommitComment=@{prefix} rollback the release of @{releaseLabel} +scm.tag=spring-petclinic-3.1.4 scm.tagNameFormat=@{project.artifactId}-@{project.version} scm.url=scm\:git\:http\://localhost\:8080/repository/maven-snapshots