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

The comma separated list of tokens doesn't work with the property <warSourceExcludes>.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • None
    • None
    • windows XP

    Description

      The comma separated list of tokens doesn't work with the property <warSourceExcludes>. It doesn't understand it, this property only work with one token.

      example :
      This configuration doesn't exclude the file mail_config.propertires.dev and the file mail_config.propertires.prod from the web directory.
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-war-plugin</artifactId>
      <configuration>
      <warSourceDirectory>web</warSourceDirectory>
      <warSourceExcludes>*/.dev,*/.prod</warSourceExcludes>
      </configuration>
      </plugin>

      but the configuration below exclude the file mail_config.propertires.dev
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-war-plugin</artifactId>
      <configuration>
      <warSourceDirectory>web</warSourceDirectory>
      <warSourceExcludes>*/.dev</warSourceExcludes>
      </configuration>
      </plugin>

      Attachments

        Issue Links

          Activity

            People

              olamy Olivier Lamy
              neoptoleme Alexandre Vivien
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: