empty source maven plugin

The Maven Source Plugin creates a empty JAR archive of the source files of the current project.

Лицензия

Лицензия

Категории

Категории

Maven Компиляция и сборка
Группа

Группа

com.github.ichelon
Идентификатор

Идентификатор

empty-source-maven-plugin
Последняя версия

Последняя версия

1.0.0.RELEASE
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

empty source maven plugin
The Maven Source Plugin creates a empty JAR archive of the source files of the current project.
Ссылка на сайт

Ссылка на сайт

https://github.com/ichelon/empty-source-maven-plugin
Система контроля версий

Система контроля версий

https://github.com/ichelon/empty-source-maven-plugin

Скачать empty-source-maven-plugin

Как подключить последнюю версию

<plugin>
    <groupId>com.github.ichelon</groupId>
    <artifactId>empty-source-maven-plugin</artifactId>
    <version>1.0.0.RELEASE</version>
</plugin>

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.apache.maven.plugins : maven-source-plugin jar 3.1.0
org.apache.maven : maven-plugin-api jar 2.0
org.codehaus.plexus : plexus-utils jar 3.0.8

provided (1)

Идентификатор библиотеки Тип Версия
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.2

Модули Проекта

Данный проект не имеет модулей.

empty source maven plugin

重写maven源代码插件maven-plugin-plugin,导出一个空的源码包。 由于oss的验证要求,上传的jar文件必须包含源代码, 因此编写此插件帮助跳过sources检查。

例子

<build>
    <plugins>
        <plugin>
            <groupId>com.github.ichelon</groupId>
            <artifactId>empty-source-maven-plugin</artifactId>
            <version>1.0.0.RELEASE</version>
            <configuration>
                <attach>true</attach>
                <forceCreation>true</forceCreation>
            </configuration>
            <executions>
                <execution>
                    <phase>compile</phase>
                    <goals>
                        <goal>jar-no-fork</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>

Версии библиотеки

Версия
1.0.0.RELEASE