Adding to Mike Brown's answer, Java EE 6 GAV for a web profile:
<dependency> <groupId>javax</groupId> <artifactId>javaee-web-api</artifactId> <version>6</version> <scope>provided</scope> </dependency>
In particular, pay attention to the scope: "provided." This means that your Maven project will be associated with this, but it expects your runtime to have implementations. For TomEE, GlassFish, JBoss AS 7.x, etc. It really is.
source share