Skip to content

Commit 8e0d8ad

Browse files
author
Andrzej Swatowski
committed
Modify pom.xml to conform with OSSRH requirements
1 parent bed35c7 commit 8e0d8ad

File tree

2 files changed

+92
-4
lines changed

2 files changed

+92
-4
lines changed

LICENCE renamed to LICENSE

File renamed without changes.

pom.xml

Lines changed: 92 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,43 @@ under the License.
2323

2424
<groupId>com.getindata</groupId>
2525
<artifactId>flink-http-connector</artifactId>
26-
<version>1.0-SNAPSHOT</version>
26+
<version>0.1.0-SNAPSHOT</version>
2727
<packaging>jar</packaging>
2828

2929
<name>flink-http-connector</name>
30+
<description>The HTTP TableLookup connector that allows for pulling data from external system via HTTP GET method. The goal for this connector was to use it in Flink SQL statement as a standard table that can be later joined with other stream using pure SQL Flink.</description>
31+
<url>https://github.com/getindata/flink-http-connector</url>
32+
33+
<licenses>
34+
<license>
35+
<name>The Apache License, Version 2.0</name>
36+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
37+
</license>
38+
</licenses>
39+
40+
<developers>
41+
<developer>
42+
<name>GetInData</name>
43+
<email>office@getindata.com</email>
44+
<organization>GetInData</organization>
45+
<organizationUrl>https://getindata.com</organizationUrl>
46+
</developer>
47+
</developers>
48+
49+
<scm>
50+
<connection>scm:git:git://github.com/getindata/flink-http-connector</connection>
51+
<developerConnection>scm:git:ssh://github.com/getindata/flink-http-connector</developerConnection>
52+
<url>https://github.com/getindata/flink-http-connector/tree/main</url>
53+
</scm>
3054

3155
<distributionManagement>
56+
<snapshotRepository>
57+
<id>ossrh</id>
58+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
59+
</snapshotRepository>
3260
<repository>
33-
<id>gitlab</id>
34-
<name>gitlab</name>
35-
<url>${env.MAVEN_REPO_URL}</url>
61+
<id>ossrh</id>
62+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
3663
</repository>
3764
</distributionManagement>
3865

@@ -385,4 +412,65 @@ under the License.
385412
</plugins>
386413
</pluginManagement>
387414
</build>
415+
416+
<profiles>
417+
<profile>
418+
<id>release</id>
419+
<build>
420+
<plugins>
421+
<plugin>
422+
<groupId>org.apache.maven.plugins</groupId>
423+
<artifactId>maven-javadoc-plugin</artifactId>
424+
<version>3.1.1</version>
425+
<executions>
426+
<execution>
427+
<id>attach-javadocs</id>
428+
<goals>
429+
<goal>jar</goal>
430+
</goals>
431+
</execution>
432+
</executions>
433+
</plugin>
434+
435+
<plugin>
436+
<groupId>org.apache.maven.plugins</groupId>
437+
<artifactId>maven-source-plugin</artifactId>
438+
</plugin>
439+
440+
<plugin>
441+
<groupId>org.sonatype.plugins</groupId>
442+
<artifactId>nexus-staging-maven-plugin</artifactId>
443+
<version>1.6.13</version>
444+
<extensions>true</extensions>
445+
<configuration>
446+
<serverId>ossrh</serverId>
447+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
448+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
449+
</configuration>
450+
</plugin>
451+
452+
<plugin>
453+
<groupId>org.apache.maven.plugins</groupId>
454+
<artifactId>maven-gpg-plugin</artifactId>
455+
<version>3.0.1</version>
456+
<configuration>
457+
<gpgArguments>
458+
<arg>--pinentry-mode</arg>
459+
<arg>loopback</arg>
460+
</gpgArguments>
461+
</configuration>
462+
<executions>
463+
<execution>
464+
<id>sign-artifacts</id>
465+
<phase>verify</phase>
466+
<goals>
467+
<goal>sign</goal>
468+
</goals>
469+
</execution>
470+
</executions>
471+
</plugin>
472+
</plugins>
473+
</build>
474+
</profile>
475+
</profiles>
388476
</project>

0 commit comments

Comments
 (0)