Hi Kris,

compileSourceArtifacts are related to maven artifacts, not to GWT modules; 
so the format for the artifact name needs to be groupId:artifactId. See 
also 
http://mojo.codehaus.org/gwt-maven-plugin/compile-mojo.html#compileSourcesArtifacts

Regards,

Björn

On Sunday, March 24, 2013 2:07:14 AM UTC+1, Kris wrote:
>
> Hi, I have a maven project with several modules. 
> One module contains JPA objects. Used with hibernate. 
>
> I would like make this a GWT module do I can use these classes in my GWT 
> module. 
> Don't know if this is even possible.. what will the GWT compiler say to 
> all the jpa/hibernate annotations ?? 
>
> But so far I build the jpa module so it contains the source code and added 
> a .gwt.xml file..
>
> *<?xml version="1.0" encoding="UTF-8"?>*
> *<module>*
> *  <inherits name="com.google.gwt.user.User" />*
> *  <source path='ppmock' />*
> *</module>*
>
> This file is placed in 
> src/main/java/com/mycomp/jsi/model
>
> The java classes are in 
> src/main/java/com/mycomp/jsi/model/ppmock
>
> The jar file gets build including the gwt.xml file and the source file. 
>
> In my GWT module I inherit the module.. 
> *<inherits name="com.mycomp.jsi.model.ppmock"/>*
>
> And in the pom.xml file of the gwt module : 
> *<compileSourcesArtifacts>*
> *    
>  <compileSourcesArtifact>com.mycomp.jsi.model.ppmock</compileSourcesArtifact>
> *
> *</compileSourcesArtifacts>*
> *
> *
> But when I "mvn clean install" i get.. 
>
> [WARNING] Declared compileSourcesArtifact was not found in project 
> dependencies com.mycomp.jsi.model.ppmock
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to