Skip to content

Commit

Permalink
release 2.3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
raydac committed Jul 4, 2021
1 parent 4e76da5 commit be13d0d
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 41 deletions.
8 changes: 3 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# __2.3.9 (SNAPSHOT)__
# __2.3.9 (04-jl-2021)__

- fix for clean fail for multi-module project if some artifacts
unresolvable [#90](https://github.com/raydac/mvn-golang/issues/90)
- fix for seldom error "Can't create temp folder" when building modules
concurrently [#88](https://github.com/raydac/mvn-golang/issues/88)
- fix for clean fail for multi-module project if some artifacts unresolvable [#90](https://github.com/raydac/mvn-golang/issues/90)
- fix for seldom error "Can't create temp folder" when building modules concurrently [#88](https://github.com/raydac/mvn-golang/issues/88)
- default GoSDK version is 1.16.5
- added autodetect for aarch64 [#87](https://github.com/raydac/mvn-golang/issues/87)

Expand Down
35 changes: 7 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,55 +2,34 @@

[![License Apache 2.0](https://img.shields.io/badge/license-Apache%20License%202.0-green.svg)](http://www.apache.org/licenses/LICENSE-2.0)
[![Java 8.0+](https://img.shields.io/badge/java-8.0%2b-green.svg)](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
[![Maven central](https://maven-badges.herokuapp.com/maven-central/com.igormaznitsa/mvn-golang-wrapper/badge.svg)](http://search.maven.org/#artifactdetails|com.igormaznitsa|mvn-golang-wrapper|2.3.8|jar)
[![Maven central](https://maven-badges.herokuapp.com/maven-central/com.igormaznitsa/mvn-golang-wrapper/badge.svg)](http://search.maven.org/#artifactdetails|com.igormaznitsa|mvn-golang-wrapper|2.3.9|jar)
[![Maven 3.0.3+](https://img.shields.io/badge/maven-3.0.3%2b-green.svg)](https://maven.apache.org/)
[![PayPal donation](https://img.shields.io/badge/donation-PayPal-cyan.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AHWJHJFBAWGL2)
[![YooMoney donation](https://img.shields.io/badge/donation-Yoo.money-blue.svg)](https://yoomoney.ru/to/41001158080699)

# Changelog

__2.3.9 (SNAPSHOT)__
__2.3.9 (04-jul-2021)__

- fix for clean fail for multi-module project if some artifacts
unresolvable [#90](https://github.com/raydac/mvn-golang/issues/90)
- fix for seldom error "Can't create temp folder" when building modules
concurrently [#88](https://github.com/raydac/mvn-golang/issues/88)
- fix for clean fail for multi-module project if some artifacts unresolvable [#90](https://github.com/raydac/mvn-golang/issues/90)
- fix for seldom error "Can't create temp folder" when building modules concurrently [#88](https://github.com/raydac/mvn-golang/issues/88)
- default GoSDK version is 1.16.5
- added autodetect for aarch64 [#87](https://github.com/raydac/mvn-golang/issues/87)

__2.3.8 (22-mar-2021)__

- improved maven archetypes
- default GoSDK version is 1.16.2
- added [Azul3D](https://azul3d.org/) and [Oak](https://github.com/oakmound/oak) build examples
- added `list` mojo wrapping `go list`
- added `mod` property for module aware commands
- go.sum excluded from delete during build by default [#84](https://github.com/raydac/mvn-golang/issues/84)
- minor refactoring

__2.3.7 (22-feb-2021)__

- refactoring, improved informing about file log state [#83](https://github.com/raydac/mvn-golang/issues/83)
- improved `build` mojo, added support to attach build result as project
artifact[#82](https://github.com/raydac/mvn-golang/issues/82)
- default version of GoSDK updated to 1.15.8
- fixed slash processing in go.mod under windows [#80](https://github.com/raydac/mvn-golang/issues/80) (
thanks [fmazoyer](https://github.com/fmazoyer))

[full changelog](https://github.com/raydac/mvn-golang/blob/master/CHANGELOG.md)

# GO start!
__Taste Go in just two commands!__
```
mvn archetype:generate -B -DarchetypeGroupId=com.igormaznitsa -DarchetypeArtifactId=mvn-golang-hello -DarchetypeVersion=2.3.8 -DgroupId=com.go.test -DartifactId=gohello -Dversion=1.0-SNAPSHOT
mvn archetype:generate -B -DarchetypeGroupId=com.igormaznitsa -DarchetypeArtifactId=mvn-golang-hello -DarchetypeVersion=2.3.9 -DgroupId=com.go.test -DartifactId=gohello -Dversion=1.0-SNAPSHOT
mvn -f ./gohello/pom.xml package
```
The First command in th snippet above generates a maven project with some test files and the second command builds the project.
[Also you can take a look at the example `Hello world` project using the plugin](https://github.com/raydac/mvn-golang-example)

If you want to generate a multi-module project, then you can use such snippet
```
mvn archetype:generate -B -DarchetypeGroupId=com.igormaznitsa -DarchetypeArtifactId=mvn-golang-hello-multi -DarchetypeVersion=2.3.8 -DgroupId=com.go.test -DartifactId=gohello-multi -Dversion=1.0-SNAPSHOT
mvn archetype:generate -B -DarchetypeGroupId=com.igormaznitsa -DarchetypeArtifactId=mvn-golang-hello-multi -DarchetypeVersion=2.3.9 -DgroupId=com.go.test -DartifactId=gohello-multi -Dversion=1.0-SNAPSHOT
```

# Introduction
Expand Down Expand Up @@ -90,7 +69,7 @@ Below described build section for simple golang project which keeps source in `s
<plugin>
<groupId>com.igormaznitsa</groupId>
<artifactId>mvn-golang-wrapper</artifactId>
<version>2.3.8</version>
<version>2.3.9</version>
<extensions>true</extensions>
<executions>
<execution>
Expand Down
Binary file modified assets/doc_common.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion mvn-golang-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.igormaznitsa</groupId>
<artifactId>mvn-golang</artifactId>
<version>2.3.9-SNAPSHOT</version>
<version>2.3.9</version>
</parent>

<artifactId>mvn-golang-examples</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion mvn-golang-hello-multi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.igormaznitsa</groupId>
<artifactId>mvn-golang</artifactId>
<version>2.3.9-SNAPSHOT</version>
<version>2.3.9</version>
</parent>

<groupId>com.igormaznitsa</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<defaultValue>main</defaultValue>
</requiredProperty>
<requiredProperty key="gowrapper">
<defaultValue>2.3.9-SNAPSHOT</defaultValue>
<defaultValue>2.3.9</defaultValue>
</requiredProperty>
<requiredProperty key="gosdk">
<defaultValue>1.16.5</defaultValue>
Expand Down
2 changes: 1 addition & 1 deletion mvn-golang-hello/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.igormaznitsa</groupId>
<artifactId>mvn-golang</artifactId>
<version>2.3.9-SNAPSHOT</version>
<version>2.3.9</version>
</parent>

<groupId>com.igormaznitsa</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<defaultValue>main</defaultValue>
</requiredProperty>
<requiredProperty key="gowrapper">
<defaultValue>2.3.9-SNAPSHOT</defaultValue>
<defaultValue>2.3.9</defaultValue>
</requiredProperty>
<requiredProperty key="gosdk">
<defaultValue>1.16.5</defaultValue>
Expand Down
2 changes: 1 addition & 1 deletion mvn-golang-wrapper/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.igormaznitsa</groupId>
<artifactId>mvn-golang</artifactId>
<version>2.3.9-SNAPSHOT</version>
<version>2.3.9</version>
</parent>

<artifactId>mvn-golang-wrapper</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.igormaznitsa</groupId>
<artifactId>mvn-golang</artifactId>
<version>2.3.9-SNAPSHOT</version>
<version>2.3.9</version>
<packaging>pom</packaging>

<name>mvn-golang</name>
Expand All @@ -13,7 +13,7 @@
<inceptionYear>2016</inceptionYear>

<properties>
<main-project-version>2.3.9-SNAPSHOT</main-project-version>
<main-project-version>2.3.9</main-project-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
<meta.version>1.1.3</meta.version>
Expand Down

0 comments on commit be13d0d

Please sign in to comment.