[
http://jira.codehaus.org/browse/MGWT-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=177064#action_177064
]
nicolas de loof commented on MGWT-77:
-------------------------------------
The issue is that project.getArtifacts() does not include runtime artifacts
when RunMojo is executed.
No idea why this scope is excluded.
> gwt:run does not use the 'runtime' scope's classpath.
> -----------------------------------------------------
>
> Key: MGWT-77
> URL: http://jira.codehaus.org/browse/MGWT-77
> Project: Maven 2.x GWT Plugin
> Issue Type: Bug
> Affects Versions: 1.1
> Reporter: Gabe
>
> I have a war project with several dependencies in the "runtime" scope.
> If I build the .war and run it in an application server, it works perfectly.
> If I run the project using gwt:run (hosted mode), the embedded Tomcat
> complains that classes on the 'runtime' scope are not present. Switching all
> runtime-only dependencies to the 'compile' scope solves the problem.
> This is suboptimal and results in a number of dependencies being included in
> the .war that should not be there.
> I'm solving this using a hosted-mode profile for the moment.
--
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