MVN

javax.annotation : javax.annotation-api

Maven & Gradle

Feb 21, 2018
5k usages
19 stars

javax.annotation API · Common Annotations for the JavaTM Platform API

<dependency>
    <groupId>javax.annotation</groupId>
    <artifactId>javax.annotation-api</artifactId>
    <version>1.3.2</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of javax.annotation : javax.annotation-api to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 1.3.2

All Versions

Choose a version of javax.annotation : javax.annotation-api to add to Maven or Gradle - All Versions:

  • Version Updated
  • javax.annotation-api-1.3.2

    Feb 21, 2018
  • javax.annotation-api-1.3.1

    Sep 13, 2017
  • javax.annotation-api-1.3

    Sep 22, 2016
  • javax.annotation-api-1.2

    Apr 26, 2013
  • javax.annotation-api-1.2-b04

    Mar 26, 2013
  • javax.annotation-api-1.2-b03

    Feb 15, 2013
  • javax.annotation-api-1.2-b02

    Feb 12, 2013
  • javax.annotation-api-1.2-b01

    Jan 16, 2013

How to add a dependency to Maven

Add the following javax.annotation : javax.annotation-api maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>javax.annotation</groupId>
    <artifactId>javax.annotation-api</artifactId>
    <version>1.3.2</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following javax.annotation : javax.annotation-api gradle dependency to your build.gradle file:

implementation 'javax.annotation:javax.annotation-api:1.3.2'

Gradle Kotlin DSL: Add the following javax.annotation : javax.annotation-api gradle kotlin dependency to your build.gradle.kts file:

implementation("javax.annotation:javax.annotation-api:1.3.2")

How to add a dependency to SBT Scala

SBT Scala: Add the following javax.annotation : javax.annotation-api sbt scala dependency to your build.sbt file:

libraryDependencies += "javax.annotation" % "javax.annotation-api" % "1.3.2"