unit = config.createPersistenceUnit();
}
else
{
// FORGE-2049: Call all Remove methods until there is a decent way to do this in ShrinkWrap Descriptors
unit.removeAllClazz().removeAllJarFile().removeAllMappingFile().removeDescription()
.removeExcludeUnlistedClasses().removeJtaDataSource().removeName().removeNonJtaDataSource()
.removeProperties().removeProvider();
}
unit.name(unitName).description(DEFAULT_UNIT_DESC);