[mevenide-user] Deploy assembly to glassfish
"Marcin Kwapisz" <mkwapisz-z3XXmN+A/[email protected]> Mon, 8 Dec 2008 11:58:08 +0100
| Newsgroups | gmane.comp.jakarta.turbine.maven.mevenide.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
Is it possible to deploy jar (ejb) created by assembly plugin to =
glassfish server?
Now, when I choose "Run project", maven tries to deploy jar package =
without dependencies (and of course fails). The only one solution is to =
deploy assembled jar package manually.
My assembly plugin configuration is as follows:
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-2</version>
<executions>
<execution>
<id>create-ejb-module</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<archiverConfig>
=
<duplicateBehavior>fail</duplicateBehavior>
</archiverConfig>
<descriptors>
=
<descriptor>src/main/assembly/ejbModule.xml</descriptor>
</descriptors>
<archive>
</archive>
</configuration>
</execution>
</executions>
</plugin>
Thanks in advance
Regards
--=20
Marcin Kwapisz
Division of Computer Networks
Technical Univeristy of Lodz, Poland
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email