Skip to content

Commit 9328ec1

Browse files
authored
Merge pull request #2833 from hazendaz/master
Few cleanups in pom
2 parents d96dc3a + 80b4c99 commit 9328ec1

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

pom.xml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,23 @@
132132

133133
<properties>
134134
<clirr.comparisonVersion>3.4.6</clirr.comparisonVersion>
135+
135136
<!-- Add slow test groups here and annotate classes similar to @Tag('groupName'). -->
136137
<!-- Excluded groups are ran on github ci, to force here, pass -d"excludedGroups=" -->
137138
<excludedGroups>TestcontainersTests</excludedGroups>
138-
<maven.compiler.testCompilerArgument>-parameters</maven.compiler.testCompilerArgument>
139+
140+
<!-- Automatic Module Name -->
139141
<module.name>org.mybatis</module.name>
142+
143+
<!-- OSGI Data -->
140144
<osgi.export>org.apache.ibatis.*;version=${project.version};-noimport:=true</osgi.export>
141145
<osgi.import>*;resolution:=optional</osgi.import>
142146
<osgi.dynamicImport>*</osgi.dynamicImport>
147+
148+
<!-- Spotbugs Setup -->
143149
<spotbugs.onlyAnalyze>org.apache.ibatis.*</spotbugs.onlyAnalyze>
150+
151+
<!-- Surefire Setup -->
144152
<argLine>-Djdk.attach.allowAttachSelf -Xmx2048m</argLine>
145153

146154
<!-- Reproducible Builds -->
@@ -326,13 +334,6 @@
326334

327335
<build>
328336
<plugins>
329-
<plugin>
330-
<groupId>org.apache.maven.plugins</groupId>
331-
<artifactId>maven-compiler-plugin</artifactId>
332-
<configuration>
333-
<testCompilerArgument>${maven.compiler.testCompilerArgument}</testCompilerArgument>
334-
</configuration>
335-
</plugin>
336337
<plugin>
337338
<groupId>org.apache.maven.plugins</groupId>
338339
<artifactId>maven-surefire-plugin</artifactId>

0 commit comments

Comments
 (0)