Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added Sonar Source configuration for a Maven build.

  • Loading branch information...
commit 10c78db0ad11eb7f7143860a35f86d245bba7514 1 parent 521af2a
@hhamon hhamon authored
Showing with 54 additions and 0 deletions.
  1. +54 −0 pom.xml.dist
View
54 pom.xml.dist
@@ -0,0 +1,54 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.propelorm.projectGroupId</groupId>
+ <artifactId>Propel2</artifactId>
+ <name>The Propel2 PHP ORM</name>
+ <version>2.0.0-DEV</version>
+ <packaging>pom</packaging>
+
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <testSourceDirectory>tests</testSourceDirectory>
+ </build>
+
+ <properties>
+
+ <!-- General settings -->
+
+ <sonar.language>php</sonar.language>
+
+ <!-- Database settings -->
+ <!--
+ <sonar.jdbc.url>
+ <![CDATA[jdbc:mysql://127.0.0.1:3306/sonar?useUnicode=true&characterEncoding=utf8]]>
+ </sonar.jdbc.url>
+ <sonar.jdbc.driverClassName> com.mysql.jdbc.Driver</sonar.jdbc.driverClassName>
+ <sonar.jdbc.username>sonar</sonar.jdbc.username>
+ <sonar.jdbc.password>sonar</sonar.jdbc.password>
+
+ -->
+
+ <!-- Automated tools settings -->
+
+ <sonar.dynamicAnalysis>true</sonar.dynamicAnalysis>
+
+ <sonar.phpDepend.shouldRun>true</sonar.phpDepend.shouldRun>
+
+ <sonar.phpPmd.shouldRun>true</sonar.phpPmd.shouldRun>
+ <sonar.phpPmd.analyzeOnly>false</sonar.phpPmd.analyzeOnly>
+
+ <sonar.phpCodesniffer.shouldRun>true</sonar.phpCodesniffer.shouldRun>
+
+ <sonar.phpUnit.analyze.test.directory>false</sonar.phpUnit.analyze.test.directory>
+ <sonar.phpUnit.skip>true</sonar.phpUnit.skip>
+ <!--
+ <sonar.phpUnit.coverage.skip>true</sonar.phpUnit.coverage.skip>
+ <sonar.phpUnit.mainTestClass>/source/tests/AllTests2.php</sonar.phpUnit.mainTestClass>
+ -->
+
+ <sonar.phpcpd.shouldRun>true</sonar.phpcpd.shouldRun>
+ <sonar.phpcpd.excludes>tests</sonar.phpcpd.excludes>
+
+ </properties>
+</project>
Please sign in to comment.
Something went wrong with that request. Please try again.