You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ke...@apache.org on 2008/02/06 04:48:07 UTC

svn commit: r618870 - in /geronimo/plugins/roller/trunk: README pom.xml roller-mysql-database/pom.xml

Author: kevan
Date: Tue Feb  5 19:48:06 2008
New Revision: 618870

URL: http://svn.apache.org/viewvc?rev=618870&view=rev
Log:
GERONIMO-3816 Disable building of the roller-mysql-database plugin. Also added instructions on how to build, if desired, with suitable warning about the licensing terms. Note that the plugin will still be built under the org.apache.geronimo.plugins groupid. This probably needs to be adjusted. Input welcome

Modified:
    geronimo/plugins/roller/trunk/README
    geronimo/plugins/roller/trunk/pom.xml
    geronimo/plugins/roller/trunk/roller-mysql-database/pom.xml

Modified: geronimo/plugins/roller/trunk/README
URL: http://svn.apache.org/viewvc/geronimo/plugins/roller/trunk/README?rev=618870&r1=618869&r2=618870&view=diff
==============================================================================
--- geronimo/plugins/roller/trunk/README (original)
+++ geronimo/plugins/roller/trunk/README Tue Feb  5 19:48:06 2008
@@ -17,7 +17,21 @@
 Accessing roller at this point for instance via the /roller link in "Application" -->> "Web App WARs" will initiate rollers automatic 
 installation function that will set up the roller derby database and you will be up and running using the derby database.  
 
-Roller with MySql:
+Roller with MySql Licensing:
+MySQL cannot be included with roller. MySQL is Licensed under the GPL license: http://www.mysql.com/company/legal/licensing/
+and also under a FLOSS exception: http://www.mysql.com/company/legal/licensing/foss-exception.html.
+
+Neither of these license terms are compatible with the goals of the ASF. Thus, we are not able to provide a MySQL roller plugin.
+However, this does not mean you cannot use MySQL with the roller plugin. You'll just need to build it yourself. 
+
+To build the roller-mysql-database plugin:
+
+   * edit roller-mysql-database/pom.xml, and uncomment the dependency for mysql-connector-java
+   * cd to the roller-mysql-database directory and run 'mvn'
+
+This will build the roller-mysql-database plugin.
+
+Roller with MySql Setup:
 At any time you can start using mysql as database back-end by installing the roller-mysql plugin module.
 Before installing the roller-mysql plugin create a empty mysql database called 'roller' with the user 'roller' and password 'roller'. 
 After installing the roller-mysql plugin you may need to restart roller for the database change to take effect this can be done from 

Modified: geronimo/plugins/roller/trunk/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/plugins/roller/trunk/pom.xml?rev=618870&r1=618869&r2=618870&view=diff
==============================================================================
--- geronimo/plugins/roller/trunk/pom.xml (original)
+++ geronimo/plugins/roller/trunk/pom.xml Tue Feb  5 19:48:06 2008
@@ -161,12 +161,18 @@
                 <version>1.2.3</version>
             </dependency>
 
+            <!--
+                Don't include the following MySQL dependency due to licensing issues.
+                See the README
+              -->
+<!--
             <dependency>
                 <groupId>mysql</groupId>
                 <artifactId>mysql-connector-java</artifactId>
                 <version>3.1.12</version>
                 <type>jar</type>
             </dependency>
+-->
         </dependencies>
     </dependencyManagement>
 
@@ -259,7 +265,11 @@
     <modules>
         <module>roller-resources</module>
         <module>roller-derby-database</module>
-        <module>roller-mysql-database</module>
+        <!--
+            Don't build the roller-mysql-database plugin because of 
+            licensing issues. See the README for more info.
+          -->
+<!--         <module>roller-mysql-database</module> -->
         <module>roller-jetty</module>
         <module>roller-tomcat</module>
         <module>geronimo-jetty-roller</module>

Modified: geronimo/plugins/roller/trunk/roller-mysql-database/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/plugins/roller/trunk/roller-mysql-database/pom.xml?rev=618870&r1=618869&r2=618870&view=diff
==============================================================================
--- geronimo/plugins/roller/trunk/roller-mysql-database/pom.xml (original)
+++ geronimo/plugins/roller/trunk/roller-mysql-database/pom.xml Tue Feb  5 19:48:06 2008
@@ -51,11 +51,31 @@
             <type>rar</type>
         </dependency>
 
+        <!-- 
+             MySQL is Licensed under the GPL license:
+             http://www.mysql.com/company/legal/licensing/
+
+             MySQL is also available under a FLOSS exception:
+             http://www.mysql.com/company/legal/licensing/foss-exception.html.
+             The FLOSS exception only be applied to MySQL when it is
+             used under an OSI-approved license.
+
+             Neither of these licenses are compatible with the goals of the
+             Apache Software Foundation. Thus, we cannot make a MySQL roller
+             plugin available for download. This does not prevent you from 
+             building the roller-mysql-database plugin, yourself.
+                                   
+             If either of the above license terms are acceptable to
+             you, uncomment the following dependency and run mvn to
+             build the roller-mysql-database plugin.
+          -->
+<!--
         <dependency>
             <groupId>mysql</groupId>
             <artifactId>mysql-connector-java</artifactId>
             <type>jar</type>
         </dependency>
+-->
 
     </dependencies>