Artifact artifact = new DefaultArtifact(ModuleRevisionId.newInstance(_organisation, _module, _revision), _pubdate, artifactName, type, ext); artifacts.add(artifact);
Artifact artifact = new DefaultArtifact(_mrid, _pubdate, artifactName, type, ext); _artifacts.add(artifact);
                public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {                    if ("module".equals(qName)) {                        _organisation = attributes.getValue("organisation");                        _module = attributes.getValue("name");                    } else if ("revision".equals(qName)) {                        _revision = attributes.getValue("name");                        if (attributes.getValue("error") != null || attributes.getValue("evicted") != null) {                            _skip = true;                        } else {                            try {                                _pubdate = Ivy.DATE_FORMAT.parse(attributes.getValue("pubdate"));                                _skip = false;                            } catch (ParseException e) {                                throw new IllegalArgumentException("invalid publication date for "+_organisation+" "+_module+" "+_revision+": "+attributes.getValue("pubdate"));                            }                        }                    } else if ("artifact".equals(qName)) {                        if (_skip) {                            return;                        }                        String status = attributes.getValue("status");                        if (status != null && "failed".equals(status)) {                            return;                        }                        String artifactName = attributes.getValue("name");                        String type = attributes.getValue("type");                        String ext = attributes.getValue("ext");                        Artifact artifact = new DefaultArtifact(ModuleRevisionId.newInstance(_organisation, _module, _revision), _pubdate, artifactName, type, ext);                        artifacts.add(artifact);                    }                }