Class LocalMavenRepositoryArtifactsDeployer
java.lang.Object
org.apache.sling.feature.cpconverter.artifacts.LocalMavenRepositoryArtifactsDeployer
- All Implemented Interfaces:
ArtifactsDeployer
Stores the deployed artifacts in a local Maven repository layout.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull String
deploy
(@NotNull ArtifactWriter artifactWriter, @Nullable String runmode, @NotNull org.apache.sling.feature.ArtifactId id) Deploy the artifact and return information about its location@NotNull File
-
Constructor Details
-
LocalMavenRepositoryArtifactsDeployer
-
-
Method Details
-
getBaseDirectory
-
deploy
@NotNull public @NotNull String deploy(@NotNull @NotNull ArtifactWriter artifactWriter, @Nullable @Nullable String runmode, @NotNull @NotNull org.apache.sling.feature.ArtifactId id) throws IOException Description copied from interface:ArtifactsDeployer
Deploy the artifact and return information about its location- Specified by:
deploy
in interfaceArtifactsDeployer
- Parameters:
artifactWriter
- The artifact writer to userunmode
- Optional runmodeid
- The artifact id- Returns:
- Information about the location, this is deployer specific
- Throws:
IOException
- If deploying fails
-