mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 15:25:49 +00:00
setting maven deploy to nexus3
This commit is contained in:
parent
fa61104473
commit
dd917d1935
1 changed files with 24 additions and 10 deletions
34
pom.xml
34
pom.xml
|
@ -19,7 +19,7 @@
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
<!-- Important for reproducible builds. Update using e.g. ./mvnw versions:set -DnewVersion=... -->
|
<!-- Important for reproducible builds. Update using e.g. ./mvnw versions:set -DnewVersion=... -->
|
||||||
<project.build.outputTimestamp>2024-04-06T13:47:40Z</project.build.outputTimestamp>
|
<project.build.outputTimestamp>2024-04-10T07:07:56Z</project.build.outputTimestamp>
|
||||||
|
|
||||||
<!-- Web dependencies -->
|
<!-- Web dependencies -->
|
||||||
<webjars-bootstrap.version>5.3.2</webjars-bootstrap.version>
|
<webjars-bootstrap.version>5.3.2</webjars-bootstrap.version>
|
||||||
|
@ -140,26 +140,36 @@
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
<connection>scm:git:https://github.com/JustFiesta/spring-petclinic.git</connection>
|
|
||||||
<developerConnection>scm:git:https://github.com/JustFiesta/spring-petclinic.git</developerConnection>
|
<developerConnection>scm:git:https://github.com/JustFiesta/spring-petclinic.git</developerConnection>
|
||||||
<url>https://github.com/JustFiesta/spring-petclinic</url>
|
<connection>scm:git:https://github.com/JustFiesta/spring-petclinic.git</connection>
|
||||||
<tag>@{project.version}</tag>
|
<url>https://github.com/JustFiesta/spring-petclinic.git</url>
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
|
<distributionManagement>
|
||||||
|
<snapshotRepository>
|
||||||
|
<id>nexus-snapshots</id>
|
||||||
|
<url>http://localhost:8081/repository/maven-snapshost-private/</url>
|
||||||
|
</snapshotRepository>
|
||||||
|
<repository>
|
||||||
|
<id>nexus-releases</id>
|
||||||
|
<url>http://localhost:8081/repository/maven-releases-private/</url>
|
||||||
|
</repository>
|
||||||
|
</distributionManagement>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-deploy-plugin</artifactId>
|
||||||
|
<version>${maven-deploy-plugin.version}</version>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-release-plugin</artifactId>
|
<artifactId>maven-release-plugin</artifactId>
|
||||||
<version>3.0.1</version>
|
<version>3.0.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<tagNameFormat>v@{project.version}</tagNameFormat>
|
<preparationGoals>package</preparationGoals>
|
||||||
<releaseProfiles>release</releaseProfiles>
|
<scmCommentPrefix>[ci skip]</scmCommentPrefix>
|
||||||
<autoVersionSubmodules>true</autoVersionSubmodules>
|
|
||||||
<pushChanges>true</pushChanges>
|
|
||||||
<useReleaseProfile>false</useReleaseProfile>
|
|
||||||
<goals>pre-integration-test</goals>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
@ -297,6 +307,10 @@
|
||||||
</licenses>
|
</licenses>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>maven-group</id>
|
||||||
|
<url>http://localhost:8081/repository/my-maven-group/</url>
|
||||||
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>spring-snapshots</id>
|
<id>spring-snapshots</id>
|
||||||
<name>Spring Snapshots</name>
|
<name>Spring Snapshots</name>
|
||||||
|
|
Loading…
Reference in a new issue