Skip to content

Latest commit

 

History

History
186 lines (151 loc) · 11.6 KB

CHANGELOG.md

File metadata and controls

186 lines (151 loc) · 11.6 KB

2.3.10 (08-jun-2022)

  • updated dependencies
  • default GoSDK version is 1.19

2.3.9 (04-jul-2021)

  • fix for clean fail for multi-module project if some artifacts unresolvable #90
  • fix for seldom error "Can't create temp folder" when building modules concurrently #88
  • default GoSDK version is 1.16.5
  • added autodetect for aarch64 #87

2.3.8 (22-mar-2021)

  • improved maven archetypes
  • default GoSDK version is 1.16.2
  • added Azul3D and 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
  • minor refactoring

2.3.7 (22-feb-2021)

  • refactoring, improved informing about file log state #83
  • improved build mojo, added support to attach build result as project artifact#82
  • default version of GoSDK updated to 1.15.8
  • fixed slash processing in go.mod under windows #80 ( thanks fmazoyer)

2.3.6 (19-dec-2020)

  • improved restoration of go.mod and go.sum state after build
  • refactoring and minor bugfixing
  • updated dependencies
  • default version of GoSDK updated to 1.15.6

2.3.5 (12-sep-2020)

  • fixed bug in go.mod backup restore #73
  • default version of GoSDK updated to 1.15.2

2.3.4 (05-nov-2019)

  • improved host arch detection #70
  • default version of GoSDK updated to 1.13.4
  • minor refactoring

2.3.3 (30-jul-2019)

  • improved work in parallel mode
  • minimal supported JDK version increased to 1.8
  • added mod mojo
  • added unified boolean properties mvn.golang.<MOJO_NAME>.skip to skip work of selected mojo #65
  • text none in resultName field of build mojo disables auto-adding of -o command line option
  • minor fixes and refactoring
  • added parameter workingDir to replace automatically choosen working directory during tool execution.
  • added support of Golang modules with maven dependencies, added example #60
  • default version of GoSDK updated to 1.12.7

2.3.2 (24-jun-2019)

  • updated maven archetypes
  • fixed mvn-golang:vet does not have maven dependency resolution #59
  • default version of GoSDK updated to 1.12.6

2.3.1 (14-apr-2019)

  • default version of GoSDK updated to 1.12.4
  • added parameter goCache to provide GOCACHE environment variable, the default value is ${project.build.directory}/.goBuildCache

2.3.0 (02-mar-2019)

  • added support of work with mvn-golang dependencies in maven repository, so now they can be used as just maven dependencies, it can be disabled through scanDependencies property. example
  • repository artifact extension changed to zip to provide way to be processed by standard maven plugins
  • added support of system properties 'mvngo.skip' and mvngo.disable.ssl.check
  • added jfrog-cli mojo to provide way make call to external JFrog CLI in tuned Go SDK environment, example.
  • added connectionTimeout property to provide timeout (milliseconds) for HTTP connections, default 60000 ms
  • #55 print log error stream into debug if command status is not error
  • added check of hash for downloaded SDK archive, can be disabled by false in parameter checkSdkHash, it checks hash provided in response header x-goog-hash
  • improved GoSDK loading

2.2.0 (13-may-2018)

  • added property mvn.golang.go.version to define value for goVersion configuration parameter, it allows decrease configuration section dramatically
  • added externalPackageFile (property mvn.golang.get.packages.file) option to the get mojo, it allows to keep package list in external file
  • default value of the useMavenProxy flag is changed to true to make the plugin more compatible with default maven process

2.1.8 (29-apr-2018)

  • added support of maven.deploy.skip and maven.install.skip prperties in install and deploy mojos
  • #48 improved processing of install and deploy to be more compatible with standard maven process
  • fixed dependency for termui test project in examples
  • added customScript section into get to execute some custom script over package CVS folder

2.1.7 (18-feb-2018)

  • fixed target file extension in maven archetypes #44
  • added target386 to provide value for $GO386 environment variable
  • improved GOPATH value processing, multi-folder value allowed
  • added flag to disable SSL certificate check for HTTPS connections, disableSSLcheck, by default it is false
  • improved Golang SDK list load #24
  • added args attribute to the run mojo to provide tail command line arguments.
  • added processing of maven session offline mode
  • improved proxy server settings processing to process NTLM authorisation
  • removed maven-enforcer-plugin because it throws NPE for old maven versions

2.1.6 (27-aug-2017)

  • implemented file locker to synchronize SDK loading between JVM processes, if cache folder is shared
  • improved get mojo behavior during branch, tag and revision processing
  • improved get mojo, added deleteCommonPkg flag to delete whole common pkg folder, by default false
  • improved logging
  • added property supposeSdkArchiveFileName to suppose SDK archive file name if it is not presented in common SDK list, active by default
  • minimal version of Java increased to 1.7

2.1.5 (03-jul-2017)

  • added archetype for multimodule project mvn-golang-hello-multi
  • added customCvsOptions into get mojo to provide custom options for CVS operation.
  • improved get mojo, added auto-search of CVS folder in package folder hierarchy, it can be disabled with <disableCvsAutosearch>true</disableCvsAutosearch>, #23
  • improved get mojo, added way to define relative path to CVS folder in src folder through <relativePathToCvsFolder>, by default the path extracted from package name

2.1.4 (24-jun-2017)

  • added support of BAZAAR CVS (experimental)
  • fixed order of processing of CVS branch, tag and revision in get mojo
  • added enforceDeletePackageFiles flag into get mojo to enforce deletion of package sources and compiled version in local repository
  • fixed processing of revision for CVS

2.1.3 (14-apr-2017)

  • Improved go-hello-test archetype to generate Intellij Idea Go plugin project structure
  • Added flag enforceGoPathToEnd to enforce changing of folder list order in new generated GOPATH
  • Added list parameter ldFlags for buildMojo to define linker flags.
  • Added boolean flag strip for buildMojo to remove symbol table and DWARF from the result file.
  • Added parameter buildMode for buildMojo to define Go build mode

2.1.2 (07-nov-2016)

  • Added skip attribute to skip execution of mojo
  • #10, Added way to disable providing of $GOBIN through pseudo-path NONE
  • Changed maven phase for build from compile to package (to prevent build start before tests)
  • Enforced console output for test even in non-verbose mode
  • Added default packages ./... for fmt,vet,fix and test tasks
  • Added maven.test.failure.ignore and test properties processing into test goal, also allowed method regex template after # like in surefire

2.1.1 (21-aug-2016)

  • #9, Added attribute targetArm to provide $GOARM value
  • Added support of proxy server #8, added flag useMavenProxy to use proxy server defined either through maven settings.xml file or the proxy configuration section of the plugin.
  • Improved clean mojo, added flags to clean Go path folder defined through goPath parameter, and added flag to delete whole storeFolder
  • Added flag ignoreErrorExitCode to prevent failure for error exit code, it is useful in some test cases.
  • Added parameter reportsFolder to define folder where some reports will be placed.
  • Added parameters outLogFile and errLogFile to save execution console log as files in the report folder. By default such reports are not saved.
  • Console log for test will be shown in maven log only in verbose mode

2.1.0 (28-may-2016)

  • Output of environment variables has been moved under the verbose flag
  • Added mvninstall goal which saves artifact into local maven repository during install phase,#2 request
  • Added support of branches and tags into get, it works for Git, Hg and SVN repositories
  • Improved archetype template, added example of test
  • Fixed issue #3 "cannot run tests"

2.0.0 (17-apr-2016)

  • Added maven archetype mvn-golang-hello to generate minimal GoLang "Hello World!" project
  • Added mojo for run command.
  • Removed <findExecInGoPath> property because the logic of search executable file has been reworked
  • Added goBin parameter to provide $GOBIN value
  • Improved CLEAN to delete also the project target folder
  • The Banner is hidden by default
  • Changed project folder structure to be closer to GoLang projects
  • Added life-cycle for packaging mvn-golang with support of the standard GoLang project hierarchy, as example see adapted the Hello world example for the case
  • Improved logging of command console output, now it is split to lines and every line logged separately
  • Added support for loading of archives with Content-type application/x-gzip
  • Increased number of test examples
  • Build of example applications moved to the special profile examples

1.1.0 (05-apr-2016)

  • Added test example for gomobile for Android ARM 7
  • Added <findExecInGoPath>, it allows to find golang tool in $GOPATH instead of $GOROOT (by default false)
  • Added <echo> and <echoWarn> to print echo messages into maven log
  • Added <exec> parameter to define gotool name (by default go)
  • Added <execSubpath> parameter to provide sub-path in SDK root to find golang tool (by default bin)
  • Renamed parameter <name> to <resultName> and <target> to <resultFolder> for build
  • Fixed racing issue for the maven -T4 flag
  • Fixed "Truncated TAR archive exception" for Mac OS tar.gz archive
  • Removed predefined values for <goVersion> and <osx>
  • Minor refactoring

1.0.0 (26-mar-2016)

  • initial version