Maven 2.x WAR Plugin

A useDefaultExcludes=false option, like the assembly plugin has.

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 2.1-beta-1
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Linux, tomcat6.
  • Testcase included:
    yes
  • Patch Submitted:
    Yes
  • Number of attachments :
    1

Description

I'd like to be able to have a 'development' profile which I configure to include all versioning files. I'm dealing with complicated overlays, and sometimes it's simply easiest to fix a jsp or so directly on the spot where it is deployed, on the test-server or so, and check it in from there too. Probably I could also change our habits or so, and find some way of working which is more or less handy too, but for the moment I have no idea how that would go, and everything would work just fine if the 'useDefaultExcludes' feature can be disabled with a configuration option.

I tried to implement it myself, and am attaching a patch, which includes such an option.

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <version>2.1-beta-2-SNAPSHOT</version>
        <configuration>
          <useDefaultExcludes>false</useDefaultExcludes>
        </configuration>
      </plugin>

Issue Links

Activity

Hide
Michiel Meeuwissen added a comment -

To have properly working .svn-checkouts, you need the empty dirs too.

Show
Michiel Meeuwissen added a comment - To have properly working .svn-checkouts, you need the empty dirs too.
Hide
Michiel Meeuwissen added a comment -

Sometimes it is tempting to temporary make a symlink in the target dir to the source then.

Not adviceable as well. See MCLEAN-39.

Show
Michiel Meeuwissen added a comment - Sometimes it is tempting to temporary make a symlink in the target dir to the source then. Not adviceable as well. See MCLEAN-39.
Hide
Dennis Lundberg added a comment -

If you use overlays, won't the SCM metadata files/directories be corrupted when the overlays are applied?

Show
Dennis Lundberg added a comment - If you use overlays, won't the SCM metadata files/directories be corrupted when the overlays are applied?
Hide
Michiel Meeuwissen added a comment -

If files appear in the same directory in different overlays, then that may be the case. But normally, files from different overlays appear in different directories, and there is no problem in those directories then.

Show
Michiel Meeuwissen added a comment - If files appear in the same directory in different overlays, then that may be the case. But normally, files from different overlays appear in different directories, and there is no problem in those directories then.

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated: