Issue #6224 make jspc mojo maven threadsafe (#6230)

* Issue #6224 make jspc mojo maven threadsafe

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* restore previous behaviour

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
This commit is contained in:
Olivier Lamy 2021-05-07 12:07:16 +10:00 committed by GitHub
parent 8d46d3fc8f
commit 04e5c4e077
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,8 @@ import org.eclipse.jetty.util.resource.Resource;
* </p>
* Runs jspc compiler to produce .java and .class files
*/
@Mojo(name = "jspc", defaultPhase = LifecyclePhase.PROCESS_CLASSES, requiresDependencyResolution = ResolutionScope.COMPILE_PLUS_RUNTIME)
@Mojo(name = "jspc", defaultPhase = LifecyclePhase.PROCESS_CLASSES, requiresDependencyResolution = ResolutionScope.COMPILE_PLUS_RUNTIME,
threadSafe = true)
public class JspcMojo extends AbstractMojo
{
public static final String END_OF_WEBAPP = "</web-app>";