[ 
http://jira.codehaus.org/browse/MWAR-237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=236039#action_236039
 ] 

Stephen Coy commented on MWAR-237:
----------------------------------

Isn't the plugin documentation generated from the source? It does not appear on 
<http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html>. This is what 
makes me think it has disappeared. Furthermore, it works fine using 2.1-beta-1.

The only practical work around is to downgrade, hence the blocker.

In any event, here is the plugin configuration:

            <plugin>
                <artifactId>maven-war-plugin</artifactId>
                <configuration>
                    <archive>
                        <!-- exclude maven pom from generated war -->
                        <addMavenDescriptor>false</addMavenDescriptor>
                    </archive>
                    <webResources>
                        <resource>
                            <filtering>true</filtering>
                            <directory>src/main/webapp</directory>
                            <includes>
                                <include>MessageResources.properties</include>
                            </includes>
                        </resource>
                    </webResources>
                </configuration>
                <executions>
                    <execution>
                        <id>default-war</id>
                        <phase>package</phase>
                        <goals>
                            <goal>war</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>slim-war</id>
                        <phase>package</phase>
                        <goals>
                            <goal>war</goal>
                        </goals>
                        <configuration>
                            <classifier>slim</classifier>
                            <packagingIncludes>
                                fusioncharts/**/*,
                                fusionwidgets/**/*,
                                global-theme/**/*,
                                home.do,
                                images/**/*,
                                META-INF/**/*,
                                scripts/**/*,
                                WEB-INF/classes/**/*,
                                WEB-INF/config/**/*,
                                WEB-INF/**/*.xml,
                                WEB-INF/jsp/**/*,
                                WEB-INF/lib/sitemesh*.jar,
                                WEB-INF/lib/struts*.jar,
                                WEB-INF/lib/json-lib*.jar,
                                WEB-INF/lib/ezmorph*.jar,
                                WEB-INF/lib/displaytag*.jar,
                                WEB-INF/lib/commons-fileupload*.jar,
                                WEB-INF/tlds/**/*
                            </packagingIncludes>
                        </configuration>
                    </execution>
                </executions>
            </plugin>


> packagingIncludes configuration has disappeared
> -----------------------------------------------
>
>                 Key: MWAR-237
>                 URL: http://jira.codehaus.org/browse/MWAR-237
>             Project: Maven 2.x WAR Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: 2.2.1, 3.0RC1
>            Reporter: Stephen Coy
>            Assignee: Stephane Nicoll
>            Priority: Minor
>
> The packagingIncludes configuration element has completely disappeared from 
> this plugin.
> This not only breaks our "skinny-war" build, it also invalidates the 
> documentation at 
> <http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.html>.

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

        

Reply via email to