From 58b0155c2bd467d0aa7dd4a8ded253e03f24c970 Mon Sep 17 00:00:00 2001 From: Willem Date: Sat, 10 Jun 2017 18:04:24 +0200 Subject: [PATCH] Added jdk9 pre-checking --- ...figParameterValueScripterObjectOrList.java | 2 +- pom.xml | 41 +++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/ff-tpquery-store/src/main/java/net/forwardfire/tpquery/config/TPQConfigParameterValueScripterObjectOrList.java b/ff-tpquery-store/src/main/java/net/forwardfire/tpquery/config/TPQConfigParameterValueScripterObjectOrList.java index db5ab12..83778e7 100644 --- a/ff-tpquery-store/src/main/java/net/forwardfire/tpquery/config/TPQConfigParameterValueScripterObjectOrList.java +++ b/ff-tpquery-store/src/main/java/net/forwardfire/tpquery/config/TPQConfigParameterValueScripterObjectOrList.java @@ -55,6 +55,6 @@ public class TPQConfigParameterValueScripterObjectOrList implements TPQConfigPar String function = functionName+"("+queryParameter.getValueType()+",'"+value+"')"; // Wrap in value holder because these values will not change anymore. - return PREFIX_JS+TPQFactory.ParameterValueFunction.CREATE_VALUE_HOLDER+"("+function+");"; + return PREFIX_JS+TPQFactory.ParameterValueFunction.CREATE_VALUE_HOLDER+"("+function+");"; // TODO: check if prefix should be removed. } } diff --git a/pom.xml b/pom.xml index f801700..d0e96a7 100644 --- a/pom.xml +++ b/pom.xml @@ -164,6 +164,47 @@ + + + org.apache.maven.plugins + maven-jdeps-plugin + 3.0.0 + + + validate + + jdkinternals + test-jdkinternals + + + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + 1.4.1 + + + validate + + enforce + + + + + + + (3.0,) + + + + + +