https://bugzilla.redhat.com/show_bug.cgi?id=1012059
Mikolaj Izdebski <mizdebsk(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |java-sig-commits(a)lists.fedo
| |raproject.org
Component|xmvn |maven-jar-plugin
Assignee|mizdebsk(a)redhat.com |msrb(a)redhat.com
--- Comment #1 from Mikolaj Izdebski <mizdebsk(a)redhat.com> ---
This is not a bug in XMvn.
It is a bug in Maven Jar Plugin.
Reassigning.
Reproducer:
$ cat <<EOF >pom.xml
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.fedoraproject.xmvn.it</groupId>
<artifactId>rhbz1012059</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>war</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
EOF
$ mkdir -p src/main/webapp/WEB-INF
$ touch src/main/webapp/WEB-INF/web.xml
$ mvn clean install
Actual results:
1) JAR file is installed with "war" extension:
[INFO] Installing
/home/kojan/git/xmvn/rep/target/rhbz1012059-1.0.0-SNAPSHOT.jar to
/home/kojan/.m2/repository/org/fedoraproject/xmvn/it/rhbz1012059/1.0.0-SNAPSHOT/rhbz1012059-1.0.0-SNAPSHOT.war
2) WAR file is not installed at all
Expected results:
Both JAR and WAR files are installed with correct extensions
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=umfYjtWs7U&a=cc_unsubscribe