Skip to content

Commit ef5013c

Browse files
jboadasmaibin
authored andcommitted
Delete Vaadin from libraries (eugenp#2309)
* Delete Vaadin from libraries * Add Vaadin to tutorials
1 parent 226acd5 commit ef5013c

11 files changed

Lines changed: 177 additions & 193 deletions

File tree

‎libraries/pom.xml‎

Lines changed: 0 additions & 183 deletions
Original file line numberDiff line numberDiff line change
@@ -71,78 +71,8 @@
7171
</execution>
7272
</executions>
7373
</plugin>
74-
<!-- Vaadin -->
75-
<plugin>
76-
<groupId>org.apache.maven.plugins</groupId>
77-
<artifactId>maven-war-plugin</artifactId>
78-
<version>3.0.0</version>
79-
<configuration>
80-
<failOnMissingWebXml>false</failOnMissingWebXml>
81-
<packagingExcludes>WEB-INF/classes/VAADIN/widgetsets/WEB-INF/**</packagingExcludes>
82-
</configuration>
83-
</plugin>
84-
<plugin>
85-
<groupId>com.vaadin</groupId>
86-
<artifactId>vaadin-maven-plugin</artifactId>
87-
<version>${vaadin.plugin.version}</version>
88-
<executions>
89-
<execution>
90-
<goals>
91-
<goal>update-theme</goal>
92-
<goal>update-widgetset</goal>
93-
<goal>compile</goal>
94-
<goal>compile-theme</goal>
95-
</goals>
96-
</execution>
97-
</executions>
98-
</plugin>
99-
<plugin>
100-
<groupId>org.apache.maven.plugins</groupId>
101-
<artifactId>maven-clean-plugin</artifactId>
102-
<version>3.0.0</version>
103-
<configuration>
104-
<filesets>
105-
<fileset>
106-
<directory>src/main/webapp/VAADIN/themes</directory>
107-
<includes>
108-
<include>**/styles.css</include>
109-
<include>**/styles.scss.cache</include>
110-
</includes>
111-
</fileset>
112-
</filesets>
113-
</configuration>
114-
</plugin>
115-
<plugin>
116-
<groupId>org.eclipse.jetty</groupId>
117-
<artifactId>jetty-maven-plugin</artifactId>
118-
<version>${jetty.version}</version>
119-
<configuration>
120-
<scanIntervalSeconds>2</scanIntervalSeconds>
121-
<skipTests>true</skipTests>
122-
</configuration>
123-
</plugin>
124-
<!-- /Vaadin -->
12574
</plugins>
12675
</build>
127-
<!-- Vaadin -->
128-
<repositories>
129-
<repository>
130-
<id>vaadin-addons</id>
131-
<url>http://maven.vaadin.com/vaadin-addons</url>
132-
</repository>
133-
</repositories>
134-
<dependencyManagement>
135-
<dependencies>
136-
<dependency>
137-
<groupId>com.vaadin</groupId>
138-
<artifactId>vaadin-bom</artifactId>
139-
<version>${vaadin.version}</version>
140-
<type>pom</type>
141-
<scope>import</scope>
142-
</dependency>
143-
</dependencies>
144-
</dependencyManagement>
145-
<!-- /Vaadin -->
14676
<dependencies>
14777
<!-- https://mvnrepository.com/artifact/cglib/cglib -->
14878
<dependency>
@@ -463,72 +393,6 @@
463393
<version>${org.hamcrest.java-hamcrest.version}</version>
464394
<scope>test</scope>
465395
</dependency>
466-
<!-- Vaadin -->
467-
<dependency>
468-
<groupId>com.vaadin</groupId>
469-
<artifactId>vaadin-server</artifactId>
470-
</dependency>
471-
<dependency>
472-
<groupId>com.vaadin</groupId>
473-
<artifactId>vaadin-client-compiled</artifactId>
474-
</dependency>
475-
<dependency>
476-
<groupId>com.vaadin</groupId>
477-
<artifactId>vaadin-themes</artifactId>
478-
</dependency>
479-
<dependency>
480-
<groupId>com.vaadin</groupId>
481-
<artifactId>vaadin-push</artifactId>
482-
</dependency>
483-
<dependency>
484-
<groupId>org.seleniumhq.selenium</groupId>
485-
<artifactId>selenium-java</artifactId>
486-
<scope>test</scope>
487-
<version>3.4.0</version>
488-
</dependency>
489-
<dependency>
490-
<groupId>org.seleniumhq.selenium</groupId>
491-
<artifactId>htmlunit-driver</artifactId>
492-
<version>2.27</version>
493-
</dependency>
494-
<dependency>
495-
<groupId>org.eclipse.jetty.websocket</groupId>
496-
<artifactId>websocket-server</artifactId>
497-
<version>${jetty.version}</version>
498-
</dependency>
499-
<dependency>
500-
<groupId>org.eclipse.jetty.websocket</groupId>
501-
<artifactId>websocket-client</artifactId>
502-
<version>${jetty.version}</version>
503-
</dependency>
504-
<dependency>
505-
<groupId>org.eclipse.jetty.websocket</groupId>
506-
<artifactId>websocket-api</artifactId>
507-
<version>${jetty.version}</version>
508-
</dependency>
509-
<dependency>
510-
<groupId>org.eclipse.jetty.websocket</groupId>
511-
<artifactId>websocket-common</artifactId>
512-
<version>${jetty.version}</version>
513-
</dependency>
514-
<dependency>
515-
<groupId>org.eclipse.jetty</groupId>
516-
<artifactId>jetty-continuation</artifactId>
517-
<version>${jetty.version}</version>
518-
</dependency>
519-
<dependency>
520-
<groupId>org.eclipse.jetty</groupId>
521-
<artifactId>jetty-util</artifactId>
522-
<version>${jetty.version}</version>
523-
</dependency>
524-
<dependency>
525-
<groupId>org.seleniumhq.selenium</groupId>
526-
<artifactId>selenium-api</artifactId>
527-
<version>3.4.0</version>
528-
<scope>test</scope>
529-
<type>jar</type>
530-
</dependency>
531-
<!-- /Vaadin -->
532396
<dependency>
533397
<groupId>net.agkn</groupId>
534398
<artifactId>hll</artifactId>
@@ -580,54 +444,7 @@
580444
<pact.version>3.5.0</pact.version>
581445
<awaitility.version>3.0.0</awaitility.version>
582446
<org.hamcrest.java-hamcrest.version>2.0.0.0</org.hamcrest.java-hamcrest.version>
583-
<!-- Vaadin -->
584-
<vaadin.version>7.7.10</vaadin.version>
585-
<vaadin.plugin.version>8.0.6</vaadin.plugin.version>
586-
<vaadin.theme>mytheme</vaadin.theme>
587-
<!-- /Vaadin -->
588447
<hll.version>1.6.0</hll.version>
589448
<bytebuddy.version>1.7.1</bytebuddy.version>
590449
</properties>
591-
<profiles>
592-
<!-- Vaadin -->
593-
<profile>
594-
<id>vaadin-prerelease</id>
595-
<activation>
596-
<activeByDefault>false</activeByDefault>
597-
</activation>
598-
<repositories>
599-
<repository>
600-
<id>vaadin-prereleases</id>
601-
<url>http://maven.vaadin.com/vaadin-prereleases</url>
602-
</repository>
603-
<repository>
604-
<id>vaadin-snapshots</id>
605-
<url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
606-
<releases>
607-
<enabled>false</enabled>
608-
</releases>
609-
<snapshots>
610-
<enabled>true</enabled>
611-
</snapshots>
612-
</repository>
613-
</repositories>
614-
<pluginRepositories>
615-
<pluginRepository>
616-
<id>vaadin-prereleases</id>
617-
<url>http://maven.vaadin.com/vaadin-prereleases</url>
618-
</pluginRepository>
619-
<pluginRepository>
620-
<id>vaadin-snapshots</id>
621-
<url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
622-
<releases>
623-
<enabled>false</enabled>
624-
</releases>
625-
<snapshots>
626-
<enabled>true</enabled>
627-
</snapshots>
628-
</pluginRepository>
629-
</pluginRepositories>
630-
</profile>
631-
<!-- Vaadin -->
632-
</profiles>
633450
</project>

‎libraries/src/main/webapp/VAADIN/themes/valo/addons.scss‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎vaadin/pom.xml‎

Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<groupId>org.test</groupId>
7+
<artifactId>vaadin-app</artifactId>
8+
<packaging>war</packaging>
9+
<version>1.0-SNAPSHOT</version>
10+
<name>vaadin-app</name>
11+
12+
<prerequisites>
13+
<maven>3</maven>
14+
</prerequisites>
15+
16+
<properties>
17+
<vaadin.version>7.7.10</vaadin.version>
18+
<vaadin.plugin.version>8.0.6</vaadin.plugin.version>
19+
<jetty.plugin.version>9.3.9.v20160517</jetty.plugin.version>
20+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21+
<maven.compiler.source>1.8</maven.compiler.source>
22+
<maven.compiler.target>1.8</maven.compiler.target>
23+
<vaadin.widgetset.mode>local</vaadin.widgetset.mode>
24+
<vaadin.theme>mytheme</vaadin.theme>
25+
</properties>
26+
27+
<repositories>
28+
<repository>
29+
<id>vaadin-addons</id>
30+
<url>http://maven.vaadin.com/vaadin-addons</url>
31+
</repository>
32+
</repositories>
33+
34+
<dependencyManagement>
35+
<dependencies>
36+
<dependency>
37+
<groupId>com.vaadin</groupId>
38+
<artifactId>vaadin-bom</artifactId>
39+
<version>${vaadin.version}</version>
40+
<type>pom</type>
41+
<scope>import</scope>
42+
</dependency>
43+
</dependencies>
44+
</dependencyManagement>
45+
46+
<dependencies>
47+
<dependency>
48+
<groupId>javax.servlet</groupId>
49+
<artifactId>javax.servlet-api</artifactId>
50+
<version>3.0.1</version>
51+
<scope>provided</scope>
52+
</dependency>
53+
<dependency>
54+
<groupId>com.vaadin</groupId>
55+
<artifactId>vaadin-server</artifactId>
56+
</dependency>
57+
<dependency>
58+
<groupId>com.vaadin</groupId>
59+
<artifactId>vaadin-push</artifactId>
60+
</dependency>
61+
<dependency>
62+
<groupId>com.vaadin</groupId>
63+
<artifactId>vaadin-client-compiled</artifactId>
64+
</dependency>
65+
<dependency>
66+
<groupId>com.vaadin</groupId>
67+
<artifactId>vaadin-themes</artifactId>
68+
</dependency>
69+
</dependencies>
70+
71+
<build>
72+
<plugins>
73+
<plugin>
74+
<groupId>org.apache.maven.plugins</groupId>
75+
<artifactId>maven-war-plugin</artifactId>
76+
<version>3.0.0</version>
77+
<configuration>
78+
<failOnMissingWebXml>false</failOnMissingWebXml>
79+
<!-- Exclude an unnecessary file generated by the GWT compiler. -->
80+
<packagingExcludes>WEB-INF/classes/VAADIN/widgetsets/WEB-INF/**</packagingExcludes>
81+
</configuration>
82+
</plugin>
83+
<plugin>
84+
<groupId>com.vaadin</groupId>
85+
<artifactId>vaadin-maven-plugin</artifactId>
86+
<version>${vaadin.plugin.version}</version>
87+
<executions>
88+
<execution>
89+
<goals>
90+
<goal>update-theme</goal>
91+
<goal>update-widgetset</goal>
92+
<goal>compile</goal>
93+
<!-- Comment out compile-theme goal to use on-the-fly theme compilation -->
94+
<goal>compile-theme</goal>
95+
</goals>
96+
</execution>
97+
</executions>
98+
</plugin>
99+
<plugin>
100+
<groupId>org.apache.maven.plugins</groupId>
101+
<artifactId>maven-clean-plugin</artifactId>
102+
<version>3.0.0</version>
103+
<!-- Clean up also any pre-compiled themes -->
104+
<configuration>
105+
<filesets>
106+
<fileset>
107+
<directory>src/main/webapp/VAADIN/themes</directory>
108+
<includes>
109+
<include>**/styles.css</include>
110+
<include>**/styles.scss.cache</include>
111+
</includes>
112+
</fileset>
113+
</filesets>
114+
</configuration>
115+
</plugin>
116+
117+
<!-- The Jetty plugin allows us to easily test the development build by
118+
running jetty:run on the command line. -->
119+
<plugin>
120+
<groupId>org.eclipse.jetty</groupId>
121+
<artifactId>jetty-maven-plugin</artifactId>
122+
<version>${jetty.plugin.version}</version>
123+
<configuration>
124+
<scanIntervalSeconds>2</scanIntervalSeconds>
125+
</configuration>
126+
</plugin>
127+
</plugins>
128+
</build>
129+
130+
<profiles>
131+
<profile>
132+
<!-- Vaadin pre-release repositories -->
133+
<id>vaadin-prerelease</id>
134+
<activation>
135+
<activeByDefault>false</activeByDefault>
136+
</activation>
137+
138+
<repositories>
139+
<repository>
140+
<id>vaadin-prereleases</id>
141+
<url>http://maven.vaadin.com/vaadin-prereleases</url>
142+
</repository>
143+
<repository>
144+
<id>vaadin-snapshots</id>
145+
<url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
146+
<releases>
147+
<enabled>false</enabled>
148+
</releases>
149+
<snapshots>
150+
<enabled>true</enabled>
151+
</snapshots>
152+
</repository>
153+
</repositories>
154+
<pluginRepositories>
155+
<pluginRepository>
156+
<id>vaadin-prereleases</id>
157+
<url>http://maven.vaadin.com/vaadin-prereleases</url>
158+
</pluginRepository>
159+
<pluginRepository>
160+
<id>vaadin-snapshots</id>
161+
<url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
162+
<releases>
163+
<enabled>false</enabled>
164+
</releases>
165+
<snapshots>
166+
<enabled>true</enabled>
167+
</snapshots>
168+
</pluginRepository>
169+
</pluginRepositories>
170+
</profile>
171+
</profiles>
172+
173+
</project>

libraries/src/main/java/com/baeldung/vaadin/BindData.java renamed to vaadin/src/main/java/com/baeldung/introduction/BindData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.baeldung.vaadin;
1+
package com.baeldung.introduction;
22

33
public class BindData {
44

0 commit comments

Comments
 (0)