There is the 'Configure Archive Plugins' Guide [1], the 'Working with Manifests' Guide [2] and the section on manifest customization [3] in the jar-plugin documentation which points to the javadoc of the ArchiveConfiguration class. So it should be possible to find the information you were looking for, especially as you alreday figured it out for the jar plugin.

That said, I wholeheartedly agree that the archive configuration is a part of the maven documentation that can and needs to be improved. Where did you look for/expected to find the information?

-Tim

[1] http://maven.apache.org/guides/mini/guide-archive-configuration.html
[2] http://maven.apache.org/guides/mini/guide-manifest.html
[3] http://maven.apache.org/plugins/maven-jar-plugin/examples/manifest-customization.html

Denis Bessmertniy schrieb:
Why it is not well documented. I can see only archive option. But what does
it mean for me, if I'm newbie?

-----Original Message-----
From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 25, 2007 2:10 PM
To: Maven Users List
Subject: Re: Generating manifest file

Hi,

the ejb-plugin accepts the same <archive/> configuration as the jar-plugin:

   <plugin>
     <groupId>org.apache.maven.plugins</groupId>
     <artifactId>maven-ejb-plugin</artifactId>
     <configuration>
       <archive>
         <manifest>
           <addClasspath>true</addClasspath>
         </manifest>
       </archive>
     </configuration>
   </plugin>

-Tim

Denis Bessmertniy schrieb:
Hi folks,

I have artifact with packaging <packaging>ejb</packaging>. I need to add Class-path entries to generated manifest.mf file. How I may do it?
As I understand I may do it with maven-jar-plugin, but I have ejb
packaging.
May you help me with example, please.
Thnx)


---------------------------------------------------------------------
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]


---------------------------------------------------------------------
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]

Reply via email to