Skip to content

Commit

Permalink
fix: configure file paths for spotless (#5027)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsenko authored Aug 13, 2024
1 parent 3bd99c7 commit c8c3b39
Show file tree
Hide file tree
Showing 67 changed files with 221 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<name>apicurio-registry-app</name>

<properties>
<projectRoot>${project.basedir}/..</projectRoot>
<groups/>
</properties>

Expand Down
4 changes: 4 additions & 0 deletions common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
<packaging>jar</packaging>
<name>apicurio-registry-common</name>

<properties>
<projectRoot>${project.basedir}/..</projectRoot>
</properties>

<dependencies>
<dependency>
<groupId>jakarta.ws.rs</groupId>
Expand Down
1 change: 1 addition & 0 deletions distro/connect-converter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<name>apicurio-registry-distro-connect-converter</name>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
<assembly.descriptor>converter-distribution</assembly.descriptor>
<version.jersey>2.31</version.jersey>
<version.geronimo.config>1.2.2</version.geronimo.config>
Expand Down
1 change: 1 addition & 0 deletions distro/docker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<name>apicurio-registry-distro-docker</name>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
<docker.app.file>app-files/apicurio-registry-app-${project.version}-all.tar.gz</docker.app.file>
</properties>

Expand Down
3 changes: 3 additions & 0 deletions distro/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@
<module>connect-converter</module>
<module>docker</module>
</modules>
<properties>
<projectRoot>${project.basedir}/..</projectRoot>
</properties>
</project>
4 changes: 4 additions & 0 deletions docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@
<url>https://github.com/apicurio/apicurio-registry/issues</url>
</issueManagement>

<properties>
<projectRoot>${project.basedir}/..</projectRoot>
</properties>

<dependencies>
<!-- Fake dependency to ensure that the JAR is already available locally -->
<dependency>
Expand Down
4 changes: 4 additions & 0 deletions docs/rest-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@
<url>https://github.com/apicurio/apicurio-registry/issues</url>
</issueManagement>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
</properties>

<build>
<plugins>

Expand Down
4 changes: 4 additions & 0 deletions examples/avro-bean/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
<artifactId>apicurio-registry-examples-avro-bean</artifactId>
<packaging>jar</packaging>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
</properties>

<dependencies>
<dependency>
<groupId>io.apicurio</groupId>
Expand Down
4 changes: 4 additions & 0 deletions examples/avro-maven-with-references-auto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
<artifactId>apicurio-registry-examples-avro-maven-with-references-auto</artifactId>
<packaging>jar</packaging>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
</properties>

<build>
<plugins>
<plugin>
Expand Down
4 changes: 4 additions & 0 deletions examples/avro-maven-with-references/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
<artifactId>apicurio-registry-examples-avro-maven-with-references</artifactId>
<packaging>jar</packaging>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
</properties>

<build>
<plugins>
<plugin>
Expand Down
4 changes: 4 additions & 0 deletions examples/confluent-serdes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
<artifactId>apicurio-registry-examples-confluent-serdes</artifactId>
<packaging>jar</packaging>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
</properties>

<dependencies>
<dependency>
<groupId>io.apicurio</groupId>
Expand Down
4 changes: 4 additions & 0 deletions examples/custom-resolver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
<artifactId>apicurio-registry-examples-custom-resolver</artifactId>
<packaging>jar</packaging>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
</properties>

<dependencies>
<dependency>
<groupId>io.apicurio</groupId>
Expand Down
4 changes: 4 additions & 0 deletions examples/custom-strategy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
<artifactId>apicurio-registry-examples-custom-strategy</artifactId>
<packaging>jar</packaging>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
</properties>

<dependencies>
<dependency>
<groupId>io.apicurio</groupId>
Expand Down
1 change: 1 addition & 0 deletions examples/debezium-openshift/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<artifactId>apicurio-registry-examples-debezium-openshift</artifactId>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
<lombok.version>1.18.28</lombok.version>
</properties>

Expand Down
4 changes: 4 additions & 0 deletions examples/docker-compose/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
<packaging>pom</packaging>
<name>apicurio-registry-distro-docker-compose</name>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
</properties>

<build>
<plugins>
<plugin>
Expand Down
4 changes: 4 additions & 0 deletions examples/jsonschema-validation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
<artifactId>apicurio-registry-examples-jsonschema-validation</artifactId>
<packaging>jar</packaging>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
</properties>

<dependencies>
<dependency>
<groupId>io.apicurio</groupId>
Expand Down
4 changes: 4 additions & 0 deletions examples/mix-avro/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
<artifactId>apicurio-registry-examples-mix-avro</artifactId>
<packaging>jar</packaging>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
</properties>

<dependencies>
<dependency>
<groupId>io.apicurio</groupId>
Expand Down
4 changes: 4 additions & 0 deletions examples/openshift-template/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
<packaging>pom</packaging>
<name>apicurio-registry-distro-openshift-template</name>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
</properties>

<build>
<plugins>
<plugin>
Expand Down
1 change: 1 addition & 0 deletions examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
</issueManagement>

<properties>
<projectRoot>${project.basedir}/..</projectRoot>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>
Expand Down
1 change: 1 addition & 0 deletions examples/protobuf-bean/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<packaging>jar</packaging>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
<proto-plugin.version>0.6.1</proto-plugin.version>
</properties>

Expand Down
1 change: 1 addition & 0 deletions examples/protobuf-find-latest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<packaging>jar</packaging>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
<proto-plugin.version>0.6.1</proto-plugin.version>
</properties>

Expand Down
4 changes: 4 additions & 0 deletions examples/protobuf-validation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

<artifactId>apicurio-registry-examples-protobuf-validation</artifactId>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
</properties>

<dependencies>
<dependency>
<groupId>io.apicurio</groupId>
Expand Down
2 changes: 2 additions & 0 deletions examples/quarkus-auth/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<artifactId>apicurio-registry-examples-quarkus-auth</artifactId>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>

<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
1 change: 1 addition & 0 deletions examples/rest-client-downstream/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<packaging>jar</packaging>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
<!-- Apicurio Registry Version -->
<apicurio-registry.version>2.2.1.Final</apicurio-registry.version>
<maven.compiler.source>17</maven.compiler.source>
Expand Down
4 changes: 4 additions & 0 deletions examples/rest-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
<artifactId>apicurio-registry-examples-rest-client</artifactId>
<packaging>jar</packaging>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
</properties>

<dependencies>
<dependency>
<groupId>io.apicurio</groupId>
Expand Down
1 change: 1 addition & 0 deletions examples/serdes-with-references/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<artifactId>apicurio-registry-examples-references</artifactId>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
<protobuf.version>4.26.1</protobuf.version>
<proto-plugin.version>0.6.1</proto-plugin.version>
<protobuf.googleapi.types.version>2.42.0</protobuf.googleapi.types.version>
Expand Down
1 change: 1 addition & 0 deletions examples/simple-avro-downstream/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<packaging>jar</packaging>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
<!-- Apicurio Registry Version -->
<apicurio-registry.version>2.2.1.Final</apicurio-registry.version>
<maven.compiler.source>17</maven.compiler.source>
Expand Down
4 changes: 4 additions & 0 deletions examples/simple-avro-maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
<artifactId>apicurio-registry-examples-simple-avro-maven</artifactId>
<packaging>jar</packaging>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
</properties>

<dependencies>
<dependency>
<groupId>io.apicurio</groupId>
Expand Down
4 changes: 4 additions & 0 deletions examples/simple-avro/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
<artifactId>apicurio-registry-examples-simple-avro</artifactId>
<packaging>jar</packaging>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
</properties>

<dependencies>
<dependency>
<groupId>io.apicurio</groupId>
Expand Down
4 changes: 4 additions & 0 deletions examples/simple-json/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
<artifactId>apicurio-registry-examples-simple-json</artifactId>
<packaging>jar</packaging>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
</properties>

<dependencies>
<dependency>
<groupId>io.apicurio</groupId>
Expand Down
1 change: 1 addition & 0 deletions examples/simple-protobuf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<packaging>jar</packaging>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
<proto-plugin.version>0.6.1</proto-plugin.version>
</properties>

Expand Down
4 changes: 4 additions & 0 deletions examples/simple-validation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
<artifactId>apicurio-registry-examples-simple-validation</artifactId>
<packaging>jar</packaging>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
</properties>

<dependencies>
<dependency>
<groupId>io.apicurio</groupId>
Expand Down
4 changes: 4 additions & 0 deletions examples/tools/kafkasql-topic-import/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
<artifactId>apicurio-registry-tools-kafkasql-topic-import</artifactId>
<packaging>jar</packaging>

<properties>
<projectRoot>${project.basedir}/../../..</projectRoot>
</properties>

<dependencies>

<dependency>
Expand Down
4 changes: 4 additions & 0 deletions go-sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
<packaging>jar</packaging>
<name>apicurio-registry-go-sdk</name>

<properties>
<projectRoot>${project.basedir}/..</projectRoot>
</properties>

<profiles>
<profile>
<id>go-sdk-regenerate</id>
Expand Down
1 change: 1 addition & 0 deletions integration-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<artifactId>apicurio-registry-integration-tests</artifactId>

<properties>
<projectRoot>${project.basedir}/..</projectRoot>
<skipTests>true</skipTests>
<quarkus.http.test-host>localhost</quarkus.http.test-host>
<quarkus.http.test-port>0</quarkus.http.test-port>
Expand Down
1 change: 1 addition & 0 deletions java-sdk-v2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
</parent>
<artifactId>apicurio-registry-v2-java-sdk</artifactId>
<properties>
<projectRoot>${project.basedir}/..</projectRoot>
<kiota.libs.version>1.2.0</kiota.libs.version>
<kiota.community.version>0.0.18</kiota.community.version>
<kiota.base.url>https://github.com/microsoft/kiota/releases/download</kiota.base.url>
Expand Down
1 change: 1 addition & 0 deletions java-sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
</parent>
<artifactId>apicurio-registry-java-sdk</artifactId>
<properties>
<projectRoot>${project.basedir}/..</projectRoot>
<kiota.libs.version>1.2.0</kiota.libs.version>
<kiota.community.version>0.0.18</kiota.community.version>
<kiota.base.url>https://github.com/microsoft/kiota/releases/download</kiota.base.url>
Expand Down
5 changes: 5 additions & 0 deletions operator/controller/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@

<artifactId>apicurio-registry-operator-controller</artifactId>
<name>Apicurio Registry Operator :: Controller</name>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
</properties>

<dependencies>
<dependency>
<groupId>io.apicurio</groupId>
Expand Down
4 changes: 4 additions & 0 deletions operator/model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@

<name>Apicurio Registry Operator :: Model</name>

<properties>
<projectRoot>${project.basedir}/../..</projectRoot>
</properties>

<dependencies>
<dependency>
<groupId>io.fabric8</groupId>
Expand Down
1 change: 1 addition & 0 deletions operator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
</modules>

<properties>
<projectRoot>${project.basedir}/..</projectRoot>
<compiler-plugin.version>3.8.1</compiler-plugin.version>
<maven.compiler.parameters>true</maven.compiler.parameters>
<maven.compiler.release>17</maven.compiler.release>
Expand Down
Loading

0 comments on commit c8c3b39

Please sign in to comment.