| <?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> |
| <parent> |
| <artifactId>storm</artifactId> |
| <groupId>org.apache.storm</groupId> |
| <version>2.3.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>storm-clojure</artifactId> |
| |
| <properties> |
| <argLine /> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.storm</groupId> |
| <artifactId>storm-client</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.clojure</groupId> |
| <artifactId>tools.logging</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.googlecode.json-simple</groupId> |
| <artifactId>json-simple</artifactId> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.twitter</groupId> |
| <artifactId>carbonite</artifactId> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.storm</groupId> |
| <artifactId>storm-server</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>com.theoryinpractise</groupId> |
| <artifactId>clojure-maven-plugin</artifactId> |
| <extensions>true</extensions> |
| <configuration> |
| <sourceDirectories> |
| <sourceDirectory>src/clj</sourceDirectory> |
| </sourceDirectories> |
| <testSourceDirectories> |
| <testSourceDirectory>test/clj</testSourceDirectory> |
| </testSourceDirectories> |
| <warnOnReflection>false</warnOnReflection> |
| <copyDeclaredNamespaceOnly>true</copyDeclaredNamespaceOnly> |
| <copiedNamespaces> |
| <copiedNamespace>none</copiedNamespace> |
| </copiedNamespaces> |
| </configuration> |
| <executions> |
| <execution> |
| <id>compile-clojure</id> |
| <phase>compile</phase> |
| <goals> |
| <goal>compile</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>test-clojure</id> |
| <phase>test</phase> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <junitOutput>true</junitOutput> |
| <testScript>./test/resources/test_runner.clj</testScript> |
| <!-- argLine is set by JaCoCo for code coverage --> |
| <vmargs>-Xmx1536m ${argLine} ${test.extra.args}</vmargs> |
| <!-- Run clojure unit tests or all tests (including integration tests) depending on the profile enabled --> |
| <testNamespaces> |
| <testNamespace>${clojure.test.set}</testNamespace> |
| </testNamespaces> |
| <testDeclaredNamespaceOnly>${clojure.test.declared.namespace.only}</testDeclaredNamespaceOnly> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <!--Note - the version would be inherited--> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |