
org.arakhne.maven.ExtendedArtifact Maven / Gradle / Ivy
The newest version!
/*
* $Id: org/arakhne/maven/ExtendedArtifact.java v17.0 2020-01-04 14:50:14$
* This file is a part of the Arakhne Foundation Classes, http://www.arakhne.org/afc
*
* Copyright (c) 2000-2012 Stephane GALLAND.
* Copyright (c) 2005-10, Multiagent Team, Laboratoire Systemes et Transports,
* Universite de Technologie de Belfort-Montbeliard.
* Copyright (c) 2013-2020 The original authors, and other authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.arakhne.maven;
import java.io.File;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.handler.ArtifactHandler;
import org.apache.maven.artifact.metadata.ArtifactMetadata;
import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
import org.apache.maven.artifact.versioning.ArtifactVersion;
import org.apache.maven.artifact.versioning.OverConstrainedVersionException;
import org.apache.maven.artifact.versioning.VersionRange;
import org.apache.maven.model.Contributor;
import org.apache.maven.model.Developer;
import org.apache.maven.model.License;
import org.apache.maven.model.Organization;
import org.apache.maven.model.Scm;
import org.apache.maven.plugin.logging.Log;
/**
* Artifact implementation which also includes the artifact name,
* contributors, authors, and website.
*
* @author Stéphane GALLAND
* @version 17.0 2020-01-04 14:50:14
* @mavengroupid org.arakhne.afc.maven
* @mavenartifactid maventools
*/
@SuppressWarnings({"checkstyle:methodcount"})
public final class ExtendedArtifact implements Artifact {
/** Empty string constant.
*/
public static final String EMPTY_STRING = ""; //$NON-NLS-1$
private final String artifactName;
private final Artifact original;
private final List extends Developer> developers;
private final List extends Contributor> contributors;
private final String website;
private final Organization organization;
private final Scm scm;
private final String scmRevision;
private final List extends License> licenses;
private Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy