| <?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/maven-v4_0_0.xsd"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.tomee.chatterbox</groupId> |
| <artifactId>chatterbox-parent</artifactId> |
| <version>0.3-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>chatterbox-nats-parent</artifactId> |
| <packaging>pom</packaging> |
| <version>0.3-SNAPSHOT</version> |
| <name>Chatterbox :: NATS</name> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <version.arquillian>1.1.1.Final</version.arquillian> |
| <version.shrinkwrap.descriptor>2.0.0-alpha-5</version.shrinkwrap.descriptor> |
| <version.shrinkwrap.shrinkwrap>1.0.1</version.shrinkwrap.shrinkwrap> |
| <version.tomee>8.0.6</version.tomee> |
| <version.openejb>8.0.6</version.openejb> |
| <version.crest>0.3</version.crest> |
| <maven.checkstyle.plugin.version>2.16</maven.checkstyle.plugin.version> |
| </properties> |
| |
| <repositories> |
| <repository> |
| <id>jitpack.io</id> |
| <url>https://jitpack.io</url> |
| </repository> |
| </repositories> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.tomitribe</groupId> |
| <artifactId>tomitribe-crest</artifactId> |
| <version>${version.crest}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.tomitribe</groupId> |
| <artifactId>tomitribe-crest-api</artifactId> |
| <version>${version.crest}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.tomitribe</groupId> |
| <artifactId>tomitribe-util</artifactId> |
| <version>1.1.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sshd</groupId> |
| <artifactId>sshd-core</artifactId> |
| <version>0.9.0</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.11</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax</groupId> |
| <artifactId>javaee-api</artifactId> |
| <version>7.0</version> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| <modules> |
| <module>chatterbox-nats-api</module> |
| <module>chatterbox-nats-impl</module> |
| <module>chatterbox-nats-rar</module> |
| <module>chatterbox-nats-sample-war</module> |
| <module>chatterbox-nats-sample-war-rar</module> |
| </modules> |
| <build> |
| <defaultGoal>install</defaultGoal> |
| <pluginManagement> |
| <plugins> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <version>1.8</version> |
| <executions> |
| <execution> |
| <id>reserve-network-port</id> |
| <phase>process-test-classes</phase> |
| <goals> |
| <goal>reserve-network-port</goal> |
| </goals> |
| <configuration> |
| <portNames> |
| <portName>tomee.http.port</portName> |
| <portName>tomee.shutdown.port</portName> |
| </portNames> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy-test-libs</id> |
| <phase>process-test-resources</phase> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| </artifactItem> |
| </artifactItems> |
| <outputDirectory> |
| ${project.build.directory}/test-libs |
| </outputDirectory> |
| <stripVersion>true</stripVersion> |
| </configuration> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <optimize>true</optimize> |
| <source>1.8</source> |
| <target>1.8</target> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>tomee-plus-remote</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <properties> |
| <tomee.version>${version.tomee}</tomee.version> |
| <tomee.classifier>plus</tomee.classifier> |
| </properties> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <systemPropertyVariables> |
| <tomee.classifier>${tomee.classifier}</tomee.classifier> |
| <tomee.version>${tomee.version}</tomee.version> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.tomee</groupId> |
| <artifactId>arquillian-tomee-remote</artifactId> |
| <version>${tomee.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.arquillian.junit</groupId> |
| <artifactId>arquillian-junit-container</artifactId> |
| <version>${version.arquillian}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.arquillian.junit</groupId> |
| <artifactId>arquillian-junit-container</artifactId> |
| <version>${version.arquillian}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.shrinkwrap.descriptors</groupId> |
| <artifactId>shrinkwrap-descriptors-impl-javaee</artifactId> |
| <version>${version.shrinkwrap.descriptor}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.shrinkwrap.resolver</groupId> |
| <artifactId>shrinkwrap-resolver-impl-maven</artifactId> |
| <version>2.1.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomee</groupId> |
| <artifactId>apache-tomee</artifactId> |
| <version>${tomee.version}</version> |
| <classifier>${tomee.classifier}</classifier> |
| <type>zip</type> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| </profile> |
| </profiles> |
| </project> |