Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/natura-cosmeticos/sonar-nodejs-java-plugin
This is an initial effort to generate custom measures for Node.js projects in SonarQube
https://github.com/natura-cosmeticos/sonar-nodejs-java-plugin
Last synced: about 5 hours ago
JSON representation
This is an initial effort to generate custom measures for Node.js projects in SonarQube
- Host: GitHub
- URL: https://github.com/natura-cosmeticos/sonar-nodejs-java-plugin
- Owner: natura-cosmeticos
- License: mit
- Created: 2019-05-20T22:45:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-06-26T07:45:49.000Z (over 2 years ago)
- Last Synced: 2023-03-02T06:31:32.127Z (over 1 year ago)
- Language: Java
- Size: 19.5 KB
- Stars: 0
- Watchers: 9
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sonar NodeJS
SonarNodeJS is a code analyzer for NodeJS projects.# Project status: work in progress
This project is currently a result of a POC.
## Features
* [Metrics](https://github.com/natura-cosmeticos/sonar-nodejs/blob/master/docs/metrics.md)## Get Started
To build the plugin and run its unit tests, execute this command from the project's root directory to generate the jar file. After this put the jar file in $SONARQUBE_HOME/extensions/plugins, removing any previous versions of the same plugins:
```
mvn clean package
```Building using docker, execute this command from the project's root directory:
```
docker run -v ~/.m2:/var/maven/.m2 -ti --name sonar-nodejs --rm -u `id -u`:`id -g` -v "$(pwd)":/usr/src/sonar-nodejs -w /usr/src/sonar-nodejs -e MAVEN_CONFIG=/var/maven/.m2 maven:3.6.1-jdk-8-alpine mvn clean package -Duser.home=/var/maven
```