A maven plugin to work with OpenShift
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src expanding files for add command too Jul 24, 2013
LICENSE add license Apache 2.0 Jan 10, 2014
README.asciidoc add license Apache 2.0 Jan 10, 2014
pom.xml initial import Jul 22, 2013

README.asciidoc

Sample

<build>
  <plugins>
    <plugin>
      <groupId>com.worldline.maven</groupId>
      <artifactId>openshift-maven-plugin</artifactId>
      <version>0.1-SNAPSHOT</version>
      <configuration>
        <password>${openshift.password}</password>
        <domain>myDomain</domain>
        <application>myApplication</application>
      </configuration>
    </plugin>
  </plugins>
</build>

then to deploy on OpenShift simply execute:

mvn clean package openshift:update-application

Tip

To deploy your war as an exploded one add in the plugin configuration:

<binary>${project.build.directory}/${project.build.finalName}</binary>

License

Apache 2.0