|
1 | 1 | <?xml version="1.0"?> |
2 | 2 | <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"> |
3 | | - <!-- |
| 3 | + <!-- |
4 | 4 | /** |
5 | 5 | * Licensed to the Apache Software Foundation (ASF) under one |
6 | 6 | * or more contributor license agreements. See the NOTICE file |
|
19 | 19 | * limitations under the License. |
20 | 20 | */ |
21 | 21 | --> |
22 | | - <modelVersion>4.0.0</modelVersion> |
23 | | - <parent> |
24 | | - <artifactId>hbase</artifactId> |
25 | | - <groupId>org.apache.hbase</groupId> |
26 | | - <version>3.0.0-SNAPSHOT</version> |
27 | | - <relativePath>..</relativePath> |
28 | | - </parent> |
29 | | - |
30 | | - <artifactId>hbase-endpoint</artifactId> |
31 | | - <name>Apache HBase - Coprocessor Endpoint</name> |
32 | | - <description>HBase Coprocessor Endpoint implementations</description> |
33 | | -<!--REMOVE--> |
34 | | - |
35 | | - <properties> |
36 | | - <maven.javadoc.skip>true</maven.javadoc.skip> |
37 | | - </properties> |
38 | | - |
39 | | - <build> |
40 | | - <plugins> |
41 | | - <plugin> |
42 | | - <groupId>org.apache.maven.plugins</groupId> |
43 | | - <artifactId>maven-site-plugin</artifactId> |
44 | | - <configuration> |
45 | | - <skip>true</skip> |
46 | | - </configuration> |
47 | | - </plugin> |
48 | | - <!-- Make a jar and put the sources in the jar --> |
49 | | - <plugin> |
50 | | - <groupId>org.apache.maven.plugins</groupId> |
51 | | - <artifactId>maven-source-plugin</artifactId> |
52 | | - </plugin> |
| 22 | + <modelVersion>4.0.0</modelVersion> |
| 23 | + <parent> |
| 24 | + <artifactId>hbase</artifactId> |
| 25 | + <groupId>org.apache.hbase</groupId> |
| 26 | + <version>3.0.0-SNAPSHOT</version> |
| 27 | + <relativePath>..</relativePath> |
| 28 | + </parent> |
| 29 | + <artifactId>hbase-endpoint</artifactId> |
| 30 | + <name>Apache HBase - Coprocessor Endpoint</name> |
| 31 | + <description>HBase Coprocessor Endpoint implementations</description> |
| 32 | + <!--REMOVE--> |
| 33 | + <properties> |
| 34 | + <maven.javadoc.skip>true</maven.javadoc.skip> |
| 35 | + </properties> |
| 36 | + <build> |
| 37 | + <plugins> |
| 38 | + <plugin> |
| 39 | + <groupId>org.apache.maven.plugins</groupId> |
| 40 | + <artifactId>maven-site-plugin</artifactId> |
| 41 | + <configuration> |
| 42 | + <skip>true</skip> |
| 43 | + </configuration> |
| 44 | + </plugin> |
| 45 | + <!-- Make a jar and put the sources in the jar --> |
| 46 | + <plugin> |
| 47 | + <groupId>org.apache.maven.plugins</groupId> |
| 48 | + <artifactId>maven-source-plugin</artifactId> |
| 49 | + </plugin> |
53 | 50 | <plugin> |
54 | 51 | <!--Make it so assembly:single does nothing in here--> |
55 | 52 | <artifactId>maven-assembly-plugin</artifactId> |
56 | 53 | <configuration> |
57 | 54 | <skipAssembly>true</skipAssembly> |
58 | 55 | </configuration> |
59 | 56 | </plugin> |
| 57 | + <plugin> |
| 58 | + <groupId>org.xolstice.maven.plugins</groupId> |
| 59 | + <artifactId>protobuf-maven-plugin</artifactId> |
| 60 | + <executions> |
| 61 | + <execution> |
| 62 | + <id>compile-protoc</id> |
| 63 | + <phase>generate-sources</phase> |
| 64 | + <goals> |
| 65 | + <goal>compile</goal> |
| 66 | + </goals> |
| 67 | + <configuration> |
| 68 | + <additionalProtoPathElements> |
| 69 | + <additionalProtoPathElement>${basedir}/../hbase-protocol/src/main/protobuf</additionalProtoPathElement> |
| 70 | + </additionalProtoPathElements> |
| 71 | + </configuration> |
| 72 | + </execution> |
| 73 | + </executions> |
| 74 | + </plugin> |
| 75 | + </plugins> |
| 76 | + <pluginManagement> |
| 77 | + <plugins> |
| 78 | + <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
| 79 | + <plugin> |
| 80 | + <groupId>org.eclipse.m2e</groupId> |
| 81 | + <artifactId>lifecycle-mapping</artifactId> |
| 82 | + <version>1.0.0</version> |
| 83 | + <configuration> |
| 84 | + <lifecycleMappingMetadata> |
| 85 | + <pluginExecutions> |
| 86 | + <pluginExecution> |
| 87 | + <pluginExecutionFilter> |
| 88 | + <groupId>org.apache.hadoop</groupId> |
| 89 | + <artifactId>hadoop-maven-plugins</artifactId> |
| 90 | + <versionRange>[2.0.5-alpha,)</versionRange> |
| 91 | + <goals> |
| 92 | + <goal>protoc</goal> |
| 93 | + </goals> |
| 94 | + </pluginExecutionFilter> |
| 95 | + <action> |
| 96 | + <ignore/> |
| 97 | + </action> |
| 98 | + </pluginExecution> |
| 99 | + </pluginExecutions> |
| 100 | + </lifecycleMappingMetadata> |
| 101 | + </configuration> |
| 102 | + </plugin> |
60 | 103 | </plugins> |
61 | | - <pluginManagement> |
62 | | - <plugins> |
63 | | - <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
64 | | - <plugin> |
65 | | - <groupId>org.eclipse.m2e</groupId> |
66 | | - <artifactId>lifecycle-mapping</artifactId> |
67 | | - <configuration> |
68 | | - <lifecycleMappingMetadata> |
69 | | - <pluginExecutions> |
70 | | - <pluginExecution> |
71 | | - <pluginExecutionFilter> |
72 | | - <groupId>org.apache.hadoop</groupId> |
73 | | - <artifactId>hadoop-maven-plugins</artifactId> |
74 | | - <versionRange>[2.0.5-alpha,)</versionRange> |
75 | | - <goals> |
76 | | - <goal>protoc</goal> |
77 | | - </goals> |
78 | | - </pluginExecutionFilter> |
79 | | - <action> |
80 | | - <ignore></ignore> |
81 | | - </action> |
82 | | - </pluginExecution> |
83 | | - </pluginExecutions> |
84 | | - </lifecycleMappingMetadata> |
85 | | - </configuration> |
86 | | - </plugin> |
87 | | - </plugins> |
88 | | - </pluginManagement> |
89 | | - </build> |
90 | | - |
91 | | - <dependencies> |
| 104 | + </pluginManagement> |
| 105 | + </build> |
| 106 | + <dependencies> |
92 | 107 | <dependency> |
93 | 108 | <groupId>org.apache.hbase.thirdparty</groupId> |
94 | 109 | <artifactId>hbase-shaded-miscellaneous</artifactId> |
|
131 | 146 | <type>test-jar</type> |
132 | 147 | <scope>test</scope> |
133 | 148 | </dependency> |
134 | | - <dependency> |
135 | | - <groupId>org.apache.hbase</groupId> |
136 | | - <artifactId>hbase-protocol</artifactId> |
137 | | - </dependency> |
138 | | - <dependency> |
139 | | - <groupId>org.apache.hbase</groupId> |
140 | | - <artifactId>hbase-client</artifactId> |
141 | | - </dependency> |
142 | | - <!--Some of the CPEPs use hbase server-side internals; they shouldn't! |
| 149 | + <dependency> |
| 150 | + <groupId>org.apache.hbase</groupId> |
| 151 | + <artifactId>hbase-protocol</artifactId> |
| 152 | + </dependency> |
| 153 | + <dependency> |
| 154 | + <groupId>org.apache.hbase</groupId> |
| 155 | + <artifactId>hbase-client</artifactId> |
| 156 | + </dependency> |
| 157 | + <!--Some of the CPEPs use hbase server-side internals; they shouldn't! |
143 | 158 | --> |
144 | | - <dependency> |
145 | | - <groupId>org.apache.hbase</groupId> |
146 | | - <artifactId>hbase-server</artifactId> |
147 | | - </dependency> |
148 | | - <dependency> |
149 | | - <groupId>org.apache.hbase</groupId> |
150 | | - <artifactId>hbase-server</artifactId> |
151 | | - <type>test-jar</type> |
152 | | - <scope>test</scope> |
153 | | - </dependency> |
154 | | - <!-- General dependencies --> |
155 | | - <dependency> |
156 | | - <groupId>commons-logging</groupId> |
157 | | - <artifactId>commons-logging</artifactId> |
158 | | - </dependency> |
159 | | - </dependencies> |
160 | | - |
161 | | - <profiles> |
162 | | - <!-- Skip the tests in this module --> |
163 | | - <profile> |
164 | | - <id>skipRpcTests</id> |
165 | | - <activation> |
166 | | - <property> |
167 | | - <name>skipRpcTests</name> |
168 | | - </property> |
169 | | - </activation> |
170 | | - <properties> |
171 | | - <surefire.skipFirstPart>true</surefire.skipFirstPart> |
172 | | - <surefire.skipSecondPart>true</surefire.skipSecondPart> |
173 | | - </properties> |
174 | | - </profile> |
175 | | - <profile> |
176 | | - <id>compile-protobuf</id> |
177 | | - <activation> |
178 | | - <property> |
179 | | - <name>compile-protobuf</name> |
180 | | - </property> |
181 | | - </activation> |
182 | | - <build> |
183 | | - <plugins> |
184 | | - <plugin> |
185 | | - <groupId>org.xolstice.maven.plugins</groupId> |
186 | | - <artifactId>protobuf-maven-plugin</artifactId> |
187 | | - <executions> |
188 | | - <execution> |
189 | | - <id>compile-protoc</id> |
190 | | - <phase>generate-sources</phase> |
191 | | - <goals> |
192 | | - <goal>compile</goal> |
193 | | - </goals> |
194 | | - <configuration> |
195 | | - <additionalProtoPathElements> |
196 | | - <additionalProtoPathElement>${basedir}/../hbase-protocol/src/main/protobuf</additionalProtoPathElement> |
197 | | - </additionalProtoPathElements> |
198 | | - </configuration> |
199 | | - </execution> |
200 | | - </executions> |
201 | | - </plugin> |
202 | | - </plugins> |
203 | | - </build> |
204 | | - </profile> |
| 159 | + <dependency> |
| 160 | + <groupId>org.apache.hbase</groupId> |
| 161 | + <artifactId>hbase-server</artifactId> |
| 162 | + </dependency> |
| 163 | + <dependency> |
| 164 | + <groupId>org.apache.hbase</groupId> |
| 165 | + <artifactId>hbase-server</artifactId> |
| 166 | + <type>test-jar</type> |
| 167 | + <scope>test</scope> |
| 168 | + </dependency> |
| 169 | + <!-- General dependencies --> |
| 170 | + <dependency> |
| 171 | + <groupId>commons-logging</groupId> |
| 172 | + <artifactId>commons-logging</artifactId> |
| 173 | + </dependency> |
| 174 | + </dependencies> |
| 175 | + <profiles> |
| 176 | + <!-- Skip the tests in this module --> |
| 177 | + <profile> |
| 178 | + <id>skipRpcTests</id> |
| 179 | + <activation> |
| 180 | + <property> |
| 181 | + <name>skipRpcTests</name> |
| 182 | + </property> |
| 183 | + </activation> |
| 184 | + <properties> |
| 185 | + <surefire.skipFirstPart>true</surefire.skipFirstPart> |
| 186 | + <surefire.skipSecondPart>true</surefire.skipSecondPart> |
| 187 | + </properties> |
| 188 | + </profile> |
205 | 189 | <!-- Profiles for building against different hadoop versions --> |
206 | 190 | <!-- There are a lot of common dependencies used here, should investigate |
207 | 191 | if we can combine these profiles somehow --> |
208 | | - |
209 | 192 | <!-- profile for building against Hadoop 2.x. This is the default. --> |
210 | 193 | <profile> |
211 | 194 | <id>hadoop-2.0</id> |
212 | 195 | <activation> |
213 | 196 | <property> |
214 | | - <!--Below formatting for dev-support/generate-hadoopX-poms.sh--> |
215 | | - <!--h2--><name>!hadoop.profile</name> |
| 197 | + <!--Below formatting for dev-support/generate-hadoopX-poms.sh--> |
| 198 | + <!--h2--> |
| 199 | + <name>!hadoop.profile</name> |
216 | 200 | </property> |
217 | 201 | </activation> |
218 | 202 | <dependencies> |
|
315 | 299 | </dependency> |
316 | 300 | </dependencies> |
317 | 301 | </profile> |
318 | | - </profiles> |
| 302 | + </profiles> |
319 | 303 | </project> |
0 commit comments