META-INF.maven.io.siddhi.extension.io.rabbitmq.siddhi-io-rabbitmq.pom.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. ~ ~ WSO2 Inc. 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"> <parent> <artifactId>siddhi-io-rabbitmq-parent</artifactId> <groupId>io.siddhi.extension.io.rabbitmq</groupId> <version>3.0.2</version> </parent> <modelVersion>4.0.0</modelVersion> <packaging>bundle</packaging> <artifactId>siddhi-io-rabbitmq</artifactId> <dependencies> <dependency> <groupId>io.siddhi</groupId> <artifactId>siddhi-core</artifactId> </dependency> <dependency> <groupId>io.siddhi</groupId> <artifactId>siddhi-query-api</artifactId> </dependency> <dependency> <groupId>io.siddhi</groupId> <artifactId>siddhi-annotations</artifactId> </dependency> <dependency> <groupId>com.rabbitmq</groupId> <artifactId>amqp-client</artifactId> </dependency> <dependency> <groupId>org.apache.log4j.wso2</groupId> <artifactId>log4j</artifactId> </dependency> <dependency> <groupId>io.siddhi.extension.map.xml</groupId> <artifactId>siddhi-map-xml</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.jacoco</groupId> <artifactId>org.jacoco.agent</artifactId> <classifier>runtime</classifier> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> <configuration> <instructions> <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> <Bundle-Name>${project.artifactId}</Bundle-Name> <Private-Package> com.rabbitmq.client.*, com.rabbitmq.utility.* </Private-Package> <Export-Package> io.siddhi.extension.io.rabbitmq.* </Export-Package> <Import-Package> io.siddhi.core.*;version="${siddhi.version.range}", io.siddhi.annotation.*;version="${siddhi.version.range}", io.siddhi.query.api.*;version="${siddhi.version.range}", *;resolution:=optional </Import-Package> <Include-Resource> META-INF=target/classes/META-INF </Include-Resource> </instructions> </configuration> </plugin> <plugin> <groupId>io.siddhi</groupId> <artifactId>siddhi-doc-gen</artifactId> <version>${siddhi.version}</version> <executions> <execution> <phase>compile</phase> <goals> <goal>generate-md-docs</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>local-rabbitmq</id> <!-- Fabric8 Docker Maven plugin --> <build> <plugins> <plugin> <groupId>io.fabric8</groupId> <artifactId>docker-maven-plugin</artifactId> <configuration> <logDate>default</logDate> <autoPull>true</autoPull> <images> <image> <alias>rabbitmq</alias> <name>rabbitmq:3</name> <run> <wait> <tcp> <ports> <port>5672</port> </ports> </tcp> <time>60000</time> </wait> </run> </image> </images> </configuration> <executions> <execution> <id>build</id> <phase>package</phase> <goals> <goal>build</goal> </goals> </execution> <execution> <id>start</id> <phase>pre-integration-test</phase> <goals> <goal>start</goal> </goals> </execution> <execution> <id>stop</id> <phase>post-integration-test</phase> <goals> <goal>stop</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> <configuration> <argLine>${failsafeArgLine}</argLine> <systemPropertyVariables> <brokerHostAddress>localhost</brokerHostAddress> </systemPropertyVariables> <suiteXmlFiles> <suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile> </suiteXmlFiles> </configuration> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.7.8</version> <executions> <execution> <id>pre-integration-test</id> <phase>pre-integration-test</phase> <goals> <goal>prepare-agent</goal> </goals> <configuration> <destFile>${basedir}/target/jacoco.exec/</destFile> <propertyName>failsafeArgLine</propertyName> </configuration> </execution> <execution> <id>post-integration-test</id> <phase>post-integration-test</phase> <goals> <goal>report</goal> </goals> <configuration> <dataFile>${basedir}/target/jacoco.exec</dataFile> <outputDirectory>${basedir}/target/coverage-reports/</outputDirectory> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>documentation-deploy</id> <build> <plugins> <plugin> <groupId>io.siddhi</groupId> <artifactId>siddhi-doc-gen</artifactId> <executions> <execution> <phase>compile</phase> <goals> <goal>deploy-mkdocs-github-pages</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> </project>