Browse Source

SONAR-9057 add module sonar-ce-api

this module provides code shared by sonar-web and sonar-ce
tags/6.4-RC1
Sébastien Lesaint 7 years ago
parent
commit
588904e9c4
5 changed files with 83 additions and 1 deletions
  1. 5
    0
      pom.xml
  2. 1
    0
      server/pom.xml
  3. 62
    0
      server/sonar-ce-api/pom.xml
  4. 11
    1
      server/sonar-ce/pom.xml
  5. 4
    0
      server/sonar-server/pom.xml

+ 5
- 0
pom.xml View File

@@ -437,6 +437,11 @@
<artifactId>sonar-update-center-common</artifactId>
<version>${sonarUpdateCenter.version}</version>
</dependency>
<dependency>
<groupId>org.sonarsource.sonarqube</groupId>
<artifactId>sonar-ce-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>sonar-server</artifactId>

+ 1
- 0
server/pom.xml View File

@@ -20,6 +20,7 @@
<module>sonar-db-migration</module>
<module>sonar-db-dao</module>
<module>sonar-db-testing</module>
<module>sonar-ce-api</module>
<module>sonar-server</module>
<module>sonar-ce</module>
<module>sonar-plugin-bridge</module>

+ 62
- 0
server/sonar-ce-api/pom.xml View File

@@ -0,0 +1,62 @@
<?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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.sonarsource.sonarqube</groupId>
<artifactId>server</artifactId>
<version>6.4-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<artifactId>sonar-ce-api</artifactId>
<name>SonarQube :: Compute Engine API</name>

<dependencies>

<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.picocontainer</groupId>
<artifactId>picocontainer</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>org.sonarsource.sonarqube</groupId>
<artifactId>sonar-plugin-api</artifactId>
</dependency>

<!-- unit tests -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.tngtech.java</groupId>
<artifactId>junit-dataprovider</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>sonar-db-testing</artifactId>
<type>pom</type>
<scope>test</scope>
</dependency>
</dependencies>

</project>

+ 11
- 1
server/sonar-ce/pom.xml View File

@@ -14,7 +14,6 @@
<dependency>
<groupId>org.sonarsource.sonarqube</groupId>
<artifactId>sonar-server</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
@@ -48,6 +47,17 @@
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-guava</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<!-- TODO to be removed -->
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>

+ 4
- 0
server/sonar-server/pom.xml View File

@@ -115,6 +115,10 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.sonarsource.sonarqube</groupId>
<artifactId>sonar-ce-api</artifactId>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>

Loading…
Cancel
Save