Filipe Sousa created MENFORCER-337:
--------------------------------------

             Summary: Detected JDK Version: 11.0.4 is not in the allowed range 
12
                 Key: MENFORCER-337
                 URL: https://issues.apache.org/jira/browse/MENFORCER-337
             Project: Maven Enforcer Plugin
          Issue Type: Bug
          Components: Standard Rules
    Affects Versions: 3.0.0-M2
            Reporter: Filipe Sousa


{code:xml}
<build>
 <plugins>
 <plugin>
 <groupId>org.apache.maven.plugins</groupId>
 <artifactId>maven-enforcer-plugin</artifactId>
 <version>3.0.0-M2</version>
 <configuration>
 <rules>
 <requireJavaVersion>
 <version>12</version>
 </requireJavaVersion>
 </rules>
 </configuration>
 </plugin>
 </plugins>
</build>{code}
{{[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce) @ java8-demo ---}}
{{[INFO] Adding ignore: module-info}}
{{[INFO] Adding ignore: META-INF/versions/*/module-info}}
{{[WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireJavaVersion failed 
with message:}}
{{Detected JDK Version: 11.0.4 is not in the allowed range 12.}}
{{[INFO] 
------------------------------------------------------------------------}}
{{[INFO] BUILD FAILURE}}
{{[INFO] 
------------------------------------------------------------------------}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to