Skip to content

Commit

Permalink
Re-enable validation module in the build (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
berezovskyi authored Apr 14, 2023
1 parent 45b125a commit 6b31cbb
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 7 deletions.
4 changes: 1 addition & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@
<module>trs/server</module>
<module>trs/client</module>
<module>store</module>
<!-- Remove util https://bugs.eclipse.org/bugs/show_bug.cgi?id=574043
and/or https://github.com/weso/shaclex/issues/390 are resolved-->
<!-- <module>validation</module>-->
<module>validation</module>
</modules>

<profiles>
Expand Down
50 changes: 46 additions & 4 deletions validation/pom.xml
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
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.eclipse.lyo</groupId>-->
<artifactId>lyo-validation</artifactId>
<version>5.0.0-SNAPSHOT</version>
<version>5.0.1-SNAPSHOT</version>
<name>Lyo :: Validation</name>

<parent>
<groupId>org.eclipse.lyo</groupId>
<artifactId>lyo-parent</artifactId>
<version>5.0.0-SNAPSHOT</version>
<version>5.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<properties>
<v.shaclex>0.1.102</v.shaclex>
<v.shaclex>0.2.2</v.shaclex>
</properties>

<dependencies>
Expand All @@ -34,10 +35,18 @@
<version>${v.shaclex}</version>
<type>pom</type>
<exclusions>
<exclusion>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
</exclusion>
<exclusion>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-runtime</artifactId>
</exclusion>
<exclusion>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</exclusion>
</exclusions>
</dependency>

Expand Down Expand Up @@ -85,11 +94,44 @@
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.9</version>
<!-- same as Jena 4.5.0, consider removing -->
<version>2.9.0</version>
</dependency>

</dependencies>

<dependencyManagement>
<dependencies>
<!--maven enforcer for shaclex-->
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-reflect</artifactId>
<version>2.12.15</version>
</dependency>
<dependency>
<groupId>org.scala-lang.modules</groupId>
<artifactId>scala-collection-compat_2.12</artifactId>
<version>2.7.0</version>
</dependency>
<dependency>
<groupId>co.fs2</groupId>
<artifactId>fs2-core_2.12</artifactId>
<version>3.2.7</version>
</dependency>
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>jena-shacl</artifactId>
<version>${v.jena}</version>
</dependency>
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>jena-shex</artifactId>
<version>${v.jena}</version>
</dependency>
</dependencies>
</dependencyManagement>


<build>
<plugins>
<plugin>
Expand Down
23 changes: 23 additions & 0 deletions validation/src/test/resources/simplelogger.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# https://www.slf4j.org/api/org/slf4j/impl/SimpleLogger.html
org.slf4j.simpleLogger.logFile = System.out
org.slf4j.simpleLogger.defaultLogLevel = INFO
org.slf4j.simpleLogger.levelInBrackets = false
org.slf4j.simpleLogger.showLogName = true
org.slf4j.simpleLogger.showShortLogName = true
org.slf4j.simpleLogger.showDateTime = true
org.slf4j.simpleLogger.dateTimeFormat = HH:mm:ss.SSS
org.slf4j.simpleLogger.showThreadName = false

org.slf4j.simpleLogger.log.org.eclipse.lyo = DEBUG
org.slf4j.simpleLogger.log.es.weso.shacl = INFO
org.slf4j.simpleLogger.log.org.eclipse.lyo.validation.impl = INFO

org.slf4j.simpleLogger.log.org.eclipse.lyo.oslc4j.provider.jena.ordfm.ResourcePackages = INFO
org.slf4j.simpleLogger.log.org.eclipse.lyo.oslc4j.provider.jena.JenaModelHelper = INFO
#org.slf4j.simpleLogger.log.org.eclipse.lyo.trs = TRACE

org.slf4j.simpleLogger.log.org.apache.jena = INFO
org.slf4j.simpleLogger.log.org.glassfish = INFO
org.slf4j.simpleLogger.log.org.jboss.weld = TRACE
org.slf4j.simpleLogger.log.org.apache.http = INFO
org.slf4j.simpleLogger.log.Jena = INFO

0 comments on commit 6b31cbb

Please sign in to comment.