Skip to content

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.

master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Liima

Build Status

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:

  • install docker
  • install docker-compose

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

Build and create Release

Build the Liima ear

Preconditions:

  • JDK 11
  • Maven 3.5+
  • Chrome Headless for Angular tests
  • Angular CLI is required for Angular development
  • Lombok is required in the IDE
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

Version Updates are done with the maven release plugin.

mvn release:clean release:prepare -Darguments="-DskipTests" -Dline.separator=$'\n'
  • Choose the version number of the new release as well as the following version number when asked. Please make sure, that the following version number is postfixed with "SNAPSHOT"
  • This will create a new Git Tag, update the version numbers and commit the changes.
  • The new Tag creates a release in GitHub and Travis will automatically add the binary to the release page on GitHub once it's done building. You can then add the release notes.
  • The *.releaseBackup files can be removed with mvn release:clean
  • Push the changes
  • We do not use mvn release:perform as the ear is not uploaded to a maven repository.

You also can rollback your release-step with

mvn release:rollback

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

About

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.

Resources

License

Packages

No packages published
You can’t perform that action at this time.