Skip to content

Commit

Permalink
fix(plc4go): Got the build working with the latest go version by swit…
Browse files Browse the repository at this point in the history
…ching from "go get" to "go install" for installing tools.
  • Loading branch information
chrisdutz committed Jun 19, 2022
1 parent c238fd2 commit b4d01a7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions plc4go/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
<!-- Tell Sonar where to find the sources -->
<sonar.sources>examples,internal,pkg,tools</sonar.sources>
<maven.install.skip>true</maven.install.skip>
<maven.deploy.skip>true</maven.deploy.skip>
<!-- The deploy goal of the go plugin uses go install to install the result, unfortunately disabling the deploy, disables the go install. -->
<!--maven.deploy.skip>true</maven.deploy.skip-->
</properties>

<build>
Expand Down Expand Up @@ -337,7 +338,7 @@
<id>get-tools</id>
<phase>initialize</phase>
<goals>
<goal>get</goal>
<goal>install</goal>
</goals>
<configuration>
<packages>
Expand Down Expand Up @@ -483,7 +484,7 @@
<id>test-get</id>
<phase>process-test-resources</phase>
<goals>
<goal>get</goal>
<goal>install</goal>
</goals>
<configuration>
<packages>
Expand Down Expand Up @@ -563,8 +564,6 @@
</execution>
</executions>
<configuration>
<!-- The go get command doesn't seem to work with go 1.18 -->
<goVersion>1.17.11</goVersion>
<packages>
<package>github.com/apache/plc4x/plc4go/pkg/api</package>
</packages>
Expand Down

0 comments on commit b4d01a7

Please sign in to comment.