While I could not determine a way to customize the manifest using
configuration in the was6-maven-plugin's "ejb:ejb" goal... -- it turns out
that the technique, shown below, accomplishes what I wanted (i.e., running
the maven-ejb-plugin AFTER the was6-maven-plugin):
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>was6-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>clean</goal>
<goal>ejbdeploy</goal>
</goals>
</execution>
</executions>
<configuration>
<wasHome>${WAS_HOME}</wasHome>
</configuration>
</plugin>
<plugin>
<artifactId>maven-ejb-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
</manifest>
</archive>
</configuration>
</plugin>
sairndain wrote:
>
> Hi
>
> QUESTION: How can I specify manifest in was6-maven-plugin "ejb:ejb"???
>
> I need to include two(2) jars in the manifest.
>
> Although I place my custom MANIFEST.MF file in the ejb project's
> src/main/resources/META-INF directory, it does not get used by the
> was6-maven-plugin.
>
> Instead, the was6-maven-plugin generates it's own (empty) version of the
> MANIFEST.MF file.
>
> I noticed that the was6-maven-plugin generates its "MANIFEST.MF" file
> under the classes directory where the java packages are located.
>
> If I moved the META-INF folder (containing my custom MANIFEST.MF file)
> under the src/main/java folder, -- instead of keeping it under the
> src/main/resources folder -- would my custom "MANIFEST.MF" file be used
> by the was6-maven-plugin?
>
> Thanks for any help on this
>
> s
>
>
>
--
View this message in context:
http://www.nabble.com/How-can-I-specify-manifest-in-was6-maven-plugin-%22ejb%3Aejb%22----tp18816470p18831133.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]