Hi James, > -----Original Message----- > From: Phillpotts, James [mailto:[email protected]] > Sent: Tuesday, June 26, 2012 5:06 PM > To: [email protected] > Subject: Sling content location using maven-launchpad-plugin:start > > Hi all, > > I'm using the maven-launchpad-plugin to run sling while I perform some > cucumber tests against it. This works fine until I try to re-run the > build a subsequent time, because some of the leftovers from the last > run > is left in the $PWD/sling directory. > > Even if I do mvn clean integration-test, this directory is still left, > because it's not been put in the target directory. Is there any way to > get it to do so?
If you want the sling directory to be cleaned up you should configure the maven-clean-plugin to do so [1] . I suppose that sling was not placed inside target to prevent `mvn clean` from wiping out data in the repository while doing development. Robert [1]: http://maven.apache.org/plugins/maven-clean-plugin/clean-mojo.html#filesets > > Cheers, > James > > > PS. Sorry for legalese... > > > > Information in this e-mail and any attachments is confidential, and may > not be copied or used by anyone other than the addressee, nor disclosed > to any third party without our permission. There is no intention to > create any legally binding contract or other binding commitment through > the use of this electronic communication unless it is issued in > accordance with the Experian Limited standard terms and conditions of > purchase or other express written agreement between Experian Limited > and the recipient. Although Experian has taken reasonable steps to > ensure that this communication and any attachments are free from > computer virus, you are advised to take your own steps to ensure that > they are actually virus free. > > Companies Act information: Registered name: Experian Limited. > Registered office: Landmark House, Experian Way, NG2 Business Park, > Nottingham, NG80 1ZZ, United Kingdom. Place of registration: England > and Wales. Registered number: 653331
