Class LocalMavenRepositoryArtifactsDeployer

    • Constructor Detail

      • LocalMavenRepositoryArtifactsDeployer

        public LocalMavenRepositoryArtifactsDeployer​(@NotNull
                                                     @NotNull File outputDirectory)
    • Method Detail

      • getBaseDirectory

        @NotNull
        public @NotNull File 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 interface ArtifactsDeployer
        Parameters:
        artifactWriter - The artifact writer to use
        runmode - Optional runmode
        id - The artifact id
        Returns:
        Information about the location, this is deployer specific
        Throws:
        IOException - If deploying fails