Roger Meier | d94399a | 2012-12-27 22:21:32 +0100 | [diff] [blame] | 1 | # 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 |
| 11 | sonar.projectKey=org.apache.thrift |
| 12 | sonar.projectName=Apache Thrift |
| 13 | sonar.projectDescription= |
| 14 | The Apache Thrift software framework, for scalable cross-language services |
| 15 | development, combines a software stack with a code generation engine to build |
| 16 | services that work efficiently and seamlessly between all major languages. |
| 17 | |
| 18 | # Apache Thrift Version |
Jens Geyer | 616df98 | 2019-10-19 22:08:13 +0200 | [diff] [blame] | 19 | sonar.projectVersion=0.14.0 |
Roger Meier | d94399a | 2012-12-27 22:21:32 +0100 | [diff] [blame] | 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 |
| 29 | sonar.sources=src |
| 30 | sonar.language=java,js,c++,py,c |
| 31 | sonar.sourceEncoding=UTF-8 |
| 32 | |
| 33 | # scm |
Robert Lu | a139082 | 2018-12-27 23:57:35 +0800 | [diff] [blame] | 34 | sonar.scm.url=scm:git:https://github.com/apache/thrift.git |
Roger Meier | d94399a | 2012-12-27 22:21:32 +0100 | [diff] [blame] | 35 | |
| 36 | # cppcheck -q --error-exitcode=0 --xml . 2> cppcheck-result.xml |
| 37 | sonar.cxx.cppcheck.reportPath=cppcheck-result.xml |
| 38 | |
| 39 | # List of the module identifiers |
Roger Meier | 8cdb9e9 | 2013-03-22 21:07:21 +0100 | [diff] [blame] | 40 | sonar.modules=module1,module3,module4,module5,module6,module7,module8,module9,module10,module11,module12,module14 |
| 41 | |
| 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 |
| 51 | #sonar.modules=module15 |
| 52 | |
Roger Meier | d94399a | 2012-12-27 22:21:32 +0100 | [diff] [blame] | 53 | module1.sonar.projectName=Apache Thrift - Java Library |
| 54 | module1.sonar.projectBaseDir=lib/java |
| 55 | module1.sonar.sources=src |
| 56 | module1.sonar.tests=test |
Jens Geyer | 616df98 | 2019-10-19 22:08:13 +0200 | [diff] [blame] | 57 | module1.sonar.binaries=build/libs/libthrift-0.14.0.jar |
Alex Volanis | 7004a61 | 2018-01-24 10:30:13 -0500 | [diff] [blame] | 58 | module1.sonar.libraries=build/deps/*.jar |
Roger Meier | d94399a | 2012-12-27 22:21:32 +0100 | [diff] [blame] | 59 | module1.sonar.language=java |
| 60 | |
| 61 | module2.sonar.projectName=Apache Thrift - Java Tutorial |
Roger Meier | 8cdb9e9 | 2013-03-22 21:07:21 +0100 | [diff] [blame] | 62 | module2.sonar.projectBaseDir=. |
| 63 | module2.sonar.sources=tutorial/java/src, tutorial/java/gen-java |
| 64 | module2.sonar.binaries=tutorial/java/tutorial.jar |
Jens Geyer | 616df98 | 2019-10-19 22:08:13 +0200 | [diff] [blame] | 65 | module2.sonar.libraries=lib/java/build/deps/*.jar,lib/java/build/libs/libthrift-0.14.0.jar |
Roger Meier | d94399a | 2012-12-27 22:21:32 +0100 | [diff] [blame] | 66 | module2.sonar.language=java |
| 67 | |
| 68 | module3.sonar.projectName=Apache Thrift - JavaScript Library |
| 69 | module3.sonar.projectBaseDir=lib/js |
| 70 | module3.sonar.sources=. |
| 71 | module3.sonar.exclusions=test/**/* |
| 72 | module3.sonar.language=js |
| 73 | |
| 74 | module4.sonar.projectName=Apache Thrift - JavaScript Tutorial |
| 75 | module4.sonar.projectBaseDir=tutorial/js |
| 76 | module4.sonar.sources=. |
| 77 | module4.sonar.language=web |
| 78 | |
| 79 | module5.sonar.projectName=Apache Thrift - C++ Library |
| 80 | module5.sonar.projectBaseDir=lib/cpp |
| 81 | module5.sonar.sources=src |
| 82 | module5.sonar.tests=test |
| 83 | module5.sonar.language=c++ |
| 84 | |
| 85 | module6.sonar.projectName=Apache Thrift - C++ Tutorial |
| 86 | module6.sonar.projectBaseDir=tutorial/cpp |
| 87 | module6.sonar.sources=. |
| 88 | module6.sonar.exclusions=gen-cpp/**/* |
| 89 | module6.sonar.language=c++ |
| 90 | |
| 91 | module7.sonar.projectName=Apache Thrift - C++ Cross Language Test |
| 92 | module7.sonar.projectBaseDir=test/cpp |
| 93 | module7.sonar.sources=src |
| 94 | module7.sonar.language=c++ |
| 95 | |
| 96 | module8.sonar.projectName=Apache Thrift - Compiler |
| 97 | module8.sonar.projectBaseDir=compiler/cpp |
| 98 | module8.sonar.sources=src |
| 99 | module8.sonar.language=c++ |
| 100 | |
| 101 | module9.sonar.projectName=Apache Thrift - Python Library |
| 102 | module9.sonar.projectBaseDir=lib/py |
| 103 | module9.sonar.sources=src |
| 104 | module9.sonar.language=py |
| 105 | |
| 106 | module10.sonar.projectName=Apache Thrift - Python Tutorial |
| 107 | module10.sonar.projectBaseDir=tutorial/py |
| 108 | module10.sonar.sources=. |
| 109 | module10.sonar.exclusions=gen-py/**/* |
| 110 | module10.sonar.language=py |
| 111 | |
| 112 | module11.sonar.projectName=Apache Thrift - Python Cross Language Test |
| 113 | module11.sonar.projectBaseDir=test/py |
| 114 | module11.sonar.sources=. |
| 115 | module11.sonar.exclusions=gen-*/**/* |
| 116 | module11.sonar.language=py |
| 117 | |
| 118 | module12.sonar.projectName=Apache Thrift - c_glib Library |
| 119 | module12.sonar.projectBaseDir=lib/c_glib |
| 120 | module12.sonar.sources=src |
| 121 | module12.sonar.language=c |
| 122 | |
Roger Meier | 6a9df6e | 2013-01-06 20:11:28 +0100 | [diff] [blame] | 123 | module13.sonar.projectName=Apache Thrift - Delphi Library |
| 124 | module13.sonar.projectBaseDir=lib/delphi |
| 125 | module13.sonar.sources=src |
| 126 | module13.sonar.tests=test |
| 127 | module13.sonar.language=delph |
| 128 | |
| 129 | module14.sonar.projectName=Apache Thrift - Flex (as3) Library |
| 130 | module14.sonar.projectBaseDir=lib/as3 |
| 131 | module14.sonar.sources=src |
| 132 | module14.sonar.language=flex |
| 133 | |
| 134 | module15.sonar.projectName=Apache Thrift - PHP Library |
| 135 | module15.sonar.projectBaseDir=lib/php |
| 136 | module15.sonar.sources=src |
| 137 | module15.sonar.language=php |
| 138 | |
Roger Meier | d94399a | 2012-12-27 22:21:32 +0100 | [diff] [blame] | 139 | # TODO add some more languages here |
| 140 | |