You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/05/18 07:22:01 UTC
[camel] branch main updated: (chores) build: skip doc generation on unsupported platforms
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 677bca0bd32 (chores) build: skip doc generation on unsupported platforms
677bca0bd32 is described below
commit 677bca0bd3298ff1b1f9ed1f6c6d222fd6036fba
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu May 18 09:20:04 2023 +0200
(chores) build: skip doc generation on unsupported platforms
---
docs/pom.xml | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/docs/pom.xml b/docs/pom.xml
index 27bcd962f18..ef9185c72c5 100644
--- a/docs/pom.xml
+++ b/docs/pom.xml
@@ -31,6 +31,10 @@
<packaging>pom</packaging>
<modelVersion>4.0.0</modelVersion>
+ <properties>
+ <skipOnUnsupported>true</skipOnUnsupported>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.apache.camel</groupId>
@@ -90,6 +94,7 @@
<phase>generate-resources</phase>
<configuration>
<arguments>gulp</arguments>
+ <skip>${skipOnUnsupported}</skip>
</configuration>
</execution>
</executions>
@@ -110,4 +115,40 @@
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>x86</id>
+ <activation>
+ <os>
+ <arch>amd64</arch>
+ </os>
+ </activation>
+ <properties>
+ <skipOnUnsupported>false</skipOnUnsupported>
+ </properties>
+ </profile>
+ <profile>
+ <id>Arm</id>
+ <activation>
+ <os>
+ <arch>aarch64</arch>
+ </os>
+ </activation>
+ <properties>
+ <skipOnUnsupported>false</skipOnUnsupported>
+ </properties>
+ </profile>
+ <profile>
+ <id>ppc64le</id>
+ <activation>
+ <os>
+ <arch>ppc64le</arch>
+ </os>
+ </activation>
+ <properties>
+ <skipOnUnsupported>false</skipOnUnsupported>
+ </properties>
+ </profile>
+ </profiles>
+
</project>