Uploaded image for project: 'Maven WAR Plugin'
  1. Maven WAR Plugin
  2. MWAR-355

<archiveClasses> ignored

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Not A Problem
    • 2.6
    • None
    • None
    • None
    • Maven 3.3.3, Debian Jetty
    • Important

    Description

      Given this plugin configuration:

      ...
      <plugin>
      <artifactId>maven-war-plugin</artifactId>
      <version>2.6</version>
      <configuration>
      <archiveClasses>true</archiveClasses>
      </configuration>
      </plugin>
      ...

      The <archiveClasses> option has no effect.

      Running `mvn clean compile war:exploded` produces a war directory with .class files in the `classes` directory, and they are not archived into a jar in the `lib` directory neither. `war:war` produces same result.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dmos Dominykas Mostauskis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: