languagetool-wikipedia
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.languagetool</groupId> <artifactId>languagetool-wikipedia</artifactId> <version>6.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> <parent> <groupId>org.languagetool</groupId> <artifactId>languagetool-parent</artifactId> <version>6.3</version> </parent> <artifactId>languagetool-wikipedia</artifactId> <packaging>jar</packaging> <name>LanguageTool Wikipedia tools</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> <properties> <!-- we have to repeat it here as otherwise Grails project languagetool-community-website will fail: --> <lucene.version>5.5.5</lucene.version> </properties> <dependencies> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> </dependency> <dependency> <groupId>commons-cli</groupId> <artifactId>commons-cli</artifactId> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-compress</artifactId> </dependency> <dependency> <groupId>org.apache.lucene</groupId> <artifactId>lucene-analyzers-common</artifactId> </dependency> <dependency> <groupId>org.apache.lucene</groupId> <artifactId>lucene-queries</artifactId> </dependency> <!-- comment in this or some other driver for your database if you want to store results of Wikipedia checks to a database (for license reasons, this cannot be part of LanguageTool): <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.26</version> </dependency> --> <dependency> <!-- used for regex queries --> <groupId>org.apache.lucene</groupId> <artifactId>lucene-sandbox</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.sweble.wikitext</groupId> <artifactId>swc-engine</artifactId> </dependency> <dependency> <groupId>org.sweble.wikitext</groupId> <artifactId>swc-parser-lazy</artifactId> </dependency> <dependency> <groupId>org.tukaani</groupId> <artifactId>xz</artifactId> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.lucene</groupId> <artifactId>lucene-test-framework</artifactId> <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> <customClasspathLayout>libs/$${artifact.artifactId}$${dashClassifier?}.$${artifact.extension}</customClasspathLayout> </manifest> <manifestEntries> <!-- as we later unzip the language JARs (see zip.xml), we need to add the top directory to the classpath: --> <Class-Path>./</Class-Path> <Main-Class>org.languagetool.dev.wikipedia.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> <configuration> <file>languagetool-wikipedia-{$revision}</file> </configuration> </plugin> </plugins> </build> <profiles> <!--https://stackoverflow.com/questions/17006405/exclude-jar-with-dependencies-from-deploying-to-nexus--> <!--mvn clean package -P shade -pl languagetool-wikipedia --> <!--do not deploy with this profile--> <profile> <id>shade</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptors> <descriptor>src/main/assembly/zip.xml</descriptor> </descriptors> <finalName>LanguageTool-wikipedia-${project.version}</finalName> <appendAssemblyId>false</appendAssemblyId> <archive> <manifest> <addClasspath>true</addClasspath> <addExtensions>false</addExtensions> </manifest> </archive> </configuration> <executions> <execution> <id>make-assembly</id> <goals> <goal>single</goal> </goals> <phase>package</phase> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>