DDF Maven Plugin

The DDF Client Maven Plugin is used to configure the DDF for integration tests

Лицензия

Лицензия

Категории

Категории

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

Группа

org.betteridiots.ddf
Идентификатор

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

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

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

0.1.8
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

DDF Maven Plugin
The DDF Client Maven Plugin is used to configure the DDF for integration tests
Организация-разработчик

Организация-разработчик

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

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

https://github.com/betteridiots/ddf-maven-plugin.git

Скачать ddf-maven-plugin

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

<plugin>
    <groupId>org.betteridiots.ddf</groupId>
    <artifactId>ddf-maven-plugin</artifactId>
    <version>0.1.8</version>
</plugin>

Зависимости

compile (6)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 2.0
org.codehaus.plexus : plexus-utils jar 3.0.8
junit : junit jar 4.8.2
com.jcraft : jsch jar 0.1.50
org.apache.maven : maven-project jar 2.2.0
org.apache.commons : commons-io jar 1.3.2

provided (1)

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

test (1)

Идентификатор библиотеки Тип Версия
org.apache.maven.shared : maven-plugin-testing-harness jar 1.1

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

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

DDF Maven Plugin

The ddf-maven-plugin enables configuration of the ddf from within a maven project and is intended for use during integration tests.

Build Status

Issue Tracking

JIRA

<script type="text/javascript" src="http://issues.betteridiots.org/s/d41d8cd98f00b204e9800998ecf8427e/en_USfldw7o-1988229788/6252/12/1.4.7/_/download/batch/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector.js?collectorId=3653817d"></script>

Current Status

Currently the plugin is in the very early stages. As it is currently designed the ddf-maven-plugin simply takes in several parameters and connects to the ddf over ssh to pass in commands for configuration.

Future Plans

The plugin will eventually support more advanced configuration options, to be passed in as parameters in a projects pom. All commands passed in will be checked for errors and all outputs from commands will be used to determine status and catch errors.

Building

Requirements

  • JDK 1.7
  • Maven 3

How To Build

git clone https://github.com/betteridiots/ddf-maven-plugin.git
cd ddf-maven-plugin
mvn install -DskipTests

Note: skipping tests is currently necessary due to the tests expecting ddf to be running locally

Usage

Place the following in the build section of your projects pom for basic usage against a single ddf host

<plugin>
  <groupId>org.betteridiots.ddf</groupId>
  <artifactId>ddf-maven-plugin</artifactId>
  <version>0.1.0-SNAPSHOT</version>
  <configuration>
    <host>localhost</host>
    <port>8101</port>
    <user>admin</user>
    <password>admin</password>
  </configuration>
</plugin>

config-ddf goal

<execution>
  <id>configure-something</id>
  <phase>pre-integration-test</phase>
  <goals>
    <goal>config-ddf</goal>
  </goals>
  <configuration>
    <config>ddf.platform.config</config>
    <props>
      <prop>host localhost</prop>
      <prop>port 8181</prop>
      <prop>http://</prop>
      <prop>id ddf.local</prop>
    </props>
  </configuration>
</execution>

install-features goal

<execution>
  <id>install-some-features</id>
  <phase>pre-integration-test</phase>
  <goals>
    <goal>install-features</goal>
  </goal>
  <configuration>
    <features>
      <feature>catalog-schematron-plugin</feature>
      <feature>catalog-transformer-tika</feature>
    </features>
  </configuration>
</execution>

uninstall-features goal

<execution>
  <id>uninstall-some-features</id>
  <phase>pre-integration-test</phase>
  <goals>
    <goal>uninstall-features</goal>
  </goal>
  <configuration>
    <features>
      <feature>catalog-schematron-plugin</feature>
      <feature>catalog-transformer-tika</feature>
    </features>
  </configuration>
</execution>
org.betteridiots.ddf

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

Версия
0.1.8
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2