[jbosstools-issues] [JBoss JIRA] (JBDS-3522) Deployed war is NOT the specified war name

ehsavoie Hugonnet (JIRA) issues at jboss.org
Tue Sep 15 04:17:00 EDT 2015


ehsavoie Hugonnet created JBDS-3522:
---------------------------------------

             Summary: Deployed war is NOT the specified war name
                 Key: JBDS-3522
                 URL: https://issues.jboss.org/browse/JBDS-3522
             Project: Developer Studio (JBoss Developer Studio)
          Issue Type: Feature Request
          Components: maven
    Affects Versions: 9.0.0.Beta2
            Reporter: ehsavoie Hugonnet


The deployed war name is the *artifactId* and not the specified *warName* from the war plugin nor the *finalName*.
Sample pom.xml which exibits the issue
{quote}<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.glassfish-samples</groupId>
    <artifactId>auction</artifactId>
    <version>4.0-SNAPSHOT</version>
    <packaging>war</packaging>
    <name>WebSocket Auction Sample Application</name>
    
    <dependencies>
        <dependency>
            <groupId>javax</groupId>
            <artifactId>javaee-api</artifactId>
            <version>7.0</version>
            <scope>provided</scope>
        </dependency>
    </dependencies>
    
    <build>
        <finalName>websocket-auction</finalName>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.1</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <version>2.3</version>
                <configuration>
                    <failOnMissingWebXml>false</failOnMissingWebXml>
                    <warName>websocket-auction</warName>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>
{quote}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list