mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 02:29:03 +00:00 
			
		
		
		
	Remove Shade Plugin causing transitive deps failure (#13516)
This commit is contained in:
		
							parent
							
								
									99b84b6f48
								
							
						
					
					
						commit
						dac6e7b478
					
				| @ -728,170 +728,6 @@ | |||||||
|         <groupId>org.apache.maven.plugins</groupId> |         <groupId>org.apache.maven.plugins</groupId> | ||||||
|         <artifactId>maven-source-plugin</artifactId> |         <artifactId>maven-source-plugin</artifactId> | ||||||
|       </plugin> |       </plugin> | ||||||
|       <plugin> |  | ||||||
|         <groupId>org.apache.maven.plugins</groupId> |  | ||||||
|         <artifactId>maven-shade-plugin</artifactId> |  | ||||||
|         <version>3.5.1</version> <!-- Use the latest version available --> |  | ||||||
|         <executions> |  | ||||||
|           <execution> |  | ||||||
|             <phase>package</phase> |  | ||||||
|             <goals> |  | ||||||
|               <goal>shade</goal> |  | ||||||
|             </goals> |  | ||||||
|             <configuration> |  | ||||||
|               <shadedArtifactId>my-app-shaded</shadedArtifactId> |  | ||||||
|               <shadedArtifactAttached>true</shadedArtifactAttached> |  | ||||||
|               <shadedClassifierName>shaded</shadedClassifierName> |  | ||||||
|               <relocations> |  | ||||||
|                 <!-- Relocate Elasticsearch's Lucene --> |  | ||||||
|                   <relocation> |  | ||||||
|                     <pattern>org.apache.lucene</pattern> |  | ||||||
|                     <shadedPattern>es.lucene-core</shadedPattern> |  | ||||||
|                   </relocation> |  | ||||||
|                   <relocation> |  | ||||||
|                     <pattern>org.apache.lucene</pattern> |  | ||||||
|                     <shadedPattern>es.lucene-analyzers-common</shadedPattern> |  | ||||||
|                   </relocation> |  | ||||||
|                   <relocation> |  | ||||||
|                     <pattern>org.apache.lucene</pattern> |  | ||||||
|                     <shadedPattern>es.lucene-backward-codecs</shadedPattern> |  | ||||||
|                   </relocation> |  | ||||||
|                   <relocation> |  | ||||||
|                     <pattern>org.apache.lucene</pattern> |  | ||||||
|                     <shadedPattern>es.lucene-grouping</shadedPattern> |  | ||||||
|                   </relocation> |  | ||||||
|                   <relocation> |  | ||||||
|                     <pattern>org.apache.lucene</pattern> |  | ||||||
|                     <shadedPattern>es.lucene-highlighter</shadedPattern> |  | ||||||
|                   </relocation> |  | ||||||
|                   <relocation> |  | ||||||
|                     <pattern>org.apache.lucene</pattern> |  | ||||||
|                     <shadedPattern>es.lucene-join</shadedPattern> |  | ||||||
|                   </relocation> |  | ||||||
|                   <relocation> |  | ||||||
|                     <pattern>org.apache.lucene</pattern> |  | ||||||
|                     <shadedPattern>es.lucene-memory</shadedPattern> |  | ||||||
|                   </relocation> |  | ||||||
|                   <relocation> |  | ||||||
|                     <pattern>org.apache.lucene</pattern> |  | ||||||
|                     <shadedPattern>es.lucene-misc</shadedPattern> |  | ||||||
|                   </relocation> |  | ||||||
|                   <relocation> |  | ||||||
|                     <pattern>org.apache.lucene</pattern> |  | ||||||
|                     <shadedPattern>es.lucene-queries</shadedPattern> |  | ||||||
|                   </relocation> |  | ||||||
|                   <relocation> |  | ||||||
|                     <pattern>org.apache.lucene</pattern> |  | ||||||
|                     <shadedPattern>es.lucene-queryparser</shadedPattern> |  | ||||||
|                   </relocation> |  | ||||||
|                   <relocation> |  | ||||||
|                     <pattern>org.apache.lucene</pattern> |  | ||||||
|                     <shadedPattern>es.lucene-sandbox</shadedPattern> |  | ||||||
|                   </relocation> |  | ||||||
|                   <relocation> |  | ||||||
|                     <pattern>org.apache.lucene</pattern> |  | ||||||
|                     <shadedPattern>es.lucene-spatial3d</shadedPattern> |  | ||||||
|                   </relocation> |  | ||||||
|                   <relocation> |  | ||||||
|                     <pattern>org.apache.lucene</pattern> |  | ||||||
|                     <shadedPattern>es.lucene-suggest</shadedPattern> |  | ||||||
|                   </relocation> |  | ||||||
|                 <!-- Relocate OpenSearch's Lucene --> |  | ||||||
|                 <relocation> |  | ||||||
|                   <pattern>org.apache.lucene</pattern> |  | ||||||
|                   <shadedPattern>os.lucene-core</shadedPattern> |  | ||||||
|                 </relocation> |  | ||||||
|                 <relocation> |  | ||||||
|                   <pattern>org.apache.lucene</pattern> |  | ||||||
|                   <shadedPattern>os.lucene-analysis-common</shadedPattern> |  | ||||||
|                 </relocation> |  | ||||||
|                 <relocation> |  | ||||||
|                   <pattern>org.apache.lucene</pattern> |  | ||||||
|                   <shadedPattern>os.lucene-backward-codecs</shadedPattern> |  | ||||||
|                 </relocation> |  | ||||||
|                 <relocation> |  | ||||||
|                   <pattern>org.apache.lucene</pattern> |  | ||||||
|                   <shadedPattern>os.lucene-grouping</shadedPattern> |  | ||||||
|                 </relocation> |  | ||||||
|                 <relocation> |  | ||||||
|                   <pattern>org.apache.lucene</pattern> |  | ||||||
|                   <shadedPattern>os.lucene-highlighter</shadedPattern> |  | ||||||
|                 </relocation> |  | ||||||
|                 <relocation> |  | ||||||
|                   <pattern>org.apache.lucene</pattern> |  | ||||||
|                   <shadedPattern>os.lucene-join</shadedPattern> |  | ||||||
|                 </relocation> |  | ||||||
|                 <relocation> |  | ||||||
|                   <pattern>org.apache.lucene</pattern> |  | ||||||
|                   <shadedPattern>os.lucene-memory</shadedPattern> |  | ||||||
|                 </relocation> |  | ||||||
|                 <relocation> |  | ||||||
|                   <pattern>org.apache.lucene</pattern> |  | ||||||
|                   <shadedPattern>os.lucene-misc</shadedPattern> |  | ||||||
|                 </relocation> |  | ||||||
|                 <relocation> |  | ||||||
|                   <pattern>org.apache.lucene</pattern> |  | ||||||
|                   <shadedPattern>os.lucene-queries</shadedPattern> |  | ||||||
|                 </relocation> |  | ||||||
|                 <relocation> |  | ||||||
|                   <pattern>org.apache.lucene</pattern> |  | ||||||
|                   <shadedPattern>os.lucene-queryparser</shadedPattern> |  | ||||||
|                 </relocation> |  | ||||||
|                 <relocation> |  | ||||||
|                   <pattern>org.apache.lucene</pattern> |  | ||||||
|                   <shadedPattern>os.lucene-sandbox</shadedPattern> |  | ||||||
|                 </relocation> |  | ||||||
|                 <relocation> |  | ||||||
|                   <pattern>org.apache.lucene</pattern> |  | ||||||
|                   <shadedPattern>os.lucene-spatial-extras</shadedPattern> |  | ||||||
|                 </relocation> |  | ||||||
|                 <relocation> |  | ||||||
|                   <pattern>org.apache.lucene</pattern> |  | ||||||
|                   <shadedPattern>os.lucene-spatial3d</shadedPattern> |  | ||||||
|                 </relocation> |  | ||||||
|                 <relocation> |  | ||||||
|                   <pattern>org.apache.lucene</pattern> |  | ||||||
|                   <shadedPattern>os.lucene-suggest</shadedPattern> |  | ||||||
|                 </relocation> |  | ||||||
|               </relocations> |  | ||||||
|               <filters> |  | ||||||
|                 <filter> |  | ||||||
|                   <artifact>*:*</artifact> |  | ||||||
|                   <excludes> |  | ||||||
|                     <exclude>module-info.class</exclude> |  | ||||||
|                     <exclude>META-INF/*.SF</exclude> |  | ||||||
|                     <exclude>META-INF/*.DSA</exclude> |  | ||||||
|                     <exclude>META-INF/*.RSA</exclude> |  | ||||||
|                   </excludes> |  | ||||||
|                 </filter> |  | ||||||
|               </filters> |  | ||||||
|               <transformers> |  | ||||||
|                 <!-- add Main-Class to manifest file --> |  | ||||||
|                 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |  | ||||||
|                   <mainClass>org.openmetadata.service.OpenMetadataApplication</mainClass> |  | ||||||
|                 </transformer> |  | ||||||
|               </transformers> |  | ||||||
|             </configuration> |  | ||||||
|           </execution> |  | ||||||
|         </executions> |  | ||||||
|       </plugin> |  | ||||||
|       <plugin> |  | ||||||
|         <groupId>org.apache.maven.plugins</groupId> |  | ||||||
|         <artifactId>maven-assembly-plugin</artifactId> |  | ||||||
|         <configuration> |  | ||||||
|           <descriptorRefs> |  | ||||||
|             <descriptorRef>jar-with-dependencies</descriptorRef> |  | ||||||
|           </descriptorRefs> |  | ||||||
|         </configuration> |  | ||||||
|         <executions> |  | ||||||
|           <execution> |  | ||||||
|             <phase>package</phase> |  | ||||||
|               <goals> |  | ||||||
|                 <goal>single</goal> |  | ||||||
|               </goals> |  | ||||||
|           </execution> |  | ||||||
|         </executions> |  | ||||||
|       </plugin> |  | ||||||
|     </plugins> |     </plugins> | ||||||
|   </build> |   </build> | ||||||
| </project> | </project> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Mohit Yadav
						Mohit Yadav