build
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.thundra.utils</groupId>
<artifactId>build</artifactId>
<version>1.0.5</version>
</dependency><?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>thundra-teamcity-plugin</artifactId>
<groupId>io.thundra.utils</groupId>
<version>1.0.5</version>
</parent>
<artifactId>build</artifactId>
<packaging>pom</packaging>
<properties>
<maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
<teamcity.thundra-teamcity-plugin.plugin.version>snapshot-${maven.build.timestamp}
</teamcity.thundra-teamcity-plugin.plugin.version>
<teamcity.thundra-teamcity-plugin.plugin.vendorName>Thundra</teamcity.thundra-teamcity-plugin.plugin.vendorName>
<teamcity.thundra-teamcity-plugin.plugin.vendorUrl>https://www.thundra.io/
</teamcity.thundra-teamcity-plugin.plugin.vendorUrl>
</properties>
<dependencies>
<dependency>
<groupId>io.thundra.utils</groupId>
<artifactId>thundra-teamcity-plugin-agent</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>replacer</artifactId>
<version>1.5.2</version>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<goal>replace</goal>
</goals>
</execution>
</executions>
<configuration>
<file>${basedir}/../teamcity-plugin.xml</file>
<outputFile>${basedir}/target/teamcity-plugin.xml</outputFile>
<replacements>
<replacement>
<token>@Version@</token>
<value>${teamcity.thundra-teamcity-plugin.plugin.version}</value>
</replacement>
<replacement>
<token>@VendorName@</token>
<value>${teamcity.thundra-teamcity-plugin.plugin.vendorName}</value>
</replacement>
<replacement>
<token>@VendorURL@</token>
<value>${teamcity.thundra-teamcity-plugin.plugin.vendorUrl}</value>
</replacement>
</replacements>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>make-agent-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>thundra-teamcity-plugin-agent</finalName>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>plugin-agent-assembly.xml</descriptor>
</descriptors>
</configuration>
</execution>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>thundra-teamcity-plugin</finalName>
<outputDirectory>${project.parent.build.directory}</outputDirectory>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>plugin-assembly.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>