$
mvn archetype:generate -B -DarchetypeGroupId=com.igormaznitsa
-DarchetypeArtifactId=mvn-golang-hello -DarchetypeVersion=2.0.0
-DgroupId=com.go.test -DartifactId=gohello -Dversion=1.0-SNAPSHOT
$ mvn -f ./gohello/pom.xml package
The First line creates a simple GoLang project from a maven archetype, the project is based on usage of the mvn-golang-wrapper, and the second one build and run the project.
No comments:
Post a Comment