Defining ejb-jar.xml for ejb 3.0 via pom
Hello! I am using the maven-ejb-plugin (2.2.1) and I want to create an version 3.0 ejb without client. I want to provide an ejb-jar.xml (weblogic-ejb-jar.xml to be more precise) along with my ejb file. When trying to create a version 2.x ejb, I am forced to provide an ejb-jar.xml - when doing so with 3.0 i am not. When looking at the documentation @ http://maven.apache.org/plugins/maven-ejb-plugin/ejb-mojo.html i cannot find a paramter for specifying the deployment descriptor. The error message provided by the plugin when trying to create a version 2.x ejb doesn't tell me how to pass it. So now i am failing to create a version 2.x ejb because of the missing parameter and suceeding in creating a version 3.0 ejb without the descriptor, which makes it useless to me. Can anyone help me and tell me what parameter to use in my pom file in order to specify the location of the ejb-jar.xml file so that it will be packed in my ejb file?
Maven2 ressource processing - editing xml file
Hello! I need to edit some configuration files which are in xml-format during building with maven. Some values, that change from build to build (e.g. buildnumber) need to be written to the xml-file (value for attribute) - is there any plugin capable of doing so or how does maven accomplish this? If there is no plugin, which buildstep should I use to achieve this? processressources?! Thanks for your help!
Excluding Manifest.MF when generating jar-files
Hello list, I am currently trying to create jar-files without the MANIFEST.MF included. How can i tell Maven2 to not include those? I have already figured out that adding: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId configuration archive addMavenDescriptorfalse/addMavenDescriptor /archive /configuration /plugin helps me removing that maven subfolder in META-INF, which contains pom.properties and stuff. But now I would like to not include a MANIFEST.MF either. Anyway, I can't figure out how to configure that. Could anyone help me with this?!
RE: Excluding Manifest.MF when generating jar-files
Manifest.MF files are created dynamically, but I need to compare newly built jar-artifacts to older ones in order to find out if they have changed. This is done by simply checking md5 hashes. Those hashes are modified by the manifest.mf ... therefore I need to get rid of it ... -Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Mittwoch, 11. Februar 2009 18:55 To: Maven Users List Subject: Re: Excluding Manifest.MF when generating jar-files I am currently trying to create jar-files without the MANIFEST.MF included. How can i tell Maven2 to not include those? What possible reason do you have for needing this functionality? I'm curious. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: JNLP Plugin not working in 1.0
It is a bug in plugin.jelly. See: http://jira.codehaus.org/browse/MPJNLP-13 Marcin Werla Wiadomo Oryginalna Od: Daniel Frey [EMAIL PROTECTED] Do: 'Maven Users List' [EMAIL PROTECTED] Data: Fri, 13 Aug 2004 19:00:00 +0200 Temat: JNLP Plugin not working in 1.0 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]