aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-migration
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2016-12-07 11:09:50 +0100
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>2016-12-14 12:11:51 +0100
commit460eee7ce980e719ee1de7873b8fd22bf40f3532 (patch)
tree7362f06932760a13446a64c151c899c2a23b904f /server/sonar-db-migration
parent6267731ef43726692de95b9eea1f18312f288d17 (diff)
downloadsonarqube-460eee7ce980e719ee1de7873b8fd22bf40f3532.tar.gz
sonarqube-460eee7ce980e719ee1de7873b8fd22bf40f3532.zip
SONAR-8445 create maven module sonar-db-migration
Diffstat (limited to 'server/sonar-db-migration')
-rw-r--r--server/sonar-db-migration/pom.xml36
-rw-r--r--server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/package-info.java24
2 files changed, 60 insertions, 0 deletions
diff --git a/server/sonar-db-migration/pom.xml b/server/sonar-db-migration/pom.xml
new file mode 100644
index 00000000000..9ece9a01e95
--- /dev/null
+++ b/server/sonar-db-migration/pom.xml
@@ -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>
diff --git a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/package-info.java b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/package-info.java
new file mode 100644
index 00000000000..e3dd1730045
--- /dev/null
+++ b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/package-info.java
@@ -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;
+