File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 237237                    <!--  <source>${java.version}</source> <target>${java.version}</target> --> 
238238                </configuration >
239239            </plugin >
240+ 		   <plugin >
241+ 			   <groupId >org.apache.maven.plugins</groupId >
242+ 			   <artifactId >maven-shade-plugin</artifactId >
243+ 			   <version >3.6.0</version >
244+ 			   <configuration >
245+ 				   <minimizeJar >true</minimizeJar >
246+ 				   <artifactSet >
247+ 					   <includes >
248+ 						   <include >lv.id.bonne:panelutils:*</include >
249+ 					   </includes >
250+ 				   </artifactSet >
251+ 				   <transformers >
252+ 					   <!--  Add a transformer to exclude any other manifest files (possibly from dependencies). --> 
253+ 					   <transformer  implementation =" org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer"  >
254+ 						   <resource >MANIFEST.MF</resource >
255+ 					   </transformer >
256+ 					   <!--  Add a transformer to include your custom manifest file. --> 
257+ 					   <transformer  implementation =" org.apache.maven.plugins.shade.resource.IncludeResourceTransformer"  >
258+ 						   <resource >META-INF/MANIFEST.MF</resource >
259+ 						   <file >src/main/resources/META-INF/MANIFEST.MF</file >
260+ 					   </transformer >
261+ 				   </transformers >
262+ 			   </configuration >
263+ 			   <executions >
264+ 				   <execution >
265+ 					   <phase >package</phase >
266+ 					   <goals >
267+ 						   <goal >shade</goal >
268+ 					   </goals >
269+ 				   </execution >
270+ 			   </executions >
271+ 		   </plugin >
240272            <plugin >
241273                <groupId >org.apache.maven.plugins</groupId >
242274                <artifactId >maven-surefire-plugin</artifactId >
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments