Skip to content

Commit 81e07ff

Browse files
committed
Update to maven central
1 parent c6c5a92 commit 81e07ff

File tree

1 file changed

+90
-3
lines changed

1 file changed

+90
-3
lines changed

pom.xml

Lines changed: 90 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,28 @@
2222
<module>blibli-backend-framework-newrelic</module>
2323
</modules>
2424

25+
<scm>
26+
<connection>scm:git:[email protected]:bliblidotcom/blibli-backend-framework.git</connection>
27+
<developerConnection>scm:git:[email protected]:bliblidotcom/blibli-backend-framework.git</developerConnection>
28+
<url>https://github.com/bliblidotcom/blibli-backend-framework</url>
29+
</scm>
30+
31+
<developers>
32+
<developer>
33+
<name>Eko Kurniawan Khannedy</name>
34+
<email>[email protected]</email>
35+
<organization>Blibli.com</organization>
36+
<organizationUrl>https://www.blibli.com</organizationUrl>
37+
</developer>
38+
</developers>
39+
40+
<licenses>
41+
<license>
42+
<name>The Apache License, Version 2.0</name>
43+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
44+
</license>
45+
</licenses>
46+
2547
<parent>
2648
<groupId>org.springframework.boot</groupId>
2749
<artifactId>spring-boot-starter-parent</artifactId>
@@ -160,11 +182,76 @@
160182
</dependencies>
161183
</dependencyManagement>
162184

185+
<build>
186+
<plugins>
187+
<plugin>
188+
<groupId>org.apache.maven.plugins</groupId>
189+
<artifactId>maven-source-plugin</artifactId>
190+
<version>2.2.1</version>
191+
<executions>
192+
<execution>
193+
<id>attach-sources</id>
194+
<goals>
195+
<goal>jar-no-fork</goal>
196+
</goals>
197+
</execution>
198+
</executions>
199+
</plugin>
200+
<plugin>
201+
<groupId>org.apache.maven.plugins</groupId>
202+
<artifactId>maven-javadoc-plugin</artifactId>
203+
<version>2.9.1</version>
204+
<executions>
205+
<execution>
206+
<id>attach-javadocs</id>
207+
<goals>
208+
<goal>jar</goal>
209+
</goals>
210+
</execution>
211+
</executions>
212+
</plugin>
213+
<plugin>
214+
<groupId>org.sonatype.plugins</groupId>
215+
<artifactId>nexus-staging-maven-plugin</artifactId>
216+
<version>1.6.7</version>
217+
<extensions>true</extensions>
218+
<configuration>
219+
<serverId>ossrh</serverId>
220+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
221+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
222+
</configuration>
223+
</plugin>
224+
<plugin>
225+
<groupId>org.apache.maven.plugins</groupId>
226+
<artifactId>maven-gpg-plugin</artifactId>
227+
<version>1.5</version>
228+
<executions>
229+
<execution>
230+
<id>sign-artifacts</id>
231+
<phase>verify</phase>
232+
<goals>
233+
<goal>sign</goal>
234+
</goals>
235+
<configuration>
236+
<gpgArguments>
237+
<arg>--pinentry-mode</arg>
238+
<arg>loopback</arg>
239+
</gpgArguments>
240+
</configuration>
241+
</execution>
242+
</executions>
243+
</plugin>
244+
</plugins>
245+
</build>
246+
163247
<distributionManagement>
248+
<snapshotRepository>
249+
<id>ossrh</id>
250+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
251+
</snapshotRepository>
164252
<repository>
165-
<id>github</id>
166-
<name>GitHub OWNER Apache Maven Packages</name>
167-
<url>https://maven.pkg.github.com/bliblidotcom/blibli-backend-framework</url>
253+
<id>ossrh</id>
254+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
168255
</repository>
169256
</distributionManagement>
170257

0 commit comments

Comments
 (0)