jelastic-maven-plugin for Jelastic Cloud Platformmaven plugin repository <pluginRepositories>
<pluginRepository>
<id>sonatype-oss-public</id>
<url>https://oss.sonatype.org/content/groups/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>settings.xmlM2_HOME/config/<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>jelastic</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<jelastic.username>[....]</jelastic.username>
<jelastic.password>[....]</jelastic.password>
</properties>
</profile>
</profiles>
</settings>Dependencies<plugins>
<!-- ... -->
<plugin>
<groupId>com.jelastic</groupId>
<artifactId>jelastic-maven-plugin</artifactId>
<version><!--(current release version 1.6) or (developer version 1.7-SNAPSHOT)--></version>
<configuration>
<email>${jelastic.username}</email>
<password>${jelastic.password}</password>
<context><!-- ... --></context>
<environment><!-- ... --></environment>
<comment><!-- for example ${buildNumber} --></comment> <!-- only version 1.7-SNAPSHOT -->
<api_hoster><!-- ... --></api_hoster>
<!--
value found in http://1bdb3d9b85202cffc609281a4f6e67cf.de-hetzner.hivext.com/ru/docs/jelastic-hoster-info -->
</configuration>
</plugin>
<!-- ... -->
</plugins>Usagemvn jelastic:deploy <!-- deploy to container -->
mvn jelastic:publish <!-- publish file registration -->
|