Skip to content

Commit 3493397

Browse files
committed
fix
1 parent 0c6292e commit 3493397

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
<distributionManagement>
4545
<repository>
4646
<id>github</id>
47+
<name>GitHub OWNER Apache Maven Packages</name>
4748
<url>https://maven.pkg.github.com/Mryan2005/SimplifiedJava</url>
4849
<snapshots>
4950
<enabled>true</enabled>
@@ -148,14 +149,13 @@
148149
</execution>
149150
</executions>
150151
</plugin>
151-
<!-- release to github -->
152+
<!-- 发布插件 -->
152153
<plugin>
153154
<groupId>org.apache.maven.plugins</groupId>
154-
<artifactId>maven-compiler-plugin</artifactId>
155-
<version>3.13.0</version> <!-- 显式指定一个兼容的版本 -->
155+
<artifactId>maven-deploy-plugin</artifactId>
156+
<version>2.8.2</version>
156157
<configuration>
157-
<source>${maven.compiler.source}</source>
158-
<target>${maven.compiler.target}</target>
158+
<altDeploymentRepository>github::default::https://maven.pkg.github.com/Mryan2005/SimplifiedJava</altDeploymentRepository>
159159
</configuration>
160160
</plugin>
161161
</plugins>

0 commit comments

Comments
 (0)