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.
Liima Docs are available under https://github.com/liimaorg/docs
Run Liima locally on docker
- install docker
- install docker-compose
Follow ReadMe file in order to run Liima locally on docker.
Build and create Release
Build the Liima ear
- 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.
*.releaseBackupfiles can be removed with
- Push the changes
- We do not use
mvn release:performas the ear is not uploaded to a maven repository.
You also can rollback your release-step with
Create Code Coverage Report
mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install -Dmaven.test.failure.ignore=true
Execute Sonar analysis
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>
Please check Copying file
Liima is licensed under the GNU AGPLv3 License, see LICENSE file
Please have a look at the contribution guide
The contributors who are working on Liima or did contribute to Liima are listed in the AUTHORS file