servlet-api is currently explicitly removed from nxserver/lib in assemblies since it's provided by the server but retrieved from the dependency tree.
Set the dependency as "provided" to avoid the removal. Assemblies for environments missing servlet-api will have to explicitly add it.