Hello Vaadin Community,
I’m trying to install the CKEditor with maven. I added the depencies and tried cdn and local but it didnt change the outcome.
The widget compile process doesnt seem to work properly I think. I’m missing the .gwt.xml file.
Would help me a lot if someone knew how to set up the pom properly to execute this.
this is my pom.xml:
[code]
<?xml version="1.0" encoding="UTF-8"?>
4.0.0
<groupId>com.crayons_2_0</groupId>
<artifactId>crayons-spring</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>crayons-spring</name>
<description>Crayons Spring Boot</description>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.4.3.RELEASE</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
</properties>
<dependencies>
<!-- Spring 3 dependencies -->
<dependency>
<groupId>com.vaadin.pontus</groupId>
<artifactId>vizcomponent</artifactId>
<version>0.3</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.hs18.vaadin.addon/graph -->
<dependency>
<groupId>com.hs18.vaadin.addon</groupId>
<artifactId>graph</artifactId>
<version>0.0.7</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.webjars.bower/jointjs -->
<dependency>
<groupId>org.webjars.bower</groupId>
<artifactId>jointjs</artifactId>
<version>0.9.10</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.tinyjee.jgraphx/jgraphx -->
<dependency>
<groupId>org.tinyjee.jgraphx</groupId>
<artifactId>jgraphx</artifactId>
<version>1.10.1.3</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.hs18.vaadin.addon/graph -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-spring-boot-starter</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.vaadin.addons</groupId>
<artifactId>ckeditor-wrapper-for-vaadin</artifactId>
<version>7.11.1</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>vaadin-addons</id>
<url>http://maven.vaadin.com/vaadin-addons</url>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-bom</artifactId>
<version>7.7.5</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-maven-plugin</artifactId>
<version>7.6.7</version>
<configuration>
<widgetsetMode>cdn</widgetsetMode>
<extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs>
<webappDirectory>${basedir}/target/classes/VAADIN/widgetsets</webappDirectory>
<draftCompile>false</draftCompile>
<compileReport>false</compileReport>
<style>OBF</style>
<strict>true</strict>
</configuration>
<executions>
<execution>
<goals>
<goal>update-theme</goal>
<goal>update-widgetset</goal>
<goal>compile</goal>
<!-- Comment out compile-theme goal to use on-the-fly theme compilation -->
<goal>compile-theme</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
[/code]and this my console log:
[code]
[INFO]
Scanning for projects...
[INFO]
[INFO]
[INFO]
Building crayons-spring 0.0.1-SNAPSHOT
[INFO]
[INFO]
[INFO]
— vaadin-maven-plugin:7.6.7:update-widgetset (default-cli) @ crayons-spring —
[WARNING]
GWT plugin is configured to detect modules, but none were found.
[INFO]
No widgetsets to update.
[INFO]
To create a widgetset, define a non-existing module in your pom.xml .
[INFO]
[INFO]
vaadin-maven-plugin:7.6.7:compile (default-cli) > process-resources @ crayons-spring >>>
[INFO]
[INFO]
— vaadin-maven-plugin:7.6.7:update-theme (default) @ crayons-spring —
[INFO]
Updating theme VAADIN\themes\mytheme
[INFO]
Widgetsets found from classpath:
[INFO]
org.vaadin.openesignforms.ckeditor.widgetset.VaadinCKEditorWidgetset in jar:file:C:/Users/D064442/.m2/repository/org/vaadin/addons/ckeditor-wrapper-for-vaadin/7.11.1/ckeditor-wrapper-for-vaadin-7.11.1.jar!/
[INFO]
com.vaadin.pontus.vizcomponent.WidgetSet in jar:file:C:/Users/D064442/.m2/repository/com/vaadin/pontus/vizcomponent/0.3/vizcomponent-0.3.jar!/
[INFO]
Addon styles found from classpath:
[INFO]
[INFO]
Search took 19ms
[INFO]
Theme “VAADIN\themes\mytheme” updated
[INFO]
[INFO]
— vaadin-maven-plugin:7.6.7:compile-theme (default) @ crayons-spring —
[INFO]
Updating theme VAADIN\themes\mytheme
[INFO]
Theme “VAADIN\themes\mytheme” compiled
[INFO]
[INFO]
— maven-resources-plugin:2.6:resources (default-resources) @ crayons-spring —
[INFO]
Using ‘UTF-8’ encoding to copy filtered resources.
[INFO]
Copying 1 resource
[INFO]
Copying 6 resources
[INFO]
[INFO]
<<< vaadin-maven-plugin:7.6.7:compile (default-cli) < process-resources @ crayons-spring <<<
[INFO]
[INFO]
— vaadin-maven-plugin:7.6.7:compile (default-cli) @ crayons-spring —
[WARNING]
GWT plugin is configured to detect modules, but none were found.
[WARNING]
Failed to retrieve com.vaadin:vaadin-client based on project POM
[INFO]
Using com.vaadin:vaadin-client version 7.7.5
[WARNING]
Failed to retrieve com.vaadin:vaadin-client-compiler based on project POM
[INFO]
Using com.vaadin:vaadin-client-compiler version 7.7.5
[INFO]
[INFO]
BUILD SUCCESS
[INFO]
[INFO]
Total time: 7.705 s
[INFO]
Finished at: 2017-02-08T22:10:57+01:00
[INFO]
Final Memory: 17M/245M
[INFO]
[/code]