Re: [mevenide-user] Deploy assembly to glassfish
"Milos Kleint" <[email protected]> Mon, 8 Dec 2008 14:44:38 +0100
| Newsgroups | gmane.comp.jakarta.turbine.maven.mevenide.user |
|---|---|
| Message-ID | <[email protected]> |
a sample project demonstrating the setup, files as issue in netbeans issue tracking system (http://www.netbeans.org/issues/enter_bug.cgi?component=maven) would help. Milos On Mon, Dec 8, 2008 at 2:35 PM, Marcin Kwapisz <mkwapisz-z3XXmN+A/[email protected]> wrote: >> One option may be to use the Maven GlassFish plugin, see >> >> https://maven-glassfish-plugin.dev.java.net/ > > [Marcin Kwapisz] > Yes, I think it could be the solution. I will check that plugin. Thanks. > > Maven support was integrated into NB6.5. I think it should be possible to choose what artifact is deployed to glassfish from IDE. > Below is log from my NB. PersonAccountModule-1.0-SNAPSHOT.jar is chosen by default. This is wrong jar, due to missing configuration which is added during assembly process. > > NetBeans: Deploying on GlassFish V2 > debug mode: false > force redeploy: true > Checking for missing drivers > Start registering the project's server resources > Finished registering server resources > Distributing D:\JavaProg\MySamples\EJB\Samplev7\JEEMavenProject2\PersonAccountModule\target\PersonAccountModule-1.0-SNAPSHOT.jar to [localhost:4848_server] > Start registering the project's server resources > Finished registering server resources > deployment started : 0% > Deploying application in domain failed; Error loading deployment descriptors for module [PersonAccountModule-1.0-SNAPSHOT] -- Invalid ejb jar [D:\AppServer\glassfish-v2ur2\domains\domain1\applications\j2ee-modules\PersonAccountModule-1.0-SNAPSHOT]: it contains zero ejb. > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email