Package org.apache.maven.artifact.versioning

Examples of org.apache.maven.artifact.versioning.InvalidVersionSpecificationException


    {
        VersionRange spec = VersionRange.createFromVersionSpec( dependency.getVersion() );

        if ( spec == null )
        {
            throw new InvalidVersionSpecificationException( "Dependency version was null" );
        }

        return artifactFactory.createDependencyArtifact( dependency.getGroupId(), dependency.getArtifactId(), spec,
                                                         dependency.getType(), dependency.getClassifier(), dependency
                                                             .getScope() );
View Full Code Here

TOP

Related Classes of org.apache.maven.artifact.versioning.InvalidVersionSpecificationException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.