liimaorg / liima

Liima - (AMW) Automated Middleware allows you to manage the configurations of your Java EE applications on an unlimited number of different environments with various versions, including the automated deployment of those apps.
GNU Affero General Public License v3.0
27 stars 9 forks source link

Liima

test and build

Liima - (AMW) Automated Middleware allows you to manage the configurations of your Java EE applications on an unlimited number of different environments with various versions, including the automated deployment of those apps.

Docs

Liima Docs are available under https://github.com/liimaorg/docs

Run Liima locally on docker

Preconditions:

Follow ReadMe file in order to run Liima locally on docker.

Build and create Release

Build the Liima ear

Preconditions:

mvn clean install

Or build Liima inside a container:

docker run -it -u $(id -u):$(id -g) -e MAVEN_CONFIG=$HOME/.m2 -e HOME=$HOME -v "$PWD":/usr/src/amw -v "$HOME":"$HOME" -w /usr/src/amw markhobson/maven-chrome:jdk-11 mvn -Duser.home=$HOME clean install

Create new Release

  1. Update the release-changelog.md
  2. Push a tag to git:
    git tag v1.17.23
    git push origin v1.17.23

    The release will then be built and published by the release GitHub action: https://github.com/liimaorg/liima/actions

Create Code Coverage Report

mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install -Dmaven.test.failure.ignore=true

Execute Sonar analysis

mvn sonar:sonar

The Sonar properties must be confiured in ~/.m2/settings.xml

<settings>
    <profiles>
        <profile>
            <id>sonar</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <properties>
                <!-- Example for MySQL-->
                <sonar.jdbc.url>
                        jdbc:h2:tcp://localhost/sonar
                </sonar.jdbc.url>
                <sonar.jdbc.username>sonar</sonar.jdbc.username>
                <sonar.jdbc.password>sonar</sonar.jdbc.password>

                <!-- Optional URL to server. Default value is http://localhost:9000 -->
                <sonar.host.url>
                  http://localhost:9000
                </sonar.host.url>
            </properties>
        </profile>
     </profiles>
</settings>

Copying

Please check Copying file

License

Liima is licensed under the GNU AGPLv3 License, see LICENSE file

Contribution

Please have a look at the contribution guide

Authors

The contributors who are working on Liima or did contribute to Liima are listed in the AUTHORS file