Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimone Bordet2015-02-20 10:08:18 -0500
committerSimone Bordet2015-02-20 10:08:18 -0500
commita01d85f0d9b525b6505156c721e6fdb813437716 (patch)
treef05d3cd012784321defa79b0379aa745d5643686 /jetty-jspc-maven-plugin
parent2d932fe5c7bdb157f76f6dc81cbb0fd1005a2635 (diff)
parentb69b8dfe504943b20f86b56233dc791a8081712e (diff)
downloadorg.eclipse.jetty.project-a01d85f0d9b525b6505156c721e6fdb813437716.tar.gz
org.eclipse.jetty.project-a01d85f0d9b525b6505156c721e6fdb813437716.tar.xz
org.eclipse.jetty.project-a01d85f0d9b525b6505156c721e6fdb813437716.zip
Merged branch 'jetty-9.2.x' into 'master'.
Diffstat (limited to 'jetty-jspc-maven-plugin')
-rw-r--r--jetty-jspc-maven-plugin/src/main/java/org/eclipse/jetty/jspc/plugin/JspcMojo.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/jetty-jspc-maven-plugin/src/main/java/org/eclipse/jetty/jspc/plugin/JspcMojo.java b/jetty-jspc-maven-plugin/src/main/java/org/eclipse/jetty/jspc/plugin/JspcMojo.java
index df5492b6cd..a6e87552f4 100644
--- a/jetty-jspc-maven-plugin/src/main/java/org/eclipse/jetty/jspc/plugin/JspcMojo.java
+++ b/jetty-jspc-maven-plugin/src/main/java/org/eclipse/jetty/jspc/plugin/JspcMojo.java
@@ -439,6 +439,9 @@ public class JspcMojo extends AbstractMojo
}
}
+ if (atEOF && !atInsertPoint)
+ throw new IllegalStateException("web.xml does not contain insertionMarker "+insertionMarker);
+
//put in a context init-param to flag that the contents have been precompiled
mergedWebXmlWriter.println("<context-param><param-name>"+PRECOMPILED_FLAG+"</param-name><param-value>true</param-value></context-param>");

Back to the top