How to manipulate Manifest file with maven

前端 未结 2 455
忘掉有多难
忘掉有多难 2021-01-21 12:01

I have an EAR file built with maven. The EAR contains several jars and I need to add a line in the manifest file for just one of these jars. I know of the maven-jar-plugin optio

2条回答
  •  遇见更好的自我
    2021-01-21 12:47

    If you take a deeper look into maven-ear-plugin configuration you will find the archive configuration part which is exactly intended for such purposes.

    This can be added to the configuration of the maven-ear-plugin:

    
      
      
      
      
      
        
        
        
        
        
        
        
        
        
        
      
      
        value
      
      
      
        
          
          
            value
          
        
      
      
    
    

    Which gives you any opportunity you need.

提交回复
热议问题