Hi, I recently started using gwt in my struts project. We use maven as a project management tool. Since GWT needs java sources to be in the class path for it to compile the java files and my gwt module uses other module java classes, I thought of trying "maven sources plugin" to generate the source files jars for all the modules of my project. the maven plugin creates one jar file for .class file and one for .java file...
so for ex ... if there is a project called "java-proj" , the plugin will create com/my/company/java-proj/1.0-SNAPSHOT/java-proj-1.0-SNAPSHOT.jar com/my/company/java-proj/1.0-SNAPSHOT/java-proj-1.0-SNAPSHOT-sources.jar now if my gwt project uses some classes from the above project so I need to define the dependency... for classes I can say <dependency> <groupId>com.my.company</groupId> <artifactId>java-proj</artifactId> <version>1.0-SNAPSHOT</version> </dependency> and it looks for java-proj-1.0-SNAPSHOT.jar in com/my/company/java-proj/1.0-SNAPSHOT/ directory but I am not able to figure out how to define the dependency on source file because if I say <dependency> <groupId>com.my.company</groupId> <artifactId>java-proj</artifactId> <version>1.0-SNAPSHOT</version> </dependency> it looks for java-proj-1.0-SNAPSHOT-sources.jar in com/my/company/java-proj/1.0-SNAPSHOT-sources but the jar is in com/my/company/java-proj/1.0-SNAPSHOT. Any idea on how to define dependency on "java-proj-1.0-SNAPSHOT-sources.jar" which not in "com/my/company/java-proj/1.0-SNAPSHOT-sources" but in "com/my/company/java-proj/1.0-SNAPSHOT-sources " Any input is appreciated Thanks