Parent Apps
All what you need is to create a new Maven project, and replace your pom.xml
with one of the following
parent configurations to make you starts faster.
J-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>j-app</artifactId>
<version>7.0.1</version>
</parent>
<artifactId>j-framework-example</artifactId>
</project>
J-App-Web
In addition of the features of of j-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>j-app-web</artifactId>
<version>7.0.1</version>
</parent>
<artifactId>j-framework-example</artifactId>
<packaging>war</packaging>
</project>
J-App-WebStack
In addition of the features of j-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>j-app-webstack</artifactId>
<version>7.0.1</version>
</parent>
<artifactId>j-framework-example</artifactId>
<packaging>war</packaging>
</project>
J-App-Service
In addition of the features of j-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>j-app-service</artifactId>
<version>7.0.1</version>
</parent>
<artifactId>j-framework-example</artifactId>
<packaging>war</packaging>
</project>
J-App-Client
In addition of the features of j-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>j-app-client</artifactId>
<version>7.0.1</version>
</parent>
<artifactId>j-framework-example</artifactId>
</project>
J-App-Data
In addition of the features of j-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>j-app-data</artifactId>
<version>7.0.1</version>
</parent>
<artifactId>j-framework-example</artifactId>
</project>