blob: 9b66c1afcf1393df2d45f1179e56cd32cffd0e10 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<name>Apache Jena - Fuseki Server</name>
<artifactId>jena-fuseki-main</artifactId>
<parent>
<groupId>org.apache.jena</groupId>
<artifactId>jena-fuseki</artifactId>
<version>3.13.1</version>
</parent>
<packaging>jar</packaging>
<properties>
<automatic.module.name>org.apache.jena.fuseki.main</automatic.module.name>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.jena</groupId>
<!-- <artifactId>jena-fuseki-core</artifactId>-->
<!-- Depends on jena-fuseki-core -->
<artifactId>jena-fuseki-access</artifactId>
<version>3.13.1</version>
<exclusions>
<!-- Parts of Jena not needed but picked up via jena-fuseki-core.
The application can put back any of these if it wants to use
them, e.g. a text-indexed dataset, providing the version is compatible.
-->
<exclusion>
<groupId>org.apache.jena</groupId>
<artifactId>jena-text</artifactId>
</exclusion>
<!-- Jena uses SLF4J as its API. Exclude any logging bindings picked up via Jena.
For example, jena-fuseki-core has logging output and so some logging provider.
For embedded use, it is the enclosing application that chooses the kind of
logging system.
-->
<!--
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
</exclusion>
-->
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>jena-fuseki-core</artifactId>
<version>3.13.1</version>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
<!-- For parsing Jetty configuration files -->
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-xml</artifactId>
<version>${ver.jetty}</version>
</dependency>
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>jena-cmds</artifactId>
<version>3.13.1</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<!--<version>0.12</version>-->
<executions>
<execution>
<id>rat-checks</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<excludes>
<exclude>**/.project</exclude>
<exclude>**/.settings/**</exclude>
<exclude>**/.classpath</exclude>
<exclude>**/README.*</exclude>
<exclude>**/META-INF/services/*</exclude>
<exclude>**/dependency-reduced-pom.xml</exclude>
<exclude>fuseki.classpath</exclude>
<exclude>testing/**/*.ttl</exclude>
<exclude>testing/**/*.txt</exclude>
<exclude>sparqler/data/empty.nt</exclude>
<exclude>sparqler/pages/robots.txt</exclude>
<exclude>sparqler/pages/crossdomain.xml</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>${automatic.module.name}</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
<execution>
<id>attach-sources-test</id>
<goals>
<goal>test-jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<include>**/TS_*.java</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
</project>