You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2019/05/27 12:03:09 UTC
[plc4x] branch develop updated: - Made it possible to disable the
prerequisite-check.
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git
The following commit(s) were added to refs/heads/develop by this push:
new dc120c4 - Made it possible to disable the prerequisite-check.
dc120c4 is described below
commit dc120c44f1daf6f7232dfd542adde79d5584b4ff
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Mon May 27 14:02:54 2019 +0200
- Made it possible to disable the prerequisite-check.
---
pom.xml | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/pom.xml b/pom.xml
index 0aa6ff0..c75a515 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1307,6 +1307,38 @@
</repositories>
<profiles>
+ <!-- Allows skipping of the pre-flight-check as needed when deploying on jenkins -->
+ <profile>
+ <id>skip-prerequisite-check</id>
+ <activation>
+ </activation>
+ <build>
+ <plugins>
+ <!-- Make some additional properties available to simplify keeping some content up to date -->
+ <plugin>
+ <groupId>org.codehaus.gmaven</groupId>
+ <artifactId>groovy-maven-plugin</artifactId>
+ <version>2.1</version>
+ <executions>
+ <!-- Do some pre-build checks and report any findings to the user -->
+ <execution>
+ <id>prerequisite-check</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>execute</goal>
+ </goals>
+ <inherited>false</inherited>
+ <configuration>
+ <source>
+ print "\nSkipping prerequisit-check\n\n"
+ </source>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
<!-- Build PLC4X including the CPP modules -->
<profile>
<id>with-cpp</id>