How do you generate module dependencies in MANIFEST.MF for JBoss AS 7 with maven?

前端 未结 2 1381
遇见更好的自我
遇见更好的自我 2021-01-30 11:11

In JBoss AS 7, a Web application that depends on libraries contained in the AS, must declare those dependencies in META-INF/MANIFEST.MF like this:

Dependencies:          


        
2条回答
  •  [愿得一人]
    2021-01-30 11:41

    This code add automaticaly all of your compile depedencies in your MANIFEST.MF

    
       org.apache.maven.plugins
       maven-war-plugin
       2.4
       
          
             
                true
             
          
       
    
    

    more info here : http://maven.apache.org/plugins/maven-war-plugin/examples/war-manifest-guide.html

提交回复
热议问题