blob: d5558d9048093b893114dccfc847b0e2421a4680 [file] [log] [blame]
<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>
<artifactId>brooklyn-rest-SANDBOX</artifactId>
<packaging>bundle</packaging>
<name>Brooklyn Rest</name>
<description>
Brooklyn Rest endpoint
</description>
<parent>
<groupId>io.brooklyn</groupId>
<artifactId>brooklyn-parent</artifactId>
<version>0.4.0-M2</version>
<!-- BROOKLYN_VERSION -->
<relativePath>../../pom.xml</relativePath>
</parent>
<properties>
<dropwizard.version>0.3.1</dropwizard.version>
<slf4j.version>1.6.4</slf4j.version>
<reflections.version>0.9.5</reflections.version>
</properties>
<dependencies>
<dependency>
<groupId>com.yammer.dropwizard</groupId>
<artifactId>dropwizard-core</artifactId>
<version>${dropwizard.version}</version>
</dependency>
<dependency>
<groupId>com.yammer.dropwizard</groupId>
<artifactId>dropwizard-client</artifactId>
<version>${dropwizard.version}</version>
</dependency>
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>${reflections.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>io.brooklyn</groupId>
<artifactId>brooklyn-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.brooklyn</groupId>
<artifactId>brooklyn-software-database</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.brooklyn</groupId>
<artifactId>brooklyn-software-messaging</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.brooklyn</groupId>
<artifactId>brooklyn-software-nosql</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.brooklyn</groupId>
<artifactId>brooklyn-software-osgi</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.brooklyn</groupId>
<artifactId>brooklyn-software-webapp</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.yammer.dropwizard</groupId>
<artifactId>dropwizard-testing</artifactId>
<version>${dropwizard.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>brooklyn-test-support</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.brooklyn</groupId>
<artifactId>brooklyn-core</artifactId>
<version>${project.version}</version>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.brooklyn</groupId>
<artifactId>brooklyn-software-base</artifactId>
<version>${project.version}</version>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!-- packaging as a single .jar is no longer possible because of BouncyCastle -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/lib
</outputDirectory>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>false</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
<mainClass>brooklyn.rest.BrooklynService</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>