Skip to content

Commit

Permalink
add GitHub Packages for Maven
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyBling committed Nov 15, 2019
1 parent ae728c5 commit 9106fd1
Showing 1 changed file with 36 additions and 3 deletions.
39 changes: 36 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.gitee.zhousiwei</groupId>
<artifactId>fastjson-spring-boot-starter</artifactId>
<version>10.10.10.RELEASE</version>
<version>10.10.10-RELEASE</version>
<packaging>jar</packaging>

<name>fastjson-spring-boot-starter</name>
Expand Down Expand Up @@ -113,8 +113,8 @@
</licenses>

<scm>
<url>https://gitee.com/zhousiwei/fastjson-spring-boot-starter</url>
<connection>git@gitee.com:zhousiwei/fastjson-spring-boot-starter.git</connection>
<url>https://github.com/JoeyBling/fastjson-spring-boot-starter/</url>
<connection>git@github.com:JoeyBling/fastjson-spring-boot-starter.git</connection>
<developerConnection>https://zhousiwei.gitee.io/</developerConnection>
</scm>

Expand Down Expand Up @@ -152,4 +152,37 @@
</pluginRepository>
</pluginRepositories>

<!-- Apache Maven for use with GitHub Packages Start -->
<distributionManagement>
<repository>
<id>github</id>
<name>GitHub OWNER Apache Maven Packages</name>
<url>https://maven.pkg.github.com/JoeyBling/fastjson-spring-boot-starter</url>
</repository>
</distributionManagement>

<profiles>
<profile>
<id>github</id>
<repositories>
<repository>
<id>central</id>
<url>https://repo1.maven.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>github</id>
<name>GitHub OWNER Apache Maven Packages</name>
<url>https://maven.pkg.github.com/JoeyBling/</url>
</repository>
</repositories>
</profile>
</profiles>
<!-- Apache Maven for use with GitHub Packages End -->

</project>

0 comments on commit 9106fd1

Please sign in to comment.