[
http://jira.codehaus.org/browse/MJBOSS-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michal Borowiecki updated MJBOSS-15:
------------------------------------
Attachment: MJBOSS-15.diff
Thanks for finding the solution Anders :)
Here's a diff for trunk
> Missing dependency for StartAndWaitMojo
> ---------------------------------------
>
> Key: MJBOSS-15
> URL: http://jira.codehaus.org/browse/MJBOSS-15
> Project: Maven 2.x JBoss Plugin
> Issue Type: Bug
> Affects Versions: 1.3.2
> Environment: Windows XP, JDK 1.5, Maven 2.0.8
> Reporter: Anders Hammar
> Attachments: MJBOSS-15.diff
>
>
> When running the startAndWait goal, I get ClassNotFoundException for
> org.jnp.interfaces.NamingContextFactory. The missing piece is a dependency
> for the plugin to an artifact that contains this class.
> Please update the pom with something like this:
> <dependencies>
> ...
> <dependency>
> <groupId>jboss</jboss>
> <artifactId>jnp-client</artifactId>
> <version>4.0.2</version>
> </dependency>
> <dependency>
> <groupId>jboss</jboss>
> <artifactId>jboss-common</artifactId>
> <version>4.0.2</version>
> </dependency>
> </dependencies>
> jboss-common is needed as the pom for jboss:jnp-client:4.0.2 isn't complete
> and lacks its dependencies. An alterantive is to use the
> jboss:jbossall-client:4.2.2.GA artifact from the JBoss Maven repository
> (http://repository.jboss.org/maven2/) but then that repository needs to be
> defined in the pom as well.
> Sorry, I can't provide a patch (diff) file as I don't know how to do this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email