lidavidm commented on code in PR #14066:
URL: https://github.com/apache/arrow/pull/14066#discussion_r976786636
##########
java/memory/memory-core/pom.xml:
##########
@@ -37,4 +37,58 @@
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+
+ <configuration>
+ <excludes>
+ <!-- Test is only useful when NOT running with add-opens -->
+ <exclude>**/TestOpens.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <profiles>
+ <profile>
+ <id>opens-tests</id>
+ <!-- Run tests WITHOUT add-opens to make sure we fail-fast -->
+ <activation>
+ <jdk>[16,]</jdk>
Review Comment:
It works with just `mvn test`. I presume specifying the test name manually
is causing it to bypass this configuration.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]