Skip to content

Commit 19d11de

Browse files
committed
Maven central release
1 parent 0326aba commit 19d11de

File tree

2 files changed

+74
-34
lines changed

2 files changed

+74
-34
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@ It encourages to adapt to existing implementations instead the other way around.
88
# Frameworks
99
## Setup
1010

11-
Packages are hosted on GitHub. [Authentication](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry#authenticating-to-github-packages) is required.
12-
1311
### Maven
1412

1513
```xml
1614
<properties>
17-
<myndocs.oauth.version>0.7.0</myndocs.oauth.version>
15+
<myndocs.oauth.version>0.7.1</myndocs.oauth.version>
1816
</properties>
1917

2018
<dependencies>

pom.xml

Lines changed: 73 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,33 @@
88
<artifactId>kotlin-oauth2-server</artifactId>
99
<packaging>pom</packaging>
1010
<version>0.7.1</version>
11+
<name>Kotlin OAuth2 server</name>
12+
<description>Flexible OAuth2 implementation</description>
13+
<url>https://github.com/myndocs/kotlin-oauth2-server</url>
14+
<licenses>
15+
<license>
16+
<name>MIT License</name>
17+
<url>http://www.opensource.org/licenses/mit-license.php</url>
18+
<distribution>repo</distribution>
19+
</license>
20+
</licenses>
21+
<developers>
22+
<developer>
23+
<email>[email protected]</email>
24+
</developer>
25+
</developers>
26+
<scm>
27+
<connection>scm:git:https://github.com/myndocs/kotlin-oauth2-server.git</connection>
28+
<developerConnection>scm:git:https://github.com/myndocs/kotlin-oauth2-server.git</developerConnection>
29+
<url>https://github.com/myndocs/kotlin-oauth2-server.git</url>
30+
<tag>HEAD</tag>
31+
</scm>
1132

1233
<properties>
1334
<kotlin.version>1.3.31</kotlin.version>
1435
<maven.compiler.source>1.8</maven.compiler.source>
1536
<maven.compiler.target>1.8</maven.compiler.target>
37+
<dokka.version>1.6.21</dokka.version>
1638
</properties>
1739

1840
<modules>
@@ -99,7 +121,7 @@
99121
<plugin>
100122
<groupId>org.apache.maven.plugins</groupId>
101123
<artifactId>maven-source-plugin</artifactId>
102-
<version>3.0.1</version>
124+
<version>3.2.0</version>
103125
<executions>
104126
<execution>
105127
<id>attach-sources</id>
@@ -110,51 +132,71 @@
110132
</executions>
111133
</plugin>
112134
<plugin>
113-
<groupId>org.apache.maven.plugins</groupId>
114-
<artifactId>maven-javadoc-plugin</artifactId>
115-
<version>3.0.1</version>
135+
<groupId>org.jetbrains.dokka</groupId>
136+
<artifactId>dokka-maven-plugin</artifactId>
137+
<version>${dokka.version}</version>
116138
<executions>
117139
<execution>
118-
<id>attach-javadocs</id>
140+
<phase>pre-site</phase>
119141
<goals>
120-
<goal>jar</goal>
142+
<goal>dokka</goal>
121143
</goals>
122144
</execution>
123145
</executions>
146+
<configuration>
147+
<dokkaPlugins>
148+
<plugin>
149+
<groupId>org.jetbrains.dokka</groupId>
150+
<artifactId>kotlin-as-java-plugin</artifactId>
151+
<version>${dokka.version}</version>
152+
</plugin>
153+
</dokkaPlugins>
154+
</configuration>
124155
</plugin>
125156
<plugin>
126157
<groupId>org.apache.maven.plugins</groupId>
127158
<artifactId>maven-surefire-plugin</artifactId>
128159
<version>2.22.0</version>
129160
</plugin>
130-
<plugin>
131-
<groupId>org.apache.maven.plugins</groupId>
132-
<artifactId>maven-gpg-plugin</artifactId>
133-
<version>1.5</version>
134-
<executions>
135-
<execution>
136-
<id>sign-artifacts</id>
137-
<phase>verify</phase>
138-
<goals>
139-
<goal>sign</goal>
140-
</goals>
141-
</execution>
142-
</executions>
143-
</plugin>
144-
<plugin>
145-
<groupId>org.sonatype.plugins</groupId>
146-
<artifactId>nexus-staging-maven-plugin</artifactId>
147-
<version>1.6.7</version>
148-
<extensions>true</extensions>
149-
<configuration>
150-
<serverId>ossrh</serverId>
151-
<nexusUrl>https://oss.sonatype.org</nexusUrl>
152-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
153-
</configuration>
154-
</plugin>
155161
</plugins>
156162
</build>
157163

164+
<profiles>
165+
<profile>
166+
<id>release</id>
167+
<build>
168+
<plugins>
169+
170+
<plugin>
171+
<groupId>org.apache.maven.plugins</groupId>
172+
<artifactId>maven-gpg-plugin</artifactId>
173+
<version>1.5</version>
174+
<executions>
175+
<execution>
176+
<id>sign-artifacts</id>
177+
<phase>verify</phase>
178+
<goals>
179+
<goal>sign</goal>
180+
</goals>
181+
</execution>
182+
</executions>
183+
</plugin>
184+
<plugin>
185+
<groupId>org.sonatype.plugins</groupId>
186+
<artifactId>nexus-staging-maven-plugin</artifactId>
187+
<version>1.6.7</version>
188+
<extensions>true</extensions>
189+
<configuration>
190+
<serverId>ossrh</serverId>
191+
<nexusUrl>https://oss.sonatype.org</nexusUrl>
192+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
193+
</configuration>
194+
</plugin>
195+
</plugins>
196+
</build>
197+
</profile>
198+
</profiles>
199+
158200
<distributionManagement>
159201
<repository>
160202
<id>ossrh</id>

0 commit comments

Comments
 (0)