| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| Licensed to the Apache Software Foundation (ASF) under one | |
| or more contributor license agreements. See the NOTICE file | |
| distributed with this work for additional information | |
| regarding copyright ownership. The ASF licenses this file | |
| to you under the Apache License, Version 2.0 (the | |
| "License"); you may not use this file except in compliance | |
| with the License. You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, | |
| software distributed under the License is distributed on an | |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
| KIND, either express or implied. See the License for the | |
| specific language governing permissions and limitations | |
| under the License. | |
| --> | |
| <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>jar</packaging> | |
| <artifactId>brooklyn-software-base</artifactId> | |
| <name>Brooklyn Software Base</name> | |
| <description> | |
| Base classes for Brooklyn software process entities | |
| </description> | |
| <parent> | |
| <groupId>org.apache.brooklyn</groupId> | |
| <artifactId>brooklyn-parent</artifactId> | |
| <version>1.2.0-SNAPSHOT</version> <!-- BROOKLYN_VERSION --> | |
| <relativePath>../../parent/pom.xml</relativePath> | |
| </parent> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.apache.brooklyn</groupId> | |
| <artifactId>brooklyn-core</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.brooklyn</groupId> | |
| <artifactId>brooklyn-software-winrm</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.brooklyn</groupId> | |
| <artifactId>brooklyn-jmxmp-agent</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.brooklyn</groupId> | |
| <artifactId>brooklyn-jmxrmi-agent</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.brooklyn</groupId> | |
| <artifactId>brooklyn-utils-common</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.brooklyn</groupId> | |
| <artifactId>brooklyn-api</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.brooklyn</groupId> | |
| <artifactId>brooklyn-policy</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.brooklyn</groupId> | |
| <artifactId>brooklyn-locations-jclouds</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.freemarker</groupId> | |
| <artifactId>freemarker</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.slf4j</groupId> | |
| <artifactId>slf4j-api</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.code.gson</groupId> | |
| <artifactId>gson</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-io</groupId> | |
| <artifactId>commons-io</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-codec</groupId> | |
| <artifactId>commons-codec</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.httpcomponents</groupId> | |
| <artifactId>httpclient</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.testng</groupId> | |
| <artifactId>testng</artifactId> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.brooklyn</groupId> | |
| <artifactId>brooklyn-test-support</artifactId> | |
| <version>${project.version}</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>${jclouds.groupId}</groupId> | |
| <artifactId>jclouds-core</artifactId> | |
| <version>${jclouds.version}</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.mockito</groupId> | |
| <artifactId>mockito-core</artifactId> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.mockwebserver</groupId> | |
| <artifactId>mockwebserver</artifactId> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.brooklyn</groupId> | |
| <artifactId>brooklyn-core</artifactId> | |
| <version>${project.version}</version> | |
| <classifier>tests</classifier> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.brooklyn</groupId> | |
| <artifactId>brooklyn-software-winrm</artifactId> | |
| <version>${project.version}</version> | |
| <classifier>tests</classifier> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.brooklyn</groupId> | |
| <artifactId>brooklyn-locations-jclouds</artifactId> | |
| <version>${project.version}</version> | |
| <classifier>tests</classifier> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>mx4j</groupId> | |
| <artifactId>mx4j-tools</artifactId> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.cxf</groupId> | |
| <artifactId>cxf-core</artifactId> | |
| <version>${cxf.version}</version> | |
| </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> | |
| <Import-Package> | |
| !org.python.core, | |
| * | |
| </Import-Package> | |
| </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> |