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 2021/08/18 13:52:42 UTC

[plc4x] 02/02: - Cleaned up the pom configuration of the language test for go

This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch s7event
in repository https://gitbox.apache.org/repos/asf/plc4x.git

commit a18e9ed35764f273c417179434b5cea0468f85d1
Author: cdutz <ch...@c-ware.de>
AuthorDate: Wed Aug 18 15:52:26 2021 +0200

    - Cleaned up the pom configuration of the language test for go
---
 .../language-go/src/test/resources/plc4go/pom.xml          | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/code-generation/language-go/src/test/resources/plc4go/pom.xml b/code-generation/language-go/src/test/resources/plc4go/pom.xml
index bec061a..9f073d4 100644
--- a/code-generation/language-go/src/test/resources/plc4go/pom.xml
+++ b/code-generation/language-go/src/test/resources/plc4go/pom.xml
@@ -33,6 +33,10 @@
 
 <build>
   <plugins>
+    <!--
+      First copy parts of the PLC4Go code here:
+      This is a workaround for the hen-eg-problem of needing the language in order to compile the drivers
+    -->
     <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-resources-plugin</artifactId>
@@ -56,13 +60,6 @@
             <encoding>UTF-8</encoding>
           </configuration>
         </execution>
-      </executions>
-    </plugin>
-    <plugin>
-      <groupId>org.apache.maven.plugins</groupId>
-      <artifactId>maven-resources-plugin</artifactId>
-      <version>2.5</version>
-      <executions>
         <execution>
           <id>go-spi</id>
           <phase>generate-sources</phase>
@@ -168,7 +165,7 @@
     <plugin>
       <groupId>com.igormaznitsa</groupId>
       <artifactId>mvn-golang-wrapper</artifactId>
-      <version>2.3.6</version>
+      <version>2.3.9</version>
       <extensions>true</extensions>
       <executions>
         <execution>
@@ -196,6 +193,7 @@
         </execution>
       </executions>
       <configuration>
+        <goVersion>1.16</goVersion>
         <packages>
           <!-- We want to format every package here so we don't get dirty commits -->
           <package>./internal/...</package>