MVN

org.owasp.maven.enforcer : class-file-format-rule

Maven & Gradle

Sep 02, 2021
0 stars

class-file-format-rule · A maven-enforcer rule that ensures dependencies do not exceed the required class file format required by the JVM. In other words, if your project must support an older version of Java - this rule will ensure your dependencies are able to run in the older JVM.

<dependency>
    <groupId>org.owasp.maven.enforcer</groupId>
    <artifactId>class-file-format-rule</artifactId>
    <version>2.0.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.owasp.maven.enforcer : class-file-format-rule to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 2.0.0

All Versions

Choose a version of org.owasp.maven.enforcer : class-file-format-rule to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
2.0.x
class-file-format-rule-2.0.0
1.0.x
class-file-format-rule-1.0.1
class-file-format-rule-1.0.0

How to add a dependency to Maven

Add the following org.owasp.maven.enforcer : class-file-format-rule maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>org.owasp.maven.enforcer</groupId>
    <artifactId>class-file-format-rule</artifactId>
    <version>2.0.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following org.owasp.maven.enforcer : class-file-format-rule gradle dependency to your build.gradle file:

implementation 'org.owasp.maven.enforcer:class-file-format-rule:2.0.0'

Gradle Kotlin DSL: Add the following org.owasp.maven.enforcer : class-file-format-rule gradle kotlin dependency to your build.gradle.kts file:

implementation("org.owasp.maven.enforcer:class-file-format-rule:2.0.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following org.owasp.maven.enforcer : class-file-format-rule sbt scala dependency to your build.sbt file:

libraryDependencies += "org.owasp.maven.enforcer" % "class-file-format-rule" % "2.0.0"