blob: f88d43505ccda1f3accd96c46cebaa7b742356be [file] [log] [blame]
Roger Meierd94399a2012-12-27 22:21:32 +01001# Apache Thrift © The Apache Software Foundation
2# http://www.apache.org/licenses/LICENSE-2.0
3# SPDX-License-Identifier: Apache-2.0
4
5# File: sonar-project.properties
6# Apache Thrift configuration file for Sonar https://analysis.apache.org/
7# Sonar is an open platform to manage code quality http://www.sonarsource.org/
8
9
10# required metadata
11sonar.projectKey=org.apache.thrift
12sonar.projectName=Apache Thrift
13sonar.projectDescription=
14The Apache Thrift software framework, for scalable cross-language services
15development, combines a software stack with a code generation engine to build
16services that work efficiently and seamlessly between all major languages.
17
18# Apache Thrift Version
Jens Geyeref199cc2024-09-03 01:28:31 +020019sonar.projectVersion=0.22.0
Roger Meierd94399a2012-12-27 22:21:32 +010020# use this to set another version string
21# $ sonar-runner -D sonar.projectVersion=`git rev-parse HEAD`
22# set projectDate in combination with projectVersion for imports of old releases
23#sonar.projectDate=yyyy-MM-dd
24
25# TODO add website (sonar.projectUrl does not work)
26#sonar.XXXX=http//thrift.apache.org
27
28# Some properties that will be inherited by the modules
29sonar.sources=src
30sonar.language=java,js,c++,py,c
31sonar.sourceEncoding=UTF-8
32
33# scm
Robert Lua1390822018-12-27 23:57:35 +080034sonar.scm.url=scm:git:https://github.com/apache/thrift.git
Roger Meierd94399a2012-12-27 22:21:32 +010035
36# cppcheck -q --error-exitcode=0 --xml . 2> cppcheck-result.xml
37sonar.cxx.cppcheck.reportPath=cppcheck-result.xml
38
39# List of the module identifiers
Jens Geyercb094b82021-02-13 15:05:40 +010040sonar.modules=module1,module3,module4,module5,module6,module7,module8,module9,module10,module11,module12
Roger Meier8cdb9e92013-03-22 21:07:21 +010041
42
43
44# we need sonar-runner 2.1 for this, see http://jira.codehaus.org/browse/SONARPLUGINS-2421
45#sonar.modules=module2
46
47# delph plugin is broken
48#sonar.modules=module13
49
50# phpunit plugin is broken
Jens Geyercb094b82021-02-13 15:05:40 +010051#sonar.modules=module14
Roger Meier8cdb9e92013-03-22 21:07:21 +010052
Roger Meierd94399a2012-12-27 22:21:32 +010053module1.sonar.projectName=Apache Thrift - Java Library
54module1.sonar.projectBaseDir=lib/java
55module1.sonar.sources=src
56module1.sonar.tests=test
Jens Geyeref199cc2024-09-03 01:28:31 +020057module1.sonar.binaries=build/libs/libthrift-0.22.0.jar
Alex Volanis7004a612018-01-24 10:30:13 -050058module1.sonar.libraries=build/deps/*.jar
Roger Meierd94399a2012-12-27 22:21:32 +010059module1.sonar.language=java
60
61module2.sonar.projectName=Apache Thrift - Java Tutorial
Roger Meier8cdb9e92013-03-22 21:07:21 +010062module2.sonar.projectBaseDir=.
63module2.sonar.sources=tutorial/java/src, tutorial/java/gen-java
64module2.sonar.binaries=tutorial/java/tutorial.jar
Jens Geyeref199cc2024-09-03 01:28:31 +020065module2.sonar.libraries=lib/java/build/deps/*.jar,lib/java/build/libs/libthrift-0.22.0.jar
Roger Meierd94399a2012-12-27 22:21:32 +010066module2.sonar.language=java
67
68module3.sonar.projectName=Apache Thrift - JavaScript Library
69module3.sonar.projectBaseDir=lib/js
70module3.sonar.sources=.
71module3.sonar.exclusions=test/**/*
72module3.sonar.language=js
73
74module4.sonar.projectName=Apache Thrift - JavaScript Tutorial
75module4.sonar.projectBaseDir=tutorial/js
76module4.sonar.sources=.
77module4.sonar.language=web
78
79module5.sonar.projectName=Apache Thrift - C++ Library
80module5.sonar.projectBaseDir=lib/cpp
81module5.sonar.sources=src
82module5.sonar.tests=test
83module5.sonar.language=c++
84
85module6.sonar.projectName=Apache Thrift - C++ Tutorial
86module6.sonar.projectBaseDir=tutorial/cpp
87module6.sonar.sources=.
88module6.sonar.exclusions=gen-cpp/**/*
89module6.sonar.language=c++
90
91module7.sonar.projectName=Apache Thrift - C++ Cross Language Test
92module7.sonar.projectBaseDir=test/cpp
93module7.sonar.sources=src
94module7.sonar.language=c++
95
96module8.sonar.projectName=Apache Thrift - Compiler
97module8.sonar.projectBaseDir=compiler/cpp
98module8.sonar.sources=src
99module8.sonar.language=c++
100
101module9.sonar.projectName=Apache Thrift - Python Library
102module9.sonar.projectBaseDir=lib/py
103module9.sonar.sources=src
104module9.sonar.language=py
105
106module10.sonar.projectName=Apache Thrift - Python Tutorial
107module10.sonar.projectBaseDir=tutorial/py
108module10.sonar.sources=.
109module10.sonar.exclusions=gen-py/**/*
110module10.sonar.language=py
111
112module11.sonar.projectName=Apache Thrift - Python Cross Language Test
113module11.sonar.projectBaseDir=test/py
114module11.sonar.sources=.
115module11.sonar.exclusions=gen-*/**/*
116module11.sonar.language=py
117
118module12.sonar.projectName=Apache Thrift - c_glib Library
119module12.sonar.projectBaseDir=lib/c_glib
120module12.sonar.sources=src
121module12.sonar.language=c
122
Roger Meier6a9df6e2013-01-06 20:11:28 +0100123module13.sonar.projectName=Apache Thrift - Delphi Library
124module13.sonar.projectBaseDir=lib/delphi
125module13.sonar.sources=src
126module13.sonar.tests=test
127module13.sonar.language=delph
128
Jens Geyercb094b82021-02-13 15:05:40 +0100129module14.sonar.projectName=Apache Thrift - PHP Library
130module14.sonar.projectBaseDir=lib/php
Roger Meier6a9df6e2013-01-06 20:11:28 +0100131module14.sonar.sources=src
Jens Geyercb094b82021-02-13 15:05:40 +0100132module14.sonar.language=php
Roger Meier6a9df6e2013-01-06 20:11:28 +0100133
Roger Meierd94399a2012-12-27 22:21:32 +0100134# TODO add some more languages here
135