blob: d7e82ee463f3afb724d6e8d9441a6916fcb66747 [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
19sonar.projectVersion=1.0.0-dev
20# 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
34sonar.scm.url=scm:git:https://git-wip-us.apache.org/repos/asf/thrift
35
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
Roger Meier6a9df6e2013-01-06 20:11:28 +010040sonar.modules=module1,module2,module3,module4,module5,module6,module7,module8,module9,module10,module11,module12,module13,module14,module15
Roger Meierd94399a2012-12-27 22:21:32 +010041
42module1.sonar.projectName=Apache Thrift - Java Library
43module1.sonar.projectBaseDir=lib/java
44module1.sonar.sources=src
45module1.sonar.tests=test
46#module1.sonar.binaries=build
47#module1.sonar.libraries=build/lib
48module1.sonar.language=java
49
50module2.sonar.projectName=Apache Thrift - Java Tutorial
51module2.sonar.projectBaseDir=tutorial/java
52module2.sonar.sources=src
53module2.sonar.language=java
54
55module3.sonar.projectName=Apache Thrift - JavaScript Library
56module3.sonar.projectBaseDir=lib/js
57module3.sonar.sources=.
58module3.sonar.exclusions=test/**/*
59module3.sonar.language=js
60
61module4.sonar.projectName=Apache Thrift - JavaScript Tutorial
62module4.sonar.projectBaseDir=tutorial/js
63module4.sonar.sources=.
64module4.sonar.language=web
65
66module5.sonar.projectName=Apache Thrift - C++ Library
67module5.sonar.projectBaseDir=lib/cpp
68module5.sonar.sources=src
69module5.sonar.tests=test
70module5.sonar.language=c++
71
72module6.sonar.projectName=Apache Thrift - C++ Tutorial
73module6.sonar.projectBaseDir=tutorial/cpp
74module6.sonar.sources=.
75module6.sonar.exclusions=gen-cpp/**/*
76module6.sonar.language=c++
77
78module7.sonar.projectName=Apache Thrift - C++ Cross Language Test
79module7.sonar.projectBaseDir=test/cpp
80module7.sonar.sources=src
81module7.sonar.language=c++
82
83module8.sonar.projectName=Apache Thrift - Compiler
84module8.sonar.projectBaseDir=compiler/cpp
85module8.sonar.sources=src
86module8.sonar.language=c++
87
88module9.sonar.projectName=Apache Thrift - Python Library
89module9.sonar.projectBaseDir=lib/py
90module9.sonar.sources=src
91module9.sonar.language=py
92
93module10.sonar.projectName=Apache Thrift - Python Tutorial
94module10.sonar.projectBaseDir=tutorial/py
95module10.sonar.sources=.
96module10.sonar.exclusions=gen-py/**/*
97module10.sonar.language=py
98
99module11.sonar.projectName=Apache Thrift - Python Cross Language Test
100module11.sonar.projectBaseDir=test/py
101module11.sonar.sources=.
102module11.sonar.exclusions=gen-*/**/*
103module11.sonar.language=py
104
105module12.sonar.projectName=Apache Thrift - c_glib Library
106module12.sonar.projectBaseDir=lib/c_glib
107module12.sonar.sources=src
108module12.sonar.language=c
109
Roger Meier6a9df6e2013-01-06 20:11:28 +0100110module13.sonar.projectName=Apache Thrift - Delphi Library
111module13.sonar.projectBaseDir=lib/delphi
112module13.sonar.sources=src
113module13.sonar.tests=test
114module13.sonar.language=delph
115
116module14.sonar.projectName=Apache Thrift - Flex (as3) Library
117module14.sonar.projectBaseDir=lib/as3
118module14.sonar.sources=src
119module14.sonar.language=flex
120
121module15.sonar.projectName=Apache Thrift - PHP Library
122module15.sonar.projectBaseDir=lib/php
123module15.sonar.sources=src
124module15.sonar.language=php
125
Roger Meierd94399a2012-12-27 22:21:32 +0100126# TODO add some more languages here
127