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 2020/10/10 10:20:23 UTC
[plc4x] branch feature/plc4go updated: - Made go vet run in the
build
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch feature/plc4go
in repository https://gitbox.apache.org/repos/asf/plc4x.git
The following commit(s) were added to refs/heads/feature/plc4go by this push:
new 64ffd85 - Made go vet run in the build
64ffd85 is described below
commit 64ffd85052e4c2f94ec4bcb9187b8180c7933577
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Sat Oct 10 12:20:16 2020 +0200
- Made go vet run in the build
---
sandbox/plc4go/go.mod | 2 +-
sandbox/plc4go/pom.xml | 14 +++++++++++++-
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/sandbox/plc4go/go.mod b/sandbox/plc4go/go.mod
index 1b383e7..36193f3 100644
--- a/sandbox/plc4go/go.mod
+++ b/sandbox/plc4go/go.mod
@@ -15,6 +15,6 @@
//
module plc4x.apache.org/plc4go-modbus-driver/0.8.0
-go 1.14
+go 1.15
require github.com/sirupsen/logrus v1.7.0
diff --git a/sandbox/plc4go/pom.xml b/sandbox/plc4go/pom.xml
index 3ae8a81..eee6c90 100644
--- a/sandbox/plc4go/pom.xml
+++ b/sandbox/plc4go/pom.xml
@@ -65,11 +65,23 @@
<artifactId>mvn-golang-wrapper</artifactId>
<version>2.3.5</version>
<extensions>true</extensions>
+ <executions>
+ <execution>
+ <id>run-go-vet</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>vet</goal>
+ </goals>
+ </execution>
+ </executions>
<configuration>
- <moduleMode>true</moduleMode>
<!--packages>
<package>cmd/modbus/modbus.go</package>
</packages-->
+ <packages>
+ <package>plc4x.apache.org/plc4go-modbus-driver/0.8.0/cmd/modbus</package>
+ <!--package>plc4x.apache.org/plc4go-modbus-driver/0.8.0/internal/plc4go/modbus/readwrite/model</package-->
+ </packages>
<sources>.</sources>
</configuration>
</plugin>