maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <>
Subject Re: adding java sources to classpath with maven-eclipse-plugin
Date Thu, 01 Jan 1970 00:00:00 GMT
James Ring wrote:

> (Please CC me on replies, I am not subscribed to this list)
> Hi there,
> I have a GWT project which programatically starts a DevMode shell. The
> problem I have is that GWT needs access to the Java source code in the
> classpath at runtime. I have tried adding my src/main/java directory
> to the resources list (in the following snippet), but this doesn't
> seem to have the desired effect.

Why not use the sources plugin to generate an attached -sources jar with the 
sources? You can thewn add this artifact as additional dependency in places 
where you need it.

- Jörg

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message