truezip-maven-plugin can remove any thing in archive and that supports virtual file system like ear,war. There should be an example to remove file in a archive within another archive at the site
-D On Wed, Oct 22, 2008 at 9:52 PM, Nitin B <[EMAIL PROTECTED]> wrote: > > My final output is ear. But I packag everthing into war. > > -Nitin B > > > Dan Tran wrote: >> >> http://mojo.codehaus.org/truezip-maven-plugin >> >> what is your finally output? war? ear? >> >> On Wed, Oct 22, 2008 at 8:01 AM, Nitin B <[EMAIL PROTECTED]> wrote: >>> >>> Thanks Dan Tran, >>> >>> I will try this. If you have any link explaning that please send it to >>> me. >>> >>> >>> Thanks, >>> Nitin B >>> >>> >>> Dan Tran wrote: >>>> >>>> You are brave!! but it can be done. >>>> >>>> Use truezip-maven-plugin ( still under MOJO' sandbox) the interested >>>> classes on the fly. >>>> >>>> >>>> >>>> On Wed, Oct 22, 2008 at 1:39 AM, Nitin B <[EMAIL PROTECTED]> >>>> wrote: >>>>> >>>>> Hi All, >>>>> >>>>> I am stuck at this point, Thanks in advance for any help/suggestion. >>>>> >>>>> -Nitin B >>>>> >>>>> >>>>> >>>>> Nitin B wrote: >>>>>> >>>>>> Hi, >>>>>> >>>>>> When I use jar with the DOMMessageProvider class. I get follwing error >>>>>> at >>>>>> the time of deployment and my deployment fails. >>>>>> >>>>>> I tried by removing this class from the jar and it works. My service >>>>>> get >>>>>> deployed succesfully. >>>>>> I got this solution from some forum. >>>>>> >>>>>> Using this version of cxf : cxf-2.1.2.jar >>>>>> >>>>>> >>>>>> >>>>>> (this is not a complete error stack ) >>>>>> >>>>>> <WSEE:14>com.bea.core.repackaged.springframework.beans.factory.BeanCreationException: >>>>>> Error creating bean with name >>>>>> 'org.apache.cxf.js.rhino.DOMMessageProvider': Instantiation of bean >>>>>> failed; nested exception is >>>>>> com.bea.core.repackaged.springframework.beans.BeanInstantiationException: >>>>>> Could not instantiate bean class >>>>>> [org.apache.cxf.js.rhino.DOMMessageProvider]: No default constructor >>>>>> found; nested exception is java.lang.NoSuchMethodException: >>>>>> org.apache.cxf.js.rhino.DOMMessageProvider.<init>()<WSEEComponentContributor.newInstance:49> >>>>>> <Oct 17, 2008 4:27:37 PM IST> <Error> <HTTP> <BEA-101216> <Servlet: >>>>>> "org.apache.cxf.js.rhino.DOMMessageProvider" failed to preload on >>>>>> startup >>>>>> in Web application: "/DECService". >>>>>> java.lang.ClassNotFoundException: >>>>>> org.apache.cxf.js.rhino.DOMMessageProvider >>>>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:200) >>>>>> at java.security.AccessController.doPrivileged(Native Method) >>>>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188) >>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:306) >>>>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) >>>>>> Truncated. see log file for complete stacktrace >>>>>>> >>>>>> <Oct 17, 2008 4:27:37 PM IST> <Error> <Deployer> <BEA-149265> <Failure >>>>>> occurred in the execution of deployment request with ID '1227564547' >>>>>> for >>>>>> task '0'. Error is: 'weblogic.application.ModuleException: >>>>>> [HTTP:101216]Servlet: "org.apache.cxf.js.rhino.DOMMessageProvider" >>>>>> failed >>>>>> to preload on startup in Web application: "/DECService". >>>>>> java.lang.ClassNotFoundException: >>>>>> org.apache.cxf.js.rhino.DOMMessageProvider >>>>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:200) >>>>>> at java.security.AccessController.doPrivileged(Native Method) >>>>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188) >>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:306) >>>>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Thanks, >>>>>> Nitin B >>>>>> >>>>> >>>>> -- >>>>> View this message in context: >>>>> http://www.nabble.com/How-to-exclude-perticular-class-from-dependent-jar.-tp20013814p20106348.html >>>>> Sent from the Maven - Users mailing list archive at Nabble.com. >>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>> >>>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >>>> >>>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/How-to-exclude-perticular-class-from-dependent-jar.-tp20013814p20112681.html >>> Sent from the Maven - Users mailing list archive at Nabble.com. >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- > View this message in context: > http://www.nabble.com/How-to-exclude-perticular-class-from-dependent-jar.-tp20013814p20124382.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
