Re: Optional dependency not overlaid

2012-12-14 Thread Winsor, Daniel
years old. The first thing >I'd do is try a later version to see if it solves your problem. The >latest version is 2.3. > >On 2012-12-08 02:32, Winsor, Daniel wrote: >> Hi, >> >> I have declared an optional dependency, but it is not bei

Optional dependency not overlaid

2012-12-07 Thread Winsor, Daniel
Hi, I have declared an optional dependency, but it is not being overlaid with maven-war-plugin v 2.0 //parent-of-everything/pom.xml org.apache.maven.plugins maven-war-plugin to-be-overlaid **

Should maven-war-plugin accept null includes?

2012-11-02 Thread Winsor, Daniel
Hi, I ran into the use case where I'd like to have an overlay that will either include a file or not, depending on a property. EG file1 file2 ${some.property} Where Unfortunately this results in an exception being thrown during the build, since the file is null -> Failed to e

Re: Programatically obtain .war from local repo

2012-11-02 Thread Winsor, Daniel
Hi, If I understood correctly, what I'd do is make a dummy pom with a maven-dependency-plugin:unpack goal with output directory as the working directory, then just build that dummy project whenever you want. Another thing you can do is overlay the .war when building the test module, or vice versa

Help Plugin Not Reporting All Profiles

2012-10-29 Thread Winsor, Daniel
Hi, I have a pom with a parent pom. Both poms have profiles, some of which are active and some of which are not. The parent pom has a profile that is activated by the existence of a file, as below. However, when I run mvn help:active-profiles on the _child_ pom I do not get this profile to s