Skip to content

Commit 17f8255

Browse files
committed
Add configuration for uploading OSSRH
1 parent fce7ae2 commit 17f8255

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

pom.xml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,37 @@
2424
<compilerArgument>${compilerArgument}</compilerArgument>
2525
</configuration>
2626
</plugin>
27+
<plugin>
28+
<groupId>org.apache.maven.plugins</groupId>
29+
<artifactId>maven-source-plugin</artifactId>
30+
<version>3.0.1</version>
31+
<executions>
32+
<execution>
33+
<id>attach-sources</id>
34+
<goals>
35+
<goal>jar-no-fork</goal>
36+
</goals>
37+
</execution>
38+
</executions>
39+
</plugin>
40+
<plugin>
41+
<groupId>org.apache.maven.plugins</groupId>
42+
<artifactId>maven-javadoc-plugin</artifactId>
43+
<version>3.1.0</version>
44+
<configuration>
45+
<source>${java.version}</source>
46+
<locale>en_US</locale>
47+
<show>public</show>
48+
</configuration>
49+
<executions>
50+
<execution>
51+
<id>attach-javadocs</id>
52+
<goals>
53+
<goal>jar</goal>
54+
</goals>
55+
</execution>
56+
</executions>
57+
</plugin>
2758
</plugins>
2859
</build>
2960

@@ -39,16 +70,19 @@
3970
<url>https://github.com/WorksApplications/jdartsclone</url>
4071
<description>A library of TRIE structure using Double-Array</description>
4172
<inceptionYear>2017</inceptionYear>
73+
4274
<licenses>
4375
<license>
4476
<name>Apache License, Version 2.0</name>
4577
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
4678
</license>
4779
</licenses>
80+
4881
<organization>
4982
<name>Works Applications Co., Ltd.</name>
5083
<url>http://www.worksap.com/</url>
5184
</organization>
85+
5286
<developers>
5387
<developer>
5488
<id>kazuma-t</id>
@@ -57,6 +91,7 @@
5791
<timezone>Asia/Tokyo</timezone>
5892
</developer>
5993
</developers>
94+
6095
<issueManagement>
6196
<system>GitHub Issues</system>
6297
<url>https://github.com/WorksApplications/jdartsclone/issues</url>
@@ -67,4 +102,15 @@
67102
<url>https://github.com/WorksApplications/jdartsclone</url>
68103
</scm>
69104

105+
<distributionManagement>
106+
<snapshotRepository>
107+
<id>ossrh</id>
108+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
109+
</snapshotRepository>
110+
<repository>
111+
<id>ossrh</id>
112+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
113+
</repository>
114+
</distributionManagement>
115+
70116
</project>

0 commit comments

Comments
 (0)