Skip to content

Commit

Permalink
Add maven-release-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanLink committed Sep 7, 2021
1 parent b777f2b commit 86ef5e1
Showing 1 changed file with 71 additions and 65 deletions.
136 changes: 71 additions & 65 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.jonathanlink</groupId>
<artifactId>PDFLayoutTextStripper</artifactId>
<version>2.2.5</version>
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.jonathanlink</groupId>
<artifactId>PDFLayoutTextStripper</artifactId>
<version>2.2.5-SNAPSHOT</version>



<distributionManagement>
<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
Expand All @@ -16,74 +16,80 @@
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<packaging>jar</packaging>
<name>PDFLayoutTextStripper</name>
<description>Converts a pdf file into a text file while keeping the layout of the original pdf. Useful to extract the content from a table in a pdf file for instance. This is a subclass of PDFTextStripper class (from the Apache PDFBox library).</description>
<url>https://github.com/JonathanLink/PDFLayoutTextStripper</url>
<developers>
<developer>
<name>Jonathan Link</name>
<email>[email protected]</email>
<url>https://www.jonathanlink.ch/</url>
</developer>
</developers>
<licenses>
<license>
<name>Apache License 2.0</name>
<url>https://github.com/JonathanLink/PDFLayoutTextStripper/blob/master/LICENSE</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<packaging>jar</packaging>
<name>PDFLayoutTextStripper</name>
<description>Converts a pdf file into a text file while keeping the layout of the original pdf. Useful to extract the content from a table in a pdf file for instance. This is a subclass of PDFTextStripper class (from the Apache PDFBox library).</description>
<url>https://github.com/JonathanLink/PDFLayoutTextStripper</url>
<connection>scm:git:[email protected]:JonathanLink/PDFLayoutTextStripper.git</connection>
<developerConnection>scm:git:[email protected]:JonathanLink/PDFLayoutTextStripper.git</developerConnection>
<tag>HEAD</tag>
</scm>
<properties>
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
<version>2.0.24</version>
</dependency>
</dependencies>
<developers>
<developer>
<name>Jonathan Link</name>
<email>[email protected]</email>
<url>https://www.jonathanlink.ch/</url>
</developer>
</developers>
<licenses>
<license>
<name>Apache License 2.0</name>
<url>https://github.com/JonathanLink/PDFLayoutTextStripper/blob/master/LICENSE</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>https://github.com/JonathanLink/PDFLayoutTextStripper</url>
<connection>scm:git:[email protected]:JonathanLink/PDFLayoutTextStripper.git</connection>
<developerConnection>scm:git:[email protected]:JonathanLink/PDFLayoutTextStripper.git</developerConnection>
<tag>PDFLayoutTextStripper-2.2.5</tag>
</scm>
<properties>
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
<version>2.0.24</version>
</dependency>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.0-M4</version>
<type>maven-plugin</type>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.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-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
Expand All @@ -105,10 +111,10 @@
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
Expand Down

0 comments on commit 86ef5e1

Please sign in to comment.