Skip to content

Instantly share code, notes, and snippets.

@amake
Created December 3, 2019 14:16
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save amake/8d601ae3bd0c899acd406c2a7cca3347 to your computer and use it in GitHub Desktop.
Run Okapi Tikal install-less with Maven
<?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">
<!-- Execute tikal with Maven: mvn -q -f tikal.pom.xml exec:java -Dexec.args=-h -->
<modelVersion>4.0.0</modelVersion>
<groupId>org.lake</groupId>
<artifactId>tikal</artifactId>
<version>1.0-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>net.sf.okapi.applications.tikal.Main</mainClass>
<systemProperties>
<systemProperty>
<key>logback.configurationFile</key>
<value>./zlogback.xml</value>
</systemProperty>
</systemProperties>
<arguments>
<argument>-logger</argument>
</arguments>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>net.sf.okapi</groupId>
<artifactId>okapi-application-tikal</artifactId>
<version>0.38</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</project>
<configuration debug="false">
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%msg%n</pattern>
</encoder>
</appender>
<logger name="net.htmlparser.jericho" level="OFF"/>
<root level="INFO">
<appender-ref ref="STDOUT" />
</root>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment