Skip to content

Commit 507aa10

Browse files
committed
Added maven-central badge
1 parent f648525 commit 507aa10

File tree

3 files changed

+346
-80
lines changed

3 files changed

+346
-80
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
underscore-kotlin
22
=================
3+
[![Maven Central](https://img.shields.io/maven-central/v/com.github.javadev/underscore-kotlin.svg)](https://central.sonatype.com/artifact/com.github.javadev/underscore-kotlin/1.0)
34
[![Java CI with Maven](https://github.com/kotlindev/underscore-kotlin/actions/workflows/maven.yml/badge.svg)](https://github.com/kotlindev/underscore-kotlin/actions/workflows/maven.yml)
45

56
Requirements
@@ -14,8 +15,8 @@ To configure your Maven project, add the following code to your pom.xml file:
1415
```xml
1516
<dependencies>
1617
<dependency>
17-
<groupId>com.github.kotlindev</groupId>
18-
<artifactId>underscore</artifactId>
18+
<groupId>com.github.javadev</groupId>
19+
<artifactId>underscore-kotlin</artifactId>
1920
<version>1.0</version>
2021
</dependency>
2122
...
@@ -25,7 +26,7 @@ To configure your Maven project, add the following code to your pom.xml file:
2526
Gradle configuration:
2627

2728
```groovy
28-
implementation 'com.github.kotlindev:underscore:1.0'
29+
implementation 'com.github.javadev:underscore-kotlin:1.0'
2930
```
3031

3132
### Usage

pom-central.xml

Lines changed: 265 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,265 @@
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>underscore-kotlin</artifactId>
6+
<packaging>jar</packaging>
7+
<version>1.0</version>
8+
<name>kotlin port of Underscore.js</name>
9+
<description>The kotlin port of Underscore.js</description>
10+
<url>https://github.com/kotlindev/underscore-kotlin</url>
11+
<developers>
12+
<developer>
13+
<name>Valentyn Kolesnikov</name>
14+
</developer>
15+
</developers>
16+
<licenses>
17+
<license>
18+
<name>The MIT License</name>
19+
<url>http://opensource.org/licenses/MIT</url>
20+
<distribution>repo</distribution>
21+
</license>
22+
</licenses>
23+
<scm>
24+
<connection>scm:git:git://github.com/kotlindev/underscore-kotlin.git</connection>
25+
<developerConnection>scm:git:git://github.com/kotlindev/underscore-kotlin.git</developerConnection>
26+
<url>https://github.com/kotlindev/underscore-kotlin</url>
27+
</scm>
28+
<properties>
29+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
30+
<kotlin.version>1.9.0</kotlin.version>
31+
</properties>
32+
<ciManagement>
33+
<system>GitHub Actions</system>
34+
<url>https://github.com/kotlindev/underscore-kotlin/actions</url>
35+
</ciManagement>
36+
<issueManagement>
37+
<system>GitHub Issues</system>
38+
<url>https://github.com/kotlindev/underscore-kotlin/issues</url>
39+
</issueManagement>
40+
<build>
41+
<plugins>
42+
<plugin>
43+
<groupId>org.apache.maven.plugins</groupId>
44+
<artifactId>maven-surefire-plugin</artifactId>
45+
<version>3.1.2</version>
46+
<dependencies>
47+
<dependency>
48+
<groupId>org.junit.jupiter</groupId>
49+
<artifactId>junit-jupiter-engine</artifactId>
50+
<version>[5.9.3,)</version>
51+
</dependency>
52+
</dependencies>
53+
</plugin>
54+
<plugin>
55+
<groupId>org.apache.maven.plugins</groupId>
56+
<artifactId>maven-jar-plugin</artifactId>
57+
<version>3.3.0</version>
58+
<configuration>
59+
<archive>
60+
<manifestEntries>
61+
<Automatic-Module-Name>com.github.underscore</Automatic-Module-Name>
62+
<Main-Class>com.github.underscore.Underscore</Main-Class>
63+
</manifestEntries>
64+
</archive>
65+
</configuration>
66+
</plugin>
67+
<plugin>
68+
<groupId>org.jacoco</groupId>
69+
<artifactId>jacoco-maven-plugin</artifactId>
70+
<version>0.8.10</version>
71+
<executions>
72+
<execution>
73+
<id>prepare-agent</id>
74+
<goals>
75+
<goal>prepare-agent</goal>
76+
</goals>
77+
</execution>
78+
</executions>
79+
<configuration>
80+
<excludes>
81+
<exclude>**/U$BaseHttpSslSocketFactory*.class</exclude>
82+
<exclude>**/Xml$Document.class</exclude>
83+
<exclude>**/U$Fetch.class</exclude>
84+
</excludes>
85+
</configuration>
86+
</plugin>
87+
<plugin>
88+
<groupId>org.apache.maven.plugins</groupId>
89+
<artifactId>maven-project-info-reports-plugin</artifactId>
90+
<version>3.4.5</version>
91+
</plugin>
92+
<plugin>
93+
<groupId>org.apache.maven.plugins</groupId>
94+
<artifactId>maven-site-plugin</artifactId>
95+
<version>3.12.1</version>
96+
</plugin>
97+
<plugin>
98+
<groupId>org.jetbrains.kotlin</groupId>
99+
<artifactId>kotlin-maven-plugin</artifactId>
100+
<version>${kotlin.version}</version>
101+
<executions>
102+
<execution>
103+
<id>compile</id>
104+
<phase>compile</phase>
105+
<goals>
106+
<goal>compile</goal>
107+
</goals>
108+
</execution>
109+
<execution>
110+
<id>test-compile</id>
111+
<phase>test-compile</phase>
112+
<goals>
113+
<goal>test-compile</goal>
114+
</goals>
115+
</execution>
116+
</executions>
117+
<configuration>
118+
<jvmTarget>1.8</jvmTarget>
119+
</configuration>
120+
</plugin>
121+
<plugin>
122+
<groupId>org.apache.maven.plugins</groupId>
123+
<artifactId>maven-compiler-plugin</artifactId>
124+
<version>3.11.0</version>
125+
<executions>
126+
<execution>
127+
<id>default-compile</id>
128+
<phase>none</phase>
129+
</execution>
130+
<execution>
131+
<id>default-testCompile</id>
132+
<phase>none</phase>
133+
</execution>
134+
<execution>
135+
<id>compile</id>
136+
<phase>compile</phase>
137+
<goals>
138+
<goal>compile</goal>
139+
</goals>
140+
</execution>
141+
<execution>
142+
<id>testCompile</id>
143+
<phase>test-compile</phase>
144+
<goals>
145+
<goal>testCompile</goal>
146+
</goals>
147+
</execution>
148+
</executions>
149+
<configuration>
150+
<source>11</source>
151+
<target>11</target>
152+
<encoding>UTF-8</encoding>
153+
<compilerArgs>
154+
<arg>-Xlint:unchecked</arg>
155+
<arg>-Xlint:deprecation</arg>
156+
</compilerArgs>
157+
</configuration>
158+
</plugin>
159+
<plugin>
160+
<groupId>org.apache.maven.plugins</groupId>
161+
<artifactId>maven-source-plugin</artifactId>
162+
<version>3.2.0</version>
163+
<executions>
164+
<execution>
165+
<id>attach-sources</id>
166+
<goals>
167+
<goal>jar</goal>
168+
<goal>test-jar</goal>
169+
</goals>
170+
</execution>
171+
</executions>
172+
</plugin>
173+
<plugin>
174+
<groupId>org.jetbrains.dokka</groupId>
175+
<artifactId>dokka-maven-plugin</artifactId>
176+
<version>1.8.20</version>
177+
<executions>
178+
<execution>
179+
<phase>prepare-package</phase>
180+
<goals>
181+
<goal>dokka</goal>
182+
<goal>javadoc</goal>
183+
<goal>javadocJar</goal>
184+
</goals>
185+
</execution>
186+
</executions>
187+
</plugin>
188+
<plugin>
189+
<groupId>org.apache.maven.plugins</groupId>
190+
<artifactId>maven-gpg-plugin</artifactId>
191+
<version>1.6</version>
192+
<executions>
193+
<execution>
194+
<id>sign-artifacts</id>
195+
<phase>verify</phase>
196+
<goals>
197+
<goal>sign</goal>
198+
</goals>
199+
</execution>
200+
</executions>
201+
</plugin>
202+
</plugins>
203+
</build>
204+
<reporting>
205+
<plugins>
206+
<plugin>
207+
<groupId>org.jacoco</groupId>
208+
<artifactId>jacoco-maven-plugin</artifactId>
209+
<version>0.8.10</version>
210+
<configuration>
211+
<excludes>
212+
<exclude>**/U$BaseHttpSslSocketFactory*.class</exclude>
213+
<exclude>**/Xml$Document.class</exclude>
214+
<exclude>**/U$Fetch.class</exclude>
215+
</excludes>
216+
</configuration>
217+
</plugin>
218+
<plugin>
219+
<groupId>org.apache.maven.plugins</groupId>
220+
<artifactId>maven-surefire-report-plugin</artifactId>
221+
<version>3.1.0</version>
222+
</plugin>
223+
<plugin>
224+
<groupId>org.apache.maven.plugins</groupId>
225+
<artifactId>maven-jxr-plugin</artifactId>
226+
<version>3.3.0</version>
227+
</plugin>
228+
<plugin>
229+
<groupId>com.github.spotbugs</groupId>
230+
<artifactId>spotbugs-maven-plugin</artifactId>
231+
<version>4.7.3.5</version>
232+
</plugin>
233+
<plugin>
234+
<groupId>org.codehaus.mojo</groupId>
235+
<artifactId>taglist-maven-plugin</artifactId>
236+
<version>3.0.0</version>
237+
</plugin>
238+
</plugins>
239+
</reporting>
240+
<dependencies>
241+
<dependency>
242+
<groupId>org.junit.jupiter</groupId>
243+
<artifactId>junit-jupiter-api</artifactId>
244+
<version>[5.9.3,)</version>
245+
<scope>test</scope>
246+
</dependency>
247+
<dependency>
248+
<groupId>org.awaitility</groupId>
249+
<artifactId>awaitility</artifactId>
250+
<version>[4.2.0,)</version>
251+
<scope>test</scope>
252+
</dependency>
253+
<dependency>
254+
<groupId>org.jetbrains.kotlin</groupId>
255+
<artifactId>kotlin-stdlib</artifactId>
256+
<version>${kotlin.version}</version>
257+
</dependency>
258+
<dependency>
259+
<groupId>org.jetbrains.kotlin</groupId>
260+
<artifactId>kotlin-test</artifactId>
261+
<version>${kotlin.version}</version>
262+
<scope>test</scope>
263+
</dependency>
264+
</dependencies>
265+
</project>

0 commit comments

Comments
 (0)