Skip to content
This repository has been archived by the owner on Jun 19, 2019. It is now read-only.

Commit

Permalink
Merge pull request #3 in MINT/java-checkout from MINT-1585_sonatype_c…
Browse files Browse the repository at this point in the history
…entral_repository to v1.1

* commit 'fb2abd1fb06785699ffc7f47f78507c688bad2c7':
  Updating pom.xml with Sonatype requirements
  Correcting link in readme
  • Loading branch information
Christer Gustavsson committed May 16, 2014
2 parents 6f67738 + fb2abd1 commit 0681121
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -22,7 +22,7 @@ payments worldwide and change the way the world shops online.

## Documentation
Documentation and more examples can be found at
[docs.klarna.com](https://docs.klarna.com).
[developers.klarna.com](https://developers.klarna.com).

## How to contribute
At Klarna, we strive toward achieving the highest possible quality for our
Expand Down
87 changes: 86 additions & 1 deletion pom.xml
Expand Up @@ -8,7 +8,24 @@
<packaging>jar</packaging>

<name>java-checkout</name>
<url>http://maven.apache.org</url>
<url>https://github.com/klarna/kco_java</url>
<description>Klarna Checkout SDK</description>

<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>

<developers>
<developer>
<name>Klarna AB</name>
<email>ms.modules@klarna.com</email>
<organization>Klarna</organization>
<organizationUrl>http://klarna.com</organizationUrl>
</developer>
</developers>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down Expand Up @@ -72,6 +89,23 @@
</plugins>
</reporting>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<scm>
<connection>scm:git:git@github.com:klarna/kco_java.git</connection>
<developerConnection>scm:git:git@github.com:klarna/kco_java.git</developerConnection>
<url>git@github.com:klarna/kco_java.git</url>
</scm>

<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -145,4 +179,55 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<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>
</profile>
</profiles>

</project>

0 comments on commit 0681121

Please sign in to comment.