[ 
https://jira.codehaus.org/browse/MGWT-275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=273799#comment-273799
 ] 

Ryan Kruse commented on MGWT-275:
---------------------------------

I'm on 2.3.0-1 and this doesn't work.  I have a library module for some common 
components and the ui.xml files in src/main/java aren't included in the jar.  
Here's my pom.

<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
        <modelVersion>4.0.0</modelVersion>
        <parent>
                <artifactId>gwt-ui</artifactId>
                <groupId>com.brazossoftware</groupId>
                <version>1.0-SNAPSHOT</version>
        </parent>
        <groupId>com.brazossoftware</groupId>
        <artifactId>lib-components</artifactId>
        <version>${parent.version}</version>
        <name>lib-components</name>
        <description>Brazos GWT shared components</description>

        <dependencies>
                <dependency>
                        <groupId>com.google.gwt</groupId>
                        <artifactId>gwt-user</artifactId>
                        <version>${gwtVersion}</version>
                        <scope>provided</scope>
                </dependency>
        </dependencies>

        <build>
                <plugins>
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>gwt-maven-plugin</artifactId>
                                <version>${gwtMavenVersion}</version>
                                <executions>
                                        <execution>
                                                <goals>
                                                        <goal>resources</goal>
                                                </goals>
                                        </execution>
                                </executions> 
                        </plugin>
                </plugins>
        </build>
</project>

> Include *.ui.xml files in resource 
> -----------------------------------
>
>                 Key: MGWT-275
>                 URL: https://jira.codehaus.org/browse/MGWT-275
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.2.0
>            Reporter: Jose
>
> When compiling a gwt module using the plugin as described in 
> http://mojo.codehaus.org/gwt-maven-plugin/user-guide/library.html only java 
> files and *.gwt.xml files are copied. In order to support UIBinder, *.ui.xml 
> files should be copied as well.

--
This message is automatically generated by JIRA.
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