Skip to content

Commit b81b608

Browse files
committed
disable 16/17 build
Signed-off-by: olivier lamy <[email protected]>
1 parent 324eafd commit b81b608

File tree

3 files changed

+31
-3
lines changed

3 files changed

+31
-3
lines changed

.github/workflows/maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
matrix:
2727
os: [ubuntu-latest,windows-latest, macOS-latest]
28-
java: [8, 11, 14, 15, 16-ea, 17-ea]
28+
java: [8, 11, 14, 15]
2929
fail-fast: false
3030

3131
runs-on: ${{ matrix.os }}

plexus-compilers/plexus-compiler-j2objc/src/test/java/org/codehaus/plexus/compiler/j2objc/J2ObjCCompilerTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,10 @@ public void testJ2ObjCCompiler()
6060
try
6161
{
6262
comp.performCompile( cc );
63-
Assert.assertTrue( new File( "target/generated/objective-c/de/test/App.h" ).exists() );
64-
Assert.assertTrue( new File( "target/generated/objective-c/de/test/App.m" ).exists() );
63+
File f = new File( "target/generated/objective-c/de/test/App.h" );
64+
Assert.assertTrue("file not exists:" + f, f.exists() );
65+
f = new File( "target/generated/objective-c/de/test/App.m" );
66+
Assert.assertTrue("file not exists:" + f, f.exists() );
6567
}
6668
catch ( CompilerException ce )
6769
{

plexus-compilers/plexus-compiler-javac-errorprone/pom.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,30 @@
3737
</dependency>
3838
</dependencies>
3939

40+
<profiles>
41+
<profile>
42+
<id>16+</id>
43+
<activation>
44+
<jdk>[16,)</jdk>
45+
</activation>
46+
<build>
47+
<plugins>
48+
<plugin>
49+
<groupId>org.apache.maven.plugins</groupId>
50+
<artifactId>maven-surefire-plugin</artifactId>
51+
<configuration>
52+
<skip>true</skip>
53+
<!-- <argLine>-->
54+
<!-- &#45;&#45;add-modules java.se-->
55+
<!-- &#45;&#45;add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED-->
56+
<!-- &#45;&#45;add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED-->
57+
<!-- &#45;&#45;add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED-->
58+
<!-- </argLine>-->
59+
</configuration>
60+
</plugin>
61+
</plugins>
62+
</build>
63+
</profile>
64+
</profiles>
65+
4066
</project>

0 commit comments

Comments
 (0)