diff options
| author | Elena Vilchik | 2018-06-12 13:34:33 +0200 |
|---|---|---|
| committer | GitHub | 2018-06-12 13:34:33 +0200 |
| commit | fb56fdc0dc18d277ccfae2cdb948e9da367377ea (patch) | |
| tree | abf9f112d0249d97bac25123f30bdb6188164401 /its/plugin/pom.xml | |
| parent | 6cebcca87c5d276627fe22b9c53ddeb4844894b6 (diff) | |
| download | sonar-css-fb56fdc0dc18d277ccfae2cdb948e9da367377ea.tar.bz2 | |
Create CSS language and set up trivial ITs (#39)
Diffstat (limited to 'its/plugin/pom.xml')
| -rw-r--r-- | its/plugin/pom.xml | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/its/plugin/pom.xml b/its/plugin/pom.xml new file mode 100644 index 0000000..24aa42c --- /dev/null +++ b/its/plugin/pom.xml @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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"> + <parent> + <artifactId>its</artifactId> + <groupId>org.sonarsource.css</groupId> + <version>1.0.0-SNAPSHOT</version> + </parent> + <modelVersion>4.0.0</modelVersion> + + <artifactId>plugin</artifactId> + + + <dependencies> + <dependency> + <groupId>org.sonarsource.orchestrator</groupId> + <artifactId>sonar-orchestrator</artifactId> + </dependency> + <dependency> + <groupId>org.sonarsource.sonarqube</groupId> + <artifactId>sonar-ws</artifactId> + <version>${sonar.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.assertj</groupId> + <artifactId>assertj-core</artifactId> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <includes> + <include>**/Tests.java</include> + </includes> + </configuration> + </plugin> + </plugins> + </build> + + <profiles> + <profile> + <id>qa</id> + <activation> + <property> + <name>env.SONARSOURCE_QA</name> + <value>true</value> + </property> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <version>2.10</version> + <executions> + <execution> + <id>copy-plugin</id> + <phase>generate-test-resources</phase> + <goals> + <goal>copy</goal> + </goals> + <configuration> + <artifactItems> + <artifactItem> + <groupId>${project.groupId}</groupId> + <artifactId>sonar-css-plugin</artifactId> + <version>${project.version}</version> + <type>sonar-plugin</type> + <overWrite>true</overWrite> + </artifactItem> + </artifactItems> + <outputDirectory>../../sonar-css-plugin/target</outputDirectory> + <overWriteReleases>true</overWriteReleases> + <overWriteSnapshots>true</overWriteSnapshots> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> +</project> |
