Parent Apps
-
JK-App Parent project that include all the needed configuration of maven projects such as JDK17+, exclusions, dependencies, version files, and others.
-
JK-App Web In addition of the features of of JK-App, it contains the needed dependencies of webapp development.
-
JK-App WebStack In addition of the features of JK-App-WebApp, it consists of the needed dependencies of accessing database and microservices.
-
JK-App Service In addition of the features of JK-App, it includes the required configurations and dependencies of developing microservices based components.
-
JK-App ServiceClient In addition of the features of JK-App, it includes the required dependencies to develop microservices client application.
-
JK-App Data In addition of the features of JK-App, it includes the required configurations and dependencies of developing database =-based components.
Key Benefits
-
Compiler plugin set to use JDK 17+
-
War plugin set to run without complaining about
web.xml
-
All the *dependencies *aligned to work together smoothly without conflicts.
-
Ability to load Maven properties from
maven.properties
file -
Proper exclusions of dependencies such as Tomcat Embedded libraries and other runtime libraries, to save developers and deployers time thinking about run-time dependencies issues.
-
Enable snapshots by default, which could be useful for internal development of components such as libraries and microservices (you can disable if of course if need).
Usage
All what you need is to create a new Create Maven Project ,
then and replace your pom.xml
with one of the following parent configurations to make you starts faster.
JK-App
Parent project that include all the needed configuration of Maven projects such as:
- JDK17+,
- Exclusions
- Dependencies
- Change the final artifact name to App
- Version files processing
and others.
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.jalalkiswani</groupId>
<artifactId>jk-app</artifactId>
<version>7.0.0-M6</version>
</parent>
<artifactId>jk-framework-example</artifactId>
</project>
JK-App-Web
In addition of the features of of jk-app, it contains the needed dependencies of webapp development.
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.jalalkiswani</groupId>
<artifactId>jk-app-web</artifactId>
<version>7.0.0-M6</version>
</parent>
<artifactId>jk-framework-example</artifactId>
<packaging>war</packaging>
</project>
JK-App-WebStack
In addition of the features of jk-app-webapp, it consists of the needed dependencies of accessing database and microservices.
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.jalalkiswani</groupId>
<artifactId>jk-app-webstack</artifactId>
<version>7.0.0-M6</version>
</parent>
<artifactId>jk-framework-example</artifactId>
<packaging>war</packaging>
</project>
JK-App-Service
In addition of the features of jk-app, it includes the required configurations and dependencies of developing microservices based components.
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.jalalkiswani</groupId>
<artifactId>jk-app-service</artifactId>
<version>7.0.0-M6</version>
</parent>
<artifactId>jk-framework-example</artifactId>
<packaging>war</packaging>
</project>
JK-App-Client
In addition of the features of jk-app, it includes the required dependencies to develop microservices client application.
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.jalalkiswani</groupId>
<artifactId>jk-app-client</artifactId>
<version>7.0.0-M6</version>
</parent>
<artifactId>jk-framework-example</artifactId>
</project>
JK-App-Data
In addition of the features of jk-app, it includes the required configurations and dependencies of developing database =-based components.
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.jalalkiswani</groupId>
<artifactId>jk-app-data</artifactId>
<version>7.0.0-M6</version>
</parent>
<artifactId>jk-framework-example</artifactId>
</project>