Maven DaDaPush Notification Plugin

a maven plugin for sending notification via DaDaPush

Лицензия

Лицензия

Категории

Категории

Maven Компиляция и сборка CLI Взаимодействие с пользователем
Группа

Группа

com.dadapush.client
Идентификатор

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

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

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

1.0.0
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

Maven DaDaPush Notification Plugin
a maven plugin for sending notification via DaDaPush
Ссылка на сайт

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

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

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

https://github.com/dadapush/maven-dadapush-notification-plugin

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

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

<plugin>
    <groupId>com.dadapush.client</groupId>
    <artifactId>dadapush-maven-plugin</artifactId>
    <version>1.0.0</version>
</plugin>

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 3.6.0
com.dadapush.client : dadapush-client jar 1.0.0

provided (1)

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

test (1)

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

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

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

maven-dadapush-notification-plugin

send notification to DaDaPush via Apache Maven

Usage

required configuration

  • channelToken: please go DaDaPush and create new channel.
  • title: message title, length 0~50
  • content: message content, length 0~500

optional configuration

  <plugin>
    <groupId>com.dadapush.client</groupId>
    <artifactId>dadapush-maven-plugin</artifactId>
    <version>${project.version}</version>
    <configuration>
      <basePath>https://www.dadapush.com</basePath>
      <channelToken>YOUR_CHANNEL_TOKEN</channelToken>
      <title>${project.name}</title>
      <content>send test notification from ${project.build.finalName}</content>
      <failOnError>true</failOnError>
    </configuration>
  </plugin>

or advanced usage

<plugin>
  <groupId>com.dadapush.client</groupId>
  <artifactId>dadapush-maven-plugin</artifactId>
  <version>${project.version}</version>
  <executions>
    <execution>
      <id>message-compile</id>
      <phase>compile</phase>
      <goals>
        <goal>message</goal>
      </goals>
      <configuration>
        <basePath>https://www.dadapush.com</basePath>
        <channelToken>YOUR_CHANNEL_TOKEN</channelToken>
        <title>${project.name}</title>
        <content>send compile notification from ${project.build.finalName}</content>
        <failOnError>true</failOnError>
      </configuration>
    </execution>
    <execution>
      <id>message-package</id>
      <phase>package</phase>
      <goals>
        <goal>message</goal>
      </goals>
      <configuration>
        <basePath>https://www.dadapush.com</basePath>
        <channelToken>YOUR_CHANNEL_TOKEN</channelToken>
        <title>${project.name}</title>
        <content>send package notification from ${project.build.finalName}</content>
        <failOnError>true</failOnError>
      </configuration>
    </execution>
    <execution>
      <id>message-test</id>
      <phase>test</phase>
      <goals>
        <goal>message</goal>
      </goals>
      <configuration>
        <basePath>https://www.dadapush.com</basePath>
        <channelToken>YOUR_CHANNEL_TOKEN</channelToken>
        <title>${project.name}</title>
        <content>send test notification from ${project.build.finalName}</content>
        <failOnError>true</failOnError>
      </configuration>
    </execution>
    <execution>
      <id>message-install</id>
      <phase>install</phase>
      <goals>
        <goal>message</goal>
      </goals>
      <configuration>
        <basePath>https://www.dadapush.com</basePath>
        <channelToken>YOUR_CHANNEL_TOKEN</channelToken>
        <title>${project.name}</title>
        <content>send install notification from ${project.build.finalName}</content>
        <failOnError>true</failOnError>
      </configuration>
    </execution>
  </executions>
</plugin>
com.dadapush.client

DaDaPush

DaDaPush: Real-time Notifications App

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

Версия
1.0.0