Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-23207

Maven configuration error whe using maven-jar-plugin and maven-war-plugin

XMLWordPrintable

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

      Example POM file:

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

      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

              jkopriva@redhat.com Josef Kopriva
              jkopriva@redhat.com Josef Kopriva
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: