You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org> on 2015/11/08 16:50:11 UTC

[jira] [Moved] (MWAR-357) Unable to set webappDirectory

     [ https://issues.apache.org/jira/browse/MWAR-357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Heinz Marbaise moved MNG-5801 to MWAR-357:
-----------------------------------------------

    Affects Version/s:     (was: 3.3.1)
                       2.2
          Component/s:     (was: Inheritance and Interpolation)
                  Key: MWAR-357  (was: MNG-5801)
              Project: Maven WAR Plugin  (was: Maven)

> Unable to set webappDirectory
> -----------------------------
>
>                 Key: MWAR-357
>                 URL: https://issues.apache.org/jira/browse/MWAR-357
>             Project: Maven WAR Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>         Environment: Windows 7, Java 1.7.0_76
>            Reporter: Jochen Wiedmann
>         Attachments: demo.tar.gz, demoCleanInstall.log
>
>
> I've got a war project (see attached zip file), which contains the  configuration snippet below. As a consequence, I'd expect the assembled webapp to be in {{target/my-webapp}}. However, it is in {{target/demo-0.0.1-SNAPSHOT}}.
> {code:xml}
>   <build>
>     <plugins>
>       <plugin>
>         <groupId>org.apache.maven.plugin</groupId>
>         <artifactId>maven-war-plugin</artifactId>
>         <version>2.2</version>
>         <configuration>
>           <webappDirectory>${project.build.directory}/my-webapp</webappDirectory>
>         </configuration>
>       </plugin>
>     </plugins>
>   </build>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)