www-repository mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <steve.lough...@gmail.com>
Subject Re: long project names & repositories
Date Sat, 09 Apr 2005 19:57:40 GMT
On Apr 9, 2005 2:25 AM, Brett Porter <brett.porter@gmail.com> wrote:
http://cvs.apache.org/viewcvs.cgi/maven-components/maven-artifact/src/main/java/org/apache/maven/artifact/repository/layout/DefaultRepositoryLayout.java?rev=1.8&view=markup
> 


        path.append( artifact.getBaseVersion() ).append( '/' );
        path.append( artifact.getArtifactId() ).append( '-' ).append(
artifact.getVersion() );

        if ( artifact.hasClassifier() )
        {
            path.append( '-' ).append( artifact.getClassifier() );
        }

        path.append( '.' ).append( artifactHandler.extension() );

-this assumes that version!=null. Is this the case.
-what's a classifer
-what if you want an artifact that has no "." at the end? A null
extension should be a null extension; an empty extension to .

Mime
View raw message