https://github.com/sonarsource/sq-com_example_java-maven-travis
Java Maven-based project analyzed on SonarQube Cloud using Travis
https://github.com/sonarsource/sq-com_example_java-maven-travis
Last synced: 5 months ago
JSON representation
Java Maven-based project analyzed on SonarQube Cloud using Travis
- Host: GitHub
- URL: https://github.com/sonarsource/sq-com_example_java-maven-travis
- Owner: SonarSource
- License: lgpl-3.0
- Created: 2016-11-09T08:55:09.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2025-02-07T15:46:07.000Z (11 months ago)
- Last Synced: 2025-07-02T15:43:04.088Z (6 months ago)
- Language: Java
- Homepage:
- Size: 26.4 KB
- Stars: 18
- Watchers: 25
- Forks: 66
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# Java Maven-based project analyzed on SonarQube Cloud using Travis
[](https://travis-ci.org/SonarSource/sq-com_example_java-maven-travis) [](https://sonarcloud.io/dashboard/index/com.sonarqube.examples:java-maven-travis-project)
#### This project is analysed on [SonarQube Cloud](https://sonarcloud.io/dashboard/index/com.sonarqube.examples:java-maven-travis-project)!
It is very easy to run an analysis on a Maven-based project and push it to SonarQube Cloud.
You simply have to do 2 things in your `.travis.yml` file:
- Activate the [Travis Add-on](https://docs.travis-ci.com/user/sonarcloud/)
- Run `mvn sonar:sonar` at some point of time in the `script` section
You can take a look at the [.travis.yml file](https://github.com/SonarSource/sq-com_example_java-maven-travis/blob/master/.travis.yml)
of this project to see it in practice.