Skip to content

Commit

Permalink
Sarthak/Sunit: Changed pom.xml for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
msarthak32 committed Feb 22, 2018
1 parent f9dc07e commit dce7f84
Showing 1 changed file with 116 additions and 3 deletions.
119 changes: 116 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">
<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">

<modelVersion>4.0.0</modelVersion>

<groupId>com.github.dataanon</groupId>
<artifactId>data-anon</artifactId>
<version>1.0-SNAPSHOT</version>
<version>0.9.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>data-anon</name>
<url>https://github.com/dataanon/data-anon</url>
<description>
Data Anonymization tool helps build anonymized production data dumps, which you can use for performance testing,
security testing, debugging and development.
Tool is implemented in Kotlin, and works with Java 8 and Kotlin.
</description>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand All @@ -17,6 +23,38 @@
<version.jacoco>0.8.0</version.jacoco>
</properties>

<scm>
<connection>scm:git:git@github.com:dataanon/data-anon.git</connection>
<developerConnection>scm:git:git@github.com:dataanon/data-anon.git</developerConnection>
<url>git@github.com:dataanon/data-anon.git</url>
<tag>HEAD</tag>
</scm>

<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
<distribution>repo</distribution>
</license>
</licenses>

<developers>
<developer>
<name>Sarthak Makhija</name>
<email>sarthak.makhija@gmail.com</email>
<url>https://github.com/SarthakMakhija/</url>
</developer>
<developer>
<name>Sunit Parekh</name>
<email>parekh.sunit@gmail.com</email>
<url>https://sunitparekh.in</url>
</developer>
</developers>

<issueManagement>
<url>https://github.com/dataanon/data-anon/issues</url>
<system>GitHub Issues</system>
</issueManagement>

<dependencies>
<dependency>
Expand Down Expand Up @@ -123,7 +161,82 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<goals>deploy</goals>
</configuration>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</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>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<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>

</project>

0 comments on commit dce7f84

Please sign in to comment.