Stubby Maven Plugin

A plugin for Stubby

Лицензия

Лицензия

Категории

Категории

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

Группа

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

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

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

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

1.0.3
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

Stubby Maven Plugin
A plugin for Stubby
Ссылка на сайт

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

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

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

https://github.com/goughy000/stubby-maven-plugin.git

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

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

<plugin>
    <groupId>com.testingsyndicate</groupId>
    <artifactId>stubby-maven-plugin</artifactId>
    <version>1.0.3</version>
</plugin>

Зависимости

runtime (3)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 3.3.9
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.5
io.github.azagniotov : stubby4j jar 5.0.1

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

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

stubby-maven-plugin

Maven plugin to start and stop stubby4j as part of the maven build lifecycle

This can be useful when you are spinning up an application for integration testing and it needs to connect to another HTTP service. Combine with a port finder plugin for concurrent usage on build servers

You can find configuration info for the stubs.yaml file itself on the Stubby4J project page

Configuration

Default values for configuration shown

<build>
<plugins>
  <plugin>
    <groupId>com.testingsyndicate</groupId>
    <artifactId>stubby-maven-plugin</artifactId>
    <version>1.0.1</version>
    <executions>
      <execution>
        <goals>
          <goal>start</goal>
          <goal>stop</goal>
        </goals>
        <configuration>
          <configFile>src/test/resources/stubs.yaml</configFile>
          <httpPort>8882</httpPort>
          <mute>true</mute>
          <httpsPort />
          <adminPort />
        </configuration>
      </execution>
    </executions>
  </plugin>
</plugins>
</build>

You can also quickly start stubby to manually validate your stubs file

mvn stubby:run -DconfigFile=path/to/stubs.yaml

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

Версия
1.0.3
1.0.2
1.0.1
1.0.0