Skip to content

Commit e88b73a

Browse files
Anmol202005romani
authored andcommitted
Issue #109: Add Maven compilation testing
1 parent fe50883 commit e88b73a

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

config/suppressions.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"https://checkstyle.org/dtds/suppressions_1_1.dtd">
66

77
<suppressions>
8+
<suppress checks=".*" files="[\\/]test[\\/]resources[\\/]"/>
89
<suppress checks="MissingJavadocType" files=".*"/>
910
<suppress checks="JavadocVariable" files=".*"/>
1011
<suppress checks="MissingJavadocMethod" files=".*"/>

pom.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,26 @@
145145
</configuration>
146146
</plugin>
147147

148+
<plugin>
149+
<groupId>org.codehaus.mojo</groupId>
150+
<artifactId>build-helper-maven-plugin</artifactId>
151+
<version>3.6.1</version>
152+
<executions>
153+
<execution>
154+
<id>add-test-source</id>
155+
<phase>process-resources</phase>
156+
<goals>
157+
<goal>add-test-source</goal>
158+
</goals>
159+
<configuration>
160+
<sources>
161+
<source>src/test/resources</source>
162+
</sources>
163+
</configuration>
164+
</execution>
165+
</executions>
166+
</plugin>
167+
148168
<!-- Checkstyle plugin for code style regulation -->
149169

150170
<plugin>

0 commit comments

Comments
 (0)