Additional info to know about enterpirse Project
- Projects use dependencies which are community or enterprise libraries.
- Projects will have unit tests with test harness frameworks (junit, xunit, jasmine, pytest….) and we need to get coverage results
- Code needs to go through
- Static Code Analysis
- lints
- security scans
- Quality Gates: Enforces all the necessary checks are success before merging the code.
Maven
- Maven introduces project object model (pom)
- Maven uses convention over configuration
- Maven java project directory structure
project-root/
├── pom.xml
└── src/
├── main/
│ ├── java/
│ │ └── com/yourcompany/yourproject/
│ │ └── YourMainClass.java
│ └── resources/
│ └── application.properties
└── test/
├── java/
│ └── com/yourcompany/yourproject/
│ └── YourMainClassTest.java
└── resources/
└── test-data.xml
- pom.xml file has a schema
- Maven lifecycle phases
- validate
- clean
- compile
- test
- package
- install
- deploy
- Maven has a repository concept
Java Packaging formats
- jar
- ear
- war
