Maven Central: org.fryske-akademy:teidictionaries:5.3

teidictionaries

Overview

Description

ValidationHelpers with to and from XML methods and JAXB classes for tei dictionaries

Snippets

Apache MavenGradlesbtivygrapeleiningenbuildrbldScala CLIMill

Copy to clipboard

<dependency>
    <groupId>org.fryske-akademy</groupId>
    <artifactId>teidictionaries</artifactId>
    <version>5.3</version>
</dependency>

Maven POM File

Copy to clipboard

<?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>

<groupId>org.fryske-akademy</groupId>
    <artifactId>teidictionaries</artifactId>
    <version>5.3</version>
    <packaging>jar</packaging>
    <inceptionYear>2020</inceptionYear>

<name>teidictionaries</name>

<properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <doclint>none</doclint>
        <after>2000-01-01_00:00</after>
        <teiversion>4.1.0</teiversion>
        <stylesheetversion>7.53.0</stylesheetversion>
    </properties>

<url>https://bitbucket.org/fryske-akademy/online-dictionaries</url>

<description>
        ValidationHelpers with to and from XML methods and JAXB classes for tei dictionaries
    </description>

<distributionManagement>
        <repository>
            <id>ossrh</id>
            <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
        </repository>
    </distributionManagement>

<licenses>
        <license>
            <name>Apache License, Version 2.0</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <distribution>repo</distribution>
            <comments>A business-friendly OSS license</comments>
        </license>
    </licenses>
    <scm>
        <url>https://bitbucket.org/fryske-akademy/online-dictionaries</url>
        <connection>scm:git:git@bitbucket.org:fryske-akademy/online-dictionaries.git</connection>
        <developerConnection>scm:git:git@bitbucket.org:fryske-akademy/online-dictionaries.git</developerConnection>
        <tag>teidictionaries-5.3</tag>
    </scm>

<issueManagement>
        <system>bitbucket</system>
        <url>https://fryske-akademy@bitbucket.org/fryske-akademy/online-dictionaries/issues</url>
    </issueManagement>

<developers>
        <developer>
            <email>edrenth@fryske-akademy.nl</email>
            <name>Eduard Drenth</name>
            <organization>Fryske Akademy</organization>
            <roles>
                <role>owner</role>
                <role>lead developer</role>
            </roles>
        </developer>
    </developers>

<organization>
        <name>Fryske Akademy</name>
        <url>http://www.fryske-akademy.nl</url>
    </organization>

<build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.10.1</version>
                <configuration>
                    <release>11</release>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-resources-plugin</artifactId>
                <version>3.3.0</version>
                <executions>
                    <execution>
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>copy-resources</goal>
                        </goals>
                        <configuration>
                            <outputDirectory>jsonDictionary</outputDirectory>
                            <resources>
                                <resource>
                                    <directory>src/main/resources/xslt</directory>
                                    <includes>
                                        <include>teiToLex0.xslt</include>
                                    </includes>
                                </resource>
                            </resources>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>xml-maven-plugin</artifactId>
                <version>1.0.2</version>
                <executions>
                    <execution>
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>transform</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <transformationSets>
                        <transformationSet>
                            <dir>src/main/resources/odd</dir>
                            <includes>tei_dictionaries.odd</includes>
                            <stylesheet>src/main/Stylesheets-${stylesheetversion}/odds/odd2odd.xsl</stylesheet>
                            <parameters>
                                <parameter>
                                    <name>defaultSource</name>
                                    <value>file:${basedir}/src/main/Stylesheets-${stylesheetversion}/source/p5subset.xml</value>
                                </parameter>
                                <parameter>
                                    <name>suppressTEIexamples</name>
                                    <value>true</value>
                                </parameter>
                            </parameters>
                            <outputDir>src/main/resources/odd</outputDir>
                            <fileMappers>
                                <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
                                    <targetExtension>.compiled</targetExtension>
                                </fileMapper>
                            </fileMappers>
                        </transformationSet>
                        <transformationSet>
                            <dir>src/main/resources/odd</dir>
                            <outputDir>src/main/resources/xjb</outputDir>
                            <includes>tei_dictionaries.compiled</includes>
                            <stylesheet>src/main/resources/xslt/OddToBind.xsl</stylesheet>
                            <fileMappers>
                                <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
                                    <pattern>.*</pattern>
                                    <replacement>bind.xml</replacement>
                                </fileMapper>
                            </fileMappers>
                        </transformationSet>
                    </transformationSets>
                </configuration>
                <dependencies>
                    <dependency>
                        <groupId>net.sf.saxon</groupId>
                        <artifactId>Saxon-HE</artifactId>
                        <version>11.3</version>
                    </dependency>
                </dependencies>
            </plugin>
            <plugin>
                <groupId>net.sigmalab.trang</groupId>
                <artifactId>trang-maven-plugin</artifactId>
                <version>1.2</version>
                <executions>
                    <execution>
                        <id>TEI dictionaries</id>
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>trang</goal>
                        </goals>
                        <configuration>
                            <inputFiles>
                                <inputFile>src/main/resources/rng/tei_dictionaries.rng</inputFile>
                            </inputFiles>
                            <outputDirectory>src/main/resources/xsd</outputDirectory>
                            <outputFileName>tei_dictionaries.xsd</outputFileName>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>jaxb2-maven-plugin</artifactId>
                <version>3.1.0</version>
                <executions>
                    <execution>
                        <id>xjc</id>
                        <goals>
                            <goal>xjc</goal>
                        </goals>
                        <configuration>
                            <sources>
                                <source>src/main/resources/xsd</source>
                            </sources>
                            <xjcSourceExcludeFilters>
                                <filter implementation="org.codehaus.mojo.jaxb2.shared.filters.pattern.PatternFileFilter">
                                    <patterns>
                                        <pattern>\.xml</pattern>
                                        <pattern>lex0</pattern>
                                    </patterns>
                                </filter>
                            </xjcSourceExcludeFilters>
                            <xjbSources>src/main/resources/xjb</xjbSources>
                            <packageName>org.fryske_akademy.teidictionaries.jaxb</packageName>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>3.0.0-M7</version>
                <configuration>
                    <additionalClasspathElements>
                        <additionalClasspathElement>src/main/resources</additionalClasspathElement>
                    </additionalClasspathElements>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>license-maven-plugin</artifactId>
                <version>2.0.0</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>update-file-header</goal>
                        </goals>
                        <phase>validate</phase>
                    </execution>
                </executions>
                <configuration>
                    <licenseName>apache_v2</licenseName>
                    <excludes>
                        <exclude>%regex[.*Stylesheets-.*]</exclude>
                    </excludes>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.owasp</groupId>
                <artifactId>dependency-check-maven</artifactId>
                <version>7.3.0</version>
                <configuration>
                    <failBuildOnCVSS>8</failBuildOnCVSS>
                    <skipProvidedScope>true</skipProvidedScope>
                    <skipRuntimeScope>true</skipRuntimeScope>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>check</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.13.2</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>jakarta.xml.bind</groupId>
            <artifactId>jakarta.xml.bind-api</artifactId>
            <version>4.0.0</version>
        </dependency>
        <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-impl</artifactId>
            <version>4.0.1</version>
            <scope>runtime</scope>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>org.relaxng</groupId>
            <artifactId>jing</artifactId>
            <version>20181222</version>
            <scope>runtime</scope>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>org.exist-db.thirdparty.xerces</groupId>
            <artifactId>xercesImpl</artifactId>
            <version>2.12.2</version>
            <scope>runtime</scope>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>net.sf.saxon</groupId>
            <artifactId>Saxon-HE</artifactId>
            <version>11.3</version>
            <scope>runtime</scope>
            <optional>true</optional>
        </dependency>
        <!-- https://mvnrepository.com/artifact/name.dmaus.schxslt/java -->
        <dependency>
            <groupId>name.dmaus.schxslt</groupId>
            <artifactId>java</artifactId>
            <version>3.1.1</version>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-jdk14</artifactId>
            <version>1.7.36</version>
            <scope>test</scope>
        </dependency>
    </dependencies>
    <profiles>
        <profile>
            <id>release</id>
            <activation>
                <property>
                    <name>performRelease</name>
                    <value>true</value>
                </property>
            </activation>
            <build>
                <plugins>

<plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-release-plugin</artifactId>
                        <version>2.5.3</version>
                        <configuration>
                            <releaseProfiles>release</releaseProfiles>
                            <goals>deploy</goals>
                        </configuration>
                    </plugin>
                    <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>

Metadata

Age:3 years ago

Licenses:

Organization

org.fryske-akademy

External Resources

Project URL

Issue Tracker URL

Source Control

Known Contributors

Eduard Drenth