Skip to content

Commit

Permalink
Add vaadin-core dependency and update spring.provides (#313)
Browse files Browse the repository at this point in the history
Add a test that dependency is applied.
Update polymer to version 2.6.0
  • Loading branch information
ZheSun88 authored and caalador committed May 25, 2018
1 parent ebe9c5f commit 8e2e673
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions vaadin-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@
</dependencyManagement>

<dependencies>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-core</artifactId>
</dependency>

<!-- Spring -->
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
provides: flow-spring-addon, spring-boot-starter-web, flow-html-components
provides: vaadin-spring-addon, spring-boot-starter-web, vaadin-components
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerEndpointsConfigurer;
import org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerSecurityConfigurer;

import com.vaadin.flow.component.button.Button;
import com.vaadin.flow.spring.annotation.EnableVaadin;

@SpringBootApplication
Expand All @@ -38,6 +39,9 @@ public class TestServletInitializer implements AuthorizationServerConfigurer {

public static void main(String[] args) {
SpringApplication.run(TestServletInitializer.class, args);
// declare here only for testing, if the vaadin-core dependency presents
// otherwise compilation error
Button button = new Button();
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion vaadin-spring-tests/test-spring-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<dependency>
<groupId>org.webjars.bowergithub.polymer</groupId>
<artifactId>polymer</artifactId>
<version>2.5.0</version>
<version>2.6.0</version>
</dependency>

</dependencies>
Expand Down

0 comments on commit 8e2e673

Please sign in to comment.