Skip to content

Commit 896a637

Browse files
author
Zihlu Wang
committed
chore: Added third-party maven repository server.
This project now can be accessed from coding maven repository for Chinese mainland.
1 parent e1f2b93 commit 896a637

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed

pom.xml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,71 @@
442442
</plugins>
443443
</build>
444444
</profile>
445+
446+
<profile>
447+
<id>coding</id>
448+
<build>
449+
<plugins>
450+
<plugin>
451+
<groupId>org.apache.maven.plugins</groupId>
452+
<artifactId>maven-source-plugin</artifactId>
453+
<version>${source-plugin.version}</version>
454+
<executions>
455+
<execution>
456+
<id>attach-sources</id>
457+
<goals>
458+
<goal>jar</goal>
459+
</goals>
460+
</execution>
461+
</executions>
462+
</plugin>
463+
<!-- Javadoc -->
464+
<plugin>
465+
<groupId>org.apache.maven.plugins</groupId>
466+
<artifactId>maven-javadoc-plugin</artifactId>
467+
<version>${javadoc-plugin.version}</version>
468+
<executions>
469+
<execution>
470+
<id>attach-javadocs</id>
471+
<goals>
472+
<goal>jar</goal>
473+
</goals>
474+
</execution>
475+
</executions>
476+
</plugin>
477+
<plugin>
478+
<groupId>org.apache.maven.plugins</groupId>
479+
<artifactId>maven-gpg-plugin</artifactId>
480+
<version>${gpg-plugin.version}</version>
481+
<executions>
482+
<execution>
483+
<phase>verify</phase>
484+
<goals>
485+
<goal>sign</goal>
486+
</goals>
487+
</execution>
488+
</executions>
489+
</plugin>
490+
<plugin>
491+
<groupId>org.apache.maven.plugins</groupId>
492+
<artifactId>maven-jar-plugin</artifactId>
493+
<version>${jar-plugin.version}</version>
494+
<configuration>
495+
<excludes>
496+
<exclude>*.xml</exclude>
497+
</excludes>
498+
</configuration>
499+
</plugin>
500+
</plugins>
501+
</build>
502+
<distributionManagement>
503+
<repository>
504+
<id>codecrafters-general-public</id>
505+
<name>public</name>
506+
<url>https://codecrafters-maven.pkg.coding.net/repository/general/public/</url>
507+
</repository>
508+
</distributionManagement>
509+
</profile>
445510
</profiles>
446511

447512
</project>

0 commit comments

Comments
 (0)