net.sourceforge.mavenplugins.javaapp
Class JavaAppArtifactTypeHandler
java.lang.Object
org.apache.maven.repository.DefaultArtifactTypeHandler
net.sourceforge.mavenplugins.javaapp.JavaAppArtifactTypeHandler
- All Implemented Interfaces:
- org.apache.maven.repository.ArtifactTypeHandler
public class JavaAppArtifactTypeHandler
- extends org.apache.maven.repository.DefaultArtifactTypeHandler
Handler for the type extension.
- Since:
- 1.3
- Author:
- Jörg Schaible
Method Summary |
java.lang.String |
constructRepositoryFullPath(java.lang.String type,
org.apache.maven.project.Project project,
java.lang.String version)
Map an artifact to a repository path. |
Methods inherited from class org.apache.maven.repository.DefaultArtifactTypeHandler |
constructRepositoryDirectoryPath |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaAppArtifactTypeHandler
public JavaAppArtifactTypeHandler()
- Constructs a type handler, that does not keep the extension in
the repository.
JavaAppArtifactTypeHandler
public JavaAppArtifactTypeHandler(boolean keepExtension)
- Constructs a type handler.
- Parameters:
keepExtension
- Flag to keep the type as extension in the
repository.
constructRepositoryFullPath
public java.lang.String constructRepositoryFullPath(java.lang.String type,
org.apache.maven.project.Project project,
java.lang.String version)
- Map an artifact to a repository path.
- Specified by:
constructRepositoryFullPath
in interface org.apache.maven.repository.ArtifactTypeHandler
- Overrides:
constructRepositoryFullPath
in class org.apache.maven.repository.DefaultArtifactTypeHandler
- Parameters:
project
- the project for the artifacttype
- The type of the artifactversion
- The version of the artifact (may be a snapshot)
- Returns:
- the path
Copyright © 2002-2009 SourceForge. All Rights Reserved.