GithubHelp home page GithubHelp logo

weand / wildfly-swarm-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thorntail/thorntail-examples

0.0 2.0 1.0 19.76 MB

Examples of how to write applications using Swarm.

License: Apache License 2.0

Java 23.74% Shell 0.04% Kotlin 0.04% Scala 0.09% HTML 2.09% Ruby 0.13% CSS 1.13% JavaScript 72.73%

wildfly-swarm-examples's Introduction

WildFly-Swarm Examples

Please raise any issues found with the examples in our JIRA: https://issues.jboss.org/browse/SWARM

WildFly Swarm

This repository contains examples for the WildFly Swarm project.

It is currently listed as alpha release software, subject to massive, possibly-breaking, changes as we determine exactly how it should all hang together.

These Examples

These examples demonstrate utilizing and combining different parts of WildFly to create a self-contained executable jar. They provide small, specific, working examples that can be used as a reference for your own project.

By default, this repository uses SNAPSHOT versions of WildFly Swarm. They are used to test particular aspects of the WildFly Swarm project in addition to being useful examples of what you can do and how you can do it.

Since these examples are SNAPSHOT-centric, our snapshot repository is added to the root pom.xml. If you were to build WildFly Swarm directly, that would of course take precedence.

If you want to build these examples as they stand (using the snapshot) then you should start by either running mvn install (use -DskipTests if you only want to run a specific test(s) at a time) or mvn install inside base/ first and then you can build each individually.

If you want to use our snapshot repository in your own projects, include this in your pom.xml:

<repositories>
  <repository>
    <id>projectodd-snapshots</id>
    <name>Project:odd Snapshots from CI</name>
    <url>https://repository-projectodd.forge.cloudbees.com/snapshot</url>
    <releases>
      <enabled>false</enabled>
    </releases>
    <snapshots>
      <enabled>true</enabled>
    </snapshots>
  </repository>
</repositories>
<pluginRepositories>
  <pluginRepository>
    <id>projectodd-snapshots</id>
    <name>Project:odd Snapshots from CI</name>
    <url>https://repository-projectodd.forge.cloudbees.com/snapshot</url>
    <releases>
      <enabled>false</enabled>
    </releases>
    <snapshots>
        <enabled>true</enabled>
    </snapshots>
  </pluginRepository>
</pluginRepositories>

To run the examples for a given release, please clone and checkout the particular Git tag or download from the releases.

UberJar vs non

By default, each example runs using the Maven plugin without constructing an uberjar. To run them as an uberjar, use the -Puberjar profile when invoking Maven.

mvn install -Puberjar

Docker

We have some examples that use Docker which are located in /docker. Building the examples requires that Docker is installed on your machine and that you run Maven with:

mvn install -Pdocker

wildfly-swarm-examples's People

Contributors

arun-gupta avatar bbrowning avatar bobmcwhirter avatar davidsalter avatar emag avatar gastaldi avatar heiko-braun avatar helio-frota avatar jamesnetherton avatar jesuino avatar jmesnil avatar jpkrohling avatar kenfinnigan avatar kylinsoong avatar ladicek avatar lance avatar matzew avatar michalszynkiewicz avatar mstahv avatar nmcl avatar olbpetersson avatar pavolloffay avatar puffybsd avatar sberyozkin avatar slobodanl avatar tdiesler avatar thomasandersen77 avatar tobias avatar tremes avatar tsabirgaliev avatar

Watchers

 avatar  avatar

Forkers

yukihane

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.