marathon-maven-plugin

Maven plugin for interacting with Marathon

Лицензия

Лицензия

Категории

Категории

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

Группа

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

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

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

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

0.0.2
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

marathon-maven-plugin
Maven plugin for interacting with Marathon
Ссылка на сайт

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

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

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

https://github.com/holidaycheck/marathon-maven-plugin

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

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

<plugin>
    <groupId>com.holidaycheck</groupId>
    <artifactId>marathon-maven-plugin</artifactId>
    <version>0.0.2</version>
</plugin>

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
cc.roden : marathon-client jar 0.4.7
org.apache.maven : maven-core jar 3.2.1

provided (1)

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

test (4)

Идентификатор библиотеки Тип Версия
org.apache.maven.plugin-testing : maven-plugin-testing-harness jar 3.2.0
org.apache.maven : maven-compat jar 3.2.1
junit : junit jar 4.12
com.squareup.okhttp : mockwebserver jar 2.4.0

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

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

marathon-maven-plugin

Maven plugin for interacting with Marathon

It can both process marathon.json config and use it to push it to Marathon host for deployment.

Maven documentation

For detailed documentation of goals and configuration options run in your project: mvn com.holidaycheck:marathon-maven-plugin:help -Ddetail=true

Basic usage

This plugin plays well with docker-maven-plugin so you might want to use it e.g. to include proper versioning of Docker image in marathon.json.

Add plugin configuration to your pom.xml:

<plugin>
	<groupId>com.holidaycheck</groupId>
	<artifactId>marathon-maven-plugin</artifactId>
	<version>0.0.2</version>
	<configuration>
		<image>${docker-image-prefix}/${project.build.finalName}:${project.version}-${gitShortCommitId}</image>
		<marathonHost>http://${mesos.host}:${mesos.port}</marathonHost>
	</configuration>
	<executions>
		<execution>
			<id>processConfig</id>
			<phase>install</phase>
			<goals>
				<goal>processConfig</goal>
			</goals>
		</execution>
		<execution>
			<id>deploy</id>
			<phase>deploy</phase>
			<goals>
				<goal>deploy</goal>
			</goals>
            <configuration>
                    <waitForDeploymentFinished>true</waitForDeploymentFinished>
                    <waitForDeploymentTimeout>10</waitForDeploymentTimeout>
            </configuration>
		</execution>
		<execution>
			<id>apptasks</id>
			<phase>pre-integration-test</phase>
			<goals>
				<goal>apptasks</goal>
			</goals>
			<configuration>
				<propertyPrefix>mesos-</propertyPrefix>
			</configuration>
		</execution>
		<execution>
			<id>delete</id>
			<phase>post-integration-test</phase>
			<goals>
				<goal>delete</goal>
			</goals>
		</execution>
	</executions>
</plugin>

By default your template marathon.json should be in the root project directory.

com.holidaycheck

HolidayCheck

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

Версия
0.0.2
0.0.1