gate-plugin-base
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>uk.ac.gate</groupId>
<artifactId>gate-plugin-base</artifactId>
<version>9.0.1</version>
</dependency>
<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>
<groupId>uk.ac.gate</groupId>
<artifactId>gate-top</artifactId>
<version>9.0.1</version>
</parent>
<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>
<gate-core.version>9.0.1</gate-core.version>
</properties>
<modelVersion>4.0.0</modelVersion>
<artifactId>gate-plugin-base</artifactId>
<packaging>pom</packaging>
<name>GATE Plugin Base</name>
<description>Parent POM for any GATE plugin project, to include the maven plugin that will generate the correct CREOLE metadata.</description>
<url>http://gate.ac.uk/</url>
<organization>
<name>GATE</name>
<url>http://gate.ac.uk</url>
</organization>
<developers>
<developer>
<id>gate-team</id>
<name>GATE Team</name>
<email>gate-developers@lists.sourceforge.net</email>
</developer>
</developers>
<licenses>
<license>
<name>GNU Lesser General Public License (LGPL), Version 3</name>
<url>http://www.gnu.org/licenses/lgpl.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:git:git://github.com/GateNLP/gate-top.git</connection>
<developerConnection>scm:git:git@github.com:GateNLP/gate-top.git</developerConnection>
<url>https://github.com/GateNLP/gate-top</url>
</scm>
<dependencies>
<dependency>
<groupId>uk.ac.gate</groupId>
<artifactId>gate-core</artifactId>
<version>${gate-core.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>uk.ac.gate</groupId>
<artifactId>gate-plugin-test-utils</artifactId>
<version>9.0.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>gate.ac.uk</id>
<name>GATE Development Repository</name>
<url>http://repo.gate.ac.uk/content/groups/public/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>gate.ac.uk</id>
<name>GATE Development Repository</name>
<url>http://repo.gate.ac.uk/content/groups/public/</url>
</pluginRepository>
</pluginRepositories>
<build>
<testResources>
<!-- this adds the maven coordinates into the test resource file creole.properties
which is used to help load this plugin for testing -->
<testResource>
<directory>src/test/resources</directory>
<filtering>true</filtering>
<includes>
<include>creole.properties</include>
</includes>
</testResource>
<!-- copy all the other resources without altering them so we don't accidentally
corrupt datastores or other binary formats -->
<testResource>
<directory>src/test/resources</directory>
<filtering>false</filtering>
<excludes>
<exclude>creole.properties</exclude>
</excludes>
</testResource>
</testResources>
<plugins>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0-M1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M3</version>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.6.0</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>
<compilerArgs>
<arg>-Xlint:all</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>uk.ac.gate</groupId>
<artifactId>gate-maven-plugin</artifactId>
<version>9.0.1</version>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>DumpCreoleToXML</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.6</version>
<executions>
<execution>
<id>default-prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>default-report</id>
<phase>prepare-package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>creole</id>
<goals>
<goal>jar</goal>
</goals>
<phase>package</phase>
<configuration>
<classifier>creole</classifier>
<includes>
<include>META-INF/gate/creole.xml</include>
<include>resources</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.22.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.1</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.5</version>
<configuration>
<xmlOutput>true</xmlOutput>
<effort>Max</effort>
<threshold>Low</threshold>
<excludes>
<!-- exclude auto-generated files -->
<exclude>**/svg/**/*</exclude>
</excludes>
<maxHeap>1024</maxHeap>
<!-- for now ignore issues with default encoding -->
<omitVisitors>DefaultEncodingDetector</omitVisitors>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.5</version>
<configuration>
<excludes>
<!-- this excludes known GUI code from the code coverage results as
we know we aren't testing them so will likely have a 0% coverage -->
<exclude>**/gui/**/*</exclude>
<exclude>**/swing/**/*</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
<systemPropertyVariables>
<jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<failOnError>false</failOnError>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
</plugins>
</reporting>
<distributionManagement>
<repository>
<id>gate-oss</id>
<name>Sonatype OSS staging</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
<layout>default</layout>
</repository>
<snapshotRepository>
<id>gate.snapshots</id>
<name>GATE Snapshots Repository</name>
<url>https://repo.gate.ac.uk/content/repositories/snapshots</url>
<layout>default</layout>
</snapshotRepository>
</distributionManagement>
<profiles>
<profile>
<id>gpg-sign</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>
</plugins>
</build>
</profile>
</profiles>
</project>