Maven Plugin for SilverFabric Distributions

Maven Plugin for creating distributions and uploading grid libraries.

Лицензия

Лицензия

https://github.com/fabrician/distribution-maven-plugin/blob/master/LICENSE.txt
Категории

Категории

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

Группа

org.fabrician.maven-plugins
Идентификатор

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

distribution-plugin
Последняя версия

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

1.2
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

Maven Plugin for SilverFabric Distributions
Maven Plugin for creating distributions and uploading grid libraries.
Ссылка на сайт

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

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

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

https://github.com/fabrician/distribution-maven-plugin

Скачать distribution-plugin

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

<plugin>
    <groupId>org.fabrician.maven-plugins</groupId>
    <artifactId>distribution-plugin</artifactId>
    <version>1.2</version>
</plugin>

Зависимости

compile (7)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 2.0
org.apache.maven : maven-project jar 2.0.11
org.apache.maven.shared : maven-shared-utils jar 0.3
org.apache.httpcomponents : httpclient jar 4.2.3
org.apache.httpcomponents : httpmime jar 4.2.3
org.apache.commons : commons-compress jar 1.5
commons-io : commons-io jar 2.4

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11

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

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

fabrician.org

Distribution Maven Plugin

Maven Plugin for creating distributions and uploading grid libraries to SilverFabric.

Release builds are available from Maven Central. The latest release is 1.2.

Distribution Packaging

distribution:package

Full name:

org.fabrician.maven-plugins:distribution-plugin:1.1:package

Description:

Packages a grid libary given the grid-library.xml resource directory and 3rd party directory or zip/tar.gz.

Parameters:

Name Description Default Value Version Added
distroFilename The target name of the distribution grid library. The extension must be tar.gz or zip. 1.0
distroSource The URL, file or directory that contains the software to bundle. When specifying an URL, connectionTimeout and readTimeout can be specified for the file download. 1.0
includes A set of file patterns to include from the distroSource. 1.2-SNAPSHOT
excludes A set of file patterns to exclude from the distroSource. 1.2-SNAPSHOT
distroResources The directory that contains the grid library resources such as a grid-library.xml. src/main/resources/distribution 1.0
distroAlternateRootDirectory The alternate root directory name in the resulting grid library. Useful when the software zip or tar.gz basedir changes across versions. For example, a.zip:foo/bar/x.html -> b.tar.gz:myAltDir/bar/x.html when distroAlternateRootDirectory is set to myAltDir. 1.0

Example:

<plugin>
    <groupId>org.fabrician.maven-plugins</groupId>
    <artifactId>distribution-plugin</artifactId>
    <version>1.1</version>
    <configuration>
        <distroSource>/tmp/apache-activemq-5.7.0-bin.zip</distroSource>
        <distroFilename>${project.build.directory}/active-mq-5.7.0-distro.tar.gz</distroFilename>
        <distroResources>src/main/resources/distribution</distroResources>
        <distroAlternateRootDirectory>apache-activemq</distroAlternateRootDirectory>
    </configuration>
    <executions>
        <execution>
            <id>package-distribution</id>
            <phase>package</phase>
            <goals>
                <goal>package</goal>
            </goals>
        </execution>
    </executions>
</plugin>

Grid Library Upload

distribution:upload

Full name:

org.fabrician.maven-plugins:distribution-plugin:1.0:upload

Description:

Upload one or more grid libraries to a running Silver Fabric Broker.

Parameters:

Name Description Default Value Version Added
brokerUrl Silver Fabric Broker URL. For Silver Fabric 5.5, use http://localhost:8000/livecluster/rest/v1/sf/gridlibs/archives. http://localhost:8000/livecluster/gridlibs/archives 1.0
brokerUsername Silver Fabric Broker user name admin 1.0
brokerPassword Silver Fabric Broker password admin 1.0
serverId Which server credentials to use from the user's settings.xml. This hasn't been implemented.
gridlibOverwrite Overwrite the grid libary if it already exists. false 1.0
includes A set of file patterns to include in the upload. 1.0
excludes A set of file patterns to exclude from the upload. 1.0

Example:

<plugin>
    <groupId>org.fabrician.maven-plugins</groupId>
    <artifactId>distribution-plugin</artifactId>
    <version>1.1</version>
    <executions>
    <plugin> 
        <execution>
            <id>upload-gridlibs</id>
            <phase>install</phase>
            <goals>
                <goal>upload</goal>
            </goals>
            <configuration>
                 <includes>
                     <include>*.tar.gz</include>
                 </includes>
            </configuration>
        </execution>
    </executions>
</plugin>
org.fabrician.maven-plugins

fabrician.org

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

Версия
1.2
1.1