Re: maven-ear-pugin modify applicaion.xml
thanks used following setting to get it work. applicationXmlsrc/main/resources/META-INF/application.xml/applicationXml On Thu, Oct 17, 2013 at 6:26 PM, Wayne Fay wayne...@gmail.com wrote: I have requirement to exclude some entries in application.xml during ear build. ... In my case I need to maintain the same EAR structure in the build but have to exclude entries Alpha.jar and Beta.jar from application.xml during build. I am fairly certain you can provide an application.xml rather than just taking the one that Maven generates for you. Check the configuration options documentation for m-ear-p. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
maven-ear-pugin modify applicaion.xml
Hi, I have requirement to exclude some entries in application.xml during ear build. application.xml generated by maven-ear-plugin is as follows ?xml version=1.0 encoding=UTF-8? application xmlns=http://java.sun.com/xml/ns/javaee; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd; version=5 descriptionThe EAR packaging for the server side of Application/description display-nameApplicationEAR/display-name module javaAlpha.jar/java /module module ejbBeta.jar/ejb /module module ejbTheta.jar/ejb /module module web web-uriDelta.war/web-uri context-root/Delta/root/context-root /web /module /application With EAR structure ApplicationEAR |--Alpha.jar |--Beta.jar |--Theta.jar |--Delta.jar In my case I need to maintain the same EAR structure in the build but have to exclude entries Alpha.jar and Beta.jar from application.xml during build. How can I achive the same?
Re: maven-ear-pugin modify applicaion.xml
I have requirement to exclude some entries in application.xml during ear build. ... In my case I need to maintain the same EAR structure in the build but have to exclude entries Alpha.jar and Beta.jar from application.xml during build. I am fairly certain you can provide an application.xml rather than just taking the one that Maven generates for you. Check the configuration options documentation for m-ear-p. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org