Have a look at the pom.xml file for epsg-oracle, it contains two 
profiles (one for a dummy jar and one with the real jar) and switches 
between them based on a system property.

To run with the real jar:
- mvn clean install -Poracle.jdbc=true

To run with the dummy jar:
- mvn clean install

Setting things up this way means that I never have to worry about 
committing things in the wrong state.
Jody
> Sorry about that.
>
> I was testing with the live DB2 drivers and forget to change the 
> comments back before committing the pom.xml. Hopefully this is fixed now.
>
> Is there a better way to deal with this situation?
>
> A while back, I had found an IBM DB2 web site that indicated the DB2 
> JDBC drivers could be redistributed but I haven't been able to find my 
> way back to this.  Putting them on the maven download site instead of 
> the dummy jar would help.
>
> It looks like in addition to the .jar files, there is also a .pom and 
> .sha1 file.  Are these documented? Where?
> Andrea Aime wrote:
>   
>> Hi David,
>> I'm temporarily kicking db2 out of the build
>> because the build fails looking for the jdbc driver
>> and its licese:
>>
>> Missing:
>> ----------
>> 1) com.ibm:db2jcc_license_cu:jar:8.2
>>   Try downloading the file manually from the project website.
>>   Then, install it using the command:
>>       mvn install:install-file -DgroupId=com.ibm 
>> -DartifactId=db2jcc_license_cu \
>>           -Dversion=8.2 -Dpackaging=jar -Dfile=/path/to/file
>>   Path to dependency:
>>         1) org.geotools:gt2-db2:jar:2.5-SNAPSHOT
>>         2) com.ibm:db2jcc_license_cu:jar:8.2
>> 2) com.ibm:db2jcc:jar:8.2
>>   Try downloading the file manually from the project website.
>>   Then, install it using the command:
>>       mvn install:install-file -DgroupId=com.ibm -DartifactId=db2jcc \
>>           -Dversion=8.2 -Dpackaging=jar -Dfile=/path/to/file
>>   Path to dependency:
>>         1) org.geotools:gt2-db2:jar:2.5-SNAPSHOT
>>         2) com.ibm:db2jcc:jar:8.2
>> ----------
>>
>> I'm sure you probably committed a change to the pom by mistake,
>> and hope we can have db2 back in soon, but for the moment I want my
>> build back :)
>> Cheers
>> Andrea
>>     
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to