This is an automated email from the ASF dual-hosted git repository. ppalaga pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit cfb66909477bbfe7d1eaa547886202094d326da5 Author: Peter Palaga <ppal...@redhat.com> AuthorDate: Tue Jun 27 11:28:17 2023 +0200 Fix building with -Dquickly against an empty local Maven repository and disabled Apache snapshots repository --- components/camel-as2/camel-as2-api/pom.xml | 18 ++++++++++++++++++ components/camel-box/camel-box-api/pom.xml | 18 ++++++++++++++++++ components/camel-dhis2/camel-dhis2-api/pom.xml | 18 ++++++++++++++++++ components/camel-fhir/camel-fhir-api/pom.xml | 18 ++++++++++++++++++ components/camel-olingo2/camel-olingo2-api/pom.xml | 18 ++++++++++++++++++ components/camel-olingo4/camel-olingo4-api/pom.xml | 18 ++++++++++++++++++ core/camel-api/pom.xml | 13 +++++++++++++ core/camel-core-model/pom.xml | 13 +++++++++++++ core/camel-core-xml/pom.xml | 17 +++++++++++++++++ core/camel-util/pom.xml | 18 ++++++++++++++++++ 10 files changed, 169 insertions(+) diff --git a/components/camel-as2/camel-as2-api/pom.xml b/components/camel-as2/camel-as2-api/pom.xml index 9b0e829c702..f44fde3a502 100644 --- a/components/camel-as2/camel-as2-api/pom.xml +++ b/components/camel-as2/camel-as2-api/pom.xml @@ -100,4 +100,22 @@ <scope>test</scope> </dependency> </dependencies> + + <build> + <plugins> + <plugin> + <!-- Required by camel-as2-api and possibly others which unpack the sources --> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> diff --git a/components/camel-box/camel-box-api/pom.xml b/components/camel-box/camel-box-api/pom.xml index 727d9d77584..73b1623da6d 100644 --- a/components/camel-box/camel-box-api/pom.xml +++ b/components/camel-box/camel-box-api/pom.xml @@ -51,4 +51,22 @@ <version>${project.version}</version> </dependency> </dependencies> + + <build> + <plugins> + <plugin> + <!-- Required by camel-box --> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> diff --git a/components/camel-dhis2/camel-dhis2-api/pom.xml b/components/camel-dhis2/camel-dhis2-api/pom.xml index 8716964ad42..d5ba10a70d0 100644 --- a/components/camel-dhis2/camel-dhis2-api/pom.xml +++ b/components/camel-dhis2/camel-dhis2-api/pom.xml @@ -44,4 +44,22 @@ <scope>test</scope> </dependency> </dependencies> + + <build> + <plugins> + <plugin> + <!-- Required by camel-dhis2 --> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> diff --git a/components/camel-fhir/camel-fhir-api/pom.xml b/components/camel-fhir/camel-fhir-api/pom.xml index ba6d41e3f2d..b7db4d8e143 100644 --- a/components/camel-fhir/camel-fhir-api/pom.xml +++ b/components/camel-fhir/camel-fhir-api/pom.xml @@ -58,4 +58,22 @@ </exclusions> </dependency> </dependencies> + + <build> + <plugins> + <plugin> + <!-- Required by camel-fhir --> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> diff --git a/components/camel-olingo2/camel-olingo2-api/pom.xml b/components/camel-olingo2/camel-olingo2-api/pom.xml index 2617149ffc3..a8869bc3a8e 100644 --- a/components/camel-olingo2/camel-olingo2-api/pom.xml +++ b/components/camel-olingo2/camel-olingo2-api/pom.xml @@ -67,4 +67,22 @@ <scope>test</scope> </dependency> </dependencies> + + <build> + <plugins> + <plugin> + <!-- Required by camel-olingo2 --> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> diff --git a/components/camel-olingo4/camel-olingo4-api/pom.xml b/components/camel-olingo4/camel-olingo4-api/pom.xml index cae44329e33..1531321dfae 100644 --- a/components/camel-olingo4/camel-olingo4-api/pom.xml +++ b/components/camel-olingo4/camel-olingo4-api/pom.xml @@ -82,4 +82,22 @@ <scope>test</scope> </dependency> </dependencies> + + <build> + <plugins> + <plugin> + <!-- Required by camel-olingo4 --> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> diff --git a/core/camel-api/pom.xml b/core/camel-api/pom.xml index 8c15b5a5591..0f543448ab9 100644 --- a/core/camel-api/pom.xml +++ b/core/camel-api/pom.xml @@ -60,6 +60,19 @@ <build> <plugins> + <plugin> + <!-- Required by camel-spring-xml and possibly others which unpack the sources --> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> <!-- we want to embed spi-annotations directly in camel-api so they are always there --> <plugin> diff --git a/core/camel-core-model/pom.xml b/core/camel-core-model/pom.xml index f6ef335f98b..0681dc115d5 100644 --- a/core/camel-core-model/pom.xml +++ b/core/camel-core-model/pom.xml @@ -71,6 +71,19 @@ <build> <plugins> + <plugin> + <!-- Required by camel-spring-xml and possibly others which unpack the sources --> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> <plugin> <groupId>org.apache.camel</groupId> <artifactId>camel-package-maven-plugin</artifactId> diff --git a/core/camel-core-xml/pom.xml b/core/camel-core-xml/pom.xml index 01a38942375..f94fabfcc24 100644 --- a/core/camel-core-xml/pom.xml +++ b/core/camel-core-xml/pom.xml @@ -74,4 +74,21 @@ </dependency> </dependencies> + <build> + <plugins> + <plugin> + <!-- Required by camel-spring-xml and possibly others which unpack the sources --> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> diff --git a/core/camel-util/pom.xml b/core/camel-util/pom.xml index 027cd06f6a1..250ad3fbcf4 100644 --- a/core/camel-util/pom.xml +++ b/core/camel-util/pom.xml @@ -72,6 +72,24 @@ </dependencies> + <build> + <plugins> + <plugin> + <!-- Required by camel-spring-xml and possibly others which unpack the sources --> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + <reporting> <plugins> <plugin>