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

Robert Scholte updated MNG-5801:
--------------------------------
    Description: 
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}


  was:
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.

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




> Unable to set webappDirectory
> -----------------------------
>
>                 Key: MNG-5801
>                 URL: https://issues.apache.org/jira/browse/MNG-5801
>             Project: Maven
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 3.3.1
>         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)

Reply via email to