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

com.gitee.starblues.plugin.pack.main.MainConfig Maven / Gradle / Ivy

The newest version!
/**
 * Copyright [2019-Present] [starBlues]
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.gitee.starblues.plugin.pack.main;

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

/**
 * 主程序打包配置
 *
 * @author starBlues
 * @since 3.0.0
 * @version 3.0.0
 */
@Data
public class MainConfig {

    /**
     * 主启动类
     */
    @Parameter(required = true)
    private String mainClass;

    /**
     * 打包类型。默认:jar
     * {@link com.gitee.starblues.common.PackageType#MAIN_PACKAGE_TYPE_JAR}
     * {@link com.gitee.starblues.common.PackageType#MAIN_PACKAGE_TYPE_JAR_OUTER}
     */
    private String packageType;

    /**
     * 文件名称。默认 artifactId-version-repackage
     */
    private String fileName;

    /**
     * 依赖包所在目录
     */
    private String libDir;

    /**
     * 输出文件目录。默认target
     */
    private String outputDirectory;

    /**
     * 开发模式:
     * isolation: 隔离模式[默认]
     * coexist: 共享模式
     * simple: 简单模式
     */
    private String developmentMode;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy