You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by ss...@apache.org on 2023/12/01 09:30:21 UTC
(xmlgraphics-commons) branch main updated: Add test src to checkstyle on mvn
This is an automated email from the ASF dual-hosted git repository.
ssteiner pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/xmlgraphics-commons.git
The following commit(s) were added to refs/heads/main by this push:
new 2372ff6 Add test src to checkstyle on mvn
2372ff6 is described below
commit 2372ff6f99b965b3ca427ea112879642bede0660
Author: Simon Steiner <ss...@apache.org>
AuthorDate: Fri Dec 1 09:30:03 2023 +0000
Add test src to checkstyle on mvn
---
pom.xml | 6 +++---
src/test/java/org/apache/xmlgraphics/xmp/XMPParserTestCase.java | 3 ---
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/pom.xml b/pom.xml
index 207548d..f1f7073 100644
--- a/pom.xml
+++ b/pom.xml
@@ -113,12 +113,12 @@
<configuration>
<configLocation>${project.baseUri}src/tools/resources/checkstyle/checkstyle.xml</configLocation>
<headerLocation>${project.baseUri}src/tools/resources/checkstyle/LICENSE.txt</headerLocation>
+ <suppressionsLocation>${project.baseUri}src/tools/resources/checkstyle/suppressions.xml</suppressionsLocation>
+ <includeTestSourceDirectory>true</includeTestSourceDirectory>
<includeResources>false</includeResources>
<includeTestResources>false</includeTestResources>
- <linkXRef>false</linkXRef>
- <logViolationsToConsole>true</logViolationsToConsole>
- <suppressionsLocation>${project.baseUri}src/tools/resources/checkstyle/suppressions.xml</suppressionsLocation>
<violationSeverity>warning</violationSeverity>
+ <consoleOutput>true</consoleOutput>
</configuration>
</plugin>
<plugin>
diff --git a/src/test/java/org/apache/xmlgraphics/xmp/XMPParserTestCase.java b/src/test/java/org/apache/xmlgraphics/xmp/XMPParserTestCase.java
index 922f148..5fe852f 100644
--- a/src/test/java/org/apache/xmlgraphics/xmp/XMPParserTestCase.java
+++ b/src/test/java/org/apache/xmlgraphics/xmp/XMPParserTestCase.java
@@ -33,9 +33,6 @@ import org.junit.Test;
import org.xml.sax.Attributes;
import org.xml.sax.helpers.DefaultHandler;
-import org.xml.sax.Attributes;
-import org.xml.sax.helpers.DefaultHandler;
-
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org