Explorar el Código

SONAR-8445 create maven module sonar-db-migration

tags/6.3-RC1
Sébastien Lesaint hace 7 años
padre
commit
460eee7ce9

+ 5
- 0
pom.xml Ver fichero

@@ -433,6 +433,11 @@
<artifactId>sonar-db</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>sonar-db-migration</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>sonar-scanner-protocol</artifactId>

+ 1
- 0
server/pom.xml Ver fichero

@@ -14,6 +14,7 @@
<module>sonar-process</module>
<module>sonar-process-monitor</module>
<module>sonar-search</module>
<module>sonar-db-migration</module>
<module>sonar-server</module>
<module>sonar-ce</module>
<module>sonar-plugin-bridge</module>

+ 36
- 0
server/sonar-db-migration/pom.xml Ver fichero

@@ -0,0 +1,36 @@
<?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.3-SNAPSHOT</version>
</parent>

<artifactId>sonar-db-migration</artifactId>

<name>SonarQube :: Database Migration</name>
<description>Create SonarQube schema</description>
<dependencies>

<!-- tests -->

</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>${skipServerTests}</skipTests>
</configuration>
</plugin>
</plugins>
</build>

<profiles>
</profiles>
</project>

+ 24
- 0
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/package-info.java Ver fichero

@@ -0,0 +1,24 @@
/*
* SonarQube
* Copyright (C) 2009-2016 SonarSource SA
* mailto:contact AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
@ParametersAreNonnullByDefault
package org.sonar.server.platform.db.migration;

import javax.annotation.ParametersAreNonnullByDefault;


+ 4
- 0
server/sonar-server/pom.xml Ver fichero

@@ -67,6 +67,10 @@
<groupId>${project.groupId}</groupId>
<artifactId>sonar-db</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>sonar-db-migration</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>sonar-scanner-protocol</artifactId>

+ 1
- 1
sonar-db/pom.xml Ver fichero

@@ -11,7 +11,7 @@
<artifactId>sonar-db</artifactId>

<name>SonarQube :: Database</name>
<description>Create and request SonarQube schema</description>
<description>Request SonarQube schema</description>
<properties>
<sonar.exclusions>target/generated-sources/**</sonar.exclusions>

Cargando…
Cancelar
Guardar