Skip to content

Commit

Permalink
refactor(openapi): remove jsonschema2pojo remaining unnecessary configs
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Nuri <[email protected]>
  • Loading branch information
manusa authored Nov 14, 2024
1 parent 61ea464 commit 59f1dc8
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 44 deletions.
4 changes: 0 additions & 4 deletions extensions/chaosmesh/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@
<artifactId>chaosmesh</artifactId>
<packaging>pom</packaging>
<name>Fabric8 :: Chaos Mesh :: Extension</name>

<properties>
<jsonschema2pojo.targetPackage>io.fabric8.chaosmesh.api.model</jsonschema2pojo.targetPackage>
</properties>

<modules>
<module>model</module>
Expand Down
4 changes: 0 additions & 4 deletions extensions/open-cluster-management/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@
<packaging>pom</packaging>
<name>Fabric8 :: Open Cluster Management :: Extension</name>

<properties>
<jsonschema2pojo.targetPackage>io.fabric8.openclustermanagement.api.model</jsonschema2pojo.targetPackage>
</properties>

<modules>
<module>model</module>
<module>client</module>
Expand Down
7 changes: 0 additions & 7 deletions extensions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,6 @@
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.jsonschema2pojo</groupId>
<artifactId>jsonschema2pojo-maven-plugin</artifactId>
<configuration>
<customAnnotator>io.fabric8.kubernetes.jsonschema2pojo.ExtensionTypeAnnotator</customAnnotator>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
Expand Down
29 changes: 0 additions & 29 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@
<guava.version>33.3.1-jre</guava.version> <!-- Required by Gradle Testing Toolkit -->
<osgi.annotations.version>1.5.1</osgi.annotations.version>
<felix.scr.version>2.0.6</felix.scr.version>
<jsonschema2pojo.version>1.2.2</jsonschema2pojo.version>
<picocli.version>4.7.6</picocli.version>
<properties.maven.plugin.version>1.0.0</properties.maven.plugin.version>

Expand Down Expand Up @@ -203,8 +202,6 @@
<karaf.itest.skip>false</karaf.itest.skip>
<project.build.outputTimestamp>2024-07-02T08:01:57Z</project.build.outputTimestamp>
<validation-api.version>2.0.1.Final</validation-api.version>

<jsonschema2pojo.targetPackage>io.fabric8.kubernetes.api.model</jsonschema2pojo.targetPackage>
</properties>
<modules>
<module>zjsonpatch</module>
Expand Down Expand Up @@ -1040,32 +1037,6 @@
<artifactId>sonar-maven-plugin</artifactId>
<version>${sonar-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.jsonschema2pojo</groupId>
<artifactId>jsonschema2pojo-maven-plugin</artifactId>
<version>${jsonschema2pojo.version}</version>
<configuration>
<targetVersion>1.8</targetVersion><!-- TODO: Remove and use javax.annotation.processing.Generated annotation instead -->
<customAnnotator>io.fabric8.kubernetes.jsonschema2pojo.KubernetesTypeAnnotator</customAnnotator>
<customRuleFactory>io.fabric8.kubernetes.jsonschema2pojo.Fabric8RuleFactory</customRuleFactory>
<sourceDirectory>${project.basedir}/src/main/resources/schema</sourceDirectory>
<targetPackage>${jsonschema2pojo.targetPackage}</targetPackage>
<includeConstructors>true</includeConstructors>
<includeJsr303Annotations>false</includeJsr303Annotations>
<includeToString>false</includeToString>
<includeHashcodeAndEquals>false</includeHashcodeAndEquals>
<removeOldOutput>true</removeOldOutput>
<outputDirectory>${generate.targetDirectory}</outputDirectory>
<annotationStyle>none</annotationStyle>
</configuration>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.marcnuri.plugins</groupId>
<artifactId>gradle-api-maven-plugin</artifactId>
Expand Down

0 comments on commit 59f1dc8

Please sign in to comment.