plugin dependencies aren't resolved as expected
-----------------------------------------------

                 Key: MGWT-247
                 URL: http://jira.codehaus.org/browse/MGWT-247
             Project: Maven 2.x GWT Plugin
          Issue Type: Bug
    Affects Versions: 2.1.0
            Reporter: Brian Reilly


Dependencies specified within a plugin configuration are not used when the 
plugin performs actions, such as GWT compilation. For example:

{code:xml}
<plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>gwt-maven-plugin</artifactId>
    <version>2.1.0</version>
    <executions>...</executions>
    <dependencies>
        <dependency>
            <groupId>xerces</groupId>
            <artifactId>xercesImpl</artifactId>
            <version>2.9.1</version>
            <scope>compile</scope>
        </dependency>
    </dependencies>
</plugin>
{code}

I'm working in a legacy project that, for other reasons (that I unfortunately 
don't understand but cannot change), is using xercesImpl version 2.6.2. This 
seems to work fine when the application is deployed, but does not work for 
compiling UiBinder .ui.xml files, as discussed here: 
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/992210a7cfac2ec4.
 As it stands now, my projects specification of version 2.6.2 is being picked 
up and used during GWT compilation.

My suspicion is that xerces 2.9.1 is needed during compilation but not 
necessarily at runtime (possibly by the GWT development mode shell, but not in 
the necessarily in the webapp it runs).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to