Move mysql ha strategy to a plugin. Activate this plugin using the mysqlha profile or the noredist flag

This commit is contained in:
Hugo Trippaers 2014-02-27 09:48:55 +01:00
parent bb6fddf434
commit a0f932437c
5 changed files with 54 additions and 5 deletions

View File

@ -718,6 +718,21 @@
</dependency>
</dependencies>
</profile>
<profile>
<id>mysqlha</id>
<activation>
<property>
<name>noredist</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>org.apache.cloudstack</groupId>
<artifactId>cloud-plugin-database-myqslha</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</profile>
<profile>
<id>quickcloud</id>
<activation>

View File

@ -48,11 +48,6 @@
<artifactId>cloud-utils</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>

View File

@ -0,0 +1,28 @@
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for additional
information regarding copyright ownership. The ASF licenses this file to you under
the Apache License, Version 2.0 (the "License"); you may not use this file except
in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
OF ANY KIND, either express or implied. See the License for the specific language
governing permissions and limitations under the License. -->
<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>
<artifactId>cloud-plugin-database-mysqlha</artifactId>
<name>Apache CloudStack Plugin - MySQL HA Strategy</name>
<parent>
<groupId>org.apache.cloudstack</groupId>
<artifactId>cloudstack-plugins</artifactId>
<version>4.4.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<dependencies>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
</project>

View File

@ -173,6 +173,17 @@
<module>network-elements/cisco-vnmc</module>
</modules>
</profile>
<profile>
<id>mysqlha</id>
<activation>
<property>
<name>noredist</name>
</property>
</activation>
<modules>
<module>database/mysql-ha</module>
</modules>
</profile>
<profile>
<id>simulator</id>
<activation>