All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.silpion.opencms.maven.plugins.params.ResourceArtifact Maven / Gradle / Ivy

package de.silpion.opencms.maven.plugins.params;

/*-
 * #%L
 * OpenCms CmsShell Maven Plugin
 * %%
 * Copyright (C) 2017 - 2018 Silpion IT-Solutions GmbH (https://www.silpion.de/)
 * %%
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Lesser Public License for more details.
 * 
 * You should have received a copy of the GNU General Lesser Public
 * License along with this program.  If not, see
 * .
 * #L%
 */

import org.apache.maven.plugins.annotations.Parameter;

/**
 * @author schrader
 */
public class ResourceArtifact {

    @Parameter(required = true)
    private String groupId;

    @Parameter(required = true)
    private String artifactId;

    @Parameter(required = true)
    private String version;

    @Parameter(defaultValue = "zip")
    private String type = "zip";

    @Parameter(defaultValue = "/")
    private String importPath;

    @Parameter(defaultValue = "true")
    private boolean keepPermissions;

    public String getGroupId() {
        return groupId;
    }

    public String getArtifactId() {
        return artifactId;
    }

    public String getVersion() {
        return version;
    }

    public String getType() {
        return type;
    }

    public String getImportPath() {
        return importPath;
    }

    public boolean isKeepPermissions() {
        return keepPermissions;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy