
Modified build to work with maven 2 Modified so it will download monasca-common jars from tarballs.openstack.org if the user is jenkins, otherwise the user is told to build and install monasca-common Had to move the source code to the new thresh directory so that a separate module could do the download before dependencies would be checked by maven Had to explicitly set the project name in the control file, not sure why Change-Id: Ic4d02478b078aad7c1f0eebda2ea2def8d9edf1a
65 lines
1.7 KiB
XML
65 lines
1.7 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-common</groupId>
|
|
<artifactId>monasca-common</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>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|