- Parent project for all low-code-platfom projects.
Specify a parent in your service:
<project>
...
<parent>
<groupId>com.epam.digital.data.platform</groupId>
<artifactId>low-code-platform-parent</artifactId>
<version>...</version>
</parent>
...
</project>
We should stick with Spring Boot and Spring Cloud release trains.
There are some useful command and tips:
- effective POM (The POM that results from the application of interpolation):
- in IntelliJ IDEA, place cursor into the content of pom.xml, press
Ctrl + Shift + A
, typeShow effective POM
and pressEnter
- in console,
mvn help:effective-pom
- in IntelliJ IDEA, place cursor into the content of pom.xml, press
- dependencies:
mvn dependency:tree -Dverbose
(provides an information about which dependencies are used for project showing version)mvn dependency:list
(provides the same information that previous command but without hierarchy and reason why specific version is chosen.)
org.apache.maven.plugins:maven-surefire-plugin
- is used for unit tests;org.apache.maven.plugins:maven-failsafe-plugin
- is used for component/integration tests.org.codehaus.mojo:maven-failsafe-plugin
- is used for adding more source directories(for integration test) to project, since pom.xml only allows one source directory.
These plugins are preconfigured in <pluginManagement/>
section with next settings:
maven-surefire-plugin
:- execution phase -
test
(by default); - includes test classes with
**/*Test.java
mask;
- execution phase -
maven-failsafe-plugin
:- execution phase -
integration-test
; - includes test classes with
**/*IT.java
mask;
- execution phase -
maven-failsafe-plugin
:- adds integration test source directory
${project.basedir}/src/it/java
- adds integration test resource directory
${project.basedir}/src/it/resources
- adds integration test source directory
The low-code-platform-parent is Open Source software released under the Apache 2.0 license.