| <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> |
| <packaging>bundle</packaging> |
| |
| <artifactId>brooklyn-software-base</artifactId> |
| |
| <name>Brooklyn Software Base</name> |
| <description> |
| Base classes for Brooklyn software process entities |
| </description> |
| <parent> |
| <groupId>io.brooklyn</groupId> |
| <artifactId>brooklyn-parent</artifactId> |
| <version>0.6.0</version> <!-- BROOKLYN_VERSION --> |
| <relativePath>../../pom.xml</relativePath> |
| </parent> |
| |
| <dependencies> |
| <dependency> |
| <groupId>io.brooklyn</groupId> |
| <artifactId>brooklyn-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.brooklyn</groupId> |
| <artifactId>brooklyn-jmxmp-agent</artifactId> |
| <version>${brooklyn.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.brooklyn</groupId> |
| <artifactId>brooklyn-jmxrmi-agent</artifactId> |
| <version>${brooklyn.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.brooklyn</groupId> |
| <artifactId>brooklyn-policy</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.freemarker</groupId> |
| <artifactId>freemarker</artifactId> |
| <version>${freemarker.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>brooklyn-test-support</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <!-- bring in jclouds for testing --> |
| <dependency> |
| <groupId>io.brooklyn</groupId> |
| <artifactId>brooklyn-locations-jclouds</artifactId> |
| <version>${brooklyn.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>${mockito.version}</version> |
| <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>mx4j</groupId> |
| <artifactId>mx4j-tools</artifactId> |
| <version>${mx4j.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <configuration> |
| <instructions> |
| <Include-Resource>{maven-resources}, target/classes/brooklyn-jmxmp-agent-shaded-${project.version}.jar, target/classes/brooklyn-jmxrmi-agent-${project.version}.jar</Include-Resource> |
| </instructions> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <!-- copy the JMX agent JAR files so they are available on the classpath for programmatic deployment --> |
| <!-- NB this can fail in eclipse trying to copy _from_ target/classes. see http://jira.codehaus.org/browse/MDEP-259 --> |
| <executions> |
| <execution> |
| <id>copy</id> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>brooklyn-jmxmp-agent</artifactId> |
| <version>${project.version}</version> |
| <type>jar</type> |
| <classifier>with-dependencies</classifier> |
| <overWrite>true</overWrite> |
| <outputDirectory>target/classes</outputDirectory> |
| <destFileName>brooklyn-jmxmp-agent-shaded-${project.version}.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>brooklyn-jmxrmi-agent</artifactId> |
| <version>${project.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>target/classes</outputDirectory> |
| <destFileName>brooklyn-jmxrmi-agent-${project.version}.jar</destFileName> |
| </artifactItem> |
| </artifactItems> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |