Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

necessary adaptions to publish to MavenCentral #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 64 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<version>0.12.1.Final-SNAPSHOT</version>

<name>EditorConfig Core</name>
<description>EditorConfig core library ported to Java</description>
<url>http://editorconfig.org</url>
<inceptionYear>2014</inceptionYear>
<licenses>
Expand All @@ -15,6 +16,21 @@
</license>
</licenses>

<developers>
<developer>
<name>Dennis Ushakov</name>
<email>[email protected]</email>
<organization>JetBrains</organization>
<organizationUrl>https://github.com/denofevil</organizationUrl>
</developer>
<developer>
<name>Peter Palage</name>
<email>[email protected]</email>
<organization>Red Hat</organization>
<organizationUrl>https://github.com/ppalaga</organizationUrl>
</developer>
</developers>

<mailingLists>
<mailingList>
<name>EditorConfig Group</name>
Expand Down Expand Up @@ -47,6 +63,13 @@
<maven.compiler.showWarnings>true</maven.compiler.showWarnings>
</properties>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>

<build>
<!-- Ordering: alphabetic by groupId and artifactId -->
<plugins>
Expand Down Expand Up @@ -94,14 +117,54 @@
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.5</version>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down