Package org.apache.maven.archiva.repository.layout

Examples of org.apache.maven.archiva.repository.layout.BidirectionalRepositoryLayout.toArtifactReference()


                return;
            }

            try
            {
                artifact = resourceLayout.toArtifactReference( resource );
                if ( artifact != null )
                {
                    connectors.fetchFromProxies( managedRepository, artifact );
                    request.getRequest().setPathInfo( layout.toPath( artifact ) );
                    return;
View Full Code Here


            String relativePath = PathUtil.getRelative( managedRepository.getUrl().getPath(), repoFiles[i] );

            if ( matchesArtifactPattern( relativePath ) )
            {
                ArtifactReference artifact = layout.toArtifactReference( relativePath );

                return artifact;
            }
        }
View Full Code Here

            String relativePath = PathUtil.getRelative( managedRepository.getUrl().getPath(), repoFiles[i] );

            if ( matchesArtifactPattern( relativePath ) )
            {
                ArtifactReference artifact = layout.toArtifactReference( relativePath );

                if ( VersionUtil.isSnapshot( artifact.getVersion() ) )
                {
                    foundVersions.add( artifact.getVersion() );
                }
View Full Code Here

            return;
        }

        try
        {
            artifact = resourceLayout.toArtifactReference( resource );
            if ( artifact != null )
            {
                applyServerSideRelocation( artifact );

                connectors.fetchFromProxies( managedRepository, artifact );
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.