package com.vaadin.tests.integration;
+import java.io.Serializable;
+
import com.vaadin.annotations.DesignRoot;
import com.vaadin.annotations.Widgetset;
import com.vaadin.server.ClassResource;
@Widgetset("com.vaadin.DefaultWidgetSet")
public class ServletIntegrationUI extends UI {
- public static class Country {
+ public static class Country implements Serializable {
private final String name;
private final String id;
private final Resource icon;
<!-- Generic cargo plugin configuration. Define container to use in submodule. -->
<plugin>
<groupId>org.codehaus.cargo</groupId>
- <artifactId>cargo-maven2-plugin</artifactId>
+ <artifactId>cargo-maven3-plugin</artifactId>
+ <version>1.9.4</version>
<configuration>
<configuration>
<type>standalone</type>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<configuration>
+ <supportedPackagings>pom,jar,war</supportedPackagings>
<webApp>
<contextPath>${context.path}</contextPath>
</webApp>
<!-- Server configuration -->
<plugin>
<groupId>org.codehaus.cargo</groupId>
- <artifactId>cargo-maven2-plugin</artifactId>
+ <artifactId>cargo-maven3-plugin</artifactId>
<configuration>
<container>
<containerId>tomcat7x</containerId>
<!-- Server configuration -->
<plugin>
<groupId>org.codehaus.cargo</groupId>
- <artifactId>cargo-maven2-plugin</artifactId>
+ <artifactId>cargo-maven3-plugin</artifactId>
<configuration>
<container>
<containerId>tomcat8x</containerId>
<!-- Server configuration -->
<plugin>
<groupId>org.codehaus.cargo</groupId>
- <artifactId>cargo-maven2-plugin</artifactId>
+ <artifactId>cargo-maven3-plugin</artifactId>
<configuration>
<container>
<containerId>tomcat8x</containerId>
<!-- Server configuration -->
<plugin>
<groupId>org.codehaus.cargo</groupId>
- <artifactId>cargo-maven2-plugin</artifactId>
+ <artifactId>cargo-maven3-plugin</artifactId>
<configuration>
<container>
<containerId>tomcat9x</containerId>