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

Richard Allen commented on MGWT-131:
------------------------------------

As I mentioned in an earlier comment, we don't have source under a pom project, 
so you are correct in not seeing that.

Because the {{webapp/}} project assembles the war directory, it doesn't make 
sense in our case to perform a GWT compile before then (before the war 
directory is assembled). As I'm sure you are aware, GWT compiles the code into 
one big single page application. In our case, GWT code comes from any number of 
projects that are part of the Maven multi-module build. Running GWT compile on 
those sub-projects would create invalid results. To create a valid result (GWT 
application), GWT must compile the entire project at one time. Additionally, 
GWT compile only cares that the GWT modules it is looking for are on the 
classpath, which Maven dependency management takes care of.

> Plugin attempts to compile projects with 'pom' packaging
> --------------------------------------------------------
>
>                 Key: MGWT-131
>                 URL: http://jira.codehaus.org/browse/MGWT-131
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: Fedora 11, Java 1.6.0_16, Maven 2.2.1, GWT 1.7.1
>            Reporter: Daniel Scott
>            Assignee: nicolas de loof
>            Priority: Minor
>             Fix For: 1.2
>
>
> When the GWT compile goal is enabled for projects which have the 'pom' 
> packaging type, maven attempts to compile the project and fails because no 
> source code is available. The compilation should be disabled by default for 
> projects which have the 'pom' packaging type.

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