Skip to content

devops089/hello-world-java

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Maven Standalone Project

A simple Java standalone application built using Maven. This project demonstrates how to structure, build, and run a basic Java project with Maven as the build tool.

📁 Project Structure

hello-world-java/
├── src/
│   ├── main/
│   │   └── java/
│   │       └── com/
│   │           └── rt/
    |               └── sample
│   │                   └── HelloWorld.java
│   └── test/
│       └── java/
│           └── com/
│               └── rt/
|                   └── sample
│                       └── HelloWorldTest.java
├── pom.xml
└── README.md

🚀 Getting Started

✅ Prerequisites

  • Java JDK 8 or higher
  • Maven 3.6+

🔧 Build & Run Instructions

1. Clone the repository

git clone https://github.com/Rushi-Technologies/hello-world-java.git
cd hello-world-java

2. Build the project

mvn clean package

This will generate a .jar file in the target/ directory.

3. Run the application

java -jar target/hello-world-java-1.0.0.jar

🧪 Running Unit Tests

mvn test

This will execute all unit tests under src/test/java.


📦 Packaging

To create a runnable JAR:

mvn clean package

If needed, you can skip tests during packaging:

mvn clean package -DskipTests

👤 Author

Balaji Reddy Lachhannagari Rushi Technologies
Training & Consulting
Website: https://rushitechnologies.com

About

Java Based Standalone Application

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 94.4%
  • Dockerfile 5.6%