# Vulnerable Java Maven Project
This repository contains a vulnerable Java Maven project that can be used for testing purposes. The project is built using Java JDK 8 and Maven. This README file provides instructions on how to install and run the project, as well as generate a `.war` file.
## Prerequisites
Before proceeding, make sure you have the following installed on your system:
- Java JDK 8 or higher
- Maven
## Installation
To install and run the vulnerable Java Maven project, follow these steps:
1. Clone the repository to your local machine:
```bash
git clone https://github.com/libinmath3w/vulnerable-java-maven-project.git
-
Navigate to the project directory:
cd vulnerable-java-maven-project
-
Build the project using Maven:
mvn clean install
To run the vulnerable Java Maven project, use the following command:
mvn spring-boot:run
This command starts the project and deploys it on a local server.
To generate a .war
file from the project, follow these steps:
-
Build the project using Maven:
mvn clean package
-
The generated
.war
file can be found in thetarget
directory of the project.
Once the project is running or the .war
file is generated, you can interact with the application by accessing the provided endpoints. Please refer to the project documentation or the source code for information on available endpoints and their usage.