@@ -20,7 +20,7 @@ function compile_protobuf { | |||
compile_protobuf "sonar-batch-protocol" "main" | |||
compile_protobuf "sonar-core" "test" | |||
compile_protobuf "sonar-db" "main" | |||
compile_protobuf "server/sonar-server" "main" | |||
compile_protobuf "sonar-ws" "main" | |||
@@ -26,6 +26,7 @@ | |||
<module>sonar-markdown</module> | |||
<module>sonar-plugin-api</module> | |||
<module>server</module> | |||
<module>sonar-ws</module> | |||
<module>sonar-testing-harness</module> | |||
<module>plugins/sonar-xoo-plugin</module> | |||
<module>plugins/sonar-batch-maven-plugin</module> |
@@ -173,6 +173,11 @@ | |||
<groupId>org.elasticsearch</groupId> | |||
<artifactId>elasticsearch</artifactId> | |||
</dependency> | |||
<dependency> | |||
<groupId>${project.groupId}</groupId> | |||
<artifactId>sonar-ws</artifactId> | |||
<version>${project.version}</version> | |||
</dependency> | |||
<dependency> | |||
<groupId>com.google.code.findbugs</groupId> | |||
<artifactId>jsr305</artifactId> | |||
@@ -264,24 +269,6 @@ | |||
</testResources> | |||
<plugins> | |||
<plugin> | |||
<groupId>org.codehaus.mojo</groupId> | |||
<artifactId>build-helper-maven-plugin</artifactId> | |||
<executions> | |||
<execution> | |||
<id>add-source</id> | |||
<phase>generate-sources</phase> | |||
<goals> | |||
<goal>add-source</goal> | |||
</goals> | |||
<configuration> | |||
<sources> | |||
<source>src/main/gen-java</source> | |||
</sources> | |||
</configuration> | |||
</execution> | |||
</executions> | |||
</plugin> | |||
<plugin> | |||
<groupId>org.apache.maven.plugins</groupId> | |||
<artifactId>maven-jar-plugin</artifactId> |
@@ -0,0 +1,45 @@ | |||
<?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.codehaus.sonar</groupId> | |||
<artifactId>sonar</artifactId> | |||
<version>5.2-SNAPSHOT</version> | |||
</parent> | |||
<artifactId>sonar-ws</artifactId> | |||
<name>SonarQube :: Web Service</name> | |||
<description>Protocol Buffers specification of Web Services</description> | |||
<dependencies> | |||
<dependency> | |||
<groupId>com.google.protobuf</groupId> | |||
<artifactId>protobuf-java</artifactId> | |||
</dependency> | |||
</dependencies> | |||
<build> | |||
<plugins> | |||
<plugin> | |||
<groupId>org.codehaus.mojo</groupId> | |||
<artifactId>build-helper-maven-plugin</artifactId> | |||
<executions> | |||
<execution> | |||
<id>add-source</id> | |||
<phase>generate-sources</phase> | |||
<goals> | |||
<goal>add-source</goal> | |||
</goals> | |||
<configuration> | |||
<sources> | |||
<source>src/main/gen-java</source> | |||
</sources> | |||
</configuration> | |||
</execution> | |||
</executions> | |||
</plugin> | |||
</plugins> | |||
</build> | |||
</project> |