Skip to content

Commit fa69108

Browse files
committed
Added pom.xml for maven central.
1 parent b89df0c commit fa69108

File tree

1 file changed

+157
-0
lines changed

1 file changed

+157
-0
lines changed

pom-central.xml

Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.github.javadev</groupId>
5+
<artifactId>leetcode-in-kotlin</artifactId>
6+
<packaging>jar</packaging>
7+
<version>1.0</version>
8+
<name>leetcode-in-kotlin</name>
9+
<description>Kotlin Solution for LeetCode algorithm problems, continually updating</description>
10+
<url>https://github.com/javadev/LeetCode-in-Kotlin</url>
11+
<developers>
12+
<developer>
13+
<id>javadev</id>
14+
<name>Valentyn Kolesnikov</name>
15+
</developer>
16+
</developers>
17+
<licenses>
18+
<license>
19+
<name>The MIT License</name>
20+
<url>http://opensource.org/licenses/MIT</url>
21+
<distribution>repo</distribution>
22+
</license>
23+
</licenses>
24+
<scm>
25+
<connection>scm:git:git://github.com/javadev/LeetCode-in-Kotlin.git</connection>
26+
<developerConnection>scm:git:git://github.com/javadev/LeetCode-in-Kotlin.git</developerConnection>
27+
<url>https://github.com/javadev/LeetCode-in-Kotlin</url>
28+
</scm>
29+
<properties>
30+
<kotlin.version>1.6.0</kotlin.version>
31+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
32+
</properties>
33+
<ciManagement>
34+
<system>GitHub Actions</system>
35+
<url>https://github.com/javadev/LeetCode-in-Kotlin/actions</url>
36+
</ciManagement>
37+
<issueManagement>
38+
<system>GitHub Issues</system>
39+
<url>https://github.com/javadev/LeetCode-in-Kotlin/issues</url>
40+
</issueManagement>
41+
<pluginRepositories>
42+
<pluginRepository>
43+
<id>jcenter</id>
44+
<name>JCenter</name>
45+
<url>https://jcenter.bintray.com/</url>
46+
<releases>
47+
<enabled>true</enabled>
48+
</releases>
49+
</pluginRepository>
50+
</pluginRepositories>
51+
<build>
52+
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
53+
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
54+
<plugins>
55+
<plugin>
56+
<groupId>org.jetbrains.kotlin</groupId>
57+
<artifactId>kotlin-maven-plugin</artifactId>
58+
<version>${kotlin.version}</version>
59+
<configuration>
60+
<jvmTarget>1.8</jvmTarget>
61+
</configuration>
62+
<executions>
63+
<execution>
64+
<id>compile</id>
65+
<phase>compile</phase>
66+
<goals>
67+
<goal>compile</goal>
68+
</goals>
69+
</execution>
70+
<execution>
71+
<id>test-compile</id>
72+
<phase>test-compile</phase>
73+
<goals>
74+
<goal>test-compile</goal>
75+
</goals>
76+
</execution>
77+
</executions>
78+
</plugin>
79+
<plugin>
80+
<groupId>org.apache.maven.plugins</groupId>
81+
<artifactId>maven-jar-plugin</artifactId>
82+
<version>3.2.0</version>
83+
<configuration>
84+
<archive>
85+
<manifestEntries>
86+
<Built-By></Built-By>
87+
<Created-By></Created-By>
88+
<Build-Jdk></Build-Jdk>
89+
</manifestEntries>
90+
</archive>
91+
</configuration>
92+
</plugin>
93+
<plugin>
94+
<groupId>org.apache.maven.plugins</groupId>
95+
<artifactId>maven-source-plugin</artifactId>
96+
<version>3.2.0</version>
97+
<executions>
98+
<execution>
99+
<id>attach-sources</id>
100+
<goals>
101+
<goal>jar</goal>
102+
<goal>test-jar</goal>
103+
</goals>
104+
</execution>
105+
</executions>
106+
</plugin>
107+
<plugin>
108+
<groupId>org.jetbrains.dokka</groupId>
109+
<artifactId>dokka-maven-plugin</artifactId>
110+
<version>1.6.0</version>
111+
<executions>
112+
<execution>
113+
<phase>prepare-package</phase>
114+
<goals>
115+
<goal>dokka</goal>
116+
<goal>javadoc</goal>
117+
<goal>javadocJar</goal>
118+
</goals>
119+
</execution>
120+
</executions>
121+
</plugin>
122+
<plugin>
123+
<groupId>org.apache.maven.plugins</groupId>
124+
<artifactId>maven-gpg-plugin</artifactId>
125+
<version>1.6</version>
126+
<executions>
127+
<execution>
128+
<id>sign-artifacts</id>
129+
<phase>verify</phase>
130+
<goals>
131+
<goal>sign</goal>
132+
</goals>
133+
</execution>
134+
</executions>
135+
</plugin>
136+
</plugins>
137+
</build>
138+
<dependencies>
139+
<dependency>
140+
<groupId>org.jetbrains.kotlin</groupId>
141+
<artifactId>kotlin-stdlib-jdk8</artifactId>
142+
<version>${kotlin.version}</version>
143+
</dependency>
144+
<dependency>
145+
<groupId>junit</groupId>
146+
<artifactId>junit</artifactId>
147+
<version>[4.13.2,)</version>
148+
<scope>test</scope>
149+
</dependency>
150+
<dependency>
151+
<groupId>org.hamcrest</groupId>
152+
<artifactId>hamcrest-core</artifactId>
153+
<version>[2.2,)</version>
154+
<scope>test</scope>
155+
</dependency>
156+
</dependencies>
157+
</project>

0 commit comments

Comments
 (0)