| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed 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>omid</artifactId> |
| <groupId>org.apache.omid</groupId> |
| <version>1.0.3-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>omid-examples</artifactId> |
| <name>Omid Client Examples</name> |
| <description>Includes some examples showing Omid features</description> |
| |
| <dependencies> |
| |
| <!-- Dependencies on Omid modules --> |
| |
| <dependency> |
| <groupId>org.apache.omid</groupId> |
| <artifactId>omid-hbase-client-${hbase.artifactId.suffix}</artifactId> |
| <version>${project.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.omid</groupId> |
| <artifactId>${shims.exclude.artifactId}</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.omid</groupId> |
| <artifactId>omid-hbase-commit-table-${hbase.exclude.artifactId.suffix}</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.omid</groupId> |
| <artifactId>omid-codahale-metrics</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <!-- End of Dependencies on Omid modules --> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| |
| <plugins> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>${java.version}</source> |
| <target>${java.version}</target> |
| <compilerArgs> |
| <arg>-Xlint:deprecation</arg> |
| <arg>-Xlint:unchecked</arg> |
| </compilerArgs> |
| |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>**/log4j.properties</exclude> |
| <exclude>**/*.yml</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <skipAssembly>false</skipAssembly> |
| <tarLongFileMode>gnu</tarLongFileMode> |
| <descriptors> |
| <descriptor>maven/assembly/assembly.xml</descriptor> |
| </descriptors> |
| </configuration> |
| <executions> |
| <execution> |
| <id>make-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <!-- Disable cobertura execution for examples as they don't have tests --> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>cobertura-maven-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| |
| <!-- Disable maven site plugin --> |
| <plugin> |
| <artifactId>maven-site-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| |
| </plugins> |
| |
| </build> |
| |
| </project> |