graphannis
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.corpus-tools</groupId>
<artifactId>graphannis</artifactId>
<version>0.31.3</version>
</dependency><?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>org.corpus-tools</groupId>
<artifactId>graphannis</artifactId>
<name>graphANNIS</name>
<description>A wrapper around the C API of graphANNIS (version ${core.version})</description>
<version>0.31.3</version>
<packaging>bundle</packaging>
<url>https://github.com/korpling/graphANNIS</url>
<scm>
<connection>scm:git:https://github.com/korpling/graphANNIS-java.git</connection>
<developerConnection>scm:git:ssh://git@github.com/korpling/graphANNIS-java.git</developerConnection>
<url>https://github.com/korpling/graphANNIS-java</url>
<tag>v0.31.3</tag>
</scm>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<organization>
<name>Thomas Krause</name>
</organization>
<developers>
<developer>
<name>Thomas Krause</name>
<email>thomaskrause@posteo.de</email>
</developer>
</developers>
<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>
<repositories>
<repository>
<id>oss-snapshot</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<native-libs-linux>linux-x86-64/libgraphannis.so;
osname=Linux;processor=x86-64</native-libs-linux>
<native-libs-windows>win32-x86-64/graphannis.dll;
osname=Win32;processor=x86-64
</native-libs-windows>
<native-libs-macosx>darwin/libgraphannis.dylib;
osname=MacOSX;processor=x86-64
</native-libs-macosx>
<!-- The version of graphANNIS to wrap -->
<core.version>2.4.0</core.version>
</properties>
<profiles>
<profile>
<id>linux</id>
<activation>
<os>
<name>linux</name>
</os>
</activation>
<properties>
<bundle-native-libs>${native-libs-linux}</bundle-native-libs>
</properties>
</profile>
<profile>
<id>macosx</id>
<activation>
<os>
<name>mac os x</name>
</os>
</activation>
<properties>
<bundle-native-libs>${native-libs-macosx}</bundle-native-libs>
</properties>
</profile>
<profile>
<id>windows</id>
<activation>
<os>
<family>windows</family>
</os>
</activation>
<properties>
<bundle-native-libs>${native-libs-windows}</bundle-native-libs>
</properties>
</profile>
<profile>
<id>releases</id>
<properties>
<!-- all binaries must be present in release mode -->
<bundle-native-libs>${native-libs-linux},${native-libs-macosx},${native-libs-windows}</bundle-native-libs>
</properties>
<build>
<plugins>
<plugin>
<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>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<executions>
<execution>
<id>deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</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>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.5</version>
<extensions>true</extensions>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
<stagingProgressTimeoutMinutes>120</stagingProgressTimeoutMinutes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>disable-java8-doclint</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<properties>
<additionalparam>-Xdoclint:none</additionalparam>
</properties>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.25</version>
</dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>5.3.1</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.9.9</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.12.6.1</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-jaxb-annotations</artifactId>
<version>2.9.9</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
<!-- add a logger implementation for tests -->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>31.1-jre</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.corpus-tools</groupId>
<artifactId>salt-api</artifactId>
<version>3.3.6</version>
<type>bundle</type>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>${project.build.directory}/native/</directory>
</resource>
</resources>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.corpus-tools</groupId>
<artifactId>cff-maven-plugin</artifactId>
<version>0.5.0</version>
<configuration>
<input>${project.basedir}/misc/cff-templates/CITATION_input.yml</input>
<includeEmail>false</includeEmail>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<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>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<id>download-linux-binaries</id>
<phase>generate-resources</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://github.com/korpling/graphANNIS/releases/download/v${core.version}/libgraphannis.so</url>
<outputDirectory>${project.build.directory}/native/linux-x86-64/</outputDirectory>
<sha256>24673941fd7962ccf419ddc4af953927b535d0a0c5b8ffc28e53e53fd7379af7</sha256>
</configuration>
</execution>
<execution>
<id>download-windows-binaries</id>
<phase>generate-resources</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://github.com/korpling/graphANNIS/releases/download/v${core.version}/graphannis.dll</url>
<outputDirectory>${project.build.directory}/native/win32-x86-64/</outputDirectory>
<sha256>d8a1d74bd0e2f77a6f3fa5ac5249ae7d1ed4f2b1db1a6df071152f761cd49911</sha256>
</configuration>
</execution>
<execution>
<id>download-mac-binaries</id>
<phase>generate-resources</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://github.com/korpling/graphANNIS/releases/download/v${core.version}/libgraphannis.dylib</url>
<outputDirectory>${project.build.directory}/native/darwin/</outputDirectory>
<sha256>2e1c6eef1732f4c3e17eb58aac746b53b3d0a2a42026f158775b8b64d7affc60</sha256>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>replacer</artifactId>
<version>1.5.3</version>
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>replace</goal>
</goals>
</execution>
</executions>
<configuration>
<file>README.md</file>
<replacements>
<replacement>
<token>graphANNIS core library version ([0-9]+\.[0-9]+\.[0-9]+)</token>
<value>graphANNIS core library version ${core.version}</value>
</replacement>
</replacements>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>3.2.0</version>
<extensions>true</extensions>
<configuration>
<instructions>
<!--<Import-Package>!org.apache.maven.*,*</Import-Package> -->
<Bundle-NativeCode>${bundle-native-libs}</Bundle-NativeCode>
</instructions>
<niceManifest>true</niceManifest>
</configuration>
</plugin>
<plugin>
<groupId>org.reficio</groupId>
<artifactId>p2-maven-plugin</artifactId>
<version>1.3.0</version>
<executions>
<execution>
<id>default-cli</id>
<configuration>
<artifacts>
<artifact>
<id>org.corpus-tools:graphannis:${project.version}</id>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.3.27.v20190418</version>
<configuration>
<scanIntervalSeconds>10</scanIntervalSeconds>
<webAppSourceDirectory>${basedir}/target/repository/</webAppSourceDirectory>
<webApp>
<contextPath>/site</contextPath>
</webApp>
</configuration>
</plugin>
<plugin>
<groupId>co.enear.maven.plugins</groupId>
<artifactId>keepachangelog-maven-plugin</artifactId>
<version>2.1.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<preparationGoals>clean verify keepachangelog:release cff:create cff:third-party-folder scm:add scm:checkin</preparationGoals>
<tagNameFormat>v@{project.version}</tagNameFormat>
<releaseProfiles>releases</releaseProfiles>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.8.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.11.3</version>
<configuration>
<includes>CHANGELOG.md,CITATION.cff,THIRD-PARTY/**</includes>
<message>Files updated in release process</message>
</configuration>
</plugin>
</plugins>
</build>
</project>