|
108 | 108 | <groupId>com.google.code.maven-replacer-plugin</groupId> |
109 | 109 | <artifactId>replacer</artifactId> |
110 | 110 | </plugin> |
111 | | - <plugin> |
112 | | - <groupId>org.apache.maven.plugins</groupId> |
113 | | - <artifactId>maven-shade-plugin</artifactId> |
114 | | - <version>3.4.1</version> |
115 | | - <executions> |
116 | | - <execution> |
117 | | - <goals> |
118 | | - <goal>shade</goal> |
119 | | - </goals> |
120 | | - <phase>package</phase> |
121 | | - <configuration> |
122 | | - <minimizeJar>true</minimizeJar> |
123 | | - <shadeSourcesContent>true</shadeSourcesContent> |
124 | | - <!-- Causes an NPE until shade 3.0.1. See MSHADE-247 |
125 | | - <createSourcesJar>true</createSourcesJar> |
126 | | - --> |
127 | | - <relocations> |
128 | | - <relocation> |
129 | | - <pattern>com.google.protobuf</pattern> |
130 | | - <shadedPattern>org.apache.hadoop.hbase.shaded.com.google.protobuf</shadedPattern> |
131 | | - </relocation> |
132 | | - </relocations> |
133 | | - <artifactSet> |
134 | | - <excludes> |
135 | | - <!-- exclude J2EE modules that come in for JDK11+ or modules that come in for |
136 | | - JDK8+ but need not be included --> |
137 | | - <exclude>javax.annotation:javax.annotation-api</exclude> |
138 | | - <!--Exclude protobuf itself. We get a patched version from hbase-thirdparty. |
139 | | - --> |
140 | | - <exclude>org.apache.hbase.thirdparty:*</exclude> |
141 | | - <exclude>com.google.protobuf:protobuf-java</exclude> |
142 | | - <exclude>com.google.code.findbugs:*</exclude> |
143 | | - <exclude>com.google.j2objc:j2objc-annotations</exclude> |
144 | | - <exclude>org.codehaus.mojo:animal-sniffer-annotations</exclude> |
145 | | - <exclude>junit:junit</exclude> |
146 | | - <exclude>commons-logging:commons-logging</exclude> |
147 | | - <exclude>org.slf4j:*</exclude> |
148 | | - <exclude>org.apache.logging.log4j:*</exclude> |
149 | | - <exclude>org.apache.yetus:audience-annotations</exclude> |
150 | | - <exclude>com.github.stephenc.fingbugs:*</exclude> |
151 | | - <exclude>com.github.spotbugs:*</exclude> |
152 | | - </excludes> |
153 | | - </artifactSet> |
154 | | - </configuration> |
155 | | - </execution> |
156 | | - </executions> |
157 | | - </plugin> |
158 | 111 | <plugin> |
159 | 112 | <groupId>org.apache.maven.plugins</groupId> |
160 | 113 | <artifactId>maven-checkstyle-plugin</artifactId> |
|
0 commit comments