diff --git a/pom.xml b/pom.xml index c98995c..2515b2a 100755 --- a/pom.xml +++ b/pom.xml @@ -1,19 +1,20 @@ - + 4.0.0 org.sonatype.oss oss-parent - 7 + 9 com.vaynberg.wicket.select2 wicket-select2-parent 2.4-SNAPSHOT pom Wicket-Select2 Parent - Library for integrating Apache Wicket with CDI + Bridges Apache Wicket with Select2 components - + Apache 2 http://www.apache.org/licenses/LICENSE-2.0.txt repo @@ -27,15 +28,79 @@ HEAD - - UTF-8 - - wicket-select2 wicket-select2-examples + + + UTF-8 + UTF-8 + + true + true + true + 1.7 + 1.7 + + 8.1.17.v20150415 + 4.12 + 7.0.0 + + + + + + com.vaynberg.wicket.select2 + wicket-select2 + ${project.version} + + + commons-io + commons-io + 2.4 + + + org.apache.wicket + wicket-core + ${wicket.version} + + + org.json + json + 20140107 + + + + ch.qos.logback + logback-classic + 1.1.3 + test + true + + + + org.slf4j + slf4j-api + + + + + junit + junit + ${junit.version} + test + + + org.eclipse.jetty.aggregate + jetty-all-server + ${jetty.version} + test + true + + + @@ -69,51 +134,90 @@ - - - maven-compiler-plugin - - 1.6 - 1.6 - - 3.1 - + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.3 + + + org.apache.maven.plugins + maven-enforcer-plugin + 1.4 + + + + + + POM_SECTION_ORDER,DEPENDENCY_MANAGEMENT_ORDER,DEPENDENCY_ORDER,DEPENDENCY_CONFIGURATION,PLUGIN_MANAGEMENT_ORDER,PLUGIN_CONFIGURATION + scope,groupId,artifactId + provided,compile,runtime,test,import + import,provided,compile,runtime,test + + + true + + + + com.github.ferstl + pedantic-pom-enforcers + 1.2.0 + + + + + org.apache.maven.plugins + maven-release-plugin + 2.5.2 + + deploy + true + @{project.version} + + + + org.apache.maven.scm + maven-scm-provider-gitexe + 1.9.4 + + + + + org.apache.maven.plugins + maven-source-plugin + 2.4 + + + attach-sources + verify + + jar + + + + + + org.mortbay.jetty + jetty-maven-plugin + ${jetty.version} + + + + 8080 + 3600000 + + + + + + + org.apache.maven.plugins maven-source-plugin - 2.2.1 - - - attach-sources - verify - - jar - - - - - - org.apache.maven.plugins - maven-release-plugin - 2.4.2 - - deploy - true - @{project.version} - - - - org.apache.maven.scm - maven-scm-api - 1.9 - - - org.apache.maven.scm - maven-scm-provider-gitexe - 1.9 - - - - + + diff --git a/wicket-select2-examples/pom.xml b/wicket-select2-examples/pom.xml index 8b33706..a04206a 100755 --- a/wicket-select2-examples/pom.xml +++ b/wicket-select2-examples/pom.xml @@ -1,46 +1,35 @@ - + 4.0.0 - wicket-select2-parent com.vaynberg.wicket.select2 + wicket-select2-parent 2.4-SNAPSHOT + ../pom.xml - com.vaynberg.wicket.select2 wicket-select2-examples - 2.4-SNAPSHOT war Wicket-Select2 Examples - https://github.com/ivaynberg/wicket-select2 - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - - UTF-8 - 7.5.0.v20110901 - + + true + com.vaynberg.wicket.select2 wicket-select2 - ${project.version} - - org.eclipse.jetty.aggregate - jetty-all-server - ${jetty.version} - provided + ch.qos.logback + logback-classic junit junit - 4.10 - test + + + org.eclipse.jetty.aggregate + jetty-all-server @@ -48,17 +37,7 @@ org.mortbay.jetty jetty-maven-plugin - ${jetty.version} - - - - 8080 - 3600000 - - - - diff --git a/wicket-select2/pom.xml b/wicket-select2/pom.xml index 7ebed17..6fbcd09 100755 --- a/wicket-select2/pom.xml +++ b/wicket-select2/pom.xml @@ -1,45 +1,36 @@ - + 4.0.0 - wicket-select2-parent com.vaynberg.wicket.select2 + wicket-select2-parent 2.4-SNAPSHOT + ../pom.xml - com.vaynberg.wicket.select2 wicket-select2 - 2.4-SNAPSHOT + jar Wicket-Select2 Components - Bridges Apache Wicket with Select2 components - https://github.com/ivaynberg/wicket-select2 - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - - UTF-8 - - - org.json - json - 20090211 - - org.apache.wicket wicket-core - 6.0.0 - + + org.json + json + junit junit - 4.10 - test + + + + org.apache.maven.plugins + maven-compiler-plugin + + + diff --git a/wicket-select2/src/main/java/com/vaynberg/wicket/select2/Select2Choice.java b/wicket-select2/src/main/java/com/vaynberg/wicket/select2/Select2Choice.java index cc7f7e8..7862e2d 100755 --- a/wicket-select2/src/main/java/com/vaynberg/wicket/select2/Select2Choice.java +++ b/wicket-select2/src/main/java/com/vaynberg/wicket/select2/Select2Choice.java @@ -31,6 +31,7 @@ * type of choice object */ public class Select2Choice extends AbstractSelect2Choice { + private static final long serialVersionUID = 1L; public Select2Choice(String id, IModel model, ChoiceProvider provider) { super(id, model, provider); @@ -45,7 +46,7 @@ public Select2Choice(String id) { } @Override - protected void convertInput() { + public void convertInput() { String input = getWebRequest().getRequestParameters().getParameterValue(getInputName()).toString(); if (Strings.isEmpty(input)) { diff --git a/wicket-select2/src/main/java/com/vaynberg/wicket/select2/Select2MultiChoice.java b/wicket-select2/src/main/java/com/vaynberg/wicket/select2/Select2MultiChoice.java index 01a7bc0..c3d15fb 100755 --- a/wicket-select2/src/main/java/com/vaynberg/wicket/select2/Select2MultiChoice.java +++ b/wicket-select2/src/main/java/com/vaynberg/wicket/select2/Select2MultiChoice.java @@ -34,6 +34,7 @@ * type of choice object */ public class Select2MultiChoice extends AbstractSelect2Choice> { + private static final long serialVersionUID = 1L; public Select2MultiChoice(String id, IModel> model, ChoiceProvider provider) { super(id, model, provider); @@ -48,7 +49,7 @@ public Select2MultiChoice(String id) { } @Override - protected void convertInput() { + public void convertInput() { String input = getWebRequest().getRequestParameters().getParameterValue(getInputName()).toString();