public class JavaAppArtifactTypeHandler
extends org.apache.maven.repository.DefaultArtifactTypeHandler
Constructor and Description |
---|
JavaAppArtifactTypeHandler()
Constructs a type handler, that does not keep the extension in
the repository.
|
JavaAppArtifactTypeHandler(boolean keepExtension)
Constructs a type handler.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public JavaAppArtifactTypeHandler()
public JavaAppArtifactTypeHandler(boolean keepExtension)
keepExtension
- Flag to keep the type as extension in the
repository.public java.lang.String constructRepositoryFullPath(java.lang.String type, org.apache.maven.project.Project project, java.lang.String version)
constructRepositoryFullPath
in interface org.apache.maven.repository.ArtifactTypeHandler
constructRepositoryFullPath
in class org.apache.maven.repository.DefaultArtifactTypeHandler
project
- the project for the artifacttype
- The type of the artifactversion
- The version of the artifact (may be a snapshot)Copyright © 2002-2013 SourceForge. All Rights Reserved.