Skip to content

Simple Project containing a simple BPMN process to be validated using the SonarQube XML-Plugin.

Notifications You must be signed in to change notification settings

matthiasgeiger/Simple-SonarQube-XML-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple-SonarQube-XML-Project

Simple project containing two BPMN-XML-Files to be analyzed using SonarQube XML Plugin: SimpleProcess.bpmn and SimpleProcess-Violation.bpmn which violates the normative BPMN XML schema definitions.

For a detailed description of the configuration and usage see the blog post here.

Prerequisite

  • SonarQube Server must be installed and running
  • XML Plugin must be installed

Configuration

To get feasable result some configuration steps must be performed:

  • XML rules must be activated for the XML Quality Profiles
  • For schema validation the "XML Schema validation" rule must be configured:
    • File pattern: e.g., *.bpmn
    • Schemas: src/xsd/DC.xsd src/xsd/DI.xsd src/xsd/BPMNDI.xsd src/xsd/BPMN20-incl-Semantic.xsd

Analysis

To perform the analysis and add the project to the SonarQube server simply run a "sonar-runner" in the root directory of the project.

Project-specific configuration is stored in sonar-project.properties file.

About

Simple Project containing a simple BPMN process to be validated using the SonarQube XML-Plugin.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published