Skip to content

Commit

Permalink
Added a MarkingBuilder class that eases the creation of Marking insta…
Browse files Browse the repository at this point in the history
…nces.
  • Loading branch information
MichaelRoeder committed Aug 23, 2024
1 parent 216f082 commit b19a6ac
Show file tree
Hide file tree
Showing 12 changed files with 780 additions and 478 deletions.
36 changes: 36 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# EditorConfig: http://EditorConfig.org
# top-most EditorConfig file
root = true

# all files defaults
[*]
# Unix-style newlines with a newline ending
end_of_line = lf
insert_final_newline = true
# Set default charset
charset = utf-8
# 4 space indentation
indent_style = space
indent_size = 4
# trim whitespaces
trim_trailing_whitespace = true
# always insert final newline
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false

# tab for makefiles
[{Makefile, Makefile*, *.xml}]
indent_style = tab
indent_size = 4

# 2 spaces for Dockerfiles
[{Dockerfile, Dockerfile*}]
indent_style = space
indent_size = 2

# 2 spaces for md, yaml, ttl, etc..
[*.{md,yml,iml,json,ttl,ts,js,html,css}]
indent_style = space
indent_size = 2
278 changes: 142 additions & 136 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,158 +1,164 @@
<!--
This file is part of NIF transfer library for the General Entity Annotator Benchmark.
This file is part of NIF transfer library for the General Entity Annotator
Benchmark.
NIF transfer library for the General Entity Annotator Benchmark is free software: you can redistribute it and/or modify
NIF transfer library for the General Entity Annotator Benchmark is free
software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
NIF transfer library for the General Entity Annotator Benchmark is distributed in the hope that it will be useful,
NIF transfer library for the General Entity Annotator Benchmark is distributed
in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with NIF transfer library for the General Entity Annotator Benchmark. If not, see <http://www.gnu.org/licenses/>.
along with NIF transfer library for the General Entity Annotator Benchmark. If
not, see <http://www.gnu.org/licenses/>.
-->
<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.aksw</groupId>
<artifactId>gerbil.nif.transfer</artifactId>
<version>1.2.8</version>
<name>NIF transfer library for the General Entity Annotator Benchmark</name>
<description>This project contains classes for transferring documents using NIF.</description>
<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.aksw</groupId>
<artifactId>gerbil.nif.transfer</artifactId>
<version>1.2.9</version>
<name>NIF transfer library for the General Entity Annotator Benchmark</name>
<description>This project contains classes for transferring documents using
NIF.</description>

<properties>
<java.version>1.8</java.version>
<slf4j.version>1.7.6</slf4j.version>
<junit.version>4.11</junit.version>
<jena.version>3.1.0</jena.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<properties>
<java.version>1.8</java.version>
<slf4j.version>1.7.6</slf4j.version>
<junit.version>4.11</junit.version>
<jena.version>3.1.0</jena.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<repositories>
<repository>
<id>maven.aksw.internal</id>
<name>University Leipzig, AKSW Maven2 Repository</name>
<url>https://maven.aksw.org/repository/internal</url>
</repository>
<repository>
<id>maven.aksw.snapshots</id>
<name>University Leipzig, AKSW Maven2 Repository</name>
<url>https://maven.aksw.org/repository/snapshots</url>
</repository>
</repositories>
<repositories>
<repository>
<id>maven.aksw.internal</id>
<name>University Leipzig, AKSW Maven2 Repository</name>
<url>https://maven.aksw.org/repository/internal</url>
</repository>
<repository>
<id>maven.aksw.snapshots</id>
<name>University Leipzig, AKSW Maven2 Repository</name>
<url>https://maven.aksw.org/repository/snapshots</url>
</repository>
</repositories>

<dependencies>
<!-- Jena for using NIF -->
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>jena-core</artifactId>
<version>${jena.version}</version>
</dependency>
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>jena-arq</artifactId>
<version>${jena.version}</version>
</dependency>
<dependencies>
<!-- Jena for using NIF -->
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>jena-core</artifactId>
<version>${jena.version}</version>
</dependency>
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>jena-arq</artifactId>
<version>${jena.version}</version>
</dependency>

<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.4</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.4</version>
</dependency>

<!-- slf4j: Logging API -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!-- slf4j: Logging Binding - is already contained in aida -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!-- slf4j: Logging API -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!-- slf4j: Logging Binding - is already contained in aida -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
</dependency>

<!-- JUnit -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<!-- JUnit -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<!-- Javadoc plugin for generating documentation -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.1</version>
<configuration>
<show>private</show>
<nohelp>true</nohelp>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Source plugin for creating source file jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- License management plugin -->
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>2.6</version>
<configuration>
<header>com/mycila/maven/plugin/license/templates/LGPL-3.txt</header>
<properties>
<year>${project.inceptionYear}</year>
<email>usbeck@informatik.uni-leipzig.de</email>
</properties>
<excludes>
<exclude>**/README</exclude>
<exclude>**/LICENSE</exclude>
<exclude>**/install_to_gerbil.sh</exclude>
<exclude>diagrams/**</exclude>
<exclude>repository/**</exclude>
<exclude>gerbil_data/**</exclude>
<exclude>src/test/resources/**</exclude>
<exclude>src/main/resources/**</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<!-- Javadoc plugin for generating documentation -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.1</version>
<configuration>
<show>private</show>
<nohelp>true</nohelp>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Source plugin for creating source file jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- License management plugin -->
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>2.6</version>
<configuration>
<header>com/mycila/maven/plugin/license/templates/LGPL-3.txt</header>
<properties>
<year>${project.inceptionYear}</year>
<email>usbeck@informatik.uni-leipzig.de</email>
</properties>
<excludes>
<exclude>**/README</exclude>
<exclude>**/LICENSE</exclude>
<exclude>**/install_to_gerbil.sh</exclude>
<exclude>diagrams/**</exclude>
<exclude>repository/**</exclude>
<exclude>gerbil_data/**</exclude>
<exclude>src/test/resources/**</exclude>
<exclude>src/main/resources/**</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</project>
Loading

0 comments on commit b19a6ac

Please sign in to comment.