[ 
http://jira.codehaus.org/browse/MGWT-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=174818#action_174818
 ] 

Salvador Diaz commented on MGWT-63:
-----------------------------------

I'm sorry, I completely forgot to specify the phase in the plugin 
configuration. If the configuration specifies the phase, parameters aren't 
ignored. You might want to look into the documentation and change the pom 
examples in the usage section to specify the phases to which they're bound. 
Here's the correct configuration:
{code:xml}
<plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>gwt-maven-plugin</artifactId>
        <version>1.1-SNAPSHOT</version>
        <executions>
                <execution>
                        <phase>process-classes</phase>
                        <configuration>
                                <output>${gwt.output.directory}</output>
                                <logLevel>INFO</logLevel>                       
                        
                        </configuration>
                        <goals>
                                <goal>compile</goal>
                        </goals>
                </execution>
        </executions>
</plugin>
{code} 

> compile mojo ignores output argument
> ------------------------------------
>
>                 Key: MGWT-63
>                 URL: http://jira.codehaus.org/browse/MGWT-63
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: OS X 10.5.6, Java 5, Maven 2.1.0
>            Reporter: Salvador Diaz
>            Priority: Blocker
>
> if I configure the output directory for the compile execution of the plugin, 
> the plugin ignores that configuration and outputs files to src/main/webapp/
> {{
> <plugin>
>                               <groupId>org.codehaus.mojo</groupId>
>                               <artifactId>gwt-maven-plugin</artifactId>
>                               <version>1.1-SNAPSHOT</version>
>                               <executions>
>                                       <execution>
>                                               <configuration>
>                                                       
> <output>${project.build.directory}/gwt</output>
>                                                       
> <logLevel>DEBUG</logLevel>
>                                               </configuration>
>                                               <goals>
>                                                       <goal>compile</goal>
>                                               </goals>
>                                       </execution>
>                               </executions>
>                       </plugin>
> }}

-- 
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