<dependency>
<groupId>org.glassfish.main.javaee-api</groupId>
<artifactId>javax.annotation</artifactId>
<version>3.1.2</version>
</dependency>
@Grapes(
@Grab(group='org.glassfish.main.javaee-api', module='javax.annotation', version='3.1.2')
)
<parent> <groupId>org.glassfish.main.javaee-api</groupId> <artifactId>javaee-api</artifactId> <version>3.1.2</version> </parent>