| <?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/maven-v4_0_0.xsd"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.omid</groupId> |
| <artifactId>omid</artifactId> |
| <version>0.9.0.0</version> |
| </parent> |
| |
| <artifactId>omid-hbase-coprocessor</artifactId> |
| <packaging>jar</packaging> |
| <name>HBase Coprocessors</name> |
| |
| <dependencies> |
| |
| <!-- Dependencies on Omid modules --> |
| |
| <dependency> |
| <groupId>org.apache.omid</groupId> |
| <artifactId>omid-hbase-commit-table</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.omid</groupId> |
| <artifactId>omid-tso-server</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.omid</groupId> |
| <artifactId>omid-hbase-client</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.omid</groupId> |
| <artifactId>omid-tso-server</artifactId> |
| <version>${project.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- End of Dependencies on Omid modules --> |
| |
| <!-- storage related --> |
| |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-client</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-server</artifactId> |
| </dependency> |
| |
| <!-- end storage related --> |
| |
| <!-- utils --> |
| |
| <dependency> |
| <groupId>com.google.inject</groupId> |
| <artifactId>guice</artifactId> |
| <version>${guice.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.beust</groupId> |
| <artifactId>jcommander</artifactId> |
| <version>${jcommander.version}</version> |
| </dependency> |
| |
| <!-- end utils --> |
| |
| <!-- testing --> |
| |
| <dependency> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| <version>${testng.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-all</artifactId> |
| <version>${hamcrest.version}</version> |
| <type>jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-all</artifactId> |
| <version>${mockito.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-testing-util</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- end testing --> |
| |
| </dependencies> |
| |
| <build> |
| |
| <plugins> |
| |
| <plugin> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>${maven-shade-plugin.version}</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <createDependencyReducedPom>false</createDependencyReducedPom> |
| <promoteTransitiveDependencies>true</promoteTransitiveDependencies> |
| <artifactSet> |
| <includes> |
| <include>org.apache.omid:*</include> |
| </includes> |
| </artifactSet> |
| <finalName>omid-hbase-coprocessor-${project.version}</finalName> |
| </configuration> |
| </plugin> |
| |
| <!-- Disable maven site plugin --> |
| <plugin> |
| <artifactId>maven-site-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| |
| </plugins> |
| |
| </build> |
| |
| <profiles> |
| |
| <profile> |
| <id>hbase-0</id> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.omid</groupId> |
| <artifactId>omid-hbase0-shims</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| </dependencies> |
| </profile> |
| |
| <profile> |
| <id>hbase-1</id> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.omid</groupId> |
| <artifactId>omid-hbase1-shims</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| </dependencies> |
| </profile> |
| |
| </profiles> |
| |
| </project> |