sparql-anything-cli
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.github.sparql-anything</groupId>
<artifactId>sparql-anything-cli</artifactId>
<version>1.2.0-DEV</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2025 SPARQL Anything Contributors @ http://github.com/sparql-anything
~
~ Licensed 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 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.github.sparql-anything</groupId>
<artifactId>sparql-anything-parent</artifactId>
<version>1.2.0-DEV</version>
</parent>
<groupId>io.github.sparql-anything</groupId>
<artifactId>sparql-anything-cli</artifactId>
<version>1.2.0-DEV</version>
<name>SPARQL Anything - CLI module</name>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://github.com/SPARQL-Anything/sparql.anything/blob/HEAD/LICENSE</url>
<distribution>repo</distribution>
</license>
</licenses>
<properties>
<revision>1.2.0-SNAPSHOT</revision>
</properties>
<dependencies>
<dependency>
<groupId>io.github.sparql-anything</groupId>
<artifactId>sparql-anything-model</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.sparql-anything</groupId>
<artifactId>sparql-anything-engine</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.sparql-anything</groupId>
<artifactId>sparql-anything-binary</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.sparql-anything</groupId>
<artifactId>sparql-anything-spreadsheet</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.sparql-anything</groupId>
<artifactId>sparql-anything-rdf</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.sparql-anything</groupId>
<artifactId>sparql-anything-csv</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.sparql-anything</groupId>
<artifactId>sparql-anything-xml</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.sparql-anything</groupId>
<artifactId>sparql-anything-docs</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.sparql-anything</groupId>
<artifactId>sparql-anything-html</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.sparql-anything</groupId>
<artifactId>sparql-anything-text</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.sparql-anything</groupId>
<artifactId>sparql-anything-json</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.sparql-anything</groupId>
<artifactId>sparql-anything-yaml</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.sparql-anything</groupId>
<artifactId>sparql-anything-markdown</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.sparql-anything</groupId>
<artifactId>sparql-anything-bibliography</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.sparql-anything</groupId>
<artifactId>sparql-anything-archive</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.sparql-anything</groupId>
<artifactId>sparql-anything-slides</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.basilapi</groupId>
<artifactId>sparql</artifactId>
<exclusions>
<exclusion>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</exclusion>
<exclusion>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.jena</groupId>
<artifactId>jena-arq</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.jena</groupId>
<artifactId>jena-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
</dependencies>
<build>
<sourceDirectory>src/main/java</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>17</source>
<target>17</target>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>generate-cli-jar</id>
<activation>
<property>
<name>generate-cli-jar</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
<executions>
<execution>
<id>sparql-anything</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<outputFile>target/sparql-anything-${project.version}.jar</outputFile>
<shadedArtifactAttached>false</shadedArtifactAttached>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>io.github.sparqlanything.cli.SPARQLAnything</mainClass>
</transformer>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer" />
<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer">
<addHeader>false</addHeader>
</transformer>
</transformers>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>com.github.spice-h2020:sparql.anything.fuseki</exclude>
<exclude>junit:junit</exclude>
<exclude>org.apache.maven:lib:tests</exclude>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>generate-cli-jar-geosparql</id>
<activation>
<property>
<name>generate-cli-jar-geosparql</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
<executions>
<execution>
<id>sparql-anything</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<outputFile>target/sparql-anything-${project.version}-geosparql.jar</outputFile>
<shadedArtifactAttached>false</shadedArtifactAttached>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>io.github.sparqlanything.cli.SPARQLAnything</mainClass>
</transformer>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer" />
<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer">
<addHeader>false</addHeader>
</transformer>
</transformers>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>com.github.spice-h2020:sparql.anything.fuseki</exclude>
<exclude>junit:junit</exclude>
<exclude>org.apache.maven:lib:tests</exclude>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>jena-geosparql</artifactId>
</dependency>
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
</dependency>
</dependencies>
</profile>
</profiles>
</project>