JPackageArtifactProperties (List<ArtifactPropertiesState> stateList) { final ArtifactPropertiesState state = findApplicationProperties(stateList); if (state != null) { final Element options = state.getOptions(); if (options != null) { return new JPackageArtifactProperties(XmlSerializer.deserialize(options, JPackageArtifactProperties.class)); } } return new JPackageArtifactProperties(); }