mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-25 00:25:50 +00:00
Merge branch 'spring-projects:main' into test_improvement
This commit is contained in:
commit
93102aee8e
2 changed files with 17 additions and 3 deletions
|
@ -4,6 +4,6 @@ jdk: oraclejdk8
|
|||
services:
|
||||
- docker
|
||||
before_script:
|
||||
- docker login -u springbuildmaster -p "$DOCKERHUB_PASSWORD"
|
||||
- '[ "${TRAVIS_BRANCH}" = "main" ] && docker login -u springbuildmaster -p "$DOCKERHUB_PASSWORD"'
|
||||
script:
|
||||
- ./mvnw spring-boot:build-image -D spring-boot.build-image.imageName=springio/petclinic && [ "${TRAVIS_BRANCH}" = "main" ] && docker push springio/petclinic
|
||||
|
|
18
pom.xml
18
pom.xml
|
@ -5,12 +5,12 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.springframework.samples</groupId>
|
||||
<artifactId>spring-petclinic</artifactId>
|
||||
<version>2.4.2</version>
|
||||
<version>2.4.5</version>
|
||||
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>2.4.2</version>
|
||||
<version>2.4.5</version>
|
||||
</parent>
|
||||
<name>petclinic</name>
|
||||
|
||||
|
@ -241,6 +241,7 @@
|
|||
<executions>
|
||||
<execution>
|
||||
<phase>generate-resources</phase>
|
||||
<?m2e execute onConfiguration,onIncremental?>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
|
@ -360,6 +361,19 @@
|
|||
<ignore/>
|
||||
</action>
|
||||
</pluginExecution>
|
||||
<pluginExecution>
|
||||
<pluginExecutionFilter>
|
||||
<groupId>io.spring.javaformat</groupId>
|
||||
<artifactId>spring-javaformat-maven-plugin</artifactId>
|
||||
<versionRange>[0,)</versionRange>
|
||||
<goals>
|
||||
<goal>validate</goal>
|
||||
</goals>
|
||||
</pluginExecutionFilter>
|
||||
<action>
|
||||
<ignore/>
|
||||
</action>
|
||||
</pluginExecution>
|
||||
</pluginExecutions>
|
||||
</lifecycleMappingMetadata>
|
||||
</configuration>
|
||||
|
|
Loading…
Reference in a new issue