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/17 15:09:13 UTC
[camel] branch main updated: (chores) build: skip salesforce codegen 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 e865f39135d (chores) build: skip salesforce codegen on unsupported platforms
e865f39135d is described below
commit e865f39135d930e2447e6d911a130bbcc4d30619
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Wed May 17 17:08:15 2023 +0200
(chores) build: skip salesforce codegen on unsupported platforms
---
.../camel-salesforce-component/pom.xml | 28 ++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/components/camel-salesforce/camel-salesforce-component/pom.xml b/components/camel-salesforce/camel-salesforce-component/pom.xml
index f3adae4b35b..292712eddff 100644
--- a/components/camel-salesforce/camel-salesforce-component/pom.xml
+++ b/components/camel-salesforce/camel-salesforce-component/pom.xml
@@ -286,6 +286,20 @@
<artifactId>gmavenplus-plugin</artifactId>
<version>${gmavenplus-plugin-version}</version>
<executions>
+ <execution>
+ <id>check-platform</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>execute</goal>
+ </goals>
+ <configuration>
+ <scripts>
+ <script><![CDATA[
+ project.properties['skipTests']=project.properties['os.detected.classifier'].matches('^.*?(linux|windows|osx)-x86.*$') ? 'false' : 'true';
+ ]]></script>
+ </scripts>
+ </configuration>
+ </execution>
<execution>
<goals>
<goal>addTestSources</goal>
@@ -293,6 +307,20 @@
</goals>
</execution>
</executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.groovy</groupId>
+ <artifactId>groovy</artifactId>
+ <version>${groovy-version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.groovy</groupId>
+ <artifactId>groovy-ant</artifactId>
+ <version>${groovy-version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
</plugin>
<plugin>
<groupId>org.xolstice.maven.plugins</groupId>