Skip to content

Instantly share code, notes, and snippets.

@kameshsampath
Last active November 8, 2016 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kameshsampath/7119dd437fda78f60c8c4f1b9a70ba91 to your computer and use it in GitHub Desktop.
Save kameshsampath/7119dd437fda78f60c8c4f1b9a70ba91 to your computer and use it in GitHub Desktop.
vertx f8-m-p sample config
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>fabric8-maven-plugin</artifactId>
<version>${fabric8-maven-plugin.version}</version>
<configuration>
<images>
<image>
<name>%g/%a:%v</name>
<alias>chant-service</alias>
<build>
<from>fabric8/s2i-java</from>
<maintainer>kamesh.sampath@hotmail.com</maintainer>
<env>
<JAVA_APP_JAR>${project.artifactId}-${project.version}-fat.jar</JAVA_APP_JAR>
</env>
<ports>
<port>8080</port>
</ports>
<assembly>
<basedir>/app</basedir>
<inline>
<fileSets>
<fileSet>
<directory>${project.build.directory}</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>${project.artifactId}-${project.version}-fat.jar</include>
</includes>
</fileSet>
<fileSet>
<directory>${basedir}/src/main/conf</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>*.json</include>
</includes>
</fileSet>
</fileSets>
</inline>
</assembly>
</build>
</image>
</images>
</configuration>
<executions>
<execution>
<goals>
<goal>resource</goal>
<goal>build</goal>
<goal>helm</goal>
</goals>
</execution>
</executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment