Add the dependency and the dependency of the sources:

                 <dependency>
                       <groupId>com.foo</groupId>
                       <artifactId>fooArtifact</artifactId>
                       <version>. <http://1.0.0.ga/>..</version>

               </dependency>
                <dependency>
                       <groupId>com.foo</groupId>
                       <artifactId>fooArtifact</artifactId>
                       <version>. <http://1.0.0.ga/>..</version>
                       <classifier>sources</classifier>
                       <scope>provided</scope>
               </dependency>

And define an inherit element with your gwt module.

Juan

2011/5/9 mariyan nenchev <[email protected]>

> Hi,
>
> I have gwt project which contains GWT EntryPoint and it is build to jar
> file - the jar contains *.* - .class, .java and resource files. I use maven
> as build tool.
> I added this jar as dependency to my web app project and in its pom i added
> gwt-maven-plugin and pointed as <module> the entry point in the jar, but
> maven complains that he could not find the source of the entry point
> (despite of it is there).
>
> So the question is could i use entry point which is placed in jar?
>
> Regards.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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

Reply via email to