Skip to content

Commit a39e6bf

Browse files
authored
Merge pull request #24 from Productive-Edge/maven-central-sonatype
publish project to the maven central
2 parents 11df1af + a90d0a3 commit a39e6bf

File tree

3 files changed

+112
-5
lines changed

3 files changed

+112
-5
lines changed

LICENSE.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2022 [Productive Edge LLC](https://www.productiveedge.com/)
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
6+
documentation files (the "Software"), to deal in the Software without restriction, including without limitation
7+
the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
8+
and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
11+
Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
14+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15+
AUTHORS
16+
OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
17+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ improvements:
4747
```xml
4848

4949
<dependency>
50-
<!-- TODO publish -->
50+
<groupId>com.productiveedge</groupId>
51+
<artifactId>fuzzy-search</artifactId>
52+
<version>1.0</version>
5153
</dependency>
5254
```
5355

pom.xml

Lines changed: 92 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,37 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

7-
<groupId>com.pe.text</groupId>
7+
<groupId>com.productiveedge</groupId>
88
<artifactId>fuzzy-search</artifactId>
9-
<version>1.0-SNAPSHOT</version>
9+
<version>1.0</version>
10+
<packaging>jar</packaging>
11+
<name>com.productiveedge:fuzzy-search</name>
12+
<description>Fuzzy Search library implements approximate string matching (fuzzy string searching)</description>
13+
<licenses>
14+
<license>
15+
<name>The MIT License (MIT)</name>
16+
<url>https://github.com/Productive-Edge/pe-fuzzy-search-java/blob/dev/LICENSE.md</url>
17+
<distribution>repo</distribution>
18+
</license>
19+
</licenses>
20+
<url>https://github.com/Productive-Edge/pe-fuzzy-search-java/</url>
21+
<developers>
22+
<developer>
23+
<id>gyermakavets</id>
24+
<name>Henadz Yermakavets</name>
25+
<email>gyermakavets@productiveedge.com</email>
26+
<organization>Productive Edge LLC</organization>
27+
<organizationUrl>https://www.productiveedge.com/</organizationUrl>
28+
<roles>
29+
<role>developer</role>
30+
</roles>
31+
</developer>
32+
</developers>
33+
<scm>
34+
<connection>scm:git:git@github.com:Productive-Edge/pe-fuzzy-search-java.git</connection>
35+
<developerConnection>scm:git:git@github.com:Productive-Edge/pe-fuzzy-search-java.git</developerConnection>
36+
<url>https://github.com/Productive-Edge/pe-fuzzy-search-java</url>
37+
</scm>
1038
<dependencies>
1139
<dependency>
1240
<groupId>it.unimi.dsi</groupId>
@@ -17,7 +45,7 @@
1745
<dependency>
1846
<groupId>org.junit.jupiter</groupId>
1947
<artifactId>junit-jupiter</artifactId>
20-
<version>RELEASE</version>
48+
<version>5.10.2</version>
2149
<scope>test</scope>
2250
</dependency>
2351
<dependency>
@@ -29,14 +57,74 @@
2957
<dependency>
3058
<groupId>org.apache.commons</groupId>
3159
<artifactId>commons-text</artifactId>
32-
<version>1.9</version>
60+
<version>1.11.0</version>
3361
<scope>test</scope>
3462
</dependency>
3563
</dependencies>
3664

3765
<properties>
3866
<maven.compiler.source>8</maven.compiler.source>
3967
<maven.compiler.target>8</maven.compiler.target>
68+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4069
</properties>
4170

71+
<profiles>
72+
<profile>
73+
<id>release</id>
74+
<build>
75+
<plugins>
76+
<plugin>
77+
<groupId>org.apache.maven.plugins</groupId>
78+
<artifactId>maven-source-plugin</artifactId>
79+
<version>3.2.1</version>
80+
<executions>
81+
<execution>
82+
<id>attach-sources</id>
83+
<goals>
84+
<goal>jar-no-fork</goal>
85+
</goals>
86+
</execution>
87+
</executions>
88+
</plugin>
89+
<plugin>
90+
<groupId>org.apache.maven.plugins</groupId>
91+
<artifactId>maven-javadoc-plugin</artifactId>
92+
<version>3.5.0</version>
93+
<executions>
94+
<execution>
95+
<id>attache-javadoc</id>
96+
<goals>
97+
<goal>jar</goal>
98+
</goals>
99+
</execution>
100+
</executions>
101+
</plugin>
102+
<plugin>
103+
<groupId>org.apache.maven.plugins</groupId>
104+
<artifactId>maven-gpg-plugin</artifactId>
105+
<version>3.1.0</version>
106+
<executions>
107+
<execution>
108+
<id>sign-artifacts</id>
109+
<phase>verify</phase>
110+
<goals>
111+
<goal>sign</goal>
112+
</goals>
113+
</execution>
114+
</executions>
115+
</plugin>
116+
<plugin>
117+
<groupId>org.sonatype.central</groupId>
118+
<artifactId>central-publishing-maven-plugin</artifactId>
119+
<version>0.3.0</version>
120+
<extensions>true</extensions>
121+
<configuration>
122+
<publishingServerId>central</publishingServerId>
123+
<tokenAuth>true</tokenAuth>
124+
</configuration>
125+
</plugin>
126+
</plugins>
127+
</build>
128+
</profile>
129+
</profiles>
42130
</project>

0 commit comments

Comments
 (0)