
Create a symlink so the target directory is in the place the upload expects Shrink the jar to only what is needed Change-Id: Idb71dae90db4f6e749cc55ffbb106794a89651e1
87 lines
2.3 KiB
XML
87 lines
2.3 KiB
XML
<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>monasca</groupId>
|
|
<artifactId>monasca-thresh-base</artifactId>
|
|
<version>${computedVersion}</version>
|
|
<url>http://github.com/stackforge/monasca-common</url>
|
|
<packaging>pom</packaging>
|
|
|
|
<!--
|
|
<prerequisites>
|
|
<maven>3.0</maven>
|
|
</prerequisites>
|
|
-->
|
|
|
|
<properties>
|
|
<!-- Versioning -->
|
|
<versionNumber>1.0.0</versionNumber>
|
|
<computedVersion>${versionNumber}-SNAPSHOT</computedVersion>
|
|
|
|
<skipITs>true</skipITs>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
</properties>
|
|
|
|
<scm>
|
|
<connection>scm:git:git@github.com:stackforge/monasca-thresh</connection>
|
|
<developerConnection>scm:git:git@github.com:stackforge/monasca-thresh</developerConnection>
|
|
</scm>
|
|
|
|
<modules>
|
|
<module>download</module>
|
|
<module>thresh</module>
|
|
</modules>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>release-deploy-url-override</id>
|
|
<activation>
|
|
<property>
|
|
<name>BUILD_NUM</name>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<computedVersion>${project.version}</computedVersion>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-scm-plugin</artifactId>
|
|
<version>1.9</version>
|
|
<configuration>
|
|
<tag>${project.version}</tag>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<version>1.1.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>some-execution</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<executable>ln</executable>
|
|
<arguments>
|
|
<argument>-sf</argument>
|
|
<argument>thresh/target</argument>
|
|
<argument>target</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|