Re: Programatically obtain .war from local repo

2012-11-02 Thread Jeff Jensen
Thanks for the suggestions. I tried the dependency plugin. Works great as a Maven goal. I have not found a m2e lifecycle mapping for unpack yet; finding some info, so hope to make it work within the IDE. Tried this [0] with but only removed the warning of no lifecycle mapped. Will continue tryi

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

Programatically obtain .war from local repo

2012-11-02 Thread Jeff Jensen
We have some integration tests and prefer to use an embedded Tomcat instance vs deploying to an external, running server (avoid external dep problem). The tests are in a separate module than the war module. The need is to retrieve the built war from the local repo and explode it into the working

[ANN] Maven Shared Utils 0.1 Released

2012-11-02 Thread Kristian Rosenvold
The Maven team is pleased to announce the initial release of maven-shared-utils, version 0.1 This project aims to be a functional replacement for {{{http://plexus.codehaus.org/plexus-utils}plexus-utils}} in Maven. It is not a 100% API compatible replacement though but a replacement : lots of meth

Re: Include child binaries in a assembly distribution

2012-11-02 Thread Billy Newman
So I am following: http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html Seems pretty straight forward. I have create a child module (put it at the end of the module list in the parent), but I am getting this error: 'The following patterns