Skip to content

Commit

Permalink
Upgrade to vaadin 8
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollovati committed Mar 14, 2017
1 parent aee795d commit 3c8e587
Show file tree
Hide file tree
Showing 13 changed files with 75 additions and 39 deletions.
5 changes: 4 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
<groupId>org.vaadin</groupId>
<artifactId>spinkit-root</artifactId>
<packaging>pom</packaging>
<version>0.1.0</version>
<version>1.0.0</version>
<name>Spinkit Add-on Root Project</name>
<prerequisites>
<maven>3.0</maven>
</prerequisites>

<organization>
<name>Marco Collovati</name>
Expand Down
40 changes: 31 additions & 9 deletions spinkit-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,23 @@
<groupId>org.vaadin</groupId>
<artifactId>spinkit-demo</artifactId>
<packaging>war</packaging>
<version>0.1.0</version>
<version>1.0.0</version>
<name>MyComponent Add-on Demo</name>
<prerequisites>
<maven>3.0</maven>
</prerequisites>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<vaadin.version>7.5.6</vaadin.version>
<vaadin.version>8.0.2</vaadin.version>
<vaadin.plugin.version>${vaadin.version}</vaadin.plugin.version>
</properties>

<organization>
<name>My Name</name>
<name>Marco Collovati</name>
<url>https://github.com/mcollovati</url>
</organization>
<inceptionYear>2016</inceptionYear>
<inceptionYear>2016-2017</inceptionYear>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/mcollovati/vaadin-spinkit/issues</url>
Expand Down Expand Up @@ -87,15 +90,34 @@
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-client-compiler</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-compatibility-server</artifactId>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-compatibility-shared</artifactId>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-compatibility-client</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-themes</artifactId>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-compatibility-themes</artifactId>
</dependency>
<dependency>
<groupId>org.vaadin</groupId>
<artifactId>viritin</artifactId>
<version>1.49</version>
<!-- <version>1.61v8-SNAPSHOT</version> -->
<version>2.0.alpha1</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
Expand All @@ -111,7 +133,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<version>3.5.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
Expand All @@ -120,7 +142,7 @@

<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>2.4.1</version>
<version>2.5</version>
<configuration>
<filesets>
<fileset>
Expand Down Expand Up @@ -159,13 +181,13 @@
<artifactId>vaadin-maven-plugin</artifactId>
<version>${vaadin.plugin.version}</version>
<configuration>
<extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs>
<extraJvmArgs>-Xmx2048M -Xss1024k</extraJvmArgs>
<webappDirectory>${basedir}/src/main/webapp/VAADIN/widgetsets</webappDirectory>
<hostedWebapp>${basedir}/src/main/webapp/VAADIN/widgetsets</hostedWebapp>
<noServer>true</noServer>
<persistentunitcachedir>${basedir}/target/tmp/gwt-unitCache</persistentunitcachedir>
<compileReport>true</compileReport>
<strict>true</strict>
<!-- <strict>true</strict> -->
<runTarget>http://localhost:8080/</runTarget>
</configuration>
<executions>
Expand Down
23 changes: 14 additions & 9 deletions spinkit-demo/src/main/java/org/vaadin/spinkit/demo/DemoUI.java
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/**
* Copyright (C) 2016 Marco Collovati ([email protected])
* <p>
* Copyright (C) 2016-2017 Marco Collovati ([email protected])
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand All @@ -18,18 +18,23 @@
import com.vaadin.annotations.Theme;
import com.vaadin.annotations.Title;
import com.vaadin.annotations.VaadinServletConfiguration;
import com.vaadin.data.util.converter.StringToEnumConverter;
import com.vaadin.server.VaadinRequest;
import com.vaadin.server.VaadinServlet;
import com.vaadin.ui.*;
import com.vaadin.ui.Alignment;
import com.vaadin.ui.Component;
import com.vaadin.ui.GridLayout;
import com.vaadin.ui.HorizontalLayout;
import com.vaadin.ui.TabSheet;
import com.vaadin.ui.UI;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.themes.ValoTheme;
import com.vaadin.v7.data.util.converter.StringToEnumConverter;
import com.vaadin.v7.ui.ComboBox;
import org.vaadin.spinkit.Spinner;
import org.vaadin.spinkit.SpinnerLabel;
import org.vaadin.spinkit.shared.SpinnerSize;
import org.vaadin.spinkit.shared.SpinnerType;
import org.vaadin.viritin.label.MLabel;
import org.vaadin.viritin.label.RichText;
import org.vaadin.viritin.layouts.MHorizontalLayout;
import org.vaadin.viritin.layouts.MVerticalLayout;

import javax.servlet.annotation.WebServlet;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,6 @@
<inherits name="com.vaadin.DefaultWidgetSet" />

<inherits name="org.vaadin.spinkit.SpinkitWidgetSet" />

<inherits name="com.vaadin.v7.Vaadin7WidgetSet" />
</module>
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# SpinKit Add-on for Vaadin 7
# SpinKit Add-on for Vaadin

[Vaadin](http://vaadin.com) UI component that integrates [SpinKit](http://tobiasahlin.com/spinkit/) CSS spinners.
25 changes: 14 additions & 11 deletions spinkit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@
<groupId>org.vaadin</groupId>
<artifactId>spinkit</artifactId>
<packaging>jar</packaging>
<version>0.1.0</version>
<version>1.0.0</version>
<name>Spinkit Add-on</name>

<prerequisites>
<maven>3.0</maven>
</prerequisites>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<vaadin.version>7.6.4</vaadin.version>
<vaadin.version>8.0.2</vaadin.version>
<vaadin.plugin.version>${vaadin.version}</vaadin.plugin.version>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
Expand All @@ -28,7 +31,7 @@
<name>Marco Collovati</name>
<url>https://github.com/mcollovati</url>
</organization>
<inceptionYear>2016</inceptionYear>
<inceptionYear>2016-2017</inceptionYear>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/mcollovati/vaadin-spinkit/issues</url>
Expand Down Expand Up @@ -90,7 +93,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.1</version>
<version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand All @@ -101,13 +104,13 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<version>3.5.1</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<version>3.0.2</version>
<configuration>
<archive>
<index>true</index>
Expand All @@ -129,7 +132,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
<version>2.10.4</version>
<executions>
<execution>
<id>attach-javadoc</id>
Expand All @@ -143,7 +146,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<version>3.0.1</version>
<executions>
<execution>
<id>attach-sources</id>
Expand All @@ -157,7 +160,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2.1</version>
<version>2.6</version>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
Expand All @@ -178,13 +181,13 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.14.1</version>
<version>2.19.1</version>
</plugin>

<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>2.11</version>
<version>3.0</version>
<configuration>
<header>src/license/APACHE-2.txt</header>
<properties>
Expand Down
2 changes: 1 addition & 1 deletion spinkit/src/main/java/org/vaadin/spinkit/Spinner.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2016 Marco Collovati ([email protected])
* Copyright (C) 2016-2017 Marco Collovati ([email protected])
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
5 changes: 3 additions & 2 deletions spinkit/src/main/java/org/vaadin/spinkit/SpinnerLabel.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2016 Marco Collovati ([email protected])
* Copyright (C) 2016-2017 Marco Collovati ([email protected])
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -15,7 +15,8 @@
*/
package org.vaadin.spinkit;

import com.vaadin.shared.ui.label.ContentMode;

import com.vaadin.shared.ui.ContentMode;
import com.vaadin.ui.Label;
import org.vaadin.spinkit.shared.SpinnerType;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2016 Marco Collovati ([email protected])
* Copyright (C) 2016-2017 Marco Collovati ([email protected])
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2016 Marco Collovati ([email protected])
* Copyright (C) 2016-2017 Marco Collovati ([email protected])
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2016 Marco Collovati ([email protected])
* Copyright (C) 2016-2017 Marco Collovati ([email protected])
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2016 Marco Collovati ([email protected])
* Copyright (C) 2016-2017 Marco Collovati ([email protected])
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2016 Marco Collovati ([email protected])
* Copyright (C) 2016-2017 Marco Collovati ([email protected])
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down

0 comments on commit 3c8e587

Please sign in to comment.