# simple-java-maven-app **Repository Path**: devops-samples/simple-java-maven-app ## Basic Information - **Project Name**: simple-java-maven-app - **Description**: jenkins-java-maven技术栈 - **Primary Language**: Groovy - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 3 - **Created**: 2020-07-11 - **Last Updated**: 2025-03-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # simple-java-maven-app 本示例基于Java和Maven生成一个HelloWorld程序. - 使用Maven build Java程序 - 使用场景: Maven 编译Java程序, 以及Jenkinsfile中使用Ansible的例子. This repository is for the [Build a Java app with Maven](https://jenkins.io/doc/tutorials/build-a-java-app-with-maven/) tutorial in the [Jenkins User Documentation](https://jenkins.io/doc/). The repository contains a simple Java application which outputs the string "Hello world!" and is accompanied by a couple of unit tests to check that the main application works as expected. The results of these tests are saved to a JUnit XML report. The `jenkins` directory contains an example of the `Jenkinsfile` (i.e. Pipeline) you'll be creating yourself during the tutorial and the `scripts` subdirectory contains a shell script with commands that are executed when Jenkins processes the "Deploy" stage of your Pipeline.