[
http://jira.codehaus.org/browse/MGWT-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=202714#action_202714
]
Richard Allen commented on MGWT-131:
------------------------------------
A pom project does not have to be a parent project. In our case, we use the
maven-assembly-plugin to create the war file. The maven reactor makes sure that
parents get built before children, therefore, if the project that executed the
assembly were a parent of projects that must go into the assembly, then it
would fail, because the parent would be built before the children. The solution
to this is to make the project that executes the assembly a leaf project. Then
you can be certain the projects specified in <modules> get built before the
assembly.
This arrangement allows us to divide a large war into multiple projects, many
which supply src/main/webapp (WAR type) resources. I believe many people use
the maven-war-plugin war overlay functionality to merge multiple war projects
(*.war files). The problem we found with this approach is that it is very slow
because it must build a war file for each war project, then extract each of
those war files when merging into the final war. Using our approach, the build
takes only a fraction of the time it does with the maven-war-plugin overlay
approach.
> 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