vaadin / maven-plugin

Vaadin Maven Plug-in
4 stars 18 forks source link

Lots of warnings when compiling a project without theme or widget set #50

Closed vaadin-bot closed 8 years ago

vaadin-bot commented 10 years ago

Originally by @Artur-


Building a newly created Vaadin project from which the theme and widgetset has been removed outputs

[INFO] --- vaadin-maven-plugin:7.3.1:update-theme (default) @ clara-potus ---
[WARNING] Vaadin plugin could not find any themes.
[INFO] No themes found. Use the parameter "vaadin.theme" to explicitly select a theme.
[INFO] 
[INFO] --- vaadin-maven-plugin:7.3.1:compile-theme (default) @ clara-potus ---
[WARNING] Vaadin plugin could not find any themes.
[INFO] No themes found. Use the parameter "vaadin.theme" to explicitly select a theme.
...
[INFO] --- vaadin-maven-plugin:7.3.1:resources (default) @ clara-potus ---
[WARNING] GWT plugin is configured to detect modules, but none were found.
...
[INFO] --- vaadin-maven-plugin:7.3.1:update-widgetset (default) @ clara-potus ---
[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.3.1:update-theme (default) @ clara-potus ---
[WARNING] Vaadin plugin could not find any themes.
[INFO] No themes found. Use the parameter "vaadin.theme" to explicitly select a theme.
[INFO] 
[INFO] --- vaadin-maven-plugin:7.3.1:compile-theme (default) @ clara-potus ---
[WARNING] Vaadin plugin could not find any themes.
[INFO] No themes found. Use the parameter "vaadin.theme" to explicitly select a theme.
...
[INFO] --- vaadin-maven-plugin:7.3.1:resources (default) @ clara-potus ---
[WARNING] GWT plugin is configured to detect modules, but none were found.
...
[INFO] --- vaadin-maven-plugin:7.3.1:compile (default) @ clara-potus ---
[WARNING] GWT plugin is configured to detect modules, but none were found.
[WARNING] Failed to retrieve com.vaadin:vaadin-client-compiler based on project POM
[INFO] Using com.vaadin:vaadin-client-compiler version 7.3.1

It's a bit unclear why I need to know four times that I don't have a theme and four times that I don't have a GWT module (widget set). It's also a bit unclear what

[WARNING] Failed to retrieve com.vaadin:vaadin-client-compiler based on project POM
[INFO] Using com.vaadin:vaadin-client-compiler version 7.3.1

means as I would expect it to use 7.3.1, as the used Vaadin version is 7.3.1


Imported from https://dev.vaadin.com/ issue #14735

vaadin-bot commented 9 years ago

Originally by basil.bourque


I too get this message when compiling my Vaadin 7.4.4 app on NetBeans 8.0.2

Failed to retrieve com.vaadin:vaadin-client-compiler based on project POM

Here is more of the text where that message appears:


--- vaadin-maven-plugin:7.4.4:update-widgetset (default) @ PowerWrangler ---
auto discovered modules [com.powerwrangler.main.AppWidgetSet]
Updating widgetset com.powerwrangler.main.AppWidgetSet
Adding resource directory to command classpath: /Users/brainydeveloper/NetBeansProjects/PowerWrangler/src/main/resources
Failed to retrieve com.vaadin:vaadin-client-compiler based on project POM
Downloading: http://maven.vaadin.com/vaadin-addons/com/vaadin/vaadin-client-compiler/7.4.4/vaadin-client-compiler-7.4.4.jar

Downloading: http://repo.maven.apache.org/maven2/com/vaadin/vaadin-client-compiler/7.4.4/vaadin-client-compiler-7.4.4.jar
vaadin-bot commented 8 years ago

Originally by @hesara


Some parts addressed by https://dev.vaadin.com/review/#/c/13250

vaadin-bot commented 8 years ago

Originally by @hesara


These have been addressed in the appwidgetset feature branch. If there are still specific problems after taking that into wide use, please create separate tickets on that.