|
8 | 8 | <artifactId>kotlin-oauth2-server</artifactId> |
9 | 9 | <packaging>pom</packaging> |
10 | 10 | <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 | + |
| 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> |
11 | 32 |
|
12 | 33 | <properties> |
13 | 34 | <kotlin.version>1.3.31</kotlin.version> |
14 | 35 | <maven.compiler.source>1.8</maven.compiler.source> |
15 | 36 | <maven.compiler.target>1.8</maven.compiler.target> |
| 37 | + <dokka.version>1.6.21</dokka.version> |
16 | 38 | </properties> |
17 | 39 |
|
18 | 40 | <modules> |
|
99 | 121 | <plugin> |
100 | 122 | <groupId>org.apache.maven.plugins</groupId> |
101 | 123 | <artifactId>maven-source-plugin</artifactId> |
102 | | - <version>3.0.1</version> |
| 124 | + <version>3.2.0</version> |
103 | 125 | <executions> |
104 | 126 | <execution> |
105 | 127 | <id>attach-sources</id> |
|
110 | 132 | </executions> |
111 | 133 | </plugin> |
112 | 134 | <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> |
116 | 138 | <executions> |
117 | 139 | <execution> |
118 | | - <id>attach-javadocs</id> |
| 140 | + <phase>pre-site</phase> |
119 | 141 | <goals> |
120 | | - <goal>jar</goal> |
| 142 | + <goal>dokka</goal> |
121 | 143 | </goals> |
122 | 144 | </execution> |
123 | 145 | </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> |
124 | 155 | </plugin> |
125 | 156 | <plugin> |
126 | 157 | <groupId>org.apache.maven.plugins</groupId> |
127 | 158 | <artifactId>maven-surefire-plugin</artifactId> |
128 | 159 | <version>2.22.0</version> |
129 | 160 | </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> |
155 | 161 | </plugins> |
156 | 162 | </build> |
157 | 163 |
|
| 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 | + |
158 | 200 | <distributionManagement> |
159 | 201 | <repository> |
160 | 202 | <id>ossrh</id> |
|
0 commit comments