Question

I tried to edit my index.html file in my target directory. For an unknown reason, after the editing, it switches back to it's old version.

No correct solution

OTHER TIPS

The target directory is the default output directory for Maven projects. If you are trying to edit a file, edit it from within the src directory. As soon as you clean, compile, install, etc the target directory will be overwritten with the latest output.

edit: are you sure you are editing the right file? Maybe you should be editing index.apt? https://maven.apache.org/plugins/maven-site-plugin/examples/creating-content.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top