<dependency>
<groupId>org.glassfish.main.extras</groupId>
<artifactId>glassfish-embedded-nucleus</artifactId>
<version>4.0</version>
</dependency>
@Grapes(
@Grab(group='org.glassfish.main.extras', module='glassfish-embedded-nucleus', version='4.0')
)
<dependency org="org.glassfish.main.extras" name="glassfish-embedded-nucleus" rev="4.0" />