t3
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>fr.ird.t3</groupId>
<artifactId>t3</artifactId>
<version>2.0.1</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
#%L
T3 :: Release
%%
Copyright (C) 2010 - 2017 IRD, Code Lutin, Ultreia.io
%%
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses />.
#L%
-->
<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>
<parent>
<groupId>fr.ird.t3</groupId>
<artifactId>ird-t3</artifactId>
<version>2.0.1</version>
</parent>
<artifactId>t3</artifactId>
<name>T3 :: Release</name>
<description>t3 Release</description>
<packaging>pom</packaging>
<properties>
<!-- allow to deploy artifacts -->
<maven.deploy.skip>false</maven.deploy.skip>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>get-assembly</id>
<phase>prepare-package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}</outputDirectory>
<artifactItems>
<artifactItem>
<groupId>${project.groupId}</groupId>
<artifactId>t3-web</artifactId>
<version>${project.version}</version>
<type>war</type>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
<id>get-assembly-2</id>
<phase>prepare-package</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}</outputDirectory>
<artifactItems>
<artifactItem>
<groupId>${project.groupId}</groupId>
<artifactId>t3-installer</artifactId>
<version>${project.version}</version>
<type>zip</type>
<classifier>bin</classifier>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.nuiton</groupId>
<artifactId>helper-maven-plugin</artifactId>
<executions>
<execution>
<id>get-zip-installer-password</id>
<goals>
<goal>share-server-secret</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<serverId>t3-password</serverId>
<passwordOut>zip.password</passwordOut>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>zip-installer</id>
<goals>
<goal>exec</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<executable>zip</executable>
<workingDirectory>target</workingDirectory>
<arguments>
<argument>--password</argument>
<argument>${zip.password}</argument>
<argument>t3-installer-${project.version}.zip</argument>
<argument>-q</argument>
<argument>-r</argument>
<argument>t3-installer-${project.version}</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.build.directory}/t3-installer-${project.version}.zip</file>
<type>zip</type>
</artifact>
<artifact>
<file>${project.build.directory}/t3-web-${project.version}.war</file>
<type>war</type>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>