Hi there,
I must say it, i've been looking for a while but i didn't find a solution. I'm new in the EJB world so I hope I get things right.
Here is the problem: if you use maven and you want to compile your EJB application your need the jboss-client-4.2.2.GA plugin, for maven.
But when maven vomits a stacktrace like this one:
java.lang.IllegalStateException: The PluginDescriptor for the plugin Plugin [org.jboss.client:jboss-client] was not found.
Well you're in trouble 'cause you cannot compile anything.
(I actually get an empty ear, structured, but without any classes)
So according to this website:
http://darkviews.blogspot.com/2008/04/illegalstateexception-plugindescriptor.html
It's a configuration error inside the plugin, and indeed, when i've opened the jar with winrar and there is no
"META-INF/maven/plugin.xml"
at all...
The plugin was downloaded using the following configuration:
Maven2 Plugin Repo
maven2-plugin-repositories
http://repository.jboss.com/maven2/
I'm stuck... And I mustn't be the only one... Any suggestions greatly are welcome!
Maven version: 2.0.8
Java version: 1.5.0_14
JBoss version: jboss-4.2.2.GA
Cheers,
Mathieu