-
Notifications
You must be signed in to change notification settings - Fork 31
Minimal pom.xml
Igor Maznitsa edited this page May 13, 2018
·
1 revision
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.igormaznitsa.mvngolang.proj</groupId>
<artifactId>mvngolang-proj</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>mvn-golang</packaging>
<properties>
<mvn.golang.go.version>1.10.2</mvn.golang.go.version>
<!--<mvn.golang.get.packages.file>${basedir}${file.separator}packages.txt</mvn.golang.get.packages.file>-->
<go.wrapper.plugin.version>2.2.0</go.wrapper.plugin.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
<final.extension></final.extension>
</properties>
<profiles>
<profile>
<id>windows-profile</id>
<activation>
<os>
<family>windows</family>
</os>
</activation>
<properties>
<final.extension>.exe</final.extension>
</properties>
</profile>
</profiles>
<build>
<defaultGoal>clean package</defaultGoal>
<finalName>${project.artifactId}-${maven.build.timestamp}${final.extension}</finalName>
<sourceDirectory>${basedir}${file.separator}src</sourceDirectory>
<directory>${basedir}${file.separator}bin</directory>
<resources>
<resource>
<directory>${basedir}${file.separator}res</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>com.igormaznitsa</groupId>
<artifactId>mvn-golang-wrapper</artifactId>
<version>${go.wrapper.plugin.version}</version>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
</project>