Closed GoogleCodeExporter closed 9 years ago
I, for one, do think it is a very sensible idea :-)
I'm happy for you to do the work, if you are...
Thank you
Original comment by samuel.l...@alfresco.com
on 31 May 2013 at 4:28
In my environment I have purge removing the solr_home directory... do you think
it makes more sense to do that or to remove the individual index folders?
Original comment by bwav...@ziaconsulting.com
on 31 May 2013 at 8:40
Sam, you seemed to volunteer yourself for this one...as I'm cleaning up the
issues, shall I schedule this for 1.0.2 (ASAP) or 1.1.0 (later with more
features)?
Thanks guys!
Original comment by colum...@gmail.com
on 21 Jun 2013 at 11:14
Original comment by colum...@gmail.com
on 21 Jun 2013 at 11:15
No, I just thought it was a good idea :-)
I can do it though.
What should be deleted then? See above question:
> In my environment I have purge removing the solr_home directory...
> do you think it makes more sense to do that or to remove the individual index
folders?
Original comment by samuel.l...@alfresco.com
on 21 Jun 2013 at 11:43
If we bind to the "clean" phase, then the custom configuration of the
maven-clean-plugin will just "decorate" the standard clean process. I suggest
then to delete the full folder as it will have to be recreated by this build.
Long story short we just need this (as per
https://maven.apache.org/plugins/maven-clean-plugin/examples/delete_additional_f
iles.html):
<profile>
<id>purge</id>
<plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
<fileset>
<directory>${project.build.directory}/solr_home</directory>
</fileset>
</filesets>
</configuration>
</plugin>
</plugins>
Or something like this. Sam, want to commit this one?
Original comment by gabriele...@alfresco.com
on 13 Aug 2013 at 3:03
Issue 138 has been merged into this issue.
Original comment by colum...@gmail.com
on 13 Sep 2013 at 12:52
This issue was closed by revision r713.
Original comment by colum...@gmail.com
on 30 Oct 2013 at 7:34
Now the purge profile cleans also Solr folder and all **/*.log files found
recursively from basedir.
Original comment by colum...@gmail.com
on 30 Oct 2013 at 7:35
Original comment by colum...@gmail.com
on 30 Oct 2013 at 7:35
Original issue reported on code.google.com by
bwav...@ziaconsulting.com
on 9 May 2013 at 3:27