org.apache.openejb.resolver.maven
Class Parser

java.lang.Object
  extended by org.apache.openejb.resolver.maven.Parser

public class Parser
extends Object

This class respects both Maven Coordinates - groupId:artifactId:packaging:classifier:version - http://maven.apache.org/pom.html#Maven_Coordinates And OPS4j coordinates - groupId/artifactId/version/packaging/classifier - https://ops4j1.jira.com/wiki/display/paxurl/Mvn+Protocol


Constructor Summary
Parser(String rawPath)
           
 
Method Summary
 String getArtifact()
           
 String getArtifactLocalMetdataPath()
           
 String getArtifactMetdataPath()
           
 String getArtifactPath()
           
 String getArtifactPath(String version)
           
 String getClassifier()
           
 String getGroup()
           
 org.ops4j.pax.url.maven.commons.MavenRepositoryURL getRepositoryURL()
           
 String getSnapshotPath(String version, String timestamp, String buildnumber)
           
 String getSnapshotVersion(String version, String timestamp, String buildnumber)
           
 String getType()
           
 String getVersion()
           
 String getVersionLocalMetadataPath(String version)
           
 String getVersionMetadataPath(String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parser

public Parser(String rawPath)
       throws MalformedURLException
Throws:
MalformedURLException
Method Detail

getGroup

public String getGroup()

getArtifact

public String getArtifact()

getVersion

public String getVersion()

getType

public String getType()

getClassifier

public String getClassifier()

getArtifactPath

public String getArtifactPath()

getArtifactPath

public String getArtifactPath(String version)

getSnapshotVersion

public String getSnapshotVersion(String version,
                                 String timestamp,
                                 String buildnumber)

getSnapshotPath

public String getSnapshotPath(String version,
                              String timestamp,
                              String buildnumber)

getVersionMetadataPath

public String getVersionMetadataPath(String version)

getVersionLocalMetadataPath

public String getVersionLocalMetadataPath(String version)

getArtifactLocalMetdataPath

public String getArtifactLocalMetdataPath()

getArtifactMetdataPath

public String getArtifactMetdataPath()

getRepositoryURL

public org.ops4j.pax.url.maven.commons.MavenRepositoryURL getRepositoryURL()


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.