You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2024/09/09 10:10:45 UTC
(plc4x) branch develop updated: chore(plc4go): simplified goimports-reviser call
This is an automated email from the ASF dual-hosted git repository.
sruehl 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 79306a4609 chore(plc4go): simplified goimports-reviser call
79306a4609 is described below
commit 79306a4609afa17dbccc70ce77df3e0c66965cb4
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Mon Sep 9 12:10:37 2024 +0200
chore(plc4go): simplified goimports-reviser call
- solved by https://github.com/incu6us/goimports-reviser/pull/163
- relates to https://github.com/incu6us/goimports-reviser/issues/162
---
.../bacgopes/basetypes/basetypes_NameValue.go | 3 +-
plc4go/pom.xml | 75 +---------------------
2 files changed, 4 insertions(+), 74 deletions(-)
diff --git a/plc4go/internal/bacnetip/bacgopes/basetypes/basetypes_NameValue.go b/plc4go/internal/bacnetip/bacgopes/basetypes/basetypes_NameValue.go
index ce71ddbeda..60c2c95a34 100644
--- a/plc4go/internal/bacnetip/bacgopes/basetypes/basetypes_NameValue.go
+++ b/plc4go/internal/bacnetip/bacgopes/basetypes/basetypes_NameValue.go
@@ -24,11 +24,10 @@ import (
"github.com/pkg/errors"
- readWriteModel "github.com/apache/plc4x/plc4go/protocols/bacnetip/readwrite/model"
-
. "github.com/apache/plc4x/plc4go/internal/bacnetip/bacgopes/comp"
. "github.com/apache/plc4x/plc4go/internal/bacnetip/bacgopes/constructeddata"
. "github.com/apache/plc4x/plc4go/internal/bacnetip/bacgopes/primitivedata"
+ readWriteModel "github.com/apache/plc4x/plc4go/protocols/bacnetip/readwrite/model"
)
type NameValue struct {
diff --git a/plc4go/pom.xml b/plc4go/pom.xml
index 80c7fdd46a..b2a1324b5b 100644
--- a/plc4go/pom.xml
+++ b/plc4go/pom.xml
@@ -427,79 +427,10 @@
</goals>
<configuration>
<exec>goimports-reviser</exec>
- <customCommand>-recursive</customCommand>
+ <customCommand>-excludes</customCommand>
<packages>
- <package>internal</package>
- </packages>
- </configuration>
- </execution>
- <execution>
- <id>fix-imports-pkg</id>
- <phase>process-sources</phase>
- <goals>
- <goal>custom</goal>
- </goals>
- <configuration>
- <exec>goimports-reviser</exec>
- <customCommand>-recursive</customCommand>
- <packages>
- <package>pkg</package>
- </packages>
- </configuration>
- </execution>
- <execution>
- <id>fix-imports-protocols</id>
- <phase>process-sources</phase>
- <goals>
- <goal>custom</goal>
- </goals>
- <configuration>
- <exec>goimports-reviser</exec>
- <customCommand>-recursive</customCommand>
- <packages>
- <package>protocols</package>
- </packages>
- </configuration>
- </execution>
- <execution>
- <id>fix-imports-spi</id>
- <phase>process-sources</phase>
- <goals>
- <goal>custom</goal>
- </goals>
- <configuration>
- <exec>goimports-reviser</exec>
- <customCommand>-recursive</customCommand>
- <packages>
- <package>spi</package>
- </packages>
- </configuration>
- </execution>
- <execution>
- <id>fix-imports-tests</id>
- <phase>process-sources</phase>
- <goals>
- <goal>custom</goal>
- </goals>
- <configuration>
- <exec>goimports-reviser</exec>
- <customCommand>-recursive</customCommand>
- <packages>
- <package>tests</package>
- </packages>
- </configuration>
- </execution>
- <execution>
- <id>fix-imports-tools</id>
- <phase>process-sources</phase>
- <goals>
- <goal>custom</goal>
- </goals>
- <configuration>
- <exec>goimports-reviser</exec>
- <customCommand>-recursive</customCommand>
- <packages>
- <package>tools</package>
+ <package>.idea,.git</package>
+ <package>./...</package>
</packages>
</configuration>
</execution>