|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
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/maven-v4_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
|
|
28 | 28 | https://issues.apache.org/jira/browse/HBASE-6795.
|
29 | 29 |
|
30 | 30 | -->
|
31 |
| - <modelVersion>4.0.0</modelVersion> |
32 |
| - <parent> |
33 |
| - <groupId>org.apache.hbase.thirdparty</groupId> |
34 |
| - <artifactId>hbase-thirdparty</artifactId> |
35 |
| - <version>${revision}</version> |
36 |
| - <relativePath>..</relativePath> |
37 |
| - </parent> |
38 |
| - <artifactId>hbase-shaded-jackson-jaxrs-json-provider</artifactId> |
39 |
| - <name>Apache HBase Relocated (Shaded) jackson-jaxrs-json-provider</name> |
40 |
| - <description> |
41 |
| - Pulls down jackson-jaxrs-json-provider, relocates it, and rewrites its usage of javax.ws.rs |
| 31 | + <modelVersion>4.0.0</modelVersion> |
| 32 | + <parent> |
| 33 | + <groupId>org.apache.hbase.thirdparty</groupId> |
| 34 | + <artifactId>hbase-thirdparty</artifactId> |
| 35 | + <version>${revision}</version> |
| 36 | + <relativePath>..</relativePath> |
| 37 | + </parent> |
| 38 | + <artifactId>hbase-shaded-jackson-jaxrs-json-provider</artifactId> |
| 39 | + <name>Apache HBase Relocated (Shaded) jackson-jaxrs-json-provider</name> |
| 40 | + <description>Pulls down jackson-jaxrs-json-provider, relocates it, and rewrites its usage of javax.ws.rs |
42 | 41 | classes to make the relocated versions provided by hbase-shaded-jersey. Does NOT
|
43 | 42 | include/relocate its entire dependency graph, just performs this isolated transform.
|
44 | 43 |
|
45 | 44 | This is a separate module because jackson-jaxrs-json-provider is not used universally. At
|
46 |
| - this time, the dependency is required only by hbase-rest. |
47 |
| - </description> |
48 |
| - <build> |
49 |
| - <plugins> |
50 |
| - <plugin> |
51 |
| - <artifactId>maven-clean-plugin</artifactId> |
52 |
| - <configuration> |
53 |
| - <filesets> |
54 |
| - <fileset> |
55 |
| - <directory>${basedir}</directory> |
56 |
| - <includes> |
57 |
| - <include>dependency-reduced-pom.xml</include> |
58 |
| - </includes> |
59 |
| - </fileset> |
60 |
| - </filesets> |
61 |
| - </configuration> |
62 |
| - </plugin> |
63 |
| - <plugin> |
64 |
| - <groupId>org.apache.maven.plugins</groupId> |
65 |
| - <artifactId>maven-shade-plugin</artifactId> |
66 |
| - <executions> |
67 |
| - <execution> |
68 |
| - <phase>package</phase> |
69 |
| - <goals> |
70 |
| - <goal>shade</goal> |
71 |
| - </goals> |
72 |
| - <configuration> |
73 |
| - <shadeSourcesContent>true</shadeSourcesContent> |
74 |
| - <createSourcesJar>true</createSourcesJar> |
75 |
| - <promoteTransitiveDependencies>true</promoteTransitiveDependencies> |
76 |
| - <relocations> |
77 |
| - <relocation> |
78 |
| - <pattern>javax.ws.rs</pattern> |
79 |
| - <shadedPattern>${rename.offset}.javax.ws.rs</shadedPattern> |
80 |
| - </relocation> |
81 |
| - <relocation> |
82 |
| - <pattern>com.fasterxml.jackson.jaxrs</pattern> |
83 |
| - <shadedPattern>${rename.offset}.com.fasterxml.jackson.jaxrs</shadedPattern> |
84 |
| - </relocation> |
85 |
| - </relocations> |
86 |
| - <artifactSet> |
87 |
| - <includes> |
88 |
| - <include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base</include> |
89 |
| - <include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider</include> |
90 |
| - </includes> |
91 |
| - </artifactSet> |
92 |
| - <transformers> |
93 |
| - <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer"> |
94 |
| - </transformer> |
95 |
| - <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer"> |
96 |
| - <addHeader>false</addHeader> |
97 |
| - </transformer> |
98 |
| - <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |
99 |
| - </transformers> |
100 |
| - </configuration> |
101 |
| - </execution> |
102 |
| - </executions> |
103 |
| - </plugin> |
104 |
| - </plugins> |
105 |
| - </build> |
106 |
| - <dependencies> |
107 |
| - <dependency> |
108 |
| - <groupId>com.fasterxml.jackson.jaxrs</groupId> |
109 |
| - <artifactId>jackson-jaxrs-json-provider</artifactId> |
110 |
| - <version>${jackson-jaxrs-json-provider.version}</version> |
111 |
| - </dependency> |
112 |
| - </dependencies> |
| 45 | + this time, the dependency is required only by hbase-rest.</description> |
| 46 | + <dependencies> |
| 47 | + <dependency> |
| 48 | + <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| 49 | + <artifactId>jackson-jaxrs-json-provider</artifactId> |
| 50 | + <version>${jackson-jaxrs-json-provider.version}</version> |
| 51 | + </dependency> |
| 52 | + </dependencies> |
| 53 | + <build> |
| 54 | + <plugins> |
| 55 | + <plugin> |
| 56 | + <artifactId>maven-clean-plugin</artifactId> |
| 57 | + <configuration> |
| 58 | + <filesets> |
| 59 | + <fileset> |
| 60 | + <directory>${basedir}</directory> |
| 61 | + <includes> |
| 62 | + <include>dependency-reduced-pom.xml</include> |
| 63 | + </includes> |
| 64 | + </fileset> |
| 65 | + </filesets> |
| 66 | + </configuration> |
| 67 | + </plugin> |
| 68 | + <plugin> |
| 69 | + <groupId>org.apache.maven.plugins</groupId> |
| 70 | + <artifactId>maven-shade-plugin</artifactId> |
| 71 | + <executions> |
| 72 | + <execution> |
| 73 | + <goals> |
| 74 | + <goal>shade</goal> |
| 75 | + </goals> |
| 76 | + <phase>package</phase> |
| 77 | + <configuration> |
| 78 | + <shadeSourcesContent>true</shadeSourcesContent> |
| 79 | + <createSourcesJar>true</createSourcesJar> |
| 80 | + <promoteTransitiveDependencies>true</promoteTransitiveDependencies> |
| 81 | + <relocations> |
| 82 | + <relocation> |
| 83 | + <pattern>javax.ws.rs</pattern> |
| 84 | + <shadedPattern>${rename.offset}.javax.ws.rs</shadedPattern> |
| 85 | + </relocation> |
| 86 | + <relocation> |
| 87 | + <pattern>com.fasterxml.jackson.jaxrs</pattern> |
| 88 | + <shadedPattern>${rename.offset}.com.fasterxml.jackson.jaxrs</shadedPattern> |
| 89 | + </relocation> |
| 90 | + </relocations> |
| 91 | + <artifactSet> |
| 92 | + <includes> |
| 93 | + <include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base</include> |
| 94 | + <include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider</include> |
| 95 | + </includes> |
| 96 | + </artifactSet> |
| 97 | + <transformers> |
| 98 | + <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer"/> |
| 99 | + <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer"> |
| 100 | + <addHeader>false</addHeader> |
| 101 | + </transformer> |
| 102 | + <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |
| 103 | + </transformers> |
| 104 | + </configuration> |
| 105 | + </execution> |
| 106 | + </executions> |
| 107 | + </plugin> |
| 108 | + </plugins> |
| 109 | + </build> |
113 | 110 | </project>
|
0 commit comments