jspc-maven-plugin icon indicating copy to clipboard operation
jspc-maven-plugin copied to clipboard

jspc-maven-plugin does not release usage of scanned logfiles files.

Open hofmanndavid opened this issue 3 years ago • 2 comments

I am trying to wrap my head around the next. I think there is some classpath issues here.

  • When I execute a mvn clean package build with the jspc-maven-plugin on prepare-package phase the plugin runs fine, but then when maven-war-plugin is trying to move stuff it fails the build saying that log4j-api-2.14.1.jar: The process cannot access the file because it is being used by another process.
  • When I comment out the jspc-maven-plugin the maven war plugin has no problem moving things around to make the war.

This behaviour is repeatable.

I am running jspc-maven-plugin in prepare-package phase since my project uses overlays and I don't what this plugin to only compile jsps from my project, but also the overlayed projects so I point it to the target/ folder.

I am using version 2.4.6 compiling for tomcat 8.5 running on jvm version 8.

hofmanndavid avatar Nov 22 '21 18:11 hofmanndavid

I've never heard about this but I'm happy to merge a PR if you find out what the cause is.

2.4.6 and Java 8 are both very old versions though.

leonardehrenfried avatar Nov 25 '21 10:11 leonardehrenfried