| <?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.activemq</groupId> |
| <artifactId>apollo-scala</artifactId> |
| <version>99-trunk-SNAPSHOT</version> |
| <relativePath>../apollo-scala</relativePath> |
| </parent> |
| |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>apollo-openwire</artifactId> |
| <version>99-trunk-SNAPSHOT</version> |
| |
| <name>${project.artifactId}</name> |
| |
| <properties> |
| <openwire-src>${basedir}/src/main/scala</openwire-src> |
| <openwire-first>1</openwire-first> |
| <openwire-version>8</openwire-version> |
| </properties> |
| |
| <dependencies> |
| |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>apollo-broker</artifactId> |
| <version>99-trunk-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>apollo-web</artifactId> |
| <version>99-trunk-SNAPSHOT</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty.orbit</groupId> |
| <artifactId>javax.servlet</artifactId> |
| <version>${servlet-api-version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- Scala Support --> |
| <dependency> |
| <groupId>org.scala-lang</groupId> |
| <artifactId>scala-library</artifactId> |
| <scope>compile</scope> |
| <version>${scala-version}</version> |
| </dependency> |
| |
| <!-- Testing Dependencies --> |
| |
| <!-- bring in the activemq jms client libs --> |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>activemq-core</artifactId> |
| <version>${activemq-version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| </exclusions> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- so we can test against a persisentce store --> |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>apollo-broker</artifactId> |
| <version>99-trunk-SNAPSHOT</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>apollo-util</artifactId> |
| <version>99-trunk-SNAPSHOT</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>apollo-bdb</artifactId> |
| <version>99-trunk-SNAPSHOT</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>apollo-leveldb</artifactId> |
| <version>99-trunk-SNAPSHOT</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.jetty.aggregate</groupId> |
| <artifactId>jetty-all-server</artifactId> |
| <version>${jetty-version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| <version>${junit-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.scalatest</groupId> |
| <artifactId>scalatest_${scala-version}</artifactId> |
| <version>${scalatest-version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <version>${slf4j-version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>apollo-openwire-generator</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| <plugins> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>1.7</version> |
| <executions> |
| <execution> |
| <id>default</id> |
| <phase>generate-sources</phase> |
| <configuration> |
| <tasks> |
| <echo>Running OpenWire Generator</echo> |
| <taskdef name="generate" classname="org.apache.activemq.apollo.openwire.generator.GeneratorTask" classpathref="maven.test.classpath" /> |
| <generate first="${openwire-first}" version="${openwire-version}" sourceDir="${openwire-src}" targetDir="${project.build.directory}/generated-sources/openwire" /> |
| </tasks> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <version>1.7</version> |
| <executions> |
| <execution> |
| <id>default</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>add-source</goal> |
| </goals> |
| <configuration> |
| <sources> |
| <source>${project.build.directory}/generated-sources/openwire</source> |
| </sources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.fusesource.scalate</groupId> |
| <artifactId>maven-scalate-plugin_2.10</artifactId> |
| <version>${scalate-version}</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>precompile</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>lib/tools.jar</id> |
| <activation> |
| <file> |
| <exists>${java.home}/lib/tools.jar</exists> |
| </file> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <dependencies> |
| <dependency> |
| <groupId>com.sun</groupId> |
| <artifactId>tools</artifactId> |
| <version>1.6.0</version> |
| <scope>system</scope> |
| <optional>true</optional> |
| <systemPath>${java.home}/lib/tools.jar</systemPath> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>../lib/tools.jar</id> |
| <activation> |
| <file> |
| <exists>${java.home}/../lib/tools.jar</exists> |
| </file> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <dependencies> |
| <dependency> |
| <groupId>com.sun</groupId> |
| <artifactId>tools</artifactId> |
| <version>1.6.0</version> |
| <scope>system</scope> |
| <optional>true</optional> |
| <systemPath>${java.home}/../lib/tools.jar</systemPath> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |