Last active
December 16, 2015 07:18
-
-
Save gabriellett/5397761 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Define the Sonar project properties --> | |
<property name="sonar.projectKey" value="com.bionexo:Lib" /> | |
<property name="sonar.projectName" value="[Project Name]" /> | |
<property name="sonar.projectVersion" value="[Project Version]" /> | |
<property name="sonar.language" value="java" /> | |
<property name="sonar.sources" value="src" /> | |
<property name="sonar.binaries" value="deploy" /> | |
<!-- Define the Sonar target --> | |
<target name="sonar"> | |
<taskdef uri="antlib:org.sonar.ant" resource="org/sonar/ant/antlib.xml"> | |
<classpath path="[Path/to/sonar/plugins/folder]/sonar-ant-task-2.0.jar" /> | |
</taskdef> | |
<sonar:sonar key="[ProjectKey]" version="[Version]" xmlns:sonar="antlib:org.sonar.ant"> | |
<tests> | |
<path location="src/com" /> | |
</tests> | |
</sonar:sonar> | |
</target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment