geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r907776 - in /geronimo/daytrader/trunk/plugins: ./ daytrader-db2-datasource/ daytrader-informix-datasource/ daytrader-mysql-datasource/ daytrader-oracle-datasource/ daytrader-postgre-datasource/ daytrader-sqlserver-datasource/
Date Mon, 08 Feb 2010 20:11:07 GMT
Author: dwoods
Date: Mon Feb  8 20:11:07 2010
New Revision: 907776

URL: http://svn.apache.org/viewvc?rev=907776&view=rev
Log:
add profiles to allow building all third-party datasource plugins if you have the required
artifacts

Modified:
    geronimo/daytrader/trunk/plugins/daytrader-db2-datasource/pom.xml
    geronimo/daytrader/trunk/plugins/daytrader-informix-datasource/pom.xml
    geronimo/daytrader/trunk/plugins/daytrader-mysql-datasource/pom.xml
    geronimo/daytrader/trunk/plugins/daytrader-oracle-datasource/pom.xml
    geronimo/daytrader/trunk/plugins/daytrader-postgre-datasource/pom.xml
    geronimo/daytrader/trunk/plugins/daytrader-sqlserver-datasource/pom.xml
    geronimo/daytrader/trunk/plugins/pom.xml

Modified: geronimo/daytrader/trunk/plugins/daytrader-db2-datasource/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/plugins/daytrader-db2-datasource/pom.xml?rev=907776&r1=907775&r2=907776&view=diff
==============================================================================
--- geronimo/daytrader/trunk/plugins/daytrader-db2-datasource/pom.xml (original)
+++ geronimo/daytrader/trunk/plugins/daytrader-db2-datasource/pom.xml Mon Feb  8 20:11:07
2010
@@ -28,6 +28,43 @@
     <artifactId>daytrader-db2-datasource</artifactId>
     <packaging>car</packaging>
     <name>Daytrader :: Plugins :: IBM DB2 DataSource</name>
+    <description>IBM DB2 Datasource plugin for Daytrader.  Requires DB2 v9.7 JCC and
License files.</description>
+
+    <!--
+        You can build this datasource if you:
+        1) have the DB2 artifacts installed in a local repo and supply the URL:
+            -Dmaven.repo.drivers=http://my.local.repo
+        2) have a copy of the DB2 JCC driver and run the following commands :
+            mvn install:install-file -Dfile=${path to db2jcc.jar} \
+                                     -DgroupId=com.ibm.db2 \
+                                     -DartifactId=db2jcc \
+                                     -Dversion=9.7 \
+                                     -Dpackaging=jar
+
+            mvn install:install-file -Dfile=${path to db2jcc_license_cu.jar} \
+                                     -DgroupId=com.ibm.db2 \
+                                     -DartifactId=db2jcc_license_cu \
+                                     -Dversion=9.7 \
+                                     -Dpackaging=jar
+    -->
+    <properties>
+        <maven.repo.drivers>http://not.a.real.repository</maven.repo.drivers>
+    </properties>
+    <repositories>
+        <repository>
+            <id>maven.repo.drivers</id>
+            <name>Private JDBC Driver Repository</name>
+            <url>${maven.repo.drivers}</url>
+            <layout>default</layout>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+            <releases>
+                <enabled>true</enabled>
+                <checksumPolicy>ignore</checksumPolicy>
+            </releases>
+        </repository>
+    </repositories>
 
     <dependencies>
         <dependency>

Modified: geronimo/daytrader/trunk/plugins/daytrader-informix-datasource/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/plugins/daytrader-informix-datasource/pom.xml?rev=907776&r1=907775&r2=907776&view=diff
==============================================================================
--- geronimo/daytrader/trunk/plugins/daytrader-informix-datasource/pom.xml (original)
+++ geronimo/daytrader/trunk/plugins/daytrader-informix-datasource/pom.xml Mon Feb  8 20:11:07
2010
@@ -28,6 +28,43 @@
     <artifactId>daytrader-informix-datasource</artifactId>
     <packaging>car</packaging>
     <name>Daytrader :: Plugins :: IBM Informix DataSource</name>
+    <description>IBM Informix Datasource plugin for Daytrader.  Requires Informix v3.50
JDBC files.</description>
+
+    <!--
+        You can build this datasource if you:
+        1) have the IDS artifacts installed in a local repo and supply the URL:
+            -Dmaven.repo.drivers=http://my.local.repo
+        2) have a copy of the IDS JDBC driver and run the following commands :
+            mvn install:install-file -Dfile=${path to ifxjdbc.jar} \
+                                     -DgroupId=com.informix \
+                                     -DartifactId=ifxjdbc \
+                                     -Dversion=3.50 \
+                                     -Dpackaging=jar
+
+            mvn install:install-file -Dfile=${path to ifxjdbcx.jar} \
+                                     -DgroupId=com.informmix \
+                                     -DartifactId=ifxjdbcx \
+                                     -Dversion=3.50 \
+                                     -Dpackaging=jar
+    -->
+    <properties>
+        <maven.repo.drivers>http://not.a.real.repository</maven.repo.drivers>
+    </properties>
+    <repositories>
+        <repository>
+            <id>maven.repo.drivers</id>
+            <name>Private JDBC Driver Repository</name>
+            <url>${maven.repo.drivers}</url>
+            <layout>default</layout>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+            <releases>
+                <enabled>true</enabled>
+                <checksumPolicy>ignore</checksumPolicy>
+            </releases>
+        </repository>
+    </repositories>
 
     <dependencies>
         <dependency>

Modified: geronimo/daytrader/trunk/plugins/daytrader-mysql-datasource/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/plugins/daytrader-mysql-datasource/pom.xml?rev=907776&r1=907775&r2=907776&view=diff
==============================================================================
--- geronimo/daytrader/trunk/plugins/daytrader-mysql-datasource/pom.xml (original)
+++ geronimo/daytrader/trunk/plugins/daytrader-mysql-datasource/pom.xml Mon Feb  8 20:11:07
2010
@@ -28,6 +28,37 @@
     <artifactId>daytrader-mysql-datasource</artifactId>
     <packaging>car</packaging>
     <name>Daytrader :: Plugins :: MySQL DataSource</name>
+    <description>MySQL Datasource plugin for Daytrader.  Requires MySQL 5.1.10 JDBC
files.</description>
+
+    <!--
+        You can build this datasource if you:
+        1) have the MySQL artifact installed in a local repo and supply the URL:
+            -Dmaven.repo.drivers=http://my.local.repo
+        2) have a copy of the MySQL JDBC driver and run the following command:
+            mvn install:install-file -Dfile=${path to mysql-connector-java.jar}\
+                                     -DgroupId=mysql \
+                                     -DartifactId=mysql-connector-java \
+                                     -Dversion=5.1.10 \
+                                     -Dpackaging=jar
+    -->
+    <properties>
+        <maven.repo.drivers>http://not.a.real.repository</maven.repo.drivers>
+    </properties>
+    <repositories>
+        <repository>
+            <id>maven.repo.drivers</id>
+            <name>Private JDBC Driver Repository</name>
+            <url>${maven.repo.drivers}</url>
+            <layout>default</layout>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+            <releases>
+                <enabled>true</enabled>
+                <checksumPolicy>ignore</checksumPolicy>
+            </releases>
+        </repository>
+    </repositories>
 
     <dependencies>
         <dependency>

Modified: geronimo/daytrader/trunk/plugins/daytrader-oracle-datasource/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/plugins/daytrader-oracle-datasource/pom.xml?rev=907776&r1=907775&r2=907776&view=diff
==============================================================================
--- geronimo/daytrader/trunk/plugins/daytrader-oracle-datasource/pom.xml (original)
+++ geronimo/daytrader/trunk/plugins/daytrader-oracle-datasource/pom.xml Mon Feb  8 20:11:07
2010
@@ -28,6 +28,37 @@
     <artifactId>daytrader-oracle-datasource</artifactId>
     <packaging>car</packaging>
     <name>Daytrader :: Plugins :: Oracle DataSource</name>
+    <description>Oracle Datasource plugin for Daytrader.  Requires Oracle 10g JDBC
files.</description>
+
+    <!--
+        You can build this datasource if you have:
+        1) the Oracle artifacts installed in a local repo and supply the URL:
+            -Dmaven.repo.drivers=http://my.local.repo
+        2) a copy of the Oracle JDBC driver and run the following command:
+            mvn install:install-file -Dfile=${path to ojdbc14.jar} \
+                                     -DgroupId=oracle \
+                                     -DartifactId=ojdbc14 \
+                                     -Dversion=10g \
+                                     -Dpackaging=jar
+    -->
+    <properties>
+        <maven.repo.drivers>http://not.a.real.repository</maven.repo.drivers>
+    </properties>
+    <repositories>
+        <repository>
+            <id>maven.repo.drivers</id>
+            <name>Private JDBC Driver Repository</name>
+            <url>${maven.repo.drivers}</url>
+            <layout>default</layout>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+            <releases>
+                <enabled>true</enabled>
+                <checksumPolicy>ignore</checksumPolicy>
+            </releases>
+        </repository>
+    </repositories>
 
     <dependencies>
         <dependency>
@@ -59,11 +90,19 @@
             <scope>provided</scope>
         </dependency>
 	<!--You need to install the jdbc driver into local maven repo by self-->
+        <!--
         <dependency>
             <groupId>oracle</groupId>
             <artifactId>ojdbc14</artifactId>
             <version>10g</version>
             <type>jar</type>
+        </dependency>
+        -->
+        <dependency>
+            <groupId>com.oracle</groupId>
+            <artifactId>jdbc-driver</artifactId>
+            <version>10g</version>
+            <type>jar</type>
           </dependency>
     </dependencies>
     <build>

Modified: geronimo/daytrader/trunk/plugins/daytrader-postgre-datasource/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/plugins/daytrader-postgre-datasource/pom.xml?rev=907776&r1=907775&r2=907776&view=diff
==============================================================================
--- geronimo/daytrader/trunk/plugins/daytrader-postgre-datasource/pom.xml (original)
+++ geronimo/daytrader/trunk/plugins/daytrader-postgre-datasource/pom.xml Mon Feb  8 20:11:07
2010
@@ -28,6 +28,37 @@
     <artifactId>daytrader-postgre-datasource</artifactId>
     <packaging>car</packaging>
     <name>Daytrader :: Plugins :: PostgreSQL DataSource</name>
+    <description>PostgreSQL Datasource plugin for Daytrader.  Requires PostgreSQL 
8.4-701.jdbc4 JDBC files.</description>
+
+    <!--
+        You can build this datasource if you have:
+        1) the PostgreSQL artifact installed in a local repo and supply the URL:
+            -Dmaven.repo.drivers=http://my.local.repo
+        2) a copy of the PostgreSQL JDBC driver and run the following command:
+            mvn install:install-file -Dfile=${path to postgresql.jar}\
+                                     -DgroupId=postgresql \
+                                     -DartifactId=postgresql \
+                                     -Dversion=8.4-701.jdbc4 \
+                                     -Dpackaging=jar
+    -->
+    <properties>
+        <maven.repo.drivers>http://not.a.real.repository</maven.repo.drivers>
+    </properties>
+    <repositories>
+        <repository>
+            <id>maven.repo.drivers</id>
+            <name>Private JDBC Driver Repository</name>
+            <url>${maven.repo.drivers}</url>
+            <layout>default</layout>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+            <releases>
+                <enabled>true</enabled>
+                <checksumPolicy>ignore</checksumPolicy>
+            </releases>
+        </repository>
+    </repositories>
 
     <dependencies>
         <dependency>

Modified: geronimo/daytrader/trunk/plugins/daytrader-sqlserver-datasource/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/plugins/daytrader-sqlserver-datasource/pom.xml?rev=907776&r1=907775&r2=907776&view=diff
==============================================================================
--- geronimo/daytrader/trunk/plugins/daytrader-sqlserver-datasource/pom.xml (original)
+++ geronimo/daytrader/trunk/plugins/daytrader-sqlserver-datasource/pom.xml Mon Feb  8 20:11:07
2010
@@ -28,6 +28,37 @@
     <artifactId>daytrader-sqlserver-datasource</artifactId>
     <packaging>car</packaging>
     <name>Daytrader :: Plugins :: Microsoft SQL Server DataSource</name>
+    <description>Microsoft SQL Server Datasource plugin for Daytrader.  Requires SQL
Server 2.0 JDBC files.</description>
+
+    <!--
+        You can build this datasource if you have:
+        1) the MSSQL artifact installed in a local repo and supply the URL:
+            -Dmaven.repo.drivers=http://my.local.repo
+        2) a copy of the MSSQL JDBC driver and run the following command:
+            mvn install:install-file -Dfile=${path to sqljdbc4.jar}\
+                                     -DgroupId=com.microsoft.sqlserver \
+                                     -DartifactId=sqljdbc4 \
+                                     -Dversion=2.0 \
+                                     -Dpackaging=jar
+    -->
+    <properties>
+        <maven.repo.drivers>http://not.a.real.repository</maven.repo.drivers>
+    </properties>
+    <repositories>
+        <repository>
+            <id>maven.repo.drivers</id>
+            <name>Private JDBC Driver Repository</name>
+            <url>${maven.repo.drivers}</url>
+            <layout>default</layout>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+            <releases>
+                <enabled>true</enabled>
+                <checksumPolicy>ignore</checksumPolicy>
+            </releases>
+        </repository>
+    </repositories>
 
     <dependencies>
         <dependency>

Modified: geronimo/daytrader/trunk/plugins/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/plugins/pom.xml?rev=907776&r1=907775&r2=907776&view=diff
==============================================================================
--- geronimo/daytrader/trunk/plugins/pom.xml (original)
+++ geronimo/daytrader/trunk/plugins/pom.xml Mon Feb  8 20:11:07 2010
@@ -30,24 +30,76 @@
     <name>DayTrader :: Plugins</name>
     <packaging>pom</packaging>
 
-    <modules>
-        <!-- c-m-p built plugins -->
-        <module>daytrader-derby-datasource</module>
-        <!-- see profiles -->
-        <!--<module>daytrader-db2-datasource</module>-->
-        <!--<module>daytrader-oracle-datasource</module>-->
-	<!--<module>daytrader-mysql-datasource</module>-->
-        <!--<module>daytrader-informix-datasource</module>-->
-	<!--<module>daytrader-sqlserver-datasource</module>-->
-        <!--<module>daytrader-postgre-datasource</module>-->
-	<module>daytrader-web-jdbc-jetty</module>
-        <module>daytrader-web-jdbc-tomcat</module>
-	<module>daytrader-web-jpa-jetty</module>
-        <module>daytrader-web-jpa-tomcat</module>
-        <module>daytrader-jms</module>
-        <module>daytrader-jetty</module>
-        <module>daytrader-tomcat</module>
-    </modules>
+    <profiles>
+        <profile>
+            <id>default</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+                <property>
+                    <name>default</name>
+                </property>
+            </activation>
+            <modules>
+                <module>daytrader-derby-datasource</module>
+        	<module>daytrader-web-jdbc-jetty</module>
+                <module>daytrader-web-jdbc-tomcat</module>
+        	<module>daytrader-web-jpa-jetty</module>
+                <module>daytrader-web-jpa-tomcat</module>
+                <module>daytrader-jms</module>
+                <module>daytrader-jetty</module>
+                <module>daytrader-tomcat</module>
+            </modules>
+        </profile>
+        <!--
+            You can build the extra datasources in this profile if you have
+            the required JDBC artifacts from each DB vendor installed into
+            either your local repo or a private maven repo you have setup,
+            by supplying the URL on the mvn cmdline as:
+                -Dmaven.repo.drivers=http://my.local.repo
+        -->
+        <profile>
+            <id>all</id>
+            <activation>
+                <property>
+                    <name>all</name>
+                </property>
+            </activation>
+            <modules>
+                <module>daytrader-derby-datasource</module>
+                <module>daytrader-db2-datasource</module>
+                <module>daytrader-oracle-datasource</module>
+        	<module>daytrader-mysql-datasource</module>
+                <module>daytrader-informix-datasource</module>
+        	<module>daytrader-sqlserver-datasource</module>
+                <module>daytrader-postgre-datasource</module>
+        	<module>daytrader-web-jdbc-jetty</module>
+                <module>daytrader-web-jdbc-tomcat</module>
+        	<module>daytrader-web-jpa-jetty</module>
+                <module>daytrader-web-jpa-tomcat</module>
+                <module>daytrader-jms</module>
+                <module>daytrader-jetty</module>
+                <module>daytrader-tomcat</module>
+            </modules>
+            <properties>
+                <maven.repo.drivers>http://not.a.real.repository</maven.repo.drivers>
+            </properties>
+            <repositories>
+                <repository>
+                    <id>maven.repo.drivers</id>
+                    <name>Private JDBC Driver Repository</name>
+                    <url>${maven.repo.drivers}</url>
+                    <layout>default</layout>
+                    <snapshots>
+                        <enabled>false</enabled>
+                    </snapshots>
+                    <releases>
+                        <enabled>true</enabled>
+                        <checksumPolicy>ignore</checksumPolicy>
+                    </releases>
+                </repository>
+            </repositories>
+        </profile>
+    </profiles>
 
     <build>
         <plugins>



Mime
View raw message