Skip to content

Commit

Permalink
Fix CRD-Generator tests and examples (#2612)
Browse files Browse the repository at this point in the history
Signed-off-by: Bernhard Strähle <bernhard.straehle@gmail.com>
  • Loading branch information
baloo42 authored Nov 30, 2024
1 parent e1feb41 commit 2a55271
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@
<goals>
<goal>generate</goal>
</goals>
<configuration>
<classpath>WITH_ALL_DEPENDENCIES_AND_TESTS</classpath>
</configuration>
</execution>
</executions>
</plugin>
Expand Down
2 changes: 2 additions & 0 deletions operator-framework/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@
<goals>
<goal>generate</goal>
</goals>
<phase>process-test-classes</phase>
<configuration>
<classesToScan>${project.build.testOutputDirectory}</classesToScan>
<classpath>WITH_ALL_DEPENDENCIES_AND_TESTS</classpath>
</configuration>
</execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void correctlyAppliesManuallySpecifiedCRD() {
@Group("crd.example")
@Version("v1")
@Kind("Test")
private static class TestCR extends CustomResource<Void, Void> implements Namespaced {
public static class TestCR extends CustomResource<Void, Void> implements Namespaced {
}

@ControllerConfiguration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@

@Group("sample.javaoperatorsdk")
@Version("v1")
class TestCustomResource extends CustomResource<Void, Void> implements Namespaced {
public class TestCustomResource extends CustomResource<Void, Void> implements Namespaced {
}
3 changes: 0 additions & 3 deletions sample-operators/mysql-schema/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@
<goals>
<goal>generate</goal>
</goals>
<configuration>
<classpath>WITH_ALL_DEPENDENCIES_AND_TESTS</classpath>
</configuration>
</execution>
</executions>
</plugin>
Expand Down
3 changes: 0 additions & 3 deletions sample-operators/tomcat-operator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,6 @@
<goals>
<goal>generate</goal>
</goals>
<configuration>
<classpath>WITH_ALL_DEPENDENCIES_AND_TESTS</classpath>
</configuration>
</execution>
</executions>
</plugin>
Expand Down
3 changes: 0 additions & 3 deletions sample-operators/webpage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,6 @@
<goals>
<goal>generate</goal>
</goals>
<configuration>
<classpath>WITH_ALL_DEPENDENCIES_AND_TESTS</classpath>
</configuration>
</execution>
</executions>
</plugin>
Expand Down

0 comments on commit 2a55271

Please sign in to comment.