All Downloads are FREE. Search and download functionalities are using the official Maven repository.

archetype-resources.pom.xml Maven / Gradle / Ivy

The newest version!
#set($dollar = '$')
#set($str = "")
#set($dt = $str.getClass().forName("java.util.Date").newInstance())
#set($year = $dt.getYear() + 1900)
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <groupId>${groupId}</groupId>
  <artifactId>${artifactId}</artifactId>
  <version>${version}</version>
  <packaging>pom</packaging>
    
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <mvn.golang.go.version>${gosdk}</mvn.golang.go.version>
    <go.wrapper.plugin.version>${gowrapper}</go.wrapper.plugin.version>
    <maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
    <mvn.version>3.0</mvn.version>
    <final.extension></final.extension>
  </properties>

  <prerequisites>
    <maven>${dollar}{mvn.version}</maven>
  </prerequisites>

  <profiles>
    <profile>
      <id>windows-profile</id>
      <activation>
        <os>
          <family>Windows</family>
        </os>
      </activation>
      <properties>
        <final.extension>.exe</final.extension>
      </properties>
    </profile>
    <!-- The Profile allows to pack all generated executable modules into ZIP archive -->
    <profile>
      <id>assembly</id>
      <modules>
        <module>assembly-results</module>
      </modules>
    </profile>
  </profiles>

  <modules>
    <module>common</module>
    <module>app-1</module>
    <module>app-2</module>
  </modules>
  
  <build>
    <defaultGoal>clean package</defaultGoal>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>com.igormaznitsa</groupId>
          <artifactId>mvn-golang-wrapper</artifactId>
          <version>${dollar}{go.wrapper.plugin.version}</version>
          <extensions>true</extensions>
          <configuration>
            <env>
              <GO111MODULE>off</GO111MODULE>
            </env>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>
</project>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy