Skip to content

Commit

Permalink
Updates (#124)
Browse files Browse the repository at this point in the history
- jts updated from v1.18.2 to v1.19.0
- logging output adjustments
- cleanup maven-version-rules.xml

Signed-off-by: Phillip Ross <[email protected]>
  • Loading branch information
phillipross authored Dec 21, 2022
1 parent a2c5376 commit e3259ad
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 14 deletions.
26 changes: 16 additions & 10 deletions maven-version-rules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,33 @@
xsi:schemaLocation="http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0 http://mojo.codehaus.org/versions-maven-plugin/xsd/rule-2.0.0.xsd">
<ignoreVersions>
<!-- Exclude milestones, release candidates, alphas, and betas-->
<ignoreVersion type="regex">.*-[M|RC|alpha|beta|rc].*</ignoreVersion>
<ignoreVersion type="regex">.*[\.-](?i)([M|alpha|beta|rc]).*</ignoreVersion>
<!-- Exclude milestones, release candidates, alphas, and betas, and Java7 qualifiers -->
<ignoreVersion type="regex">.*\.jre[6-7]</ignoreVersion>
</ignoreVersions>
<rules>
<!-- Pin git-commit-id-plugin version to final release version before V5 until codebase migrates to Java11 -->
<rule groupId="pl.project13.maven" artifactId="git-commit-id-plugin">
<!-- Pin logback version to v1.3.x (v1.4.0+ requires Java11) -->
<rule groupId="ch.qos.logback" comparisonMethod="maven">
<ignoreVersions>
<ignoreVersion type="regex">4\.9\.9</ignoreVersion>
<ignoreVersion type="regex">1\.4\..*</ignoreVersion>
</ignoreVersions>
</rule>
<!-- Pin testng version to pre-V7 -->
<rule groupId="org.testng" artifactId="testng">
<!-- Pin checkstyle version to pre-v10 (v10 is requires Java11) -->
<rule groupId="com.puppycrawl.tools" artifactId="checkstyle" comparisonMethod="maven">
<ignoreVersions>
<ignoreVersion type="regex">7\..*</ignoreVersion>
<ignoreVersion type="regex">10\..*</ignoreVersion>
</ignoreVersions>
</rule>
<!-- Ignore logback version with groovyless suffix -->
<rule groupId="ch.qos.logback">
<!-- Pin testng version to 7.5.x (v7.6+ requires Java11) -->
<rule groupId="org.testng" artifactId="testng" comparisonMethod="maven">
<ignoreVersions>
<ignoreVersion type="regex">.*-groovyless</ignoreVersion>
<ignoreVersion type="regex">7\.[6-9].*</ignoreVersion>
</ignoreVersions>
</rule>
<!-- Pin git-commit-id-plugin version to final 4.x release version (v5+ requires Java11 -->
<rule groupId="pl.project13.maven" artifactId="git-commit-id-plugin">
<ignoreVersions>
<ignoreVersion type="regex">4\.9\.9</ignoreVersion>
</ignoreVersions>
</rule>
</rules>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<versions-maven-plugin.version>2.14.1</versions-maven-plugin.version>
<!-- Dependency versions -->
<dependency.checkstyle.version>9.3</dependency.checkstyle.version>
<dependency.jts-version.version>1.18.2</dependency.jts-version.version>
<dependency.jts-version.version>1.19.0</dependency.jts-version.version>
<dependency.logback.version>1.3.5</dependency.logback.version>
<dependency.pmd.version>6.52.0</dependency.pmd.version>
<dependency.postgresql-jdbc.version>42.5.1</dependency.postgresql-jdbc.version>
Expand Down
2 changes: 2 additions & 0 deletions postgis-jdbc-geometry/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

<logger name="com.github.dockerjava" level="ERROR"/>
<logger name="org.testcontainers" level="ERROR"/>
<logger name="org.testng" level="ERROR"/>

<logger name="net.postgis" level="ERROR"/>

</configuration>
2 changes: 2 additions & 0 deletions postgis-jdbc-java2d/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
<appender-ref ref="STDOUT" />
</root>

<logger name="org.testng" level="ERROR"/>

<logger name="net.postgis.jdbc.java2d" level="ERROR"/>

</configuration>
4 changes: 2 additions & 2 deletions postgis-jdbc-jts/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

<logger name="com.github.dockerjava" level="ERROR"/>
<logger name="org.testcontainers" level="ERROR"/>
<logger name="net.postgis" level="ERROR"/>
<logger name="org.testng" level="ERROR"/>

<logger name="net.postgis.jdbc.jts" level="ERROR"/>
<logger name="net.postgis" level="ERROR"/>

</configuration>
2 changes: 1 addition & 1 deletion postgis-jdbc/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<logger name="com.github.dockerjava" level="ERROR"/>
<logger name="org.testcontainers" level="ERROR"/>
<logger name="net.postgis" level="ERROR"/>
<logger name="org.testng" level="ERROR"/>

<logger name="net.postgis" level="ERROR"/>

Expand Down
2 changes: 2 additions & 0 deletions tools/smoketest/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

<logger name="com.github.dockerjava" level="ERROR"/>
<logger name="org.testcontainers" level="ERROR"/>
<logger name="org.testng" level="ERROR"/>

<logger name="net.postgis" level="ERROR"/>

</configuration>
2 changes: 2 additions & 0 deletions tools/test-utils/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

<logger name="com.github.dockerjava" level="ERROR"/>
<logger name="org.testcontainers" level="ERROR"/>
<logger name="org.testng" level="ERROR"/>

<logger name="net.postgis" level="ERROR"/>

</configuration>

0 comments on commit e3259ad

Please sign in to comment.