The Travel Package Management System is a Java-based application designed to help travel agencies maintain travel packages, including itineraries, destinations, activities, and passenger lists. This system allows for dynamic creation and management of travel-related data, making it easier for agencies to offer customized travel packages to their clients.
- Create and manage Travel Packages with custom itineraries.
- Add Destinations and Activities to travel packages.
- Enroll Passengers in travel packages and specific activities with support for different passenger types (Standard, Gold, Premium).
- Print detailed itineraries and passenger lists for each travel package.
- Utilize a console-based interface for interaction with the system.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Java JDK 11 or newer
- Maven
- Clone the repository to your local machine:
git clone https://github.com/sumittiware/Travel-System.git
- Navigate to the project directory:
cd Travel-System
- Use Maven to compile the project:
mvn compile
- To package the application into a runnable JAR file with dependencies, use:
mvn package
After compiling and packaging the application, you can run it using Java:
java -cp target/org.travel.system:Travel-System:jar:1.0-SNAPSHOT.jar org.travel.system.App
Replace org.travel.system:Travel-System:jar:1.0-SNAPSHOT.jar
with the name of your packaged JAR file.
mvn test
This project uses JUnit for unit testing. To run the tests, use the following Maven command:
- Java - The programming language used
- JUnit - Friendly testing framework for Java and the JVM
- Maven - Dependency Management
- Sumit Tiware - sumittiware