RE: [mevenide-user] Deploy assembly to glassfish
"Marcin Kwapisz" <mkwapisz-z3XXmN+A/[email protected]> Mon, 8 Dec 2008 14:35:08 +0100
| Newsgroups | gmane.comp.jakarta.turbine.maven.mevenide.user |
|---|---|
| Message-ID | <[email protected]> |
> One option may be to use the Maven GlassFish plugin, see
>=20
> https://maven-glassfish-plugin.dev.java.net/
[Marcin Kwapisz]=20
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\t=
arget\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\P=
ersonAccountModule-1.0-SNAPSHOT]: it contains zero ejb.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email