You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2017/08/06 11:51:36 UTC
[1/4] wicket git commit: Library versions are updated
Repository: wicket
Updated Branches:
refs/heads/master 4a72c9909 -> 549ff6300
Library versions are updated
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/dad47df0
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/dad47df0
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/dad47df0
Branch: refs/heads/master
Commit: dad47df0bde5cb1ab312d719ac9283c52abb7301
Parents: c5f758e
Author: Maxim Solodovnik <so...@gmail.com>
Authored: Sat Aug 5 22:08:45 2017 +0700
Committer: Maxim Solodovnik <so...@gmail.com>
Committed: Sat Aug 5 22:08:45 2017 +0700
----------------------------------------------------------------------
pom.xml | 24 ++++++++++++------------
testing/wicket-arquillian/pom.xml | 4 ++--
2 files changed, 14 insertions(+), 14 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/dad47df0/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index ec0b726..fdbc63e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -126,10 +126,10 @@
<!-- Project Versions -->
<cglib.version>3.2.5</cglib.version>
<jacoco.version>0.7.9</jacoco.version>
- <jetty.version>9.4.5.v20170502</jetty.version>
+ <jetty.version>9.4.6.v20170531</jetty.version>
<joda-time.version>2.9.9</joda-time.version>
<junit.version>4.12</junit.version>
- <spring.version>4.3.8.RELEASE</spring.version>
+ <spring.version>4.3.10.RELEASE</spring.version>
<servlet-api.version>3.1.0</servlet-api.version>
<maven.javadoc.version>2.10.4</maven.javadoc.version>
<maven.surefire.version>2.20</maven.surefire.version>
@@ -137,9 +137,9 @@
<slf4j.version>1.7.25</slf4j.version>
<log4j.version>2.8.2</log4j.version>
<hamcrest.version>2.0.0.0</hamcrest.version>
- <objenesis.version>2.5.1</objenesis.version>
+ <objenesis.version>2.6</objenesis.version>
<aspectj.version>1.8.10</aspectj.version>
- <metrics.version>3.2.2</metrics.version>
+ <metrics.version>3.2.3</metrics.version>
</properties>
<dependencyManagement>
@@ -147,7 +147,7 @@
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
- <version>3.0.1</version>
+ <version>3.0.2</version>
<scope>provided</scope>
</dependency>
<dependency>
@@ -176,7 +176,7 @@
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
- <version>1.1.0.Final</version>
+ <version>2.0.0.Final</version>
<scope>provided</scope>
</dependency>
<dependency>
@@ -224,7 +224,7 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
- <version>2.8.8</version>
+ <version>2.9.0</version>
<optional>true</optional>
</dependency>
<dependency>
@@ -235,7 +235,7 @@
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
- <version>1.3.2</version>
+ <version>1.3.3</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
@@ -266,7 +266,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
- <version>3.5</version>
+ <version>3.6</version>
</dependency>
<dependency>
<groupId>org.apache.velocity</groupId>
@@ -428,13 +428,13 @@
<dependency>
<groupId>org.danekja</groupId>
<artifactId>jdk-serializable-functional</artifactId>
- <version>1.8.2</version>
+ <version>1.8.3</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>com.github.openjson</groupId>
<artifactId>openjson</artifactId>
- <version>1.0.7</version>
+ <version>1.0.8</version>
<type>jar</type>
</dependency>
<dependency>
@@ -538,7 +538,7 @@
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
- <version>5.3.4.Final</version>
+ <version>6.0.1.Final</version>
<scope>test</scope>
</dependency>
<dependency>
http://git-wip-us.apache.org/repos/asf/wicket/blob/dad47df0/testing/wicket-arquillian/pom.xml
----------------------------------------------------------------------
diff --git a/testing/wicket-arquillian/pom.xml b/testing/wicket-arquillian/pom.xml
index 73d148d..94613da 100644
--- a/testing/wicket-arquillian/pom.xml
+++ b/testing/wicket-arquillian/pom.xml
@@ -42,12 +42,12 @@
<wicket.arquillian.management.port>11091</wicket.arquillian.management.port>
<!-- end port configuration -->
- <arquillian.version>1.1.12.Final</arquillian.version>
+ <arquillian.version>1.1.13.Final</arquillian.version>
<maven.dependency.plugin.version>2.10</maven.dependency.plugin.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<wildfly.version>8.2.1.Final</wildfly.version>
<version.wildfly.maven.plugin>1.0.2.Final</version.wildfly.maven.plugin>
- <jee.spec.version>1.0.3.Final</jee.spec.version>
+ <jee.spec.version>1.1.0.Final</jee.spec.version>
</properties>
<dependencyManagement>
[3/4] wicket git commit: Clean up Clirr configurations.
Posted by mg...@apache.org.
Clean up Clirr configurations.
For some reason wicket-cdi 7.x was compared against Wicket 6.1.0
(cherry picked from commit a89f2a7b7d4e915c86c2622cbf16f879fa7085da)
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/180fad12
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/180fad12
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/180fad12
Branch: refs/heads/master
Commit: 180fad12e586d6e75aaa4528f72f3fb089244cc4
Parents: e1aa1a1
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Sun Aug 6 14:00:48 2017 +0300
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Sun Aug 6 14:45:20 2017 +0300
----------------------------------------------------------------------
wicket-cdi/pom.xml | 29 -----------------------------
wicket-devutils/pom.xml | 13 -------------
wicket-experimental/pom.xml | 17 ++++-------------
3 files changed, 4 insertions(+), 55 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/180fad12/wicket-cdi/pom.xml
----------------------------------------------------------------------
diff --git a/wicket-cdi/pom.xml b/wicket-cdi/pom.xml
index 21d4112..ffb927d 100644
--- a/wicket-cdi/pom.xml
+++ b/wicket-cdi/pom.xml
@@ -61,33 +61,4 @@
<artifactId>junit</artifactId>
</dependency>
</dependencies>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>clirr-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>clirr-check</id>
- <phase>compile</phase>
- <goals>
- <goal>check</goal>
- </goals>
- <configuration>
- <comparisonVersion>6.1.0</comparisonVersion>
- <failOnError>true</failOnError>
- <logResults>true</logResults>
- </configuration>
- </execution>
- </executions>
- <configuration>
- <comparisonVersion>6.1.0</comparisonVersion>
- <failOnError>true</failOnError>
- <logResults>true</logResults>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
</project>
http://git-wip-us.apache.org/repos/asf/wicket/blob/180fad12/wicket-devutils/pom.xml
----------------------------------------------------------------------
diff --git a/wicket-devutils/pom.xml b/wicket-devutils/pom.xml
index b5bee39..b21d499 100644
--- a/wicket-devutils/pom.xml
+++ b/wicket-devutils/pom.xml
@@ -41,17 +41,4 @@
<artifactId>wicket-extensions</artifactId>
</dependency>
</dependencies>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>clirr-maven-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
</project>
http://git-wip-us.apache.org/repos/asf/wicket/blob/180fad12/wicket-experimental/pom.xml
----------------------------------------------------------------------
diff --git a/wicket-experimental/pom.xml b/wicket-experimental/pom.xml
index 1c9c529..ff4012a 100644
--- a/wicket-experimental/pom.xml
+++ b/wicket-experimental/pom.xml
@@ -32,17 +32,8 @@
<module>wicket-http2</module>
<module>wicket-metrics</module>
</modules>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>clirr-maven-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
+
+ <properties>
+ <clirr.skip>true</clirr.skip>
+ </properties>
</project>
[2/4] wicket git commit: WICKET-6432 added factory method for
non-model targetChainingModel logs warning now if target is not serializable
Posted by mg...@apache.org.
WICKET-6432 added factory method for non-model targetChainingModel logs warning now if target is not serializable
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/e1aa1a1c
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/e1aa1a1c
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/e1aa1a1c
Branch: refs/heads/master
Commit: e1aa1a1cd3340ce71a0c1dea28a11d1738c73ffa
Parents: dad47df
Author: Sven Meier <sv...@apache.org>
Authored: Sun Aug 6 09:24:04 2017 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Sun Aug 6 14:45:20 2017 +0300
----------------------------------------------------------------------
.../java/org/apache/wicket/model/ChainingModel.java | 6 ++++++
.../apache/wicket/model/CompoundPropertyModel.java | 16 ++++++++++++++++
2 files changed, 22 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/e1aa1a1c/wicket-core/src/main/java/org/apache/wicket/model/ChainingModel.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/model/ChainingModel.java b/wicket-core/src/main/java/org/apache/wicket/model/ChainingModel.java
index 8d8df3f..fa0ca7a 100644
--- a/wicket-core/src/main/java/org/apache/wicket/model/ChainingModel.java
+++ b/wicket-core/src/main/java/org/apache/wicket/model/ChainingModel.java
@@ -16,6 +16,8 @@
*/
package org.apache.wicket.model;
+import java.io.Serializable;
+
import org.apache.wicket.Session;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -46,6 +48,10 @@ public class ChainingModel<T> implements IChainingModel<T>
+ "in models directly as it may lead to serialization problems. "
+ "If you need to access a property of the session via the model use the "
+ "page instance as the model object and 'session.attribute' as the path.");
+ } else if (modelObject instanceof Serializable == false)
+ {
+ LOG.warn("It is not a good idea to reference a non-serializable instance "
+ + "in models directly as it may lead to serialization problems.");
}
target = modelObject;
http://git-wip-us.apache.org/repos/asf/wicket/blob/e1aa1a1c/wicket-core/src/main/java/org/apache/wicket/model/CompoundPropertyModel.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/model/CompoundPropertyModel.java b/wicket-core/src/main/java/org/apache/wicket/model/CompoundPropertyModel.java
index 50bd4a0..6146529 100644
--- a/wicket-core/src/main/java/org/apache/wicket/model/CompoundPropertyModel.java
+++ b/wicket-core/src/main/java/org/apache/wicket/model/CompoundPropertyModel.java
@@ -16,6 +16,8 @@
*/
package org.apache.wicket.model;
+import java.io.Serializable;
+
import org.apache.wicket.Component;
/**
@@ -155,4 +157,18 @@ public class CompoundPropertyModel<T> extends ChainingModel<T> implements ICompo
{
return new CompoundPropertyModel<>(model);
}
+
+ /**
+ * Type-infering factory method
+ *
+ * @param <Z>
+ * the type of the model's object
+ * @param object
+ * model object
+ * @return {@link CompoundPropertyModel} instance
+ */
+ public static <Z extends Serializable> CompoundPropertyModel<Z> of(Z object)
+ {
+ return new CompoundPropertyModel<>(object);
+ }
}
[4/4] wicket git commit: Merge branch 'pr-228-WICKET-6437'
Posted by mg...@apache.org.
Merge branch 'pr-228-WICKET-6437'
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/549ff630
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/549ff630
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/549ff630
Branch: refs/heads/master
Commit: 549ff6300985eab44dea59a3a6120e78632ebe6c
Parents: 4a72c99 180fad1
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Sun Aug 6 14:51:24 2017 +0300
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Sun Aug 6 14:51:24 2017 +0300
----------------------------------------------------------------------
pom.xml | 24 ++++++++++----------
testing/wicket-arquillian/pom.xml | 4 ++--
.../wicket/model/CompoundPropertyModel.java | 2 +-
3 files changed, 15 insertions(+), 15 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/549ff630/wicket-core/src/main/java/org/apache/wicket/model/CompoundPropertyModel.java
----------------------------------------------------------------------
diff --cc wicket-core/src/main/java/org/apache/wicket/model/CompoundPropertyModel.java
index 74bf429,6146529..6f821d8
--- a/wicket-core/src/main/java/org/apache/wicket/model/CompoundPropertyModel.java
+++ b/wicket-core/src/main/java/org/apache/wicket/model/CompoundPropertyModel.java
@@@ -157,10 -157,10 +157,10 @@@ public class CompoundPropertyModel<T> e
{
return new CompoundPropertyModel<>(model);
}
-
+
/**
* Type-infering factory method
- *
+ *
* @param <Z>
* the type of the model's object
* @param object