You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Denis Bessmertniy <de...@consumerhealthtech.com> on 2007/09/25 12:48:46 UTC
Generating manifest file
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Generating manifest file
Posted by Tim Kettler <ti...@udo.edu>.
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:tim.kettler@udo.edu]
> 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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: About classpathPrefix flexibility [was: Re: Generating manifest
file]
Posted by Tim Kettler <ti...@udo.edu>.
Hi,
I can't give you the definitive answer but the maven-jar-plugin [1], the
maven archiver [2] and the plexus archiver [3] are places to look at.
-Tim
[1] https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-jar-plugin/
[2] https://svn.apache.org/repos/asf/maven/shared/trunk/maven-archiver/
[3] http://svn.codehaus.org/plexus/plexus-components/trunk/plexus-archiver/
Paul MERLIN schrieb:
> Le Monday 08 October 2007 17:25:24 Wayne Fay, vous avez écrit :
>>> I'm using the pom snippet shown above but I would like to have some
>>> dependencies prefixed and some others not.
>>>
>>> Is this doable with maven or will I have to write the MANIFEST.MF file
>>> myself ?
>> As far as I know, you'd need to write the MANIFEST.MF file yourself.
>> "Some prefixed, some not" is not functionality that is currently
>> available. You are welcome to add it and contribute it back, of
>> course.
>>
>> Wayne
> Hi Wayne,
>
> Thanks for your answer.
>
> I'l be glad to contribute such a fix. Could anybody with needed maven
> knowledge point me to the place where it could be implemented.
>
> Regards
>
> Paul
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: About classpathPrefix flexibility [was: Re: Generating manifest file]
Posted by Paul MERLIN <pa...@nosphere.org>.
Le Monday 08 October 2007 17:25:24 Wayne Fay, vous avez écrit :
> > I'm using the pom snippet shown above but I would like to have some
> > dependencies prefixed and some others not.
> >
> > Is this doable with maven or will I have to write the MANIFEST.MF file
> > myself ?
>
> As far as I know, you'd need to write the MANIFEST.MF file yourself.
> "Some prefixed, some not" is not functionality that is currently
> available. You are welcome to add it and contribute it back, of
> course.
>
> Wayne
Hi Wayne,
Thanks for your answer.
I'l be glad to contribute such a fix. Could anybody with needed maven
knowledge point me to the place where it could be implemented.
Regards
Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: About classpathPrefix flexibility [was: Re: Generating
manifest file]
Posted by Paul Merlin <pa...@nosphere.org>.
Hi Wendy,
Le DATE, vous avez peut-être écrit : Wendy Smoak
> On 10/8/07, Paul MERLIN <pa...@nosphere.org> wrote:
>>
>> I'm using the pom snippet shown above but I would like to have some
>> dependencies prefixed and some others not.
>
> Why? I'm curious because someone at work also wants to do this, and I
> don't see what would be gained by it.
>
> Does it have anything to do with WebSphere or WSAD? (That's what this
> team is using, and I'm trying to sort out what things they really
> *need* vs. what they're trying to do just because that's the way WSAD
> has always done it.)
In fact it does have to do with JEE packaging. I do not use WebSphere or
WSAD but Glassfish.
When you package a JEE application (ear packaging) the ClassPath set in
the MANIFEST.MF file is important, so the packaging layout is.
EJB or WAR modules have to be at the EAR's root. The "lib/" subdirectory
contains librairies.
You can have a module (EJB-JAR, WAR, RAR) that needs some JARs from the
lib/ directory _and_ some others from the EAR's root.
The EAR plugin lets you arrange files easily but managing MANIFEST.MF
files when there's several modules in you application is a tedious task.
Here comes my question ;)
>> Is this doable with maven or will I have to write the MANIFEST.MF file
>> myself ?
>
> At the moment I think you'll have to maintain the MANIFEST.MF file
> manually, but I'd love to hear otherwise...
I built them manually today because we need to keep coding/testing. As our
application packaging will not evolve the sooner, I'll check back on this
issue later. It's in my inbox :)
Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: About classpathPrefix flexibility [was: Re: Generating manifest file]
Posted by Wendy Smoak <ws...@gmail.com>.
On 10/8/07, Paul MERLIN <pa...@nosphere.org> wrote:
>
> I'm using the pom snippet shown above but I would like to have some
> dependencies prefixed and some others not.
Why? I'm curious because someone at work also wants to do this, and I
don't see what would be gained by it.
Does it have anything to do with WebSphere or WSAD? (That's what this
team is using, and I'm trying to sort out what things they really
*need* vs. what they're trying to do just because that's the way WSAD
has always done it.)
> Is this doable with maven or will I have to write the MANIFEST.MF file
> myself ?
At the moment I think you'll have to maintain the MANIFEST.MF file
manually, but I'd love to hear otherwise...
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: About classpathPrefix flexibility [was: Re: Generating manifest file]
Posted by Wayne Fay <wa...@gmail.com>.
> I'm using the pom snippet shown above but I would like to have some
> dependencies prefixed and some others not.
>
> Is this doable with maven or will I have to write the MANIFEST.MF file
> myself ?
As far as I know, you'd need to write the MANIFEST.MF file yourself.
"Some prefixed, some not" is not functionality that is currently
available. You are welcome to add it and contribute it back, of
course.
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
About classpathPrefix flexibility [was: Re: Generating manifest file]
Posted by Paul MERLIN <pa...@nosphere.org>.
Le Tuesday 25 September 2007 17:20:01 Tim Kettler, vous avez écrit :
> This will do:
>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-ejb-plugin</artifactId>
> <configuration>
> <archive>
> <manifest>
> <addClasspath>true</addClasspath>
> <classpathPrefix>lib</classpathPrefix>
> </manifest>
> </archive>
> </configuration>
> </plugin>
>
> -Tim
Hi all,
I'm using the pom snippet shown above but I would like to have some
dependencies prefixed and some others not.
Is this doable with maven or will I have to write the MANIFEST.MF file
myself ?
Regards
Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Generating manifest file
Posted by Tim Kettler <ti...@udo.edu>.
This will do:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ejb-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib</classpathPrefix>
</manifest>
</archive>
</configuration>
</plugin>
-Tim
Denis Bessmertniy schrieb:
> I have a promlem with this.
> Now I use <addClasspath/> and maven adds all jars enumeration to
> manifest.mf this way,
> for example, Class-Path: log4j-1.0.jar
> But my in lib dir and I need to have this in manifest lib/log4j-1.0.jar.
>
> How I may have it?
>
> -----Original Message-----
> From: Tim Kettler [mailto:tim.kettler@udo.edu]
> Sent: Tuesday, September 25, 2007 3:50 PM
> To: Maven Users List
> Subject: Re: Generating manifest file
>
> What do you expect to happen with the specified artifact names?
>
> The extra entries defined in the <manifestEntries/> tag are copied verbatim
> (with expressions like ${project.version} interpolated) to the manifest. So
> if you specify a artifact name (groupId:artifactId:version for example) it
> will appear as is in the manifest.
>
> Why do you need to explicitly specify the classpath? Is <addClasspath/> not
> working for you?
>
> It would be better if you would describe the problem you want to solve, then
> someone can propose a solution.
>
> -Tim
>
> Denis Bessmertniy schrieb:
>> <archive>
>> <manifestEntries>
>> <Class-Path>....here I want
>>
>> -----Original Message-----
>> From: Tim Kettler [mailto:tim.kettler@udo.edu]
>> Sent: Tuesday, September 25, 2007 2:55 PM
>> To: Maven Users List
>> Subject: Re: Generating manifest file
>>
>> What exactly do you mean? Where do you want to specify artifact names?
>>
>> Denis Bessmertniy schrieb:
>>> And can I specify someway not jar file names, but artifact names?
>>>
>>> -----Original Message-----
>>> From: Denis Bessmertniy
>>> [mailto:denis.bessmertniy@consumerhealthtech.com]
>>> Sent: Tuesday, September 25, 2007 2:16 PM
>>> To: 'Maven Users List'
>>> Subject: RE: Generating manifest file
>>>
>>> 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:tim.kettler@udo.edu]
>>> 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: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Generating manifest file
Posted by Denis Bessmertniy <de...@consumerhealthtech.com>.
I have a promlem with this.
Now I use <addClasspath/> and maven adds all jars enumeration to
manifest.mf this way,
for example, Class-Path: log4j-1.0.jar
But my in lib dir and I need to have this in manifest lib/log4j-1.0.jar.
How I may have it?
-----Original Message-----
From: Tim Kettler [mailto:tim.kettler@udo.edu]
Sent: Tuesday, September 25, 2007 3:50 PM
To: Maven Users List
Subject: Re: Generating manifest file
What do you expect to happen with the specified artifact names?
The extra entries defined in the <manifestEntries/> tag are copied verbatim
(with expressions like ${project.version} interpolated) to the manifest. So
if you specify a artifact name (groupId:artifactId:version for example) it
will appear as is in the manifest.
Why do you need to explicitly specify the classpath? Is <addClasspath/> not
working for you?
It would be better if you would describe the problem you want to solve, then
someone can propose a solution.
-Tim
Denis Bessmertniy schrieb:
> <archive>
> <manifestEntries>
> <Class-Path>....here I want
>
> -----Original Message-----
> From: Tim Kettler [mailto:tim.kettler@udo.edu]
> Sent: Tuesday, September 25, 2007 2:55 PM
> To: Maven Users List
> Subject: Re: Generating manifest file
>
> What exactly do you mean? Where do you want to specify artifact names?
>
> Denis Bessmertniy schrieb:
>> And can I specify someway not jar file names, but artifact names?
>>
>> -----Original Message-----
>> From: Denis Bessmertniy
>> [mailto:denis.bessmertniy@consumerhealthtech.com]
>> Sent: Tuesday, September 25, 2007 2:16 PM
>> To: 'Maven Users List'
>> Subject: RE: Generating manifest file
>>
>> 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:tim.kettler@udo.edu]
>> 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: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Generating manifest file
Posted by Tim Kettler <ti...@udo.edu>.
What do you expect to happen with the specified artifact names?
The extra entries defined in the <manifestEntries/> tag are copied
verbatim (with expressions like ${project.version} interpolated) to the
manifest. So if you specify a artifact name (groupId:artifactId:version
for example) it will appear as is in the manifest.
Why do you need to explicitly specify the classpath? Is <addClasspath/>
not working for you?
It would be better if you would describe the problem you want to solve,
then someone can propose a solution.
-Tim
Denis Bessmertniy schrieb:
> <archive>
> <manifestEntries>
> <Class-Path>....here I want
>
> -----Original Message-----
> From: Tim Kettler [mailto:tim.kettler@udo.edu]
> Sent: Tuesday, September 25, 2007 2:55 PM
> To: Maven Users List
> Subject: Re: Generating manifest file
>
> What exactly do you mean? Where do you want to specify artifact names?
>
> Denis Bessmertniy schrieb:
>> And can I specify someway not jar file names, but artifact names?
>>
>> -----Original Message-----
>> From: Denis Bessmertniy
>> [mailto:denis.bessmertniy@consumerhealthtech.com]
>> Sent: Tuesday, September 25, 2007 2:16 PM
>> To: 'Maven Users List'
>> Subject: RE: Generating manifest file
>>
>> 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:tim.kettler@udo.edu]
>> 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: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Generating manifest file
Posted by Denis Bessmertniy <de...@consumerhealthtech.com>.
<archive>
<manifestEntries>
<Class-Path>....here I want
-----Original Message-----
From: Tim Kettler [mailto:tim.kettler@udo.edu]
Sent: Tuesday, September 25, 2007 2:55 PM
To: Maven Users List
Subject: Re: Generating manifest file
What exactly do you mean? Where do you want to specify artifact names?
Denis Bessmertniy schrieb:
> And can I specify someway not jar file names, but artifact names?
>
> -----Original Message-----
> From: Denis Bessmertniy
> [mailto:denis.bessmertniy@consumerhealthtech.com]
> Sent: Tuesday, September 25, 2007 2:16 PM
> To: 'Maven Users List'
> Subject: RE: Generating manifest file
>
> 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:tim.kettler@udo.edu]
> 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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Generating manifest file
Posted by Tim Kettler <ti...@udo.edu>.
What exactly do you mean? Where do you want to specify artifact names?
Denis Bessmertniy schrieb:
> And can I specify someway not jar file names, but artifact names?
>
> -----Original Message-----
> From: Denis Bessmertniy [mailto:denis.bessmertniy@consumerhealthtech.com]
> Sent: Tuesday, September 25, 2007 2:16 PM
> To: 'Maven Users List'
> Subject: RE: Generating manifest file
>
> 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:tim.kettler@udo.edu]
> 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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Generating manifest file
Posted by Denis Bessmertniy <de...@consumerhealthtech.com>.
And can I specify someway not jar file names, but artifact names?
-----Original Message-----
From: Denis Bessmertniy [mailto:denis.bessmertniy@consumerhealthtech.com]
Sent: Tuesday, September 25, 2007 2:16 PM
To: 'Maven Users List'
Subject: RE: Generating manifest file
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:tim.kettler@udo.edu]
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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Generating manifest file
Posted by Denis Bessmertniy <de...@consumerhealthtech.com>.
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:tim.kettler@udo.edu]
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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Generating manifest file
Posted by Tim Kettler <ti...@udo.edu>.
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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org