Skip to content

Commit

Permalink
Merge pull request #16 from timurkamalov/verapdf-cli
Browse files Browse the repository at this point in the history
 	Added maven deploy settings.
  • Loading branch information
carlwilson committed May 14, 2015
2 parents 306395e + 60cd19c commit 5bd99de
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 13 deletions.
28 changes: 15 additions & 13 deletions cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@
<artifactId>vera-cli</artifactId>
<name>VeraPDF CLI</name>
<description>Command line invocation of the Vera PDF validator.</description>

<dependencies>
<dependency>
<groupId>org.verapdf</groupId>
<artifactId>core</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>

<dependency>
<groupId>com.beust</groupId>
<artifactId>jcommander</artifactId>
<version>1.47</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -43,17 +58,4 @@
</plugins>
</build>

<dependencies>
<dependency>
<groupId>org.verapdf</groupId>
<artifactId>core</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>

<dependency>
<groupId>com.beust</groupId>
<artifactId>jcommander</artifactId>
<version>1.47</version>
</dependency>
</dependencies>
</project>
58 changes: 58 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
<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/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>oss-parent</artifactId>
<groupId>org.sonatype.oss</groupId>
<version>7</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<groupId>org.verapdf</groupId>
Expand All @@ -26,6 +31,21 @@
<guava.version>18.0</guava.version>
</properties>

<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:https://github.com/veraPDF/veraPDF-library.git</connection>
</scm>

<build>
<plugins>
<plugin>
Expand All @@ -36,7 +56,45 @@
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<preparationGoals>clean install</preparationGoals>
<goals>deploy</goals>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>release-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<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 5bd99de

Please sign in to comment.