fabric8io / fabric8-forge

Supports JBoss Forge plugins for the Fabric8 iPaaS along with using Forge as a REST service inside Fabric8 DevOps
Apache License 2.0
11 stars 21 forks source link

fabric8-setup - Should support WF-Swarm #532

Closed davsclaus closed 8 years ago

davsclaus commented 8 years ago

We have support for WF Swarm in f-m-p so the command should be changed to know that https://github.com/davsclaus/fabric8-hello/blob/master/helloswarm/pom.xml

kameshsampath commented 8 years ago

The following steps via forge cli ( after installing the required forge addons)

if you see the generated/updated pom.xml it's set to use fabric8/tomcat-8 image instead of generic java image

https://gist.github.com/kameshsampath/bd4a3a7abc484389fe760a79afdd98fd#file-f8_forge_cli_pom-xml-L41 should be like this

<plugin>
        <groupId>io.fabric8</groupId>
        <artifactId>fabric8-maven-plugin</artifactId>
        <version>3.1.38</version>
        <configuration>
          <images>
            <image>
              <name>${project.artifactId}:${project.version}</name>
              <build>
                <from>fabric8/tomcat-8</from>
              </build>
            </image>
          </images>
        </configuration>
      </plugin>