|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Bean which is used in Jelly Scripts and serves as a proxy to Artifact Deployer API Note that all paths in repository are computed and source file name is igonred. Other remark: To deploy an artifact means much more then to copy single file. In every case also MD5 file created and copied to remote repository. In case of snapshots the process in even more complex.
Method Summary | |
void |
deploy(String artifact,
String type,
org.apache.maven.project.Project project,
org.apache.maven.repository.ArtifactTypeHandler handler)
Deploy given artifact to remote repository. |
void |
deploySnapshot(String artifact,
String type,
org.apache.maven.project.Project project,
org.apache.maven.repository.ArtifactTypeHandler handler)
Deploy given artifact as a snapshot to remote repository. |
void |
install(String artifact,
String type,
org.apache.maven.project.Project project,
org.apache.maven.repository.ArtifactTypeHandler handler)
Install given artifact in local repository. |
void |
installSnapshot(String artifact,
String type,
org.apache.maven.project.Project project,
org.apache.maven.repository.ArtifactTypeHandler handler)
Install given artifact as snapshot in local repository. |
Method Detail |
public void deploy(String artifact, String type, org.apache.maven.project.Project project, org.apache.maven.repository.ArtifactTypeHandler handler) throws org.apache.maven.MavenException
artifact
- Artifact filenametype
- The type of the artifact
(like war
, jar
)project
- The project which is a producer of the artifacthandler
- the type handler for the artifact
org.apache.maven.MavenException
public void deploySnapshot(String artifact, String type, org.apache.maven.project.Project project, org.apache.maven.repository.ArtifactTypeHandler handler) throws org.apache.maven.MavenException
artifact
- type
- The type of the artifact
(like war
, jar
)project
- The project which is a producer of the artifacthandler
- the type handler for the artifact
org.apache.maven.MavenException
public void install(String artifact, String type, org.apache.maven.project.Project project, org.apache.maven.repository.ArtifactTypeHandler handler) throws org.apache.maven.MavenException
artifact
- file name of the artifacttype
- The type of the artifact
(like war
, jar
)project
- The project which is a producer of the artifacthandler
- the type handler for the artifact
org.apache.maven.MavenException
public void installSnapshot(String artifact, String type, org.apache.maven.project.Project project, org.apache.maven.repository.ArtifactTypeHandler handler) throws org.apache.maven.MavenException
artifact
- type
- The type of the artifact
(like war
, jar
)project
- The project which is a producer of the artifacthandler
- the type handler for the artifact
org.apache.maven.MavenException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |