changed pom.xml file

This commit is contained in:
avmang 2025-01-20 14:25:28 +04:00
parent 54261c1e74
commit 0421bcb750

35
pom.xml
View file

@ -2,6 +2,8 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<scm>
<connection>scm:git:https://github.com/avmang/spring-petclinic.git</connection>
<developerConnection>scm:git:https://github.com/avmang/spring-petclinic.git</developerConnection>
@ -162,6 +164,22 @@
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.1</version> <!-- You can use a newer version if needed -->
<executions>
<execution>
<goals>
<goal>deploy</goal> <!-- Deploy goal is used for deployment -->
</goals>
<configuration>
<!-- Customize the deployment process if needed -->
<altDeploymentRepository>nexus-snapshots::default::http://localhost:8081/#browse/browse:maven-snapshots</altDeploymentRepository>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
@ -317,6 +335,10 @@
</licenses>
<repositories>
<!-- <repository>
<id>maven-group</id>
<url>http://localhost:8081/repository/maven-group/</url>
</repository> -->
<repository>
<snapshots>
<enabled>true</enabled>
@ -412,6 +434,19 @@
<name>m2e.version</name>
</property>
</activation>
<distributionManagement>
<snapshotRepository>
<id>nexus-snapshots</id>
<url>http://localhost:8081/repository/maven-snapshots/</url>
</snapshotRepository>
<repository>
<id>nexus-releases</id>
<url>http://localhost:8081/repository/maven-releases/</url>
</repository>
</distributionManagement>
<build>
<pluginManagement>
<plugins>