]> source.dussan.org Git - vaadin-framework.git/commitdiff
Inherit settings from parent pom (#8240)
authorLeif Åstrand <legioth@gmail.com>
Mon, 16 Jan 2017 08:43:57 +0000 (10:43 +0200)
committerAleksi Hietanen <aleksi@vaadin.com>
Mon, 16 Jan 2017 08:43:57 +0000 (10:43 +0200)
Without this, maven.compiler.source will not be set to 1.8 which
sometimes seems to make Eclipse think it should use Java 5 compiler
settings for the project, causing various issues.

test/widget-set-testutil/pom.xml

index 0a81446a5411d37ad63db6c38fa0dc7ad665338f..769d98c4e925162df66847573205d9bcb3062325 100644 (file)
@@ -2,26 +2,24 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
-    <groupId>com.vaadin</groupId>
     <artifactId>vaadin-test-widget-set-testutil</artifactId>
-    <version>8.0-SNAPSHOT</version>
     <packaging>jar</packaging>
-
-    <properties>
-        <vaadin.version>8.0-SNAPSHOT</vaadin.version>
-    </properties>
+    
+    <parent>
+        <groupId>com.vaadin</groupId>
+        <artifactId>vaadin-test</artifactId>
+        <version>8.0-SNAPSHOT</version>
+    </parent>
 
     <dependencies>
         <dependency>
             <groupId>com.vaadin</groupId>
             <artifactId>vaadin-server</artifactId>
-            <version>${vaadin.version}</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>com.vaadin</groupId>
             <artifactId>vaadin-testbench-api</artifactId>
-            <version>${vaadin.version}</version>
             <scope>provided</scope>
         </dependency>
         <dependency>