languagetool/languagetool-commandline/pom.xml
2025-03-28 17:10:53 +01:00

103 lines
3.9 KiB
XML

<?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>
<parent>
<groupId>org.languagetool</groupId>
<artifactId>languagetool-parent</artifactId>
<version>${revision}</version>
</parent>
<artifactId>languagetool-commandline</artifactId>
<packaging>jar</packaging>
<name>LanguageTool command-line version</name>
<url>https://www.languagetool.org</url>
<licenses>
<license>
<name>GNU Lesser General Public License</name>
<url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<name>Daniel Naber</name>
<roles>
<role>Maintainer</role>
</roles>
</developer>
<developer>
<name>Marcin Miłkowski</name>
<roles>
<role>Maintainer</role>
</roles>
</developer>
</developers>
<dependencies>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>language-all</artifactId>
</dependency>
<dependency>
<groupId>org.languagetool</groupId>
<artifactId>languagetool-core</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<!-- see http://stackoverflow.com/questions/174560/sharing-test-code-in-maven#174670 -->
<groupId>org.languagetool</groupId>
<artifactId>languagetool-core</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathLayoutType>custom</classpathLayoutType>
<!-- this artifact is used in languagetool-standalone, so adapt the path accordingly: -->
<customClasspathLayout>libs/$${artifact.artifactId}$${dashClassifier?}.$${artifact.extension}</customClasspathLayout>
</manifest>
<manifestEntries>
<!-- as we later unzip the language JARs (see languagetool-standalone's pom.xml), we need to add the top directory to the classpath: -->
<Class-Path>./</Class-Path>
<Main-Class>org.languagetool.commandline.Main</Main-Class>
<ComponentVersion>${project.version}</ComponentVersion>
<Implementation-Date>${maven.build.timestamp}</Implementation-Date>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>