Sorry for formatting, let's try this again

<profile>
     <id>java8ge</id>
     <activation>
         <jdk>[1.8,)</jdk>
     </activation>
     <build>
     <plugins>
         <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-compiler-plugin</artifactId>
             <inherited>true</inherited>
             <configuration>
                 <testExcludes>
                     <testExclude>**/java14ge/**</testExclude>
                 </testExcludes>
             </configuration>
         </plugin>
     </plugins>
     </build>
</profile>

<profile>
     <id>java14ge</id>
     <activation>
         <jdk>[14,)</jdk>
     </activation>
     <build>
     <plugins>
         <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-compiler-plugin</artifactId>
             <inherited>true</inherited>
             <executions>
                 <execution>
                     <id>jdk14ge-testCompile</id>
                     <phase>test-compile</phase>
                     <goals>
                         <goal>testCompile</goal>
                     </goals>
                     <configuration>
                         <release>${java.vm.specification.version}</release>
                         <compilerArgs>
                             <arg>--enable-preview</arg>
                         </compilerArgs>
                         <testIncludes>
                             <testInclude>**/java14ge/**</testInclude>
                         </testIncludes>
                         <testExcludes>
                             <testExclude>com/**</testExclude>
                         </testExcludes>
                     </configuration>
                 </execution>
             </executions>
         </plugin>
     </plugins>
     </build>
</profile>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to