| <?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.oozie</groupId> |
| <artifactId>oozie-fluent-job</artifactId> |
| <version>5.3.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>oozie-fluent-job-api</artifactId> |
| <version>5.3.0-SNAPSHOT</version> |
| <description>Apache Oozie Fluent Job API</description> |
| <name>Apache Oozie Fluent Job API</name> |
| <packaging>jar</packaging> |
| <dependencies> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>guru.nidi</groupId> |
| <artifactId>graphviz-java</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.github.dozermapper</groupId> |
| <artifactId>dozer-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jvnet.jaxb2_commons</groupId> |
| <artifactId>jaxb2-basics</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-annotations</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>javax.xml.bind</groupId> |
| <artifactId>jaxb-api</artifactId> |
| <version>2.3.0</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <!-- spotbugs plugin. Execute 'mvn verify' and look for target/spotbugs/spotbugsXml.html under each module --> |
| <plugin> |
| <groupId>com.github.spotbugs</groupId> |
| <artifactId>spotbugs-maven-plugin</artifactId> |
| <configuration> |
| <excludeFilterFile>${basedir}/spotbugs-filter.xml</excludeFilterFile> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludeSubProjects>false</excludeSubProjects> |
| <excludes> |
| <!-- excluding all as the root POM does the full check--> |
| <exclude>**</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <descriptors> |
| <descriptor>../../src/main/assemblies/tools.xml</descriptor> |
| </descriptors> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>com.github.davidmoten</groupId> |
| <artifactId>jax-maven-plugin</artifactId> |
| <version>0.1.6</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.jvnet.jaxb2_commons</groupId> |
| <artifactId>jaxb2-basics</artifactId> |
| <version>1.11.1</version> |
| </dependency> |
| </dependencies> |
| <executions> |
| <execution> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>xjc</goal> |
| </goals> |
| <configuration> |
| <systemProperties> |
| <enableExternalEntityProcessing>true</enableExternalEntityProcessing> |
| </systemProperties> |
| <arguments> |
| <argument>-verbose</argument> |
| <argument>-XhashCode</argument> |
| <argument>-Xequals</argument> |
| <argument>-Xsetters</argument> |
| <argument>-encoding</argument> |
| <argument>utf-8</argument> |
| <argument>-d</argument> |
| <argument>${project.basedir}/target/generate-sources/jaxb</argument> |
| <argument>-b</argument> |
| <argument>${project.basedir}/src/main/xjb/bindings.xml</argument> |
| <argument>../../client/src/main/resources/distcp-action-1.0.xsd</argument> |
| <arhument>../../client/src/main/resources/email-action-0.2.xsd</arhument> |
| <argument>../../client/src/main/resources/hive2-action-1.0.xsd</argument> |
| <argument>../../client/src/main/resources/hive-action-1.0.xsd</argument> |
| <argument>../../client/src/main/resources/oozie-sla-0.2.xsd</argument> |
| <argument>../../client/src/main/resources/oozie-workflow-1.0.xsd</argument> |
| <argument>../../client/src/main/resources/shell-action-1.0.xsd</argument> |
| <argument>../../client/src/main/resources/spark-action-1.0.xsd</argument> |
| <argument>../../client/src/main/resources/sqoop-action-1.0.xsd</argument> |
| <argument>../../client/src/main/resources/ssh-action-0.2.xsd</argument> |
| <argument>../../client/src/main/resources/git-action-1.0.xsd</argument> |
| |
| </arguments> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <excludePackageNames>org.apache.oozie.fluentjob.api.generated.*</excludePackageNames> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <configuration> |
| <excludes>**/generated/**/*</excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>generateDocs</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| <property> |
| <name>generateDocs</name> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <linksource>true</linksource> |
| <quiet>true</quiet> |
| <verbose>false</verbose> |
| <source>${maven.compile.source}</source> |
| <charset>${maven.compile.encoding}</charset> |
| <groups> |
| <group> |
| <title>Fluent Job API</title> |
| <packages> |
| org.apache.oozie.fluentjob.api |
| </packages> |
| </group> |
| </groups> |
| <excludePackageNames>org.apache.oozie.fluentjob.api.generated.*</excludePackageNames> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>javadoc</goal> |
| </goals> |
| <phase>package</phase> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |