|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + |
| 6 | + <parent> |
| 7 | + <groupId>org.sonarsource.java</groupId> |
| 8 | + <artifactId>its</artifactId> |
| 9 | + <version>8.15.0-SNAPSHOT</version> |
| 10 | + </parent> |
| 11 | + |
| 12 | + <artifactId>it-java-ruling</artifactId> |
| 13 | + |
| 14 | + <name>SonarQube Java :: Symbolic Execution :: ITs :: Ruling</name> |
| 15 | + <inceptionYear>2013</inceptionYear> |
| 16 | + |
| 17 | + <properties> |
| 18 | + <surefire.argLine>-server</surefire.argLine> |
| 19 | + <maven.test.redirectTestOutputToFile>false</maven.test.redirectTestOutputToFile> |
| 20 | + </properties> |
| 21 | + |
| 22 | + <dependencies> |
| 23 | + <dependency> |
| 24 | + <groupId>org.slf4j</groupId> |
| 25 | + <artifactId>slf4j-api</artifactId> |
| 26 | + <scope>provided</scope> |
| 27 | + </dependency> |
| 28 | + <dependency> |
| 29 | + <groupId>com.google.code.gson</groupId> |
| 30 | + <artifactId>gson</artifactId> |
| 31 | + <scope>test</scope> |
| 32 | + </dependency> |
| 33 | + <dependency> |
| 34 | + <groupId>org.sonarsource.orchestrator</groupId> |
| 35 | + <artifactId>sonar-orchestrator-junit4</artifactId> |
| 36 | + <version>${orchestrator.version}</version> |
| 37 | + <scope>test</scope> |
| 38 | + <exclusions> |
| 39 | + <exclusion> |
| 40 | + <groupId>com.oracle</groupId> |
| 41 | + <artifactId>ojdbc6</artifactId> |
| 42 | + </exclusion> |
| 43 | + </exclusions> |
| 44 | + </dependency> |
| 45 | + <dependency> |
| 46 | + <groupId>org.sonarsource.sonarqube</groupId> |
| 47 | + <artifactId>sonar-ws</artifactId> |
| 48 | + <version>${sonar.version}</version> |
| 49 | + <scope>test</scope> |
| 50 | + </dependency> |
| 51 | + <dependency> |
| 52 | + <groupId>org.sonarsource.analyzer-commons</groupId> |
| 53 | + <artifactId>sonar-performance-measure</artifactId> |
| 54 | + <scope>test</scope> |
| 55 | + </dependency> |
| 56 | + <dependency> |
| 57 | + <groupId>junit</groupId> |
| 58 | + <artifactId>junit</artifactId> |
| 59 | + <scope>test</scope> |
| 60 | + </dependency> |
| 61 | + <dependency> |
| 62 | + <groupId>org.assertj</groupId> |
| 63 | + <artifactId>assertj-core</artifactId> |
| 64 | + <scope>test</scope> |
| 65 | + </dependency> |
| 66 | + <dependency> |
| 67 | + <groupId>com.google.guava</groupId> |
| 68 | + <artifactId>guava</artifactId> |
| 69 | + <scope>test</scope> |
| 70 | + </dependency> |
| 71 | + <dependency> |
| 72 | + <groupId>com.google.code.findbugs</groupId> |
| 73 | + <artifactId>jsr305</artifactId> |
| 74 | + <scope>provided</scope> |
| 75 | + </dependency> |
| 76 | + <dependency> |
| 77 | + <groupId>org.apache.commons</groupId> |
| 78 | + <artifactId>commons-lang3</artifactId> |
| 79 | + <scope>test</scope> |
| 80 | + </dependency> |
| 81 | + <dependency> |
| 82 | + <groupId>org.sonarsource.java</groupId> |
| 83 | + <artifactId>test-classpath-reader</artifactId> |
| 84 | + <version>${sonar.java.version}</version> |
| 85 | + <scope>test</scope> |
| 86 | + </dependency> |
| 87 | + <!-- not a direct code dependency, but needed to download it and install it into SonarQube --> |
| 88 | + <dependency> |
| 89 | + <groupId>org.sonarsource.java</groupId> |
| 90 | + <artifactId>sonar-java-plugin</artifactId> |
| 91 | + <version>${sonar.java.version}</version> |
| 92 | + <scope>test</scope> |
| 93 | + </dependency> |
| 94 | + <dependency> |
| 95 | + <groupId>org.sonarsource.java</groupId> |
| 96 | + <artifactId>sonar-java-symbolic-execution-plugin</artifactId> |
| 97 | + <version>${project.version}</version> |
| 98 | + <scope>test</scope> |
| 99 | + </dependency> |
| 100 | + </dependencies> |
| 101 | + |
| 102 | + <profiles> |
| 103 | + <profile> |
| 104 | + <id>it-ruling</id> |
| 105 | + <properties> |
| 106 | + <skipTests>false</skipTests> |
| 107 | + </properties> |
| 108 | + </profile> |
| 109 | + <profile> |
| 110 | + <id>without-sonarqube-project</id> |
| 111 | + <build> |
| 112 | + <plugins> |
| 113 | + <plugin> |
| 114 | + <groupId>org.apache.maven.plugins</groupId> |
| 115 | + <artifactId>maven-surefire-plugin</artifactId> |
| 116 | + <configuration> |
| 117 | + <test>!org.sonar.java.it.JavaRulingTest#sonarqube_server</test> |
| 118 | + </configuration> |
| 119 | + </plugin> |
| 120 | + </plugins> |
| 121 | + </build> |
| 122 | + </profile> |
| 123 | + <profile> |
| 124 | + <id>only-sonarqube-project</id> |
| 125 | + <build> |
| 126 | + <plugins> |
| 127 | + <plugin> |
| 128 | + <groupId>org.apache.maven.plugins</groupId> |
| 129 | + <artifactId>maven-surefire-plugin</artifactId> |
| 130 | + <configuration> |
| 131 | + <test>org.sonar.java.it.JavaRulingTest#sonarqube_server</test> |
| 132 | + </configuration> |
| 133 | + </plugin> |
| 134 | + </plugins> |
| 135 | + </build> |
| 136 | + </profile> |
| 137 | + </profiles> |
| 138 | + |
| 139 | +</project> |
0 commit comments