Loading pom.xml 0 → 100644 +223 −0 Original line number Original line Diff line number Diff line <?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>fr.emse.gitlab.saref</groupId> <artifactId>saref-pipeline</artifactId> <version>1.0-SNAPSHOT</version> <packaging>jar</packaging> <name>SAREF-Pipeline</name> <description>The pipeline to check SAREF extension projects and generate documentation</description> <inceptionYear>2019</inceptionYear> <developers> <developer> <name>Maxime Lefrançois</name> <email>maxime.lefrancois@emse.fr</email> <url>http://maxime-lefrancois.info/</url> <organization>Ecole des mines de Saint-Etienne</organization> <organizationUrl>http://www.mines-stetienne.fr/</organizationUrl> <timezone>+1</timezone> <properties> <picUrl>http://gravatar.com/userimage/102097381/dac8aeb15edac9a93e09a7974743957f</picUrl> </properties> </developer> <developer> <name>Omar Qawasmeh</name> <email>omar.alqawasmeh@emse.fr</email> <url>https://perso.univ-st-etienne.fr/alo09685/</url> <organization>Ecole des mines de Saint-Etienne</organization> <organizationUrl>http://www.mines-stetienne.fr/</organizationUrl> <timezone>+1</timezone> </developer> </developers> <organization> <name>École des Mines de Saint-Étienne</name> <url>http://www.mines-stetienne.fr/</url> </organization> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <properties> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ssZ</maven.build.timestamp.format> <jdk.version>1.8</jdk.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.scm.id>git</project.scm.id> <sparql-generate.version>2.0-SNAPSHOT</sparql-generate.version> </properties> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-core</artifactId> <version>1.3</version> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.7.25</version> </dependency> <dependency> <groupId>commons-cli</groupId> <artifactId>commons-cli</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.6</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-compress</artifactId> <version>1.20</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-text</artifactId> <version>1.8</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.dataformat</groupId> <artifactId>jackson-dataformat-xml</artifactId> <version>2.10.1</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.dataformat</groupId> <artifactId>jackson-dataformat-yaml</artifactId> <version>2.10.1</version> </dependency> <dependency> <!-- see Porcelain https://git-scm.com/book/uz/v2/Appendix-B%3A-Embedding-Git-in-your-Applications-JGit --> <groupId>org.eclipse.jgit</groupId> <artifactId>org.eclipse.jgit</artifactId> <version>5.2.1.201812262042-r</version> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.8.2</version> <type>jar</type> </dependency> <dependency> <groupId>org.apache.jena</groupId> <artifactId>jena-tdb</artifactId> <version>3.13.0</version> </dependency> <dependency> <groupId>fr.emse.ci</groupId> <artifactId>sparql-generate-markdown</artifactId> <version>${sparql-generate.version}</version> </dependency> <dependency> <groupId>fr.emse.ci</groupId> <artifactId>sparql-generate-jena</artifactId> <version>${sparql-generate.version}</version> </dependency> <dependency> <groupId>org.topbraid</groupId> <artifactId>shacl</artifactId> <version>1.3.1</version> </dependency> <dependency> <groupId>net.sourceforge.owlapi</groupId> <artifactId>owlexplanation</artifactId> <version>5.0.0</version> </dependency> <dependency> <groupId>net.sourceforge.owlapi</groupId> <artifactId>org.semanticweb.hermit</artifactId> <version>1.4.5.519</version> </dependency> </dependencies> <build> <finalName>${project.artifactId}</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>2.4.1</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <mainClass>fr.emse.gitlab.saref.Main </mainClass> </transformer> </transformers> <filters> <filter> <artifact>*:*</artifact> <excludes> <exclude>META-INF/*.SF</exclude> <exclude>META-INF/*.DSA</exclude> <exclude>META-INF/*.RSA</exclude> </excludes> </filter> </filters> </configuration> </execution> </executions> </plugin> <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>fr.emse.gitlab.saref.Main</mainClass> <cleanupDaemonThreads>false</cleanupDaemonThreads> </configuration> </plugin> </plugins> </build> </project> run.sh 0 → 100644 +1 −0 Original line number Original line Diff line number Diff line mvn exec:java -Dexec.mainClass="fr.emse.gitlab.saref.Main" -Dexec.args="-d ../saref-core" saref-pipeline-cli/.gitignoredeleted 100644 → 0 +0 −1 Original line number Original line Diff line number Diff line /target/ saref-pipeline-cli/pom.xmldeleted 100644 → 0 +0 −97 Original line number Original line Diff line number Diff line <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> <parent> <groupId>fr.emse.gitlab.saref</groupId> <artifactId>saref-pipeline-parent</artifactId> <version>1.0-SNAPSHOT</version> <relativePath>../saref-pipeline-parent/pom.xml</relativePath> </parent> <artifactId>saref-pipeline-cli</artifactId> <name>SAREF-Pipeline-cli</name> <packaging>jar</packaging> <developers> <developer> <name>Omar Qawasmeh</name> <email>omar.alqawasmeh@emse.fr</email> <url>https://perso.univ-st-etienne.fr/alo09685/</url> <organization>Ecole des mines de Saint-Etienne</organization> <organizationUrl>http://www.mines-stetienne.fr/</organizationUrl> <timezone>+1</timezone> </developer> </developers> <dependencies> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.7.25</version> </dependency> <dependency> <!-- see Porcelain https://git-scm.com/book/uz/v2/Appendix-B%3A-Embedding-Git-in-your-Applications-JGit --> <groupId>org.eclipse.jgit</groupId> <artifactId>org.eclipse.jgit</artifactId> <version>5.2.1.201812262042-r</version> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.8.2</version> <type>jar</type> </dependency> <dependency> <groupId>commons-cli</groupId> <artifactId>commons-cli</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>fr.emse.gitlab.saref</groupId> <artifactId>saref-pipeline-core</artifactId> <version>1.0-SNAPSHOT</version> </dependency> </dependencies> <build> <finalName>${project.artifactId}</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>2.4.1</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <mainClass>fr.emse.gitlab.saref.Main </mainClass> </transformer> </transformers> <filters> <filter> <artifact>*:*</artifact> <excludes> <exclude>META-INF/*.SF</exclude> <exclude>META-INF/*.DSA</exclude> <exclude>META-INF/*.RSA</exclude> </excludes> </filter> </filters> </configuration> </execution> </executions> </plugin> </plugins> </build> </project> No newline at end of file saref-pipeline-cli/src/main/java/fr/emse/gitlab/saref/tests/Main.javadeleted 100644 → 0 +0 −96 Original line number Original line Diff line number Diff line ///** // * // */ //package fr.emse.gitlab.saref.tests; // //import static fr.emse.gitlab.saref.tests.CMDConfigurations.*; // //import java.io.File; //import java.io.FileWriter; //import java.io.IOException; //import java.util.Arrays; //import java.util.concurrent.TimeUnit; // //import org.apache.commons.cli.CommandLine; //import org.apache.commons.cli.ParseException; //import org.apache.log4j.Level; //import org.apache.log4j.Logger; // //import fr.emse.gitlab.saref.testsuites.TestCase; //import fr.emse.gitlab.saref.testsuites.TestSuite; // ///** // * @author Omar Qawasmeh // * // * // */ //public class Main { // // private static TestCase c1 = new TestCase(); // check Ttl // private static TestCase c2 = new TestCase(); // check prefix // private static TestCase c3 = new TestCase(); // check shacl // // @SuppressWarnings("static-access") // public static void main(String[] args) throws ParseException, IOException { // // Logger.getRootLogger().setLevel(Level.OFF); // // CommandLine cl = CMDConfigurations.parseArguments(args); // // // if (cl.getOptions().length == 0 || cl.hasOption(ARG_HELP)) { // // CMDConfigurations.displayHelp(); // // return; // // } // // // String[] fileNames = cl.getOptionValues(ARG_FILE); // // if (fileNames != null) { // // for (String fileName : fileNames) { // // File file = new File(fileName); // // // // System.out.println(file+"omar"); // // } // // } // // // String[] dataTtls = cl.getOptionValues(ARG_FILE); // // File dataTtl = new File(dataTtls[0]); // // String dataTtlArgs = args[0]; // String CI_JOB_ID = args[1]; // String CI_PROJECT_NAME = args[2]; // String CI_COMMIT = args[3]; // // // System.out.println(dataTtlArgs); // File dataTtl = new File(dataTtlArgs); // System.out.println("******************************************************************************"); // System.out.println("To view your report file please visit:\n\n" // + "http://localhost:8080/report.html?q=http://saref.gitlab.emse.fr/-/" + args[2] + "/-/jobs/" + args[1] // + "/artifacts/report_output.xml"); // System.out.println("******************************************************************************"); // // String dataTtl ="src/main/resources/saref.ttl"; // // TestSuite ts = new TestSuite(); // //// ts.setName("Report for commit number \"" + CI_COMMIT + "\" of project " + CI_PROJECT_NAME); // // PrefixesTest prefixTst = new PrefixesTest(); // boolean c2_Status = prefixTst.comparePrefixMap(dataTtl, c2, ts); // // CheckTurtleFormat checkTtl = new CheckTurtleFormat(); // boolean c1_Status = checkTtl.checkTtlFormat(dataTtl, c1, ts); // // ShaclTests shaclTst = new ShaclTests(); // boolean c3_Status = shaclTst.checkShaclShape(dataTtl, c3, ts, CI_JOB_ID, CI_PROJECT_NAME); // //// ts.setTestcase(Arrays.asList( c1, c2, c3 )); // //// if (c1_Status && c2_Status && c3_Status) { //// ts.jaxbObjectToXML(ts); //// } else { //// ts.jaxbObjectToXML(ts); //// System.exit(42); //// //// } // // } // //} Loading
pom.xml 0 → 100644 +223 −0 Original line number Original line Diff line number Diff line <?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>fr.emse.gitlab.saref</groupId> <artifactId>saref-pipeline</artifactId> <version>1.0-SNAPSHOT</version> <packaging>jar</packaging> <name>SAREF-Pipeline</name> <description>The pipeline to check SAREF extension projects and generate documentation</description> <inceptionYear>2019</inceptionYear> <developers> <developer> <name>Maxime Lefrançois</name> <email>maxime.lefrancois@emse.fr</email> <url>http://maxime-lefrancois.info/</url> <organization>Ecole des mines de Saint-Etienne</organization> <organizationUrl>http://www.mines-stetienne.fr/</organizationUrl> <timezone>+1</timezone> <properties> <picUrl>http://gravatar.com/userimage/102097381/dac8aeb15edac9a93e09a7974743957f</picUrl> </properties> </developer> <developer> <name>Omar Qawasmeh</name> <email>omar.alqawasmeh@emse.fr</email> <url>https://perso.univ-st-etienne.fr/alo09685/</url> <organization>Ecole des mines de Saint-Etienne</organization> <organizationUrl>http://www.mines-stetienne.fr/</organizationUrl> <timezone>+1</timezone> </developer> </developers> <organization> <name>École des Mines de Saint-Étienne</name> <url>http://www.mines-stetienne.fr/</url> </organization> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <properties> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ssZ</maven.build.timestamp.format> <jdk.version>1.8</jdk.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.scm.id>git</project.scm.id> <sparql-generate.version>2.0-SNAPSHOT</sparql-generate.version> </properties> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-core</artifactId> <version>1.3</version> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.7.25</version> </dependency> <dependency> <groupId>commons-cli</groupId> <artifactId>commons-cli</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.6</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-compress</artifactId> <version>1.20</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-text</artifactId> <version>1.8</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.dataformat</groupId> <artifactId>jackson-dataformat-xml</artifactId> <version>2.10.1</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.dataformat</groupId> <artifactId>jackson-dataformat-yaml</artifactId> <version>2.10.1</version> </dependency> <dependency> <!-- see Porcelain https://git-scm.com/book/uz/v2/Appendix-B%3A-Embedding-Git-in-your-Applications-JGit --> <groupId>org.eclipse.jgit</groupId> <artifactId>org.eclipse.jgit</artifactId> <version>5.2.1.201812262042-r</version> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.8.2</version> <type>jar</type> </dependency> <dependency> <groupId>org.apache.jena</groupId> <artifactId>jena-tdb</artifactId> <version>3.13.0</version> </dependency> <dependency> <groupId>fr.emse.ci</groupId> <artifactId>sparql-generate-markdown</artifactId> <version>${sparql-generate.version}</version> </dependency> <dependency> <groupId>fr.emse.ci</groupId> <artifactId>sparql-generate-jena</artifactId> <version>${sparql-generate.version}</version> </dependency> <dependency> <groupId>org.topbraid</groupId> <artifactId>shacl</artifactId> <version>1.3.1</version> </dependency> <dependency> <groupId>net.sourceforge.owlapi</groupId> <artifactId>owlexplanation</artifactId> <version>5.0.0</version> </dependency> <dependency> <groupId>net.sourceforge.owlapi</groupId> <artifactId>org.semanticweb.hermit</artifactId> <version>1.4.5.519</version> </dependency> </dependencies> <build> <finalName>${project.artifactId}</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>2.4.1</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <mainClass>fr.emse.gitlab.saref.Main </mainClass> </transformer> </transformers> <filters> <filter> <artifact>*:*</artifact> <excludes> <exclude>META-INF/*.SF</exclude> <exclude>META-INF/*.DSA</exclude> <exclude>META-INF/*.RSA</exclude> </excludes> </filter> </filters> </configuration> </execution> </executions> </plugin> <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>fr.emse.gitlab.saref.Main</mainClass> <cleanupDaemonThreads>false</cleanupDaemonThreads> </configuration> </plugin> </plugins> </build> </project>
run.sh 0 → 100644 +1 −0 Original line number Original line Diff line number Diff line mvn exec:java -Dexec.mainClass="fr.emse.gitlab.saref.Main" -Dexec.args="-d ../saref-core"
saref-pipeline-cli/.gitignoredeleted 100644 → 0 +0 −1 Original line number Original line Diff line number Diff line /target/
saref-pipeline-cli/pom.xmldeleted 100644 → 0 +0 −97 Original line number Original line Diff line number Diff line <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> <parent> <groupId>fr.emse.gitlab.saref</groupId> <artifactId>saref-pipeline-parent</artifactId> <version>1.0-SNAPSHOT</version> <relativePath>../saref-pipeline-parent/pom.xml</relativePath> </parent> <artifactId>saref-pipeline-cli</artifactId> <name>SAREF-Pipeline-cli</name> <packaging>jar</packaging> <developers> <developer> <name>Omar Qawasmeh</name> <email>omar.alqawasmeh@emse.fr</email> <url>https://perso.univ-st-etienne.fr/alo09685/</url> <organization>Ecole des mines de Saint-Etienne</organization> <organizationUrl>http://www.mines-stetienne.fr/</organizationUrl> <timezone>+1</timezone> </developer> </developers> <dependencies> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.7.25</version> </dependency> <dependency> <!-- see Porcelain https://git-scm.com/book/uz/v2/Appendix-B%3A-Embedding-Git-in-your-Applications-JGit --> <groupId>org.eclipse.jgit</groupId> <artifactId>org.eclipse.jgit</artifactId> <version>5.2.1.201812262042-r</version> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.8.2</version> <type>jar</type> </dependency> <dependency> <groupId>commons-cli</groupId> <artifactId>commons-cli</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>fr.emse.gitlab.saref</groupId> <artifactId>saref-pipeline-core</artifactId> <version>1.0-SNAPSHOT</version> </dependency> </dependencies> <build> <finalName>${project.artifactId}</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>2.4.1</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <mainClass>fr.emse.gitlab.saref.Main </mainClass> </transformer> </transformers> <filters> <filter> <artifact>*:*</artifact> <excludes> <exclude>META-INF/*.SF</exclude> <exclude>META-INF/*.DSA</exclude> <exclude>META-INF/*.RSA</exclude> </excludes> </filter> </filters> </configuration> </execution> </executions> </plugin> </plugins> </build> </project> No newline at end of file
saref-pipeline-cli/src/main/java/fr/emse/gitlab/saref/tests/Main.javadeleted 100644 → 0 +0 −96 Original line number Original line Diff line number Diff line ///** // * // */ //package fr.emse.gitlab.saref.tests; // //import static fr.emse.gitlab.saref.tests.CMDConfigurations.*; // //import java.io.File; //import java.io.FileWriter; //import java.io.IOException; //import java.util.Arrays; //import java.util.concurrent.TimeUnit; // //import org.apache.commons.cli.CommandLine; //import org.apache.commons.cli.ParseException; //import org.apache.log4j.Level; //import org.apache.log4j.Logger; // //import fr.emse.gitlab.saref.testsuites.TestCase; //import fr.emse.gitlab.saref.testsuites.TestSuite; // ///** // * @author Omar Qawasmeh // * // * // */ //public class Main { // // private static TestCase c1 = new TestCase(); // check Ttl // private static TestCase c2 = new TestCase(); // check prefix // private static TestCase c3 = new TestCase(); // check shacl // // @SuppressWarnings("static-access") // public static void main(String[] args) throws ParseException, IOException { // // Logger.getRootLogger().setLevel(Level.OFF); // // CommandLine cl = CMDConfigurations.parseArguments(args); // // // if (cl.getOptions().length == 0 || cl.hasOption(ARG_HELP)) { // // CMDConfigurations.displayHelp(); // // return; // // } // // // String[] fileNames = cl.getOptionValues(ARG_FILE); // // if (fileNames != null) { // // for (String fileName : fileNames) { // // File file = new File(fileName); // // // // System.out.println(file+"omar"); // // } // // } // // // String[] dataTtls = cl.getOptionValues(ARG_FILE); // // File dataTtl = new File(dataTtls[0]); // // String dataTtlArgs = args[0]; // String CI_JOB_ID = args[1]; // String CI_PROJECT_NAME = args[2]; // String CI_COMMIT = args[3]; // // // System.out.println(dataTtlArgs); // File dataTtl = new File(dataTtlArgs); // System.out.println("******************************************************************************"); // System.out.println("To view your report file please visit:\n\n" // + "http://localhost:8080/report.html?q=http://saref.gitlab.emse.fr/-/" + args[2] + "/-/jobs/" + args[1] // + "/artifacts/report_output.xml"); // System.out.println("******************************************************************************"); // // String dataTtl ="src/main/resources/saref.ttl"; // // TestSuite ts = new TestSuite(); // //// ts.setName("Report for commit number \"" + CI_COMMIT + "\" of project " + CI_PROJECT_NAME); // // PrefixesTest prefixTst = new PrefixesTest(); // boolean c2_Status = prefixTst.comparePrefixMap(dataTtl, c2, ts); // // CheckTurtleFormat checkTtl = new CheckTurtleFormat(); // boolean c1_Status = checkTtl.checkTtlFormat(dataTtl, c1, ts); // // ShaclTests shaclTst = new ShaclTests(); // boolean c3_Status = shaclTst.checkShaclShape(dataTtl, c3, ts, CI_JOB_ID, CI_PROJECT_NAME); // //// ts.setTestcase(Arrays.asList( c1, c2, c3 )); // //// if (c1_Status && c2_Status && c3_Status) { //// ts.jaxbObjectToXML(ts); //// } else { //// ts.jaxbObjectToXML(ts); //// System.exit(42); //// //// } // // } // //}