[jbosstools-issues] [JBoss JIRA] (JBIDE-23207) Maven configuration error whe using maven-jar-plugin and maven-war-plugin

Josef Kopriva (JIRA) issues at jboss.org
Wed Sep 21 05:03:00 EDT 2016


Josef Kopriva created JBIDE-23207:
-------------------------------------

             Summary: Maven configuration error whe using maven-jar-plugin and maven-war-plugin
                 Key: JBIDE-23207
                 URL: https://issues.jboss.org/browse/JBIDE-23207
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: maven, target-platform
            Reporter: Josef Kopriva


Error in project when using maven-jar-plugin and maven-war-plugin.

Example POM file:
{code:java}
<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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>test</groupId>
    <artifactId>test</artifactId>
    <version>1.0-SNAPSHOT</version>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <artifactId>maven-jar-plugin</artifactId>
                    <version>3.0.2</version>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>
</project>
{code}

Error:
Description	Resource	Path	Location	Type
org.codehaus.plexus.archiver.jar.Manifest.write(java.io.PrintWriter)	pom.xml	/test	line 1	Maven Configuration Problem

Devstudio:
Red Hat JBoss Developer Studio
Version: 10.2.0.AM1
Build id: AM1-v20160920-0457-B6061
Build date: 20160920-0457

org.sonatype.m2e.mavenarchiver version:
0.17.1.201602251832-signed-20160525150658

This issue is also logged on Github with more information:
https://github.com/tesla/m2eclipse-mavenarchiver/issues/9





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


More information about the jbosstools-issues mailing list