Hi, Should we really delete stuff outside the target folder upon clean ?
Usually I run the launcher with the sling.home outside of target exactly for not having it removed upon each "maven clean". Regards Felix Am Freitag, den 25.01.2008, 13:44 +0000 schrieb [EMAIL PROTECTED]: > Author: bdelacretaz > Date: Fri Jan 25 05:44:17 2008 > New Revision: 615221 > > URL: http://svn.apache.org/viewvc?rev=615221&view=rev > Log: > Delete the sling directory when running "mvn clean", to avoid confusion when > old stuff is left there > > Modified: > incubator/sling/trunk/launcher/app/pom.xml > > Modified: incubator/sling/trunk/launcher/app/pom.xml > URL: > http://svn.apache.org/viewvc/incubator/sling/trunk/launcher/app/pom.xml?rev=615221&r1=615220&r2=615221&view=diff > ============================================================================== > --- incubator/sling/trunk/launcher/app/pom.xml (original) > +++ incubator/sling/trunk/launcher/app/pom.xml Fri Jan 25 05:44:17 2008 > @@ -52,6 +52,21 @@ > > <build> > <plugins> > + <plugin> > + <!-- > + The clean plugin deletes the sling work directory as well, > + to avoid confusion with leftovers from previous runs > + --> > + <artifactId>maven-clean-plugin</artifactId> > + <configuration> > + <filesets> > + <fileset> > + <directory>sling</directory> > + </fileset> > + </filesets> > + </configuration> > + </plugin> > + > <!-- Bundles to list in the installer properties file --> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > >