On Monday, May 21, 2012 12:31:57 PM UTC+2, tong123123 wrote:
>
> oh, the pom.xml in the link is quite complex, but in my 
> als-admin-viewer-core pom.xml, I already write
>
>> <package>jar</package>
>>
> and I found under  als-admin-viewer-core/target, the 
> als-admin-viewer-core-1.0.0.jar is already created, so what I miss is
> adding als-admin-viewer-core-1.0.0.jar as a dependency in 
> als-admin-viewer-webapp.pom.xml?
>

That's already the case (from what you said earlier). You need to call the 
source:jar-no-fork goal in your *-core project (it'll generate a an 
*-core-1.0.0-sources.jar in target) and add a dependency on that sources 
JAR (in addition to the "binary" JAR you already have: one is for javac 
–and Eclipse–, the other for GWT):
<dependency>
    <groupId>hk.gov.ehr.service.tch.als</groupId>
    <artifactId>als-admin-viewer-core</artifactId>
    <version>1.0.0</version>
</dependency>
<dependency>
    <groupId>hk.gov.ehr.service.tch.als</groupId>
    <artifactId>als-admin-viewer-core</artifactId>
    <version>1.0.0</version>
    <classifier>sources</classifier>
</dependency>

>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/cBHTSC__TjMJ.
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