Skip to content

Commit

Permalink
chore(plc4go): simplified goimports-reviser call
Browse files Browse the repository at this point in the history
  • Loading branch information
sruehl committed Sep 9, 2024
1 parent 04d14d7 commit 79306a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 74 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
75 changes: 3 additions & 72 deletions plc4go/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 79306a4

Please sign in to comment.