打包私库

This commit is contained in:
2026-06-10 14:34:18 +08:00
parent 2137b938d6
commit 2990ddd2ff
2 changed files with 108 additions and 1 deletions

View File

@@ -42,10 +42,53 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>deploy-nexus</id>
<build>
<plugins>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.2</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
<execution>
<id>deploy-to-nexus</id>
<phase>package</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>${nexus.repository.id}</id>
<url>${nexus.repository.url}</url>
</repository>
<snapshotRepository>
<id>${nexus.repository.id}</id>
<url>${nexus.snapshots.repository.url}</url>
</snapshotRepository>
</distributionManagement>
</profile>
</profiles>
<properties>
<maven.compiler.target>11</maven.compiler.target>
<javaparser.version>3.25.10</javaparser.version>
<maven.compiler.source>11</maven.compiler.source>
<nexus.deploy.enabled>false</nexus.deploy.enabled>
<maven.compiler.target>11</maven.compiler.target>
<nexus.repository.id>fantaibao-fantaibao-maven-repository</nexus.repository.id>
<nexus.snapshots.repository.url>${nexus.repository.url}</nexus.snapshots.repository.url>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<nexus.repository.url>http://192.168.3.25:18081/nexus/repository/maven-releases/</nexus.repository.url>
</properties>
</project>