[ 
https://issues.apache.org/jira/browse/MWAR-411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16326638#comment-16326638
 ] 

Frank Ren commented on MWAR-411:
--------------------------------

Indeed. Thanks for the analysis. And, through experiment, I had found [a 
working 
configuration|https://github.com/renfeng/MWAR-411/blob/master/pom.xml#L87-L88].

Here is my command line output.

{color:#cccccc}frren-mac:MWAR-411 renfeng$ mvn clean package{color}

{color:#cccccc}[*INFO*] Scanning for projects...{color}

{color:#cccccc}[*INFO*] {color}

{color:#cccccc}[*INFO*] 
*------------------------------------------------------------------------*{color}

{color:#cccccc}[*INFO*] *Building MWAR-411 0.0.1-SNAPSHOT*{color}

{color:#cccccc}[*INFO*] 
*------------------------------------------------------------------------*{color}

{color:#cccccc}[*INFO*] {color}

{color:#cccccc}[*INFO*] *---* maven-clean-plugin:2.5:clean *(default-clean)* @ 
MWAR-411 *---*{color}

{color:#cccccc}[*INFO*] Deleting 
/Users/renfeng/Documents/git/MWAR-411/target{color}

{color:#cccccc}[*INFO*] {color}

{color:#cccccc}[*INFO*] *---* buildnumber-maven-plugin:1.4:create *(default)* @ 
MWAR-411 *---*{color}

{color:#cccccc}[*INFO*] ShortRevision tag detected. The value is '7'.{color}

{color:#cccccc}[*INFO*] Executing: /bin/sh -c cd 
'/Users/renfeng/Documents/git/MWAR-411' && 'git' 'rev-parse' '--verify' 
'--short=7' 'HEAD'{color}

{color:#cccccc}[*INFO*] Working directory: 
/Users/renfeng/Documents/git/MWAR-411{color}

{color:#cccccc}[*INFO*] Storing buildNumber: 1045ef1 at timestamp: 
1516058849130{color}

{color:#cccccc}[*INFO*] Storing buildScmBranch: master{color}

{color:#cccccc}[*INFO*] {color}

{color:#cccccc}[*INFO*] *---* maven-resources-plugin:2.6:resources 
*(default-resources)* @ MWAR-411 *---*{color}

{color:#cccccc}[*INFO*] Using 'UTF-8' encoding to copy filtered 
resources.{color}

{color:#cccccc}[*INFO*] skip non existing resourceDirectory 
/Users/renfeng/Documents/git/MWAR-411/src/main/resources{color}

{color:#cccccc}[*INFO*] {color}

{color:#cccccc}[*INFO*] *---* maven-compiler-plugin:3.1:compile 
*(default-compile)* @ MWAR-411 *---*{color}

{color:#cccccc}[*INFO*] No sources to compile{color}

{color:#cccccc}[*INFO*] {color}

{color:#cccccc}[*INFO*] *---* maven-resources-plugin:2.6:testResources 
*(default-testResources)* @ MWAR-411 *---*{color}

{color:#cccccc}[*INFO*] Using 'UTF-8' encoding to copy filtered 
resources.{color}

{color:#cccccc}[*INFO*] skip non existing resourceDirectory 
/Users/renfeng/Documents/git/MWAR-411/src/test/resources{color}

{color:#cccccc}[*INFO*] {color}

{color:#cccccc}[*INFO*] *---* maven-compiler-plugin:3.1:testCompile 
*(default-testCompile)* @ MWAR-411 *---*{color}

{color:#cccccc}[*INFO*] No sources to compile{color}

{color:#cccccc}[*INFO*] {color}

{color:#cccccc}[*INFO*] *---* maven-surefire-plugin:2.12.4:test 
*(default-test)* @ MWAR-411 *---*{color}

{color:#cccccc}[*INFO*] No tests to run.{color}

{color:#cccccc}[*INFO*] {color}

[*INFO*] *---* maven-war-plugin:3.2.0:war *({color:#d04437}default-war{color})* 
@ MWAR-411 *---*

[*INFO*] Packaging webapp

[*INFO*] Assembling webapp [MWAR-411] in 
[/Users/renfeng/Documents/git/MWAR-411/target/MWAR-411-0.0.1-SNAPSHOT]

[*INFO*] Processing war project

[*INFO*] Copying webapp webResources 
[/Users/renfeng/Documents/git/MWAR-411/src/main/webapp] to 
[/Users/renfeng/Documents/git/MWAR-411/target/MWAR-411-0.0.1-SNAPSHOT]

[*INFO*] Copying webapp resources 
[/Users/renfeng/Documents/git/MWAR-411/src/main/webapp]

[*INFO*] Webapp assembled in [{color:#d04437}94{color} msecs]

[*INFO*] Building war: 
/Users/renfeng/Documents/git/MWAR-411/target/MWAR-411-0.0.1-SNAPSHOT.war

{color:#cccccc}[*INFO*{color}{color:#cccccc}]{color} 

[*INFO*] *---* maven-war-plugin:3.2.0:war *({color:#d04437}package{color})* @ 
MWAR-411 *---*

[*INFO*] Packaging webapp

[*INFO*] Assembling webapp [MWAR-411] in 
[/Users/renfeng/Documents/git/MWAR-411/target/MWAR-411-0.0.1-SNAPSHOT]

[*INFO*] Processing war project

[*INFO*] Copying webapp webResources 
[/Users/renfeng/Documents/git/MWAR-411/src/main/webapp] to 
[/Users/renfeng/Documents/git/MWAR-411/target/MWAR-411-0.0.1-SNAPSHOT]

[*INFO*] Copying webapp resources 
[/Users/renfeng/Documents/git/MWAR-411/src/main/webapp]

[*INFO*] Webapp assembled in [{color:#d04437}6{color} msecs]

[*INFO*] Building war: 
/Users/renfeng/Documents/git/MWAR-411/target/MWAR-411-0.0.1-SNAPSHOT.war

{color:#cccccc}[*INFO*] 
*------------------------------------------------------------------------*{color}

{color:#cccccc}[*INFO*] *BUILD SUCCESS*{color}

{color:#cccccc}[*INFO*] 
*------------------------------------------------------------------------*{color}

{color:#cccccc}[*INFO*] Total time: 3.925 s{color}

{color:#cccccc}[*INFO*] Finished at: 2018-01-16T07:27:31+08:00{color}

{color:#cccccc}[*INFO*] Final Memory: 15M/305M{color}

{color:#cccccc}[*INFO*] 
*------------------------------------------------------------------------*{color}

> warSourceExcludes has not effect
> --------------------------------
>
>                 Key: MWAR-411
>                 URL: https://issues.apache.org/jira/browse/MWAR-411
>             Project: Maven WAR Plugin
>          Issue Type: Bug
>    Affects Versions: 3.2.0
>            Reporter: Frank Ren
>            Assignee: Robert Scholte
>            Priority: Major
>
> Test case, [https://github.com/renfeng/MWAR-411]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to