You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Mark Miller <ma...@gmail.com> on 2013/03/05 21:50:54 UTC
Re: svn commit: r1452921 - in /lucene/dev/branches/branch_4x: ./ dev-tools/ dev-tools/maven/pom.xml.template
Thanks Steve - now I see why I couldn't find the poms to update - I was searching for tika in *.xml files.
- Mark
On Mar 5, 2013, at 9:58 AM, sarowe@apache.org wrote:
> Author: sarowe
> Date: Tue Mar 5 17:58:08 2013
> New Revision: 1452921
>
> URL: http://svn.apache.org/r1452921
> Log:
> SOLR-4416: Maven configuration: upgrade Tika dependency to 1.3, and add new excluded transitive dependency: com.adobe.xmp:xmpcore (merged trunk r1452919)
>
> Modified:
> lucene/dev/branches/branch_4x/ (props changed)
> lucene/dev/branches/branch_4x/dev-tools/ (props changed)
> lucene/dev/branches/branch_4x/dev-tools/maven/pom.xml.template
>
> Modified: lucene/dev/branches/branch_4x/dev-tools/maven/pom.xml.template
> URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/dev-tools/maven/pom.xml.template?rev=1452921&r1=1452920&r2=1452921&view=diff
> ==============================================================================
> --- lucene/dev/branches/branch_4x/dev-tools/maven/pom.xml.template (original)
> +++ lucene/dev/branches/branch_4x/dev-tools/maven/pom.xml.template Tue Mar 5 17:58:08 2013
> @@ -46,7 +46,7 @@
> <java.compat.version>1.6</java.compat.version>
> <jetty.version>8.1.8.v20121106</jetty.version>
> <slf4j.version>1.6.4</slf4j.version>
> - <tika.version>1.2</tika.version>
> + <tika.version>1.3</tika.version>
> <httpcomponents.version>4.2.3</httpcomponents.version>
> <commons-io.version>2.1</commons-io.version>
>
> @@ -284,6 +284,10 @@
> <version>${tika.version}</version>
> <exclusions>
> <exclusion>
> + <groupId>com.adobe.xmp</groupId>
> + <artifactId>xmpcore</artifactId>
> + </exclusion>
> + <exclusion>
> <groupId>commons-logging</groupId>
> <artifactId>commons-logging</artifactId>
> </exclusion>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: svn commit: r1452921 - in /lucene/dev/branches/branch_4x: ./ dev-tools/ dev-tools/maven/pom.xml.template
Posted by Steve Rowe <sa...@gmail.com>.
No problem, glad to help.
In this particular case, changing the tika version wasn't sufficient - 'ant validate-maven-dependencies' was still complaining about a missing .sha1 file for a transitive dependency - so I (or another Maven geek) would have been involved anyway, to track down the new transitive dep that Solr doesn't depend on.
In these cases, I run 'ant clean-maven-build get-maven-poms && cd maven-build ; mvn dependency:tree | less' and search for the offending dep's source that's also a direct Lucene/Solr dep, and then add the offending dep to the direct dep's exclusions list in the grandparent POM.
Steve
On Mar 5, 2013, at 3:50 PM, Mark Miller <ma...@gmail.com> wrote:
> Thanks Steve - now I see why I couldn't find the poms to update - I was searching for tika in *.xml files.
>
> - Mark
>
> On Mar 5, 2013, at 9:58 AM, sarowe@apache.org wrote:
>
>> Author: sarowe
>> Date: Tue Mar 5 17:58:08 2013
>> New Revision: 1452921
>>
>> URL: http://svn.apache.org/r1452921
>> Log:
>> SOLR-4416: Maven configuration: upgrade Tika dependency to 1.3, and add new excluded transitive dependency: com.adobe.xmp:xmpcore (merged trunk r1452919)
>>
>> Modified:
>> lucene/dev/branches/branch_4x/ (props changed)
>> lucene/dev/branches/branch_4x/dev-tools/ (props changed)
>> lucene/dev/branches/branch_4x/dev-tools/maven/pom.xml.template
>>
>> Modified: lucene/dev/branches/branch_4x/dev-tools/maven/pom.xml.template
>> URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/dev-tools/maven/pom.xml.template?rev=1452921&r1=1452920&r2=1452921&view=diff
>> ==============================================================================
>> --- lucene/dev/branches/branch_4x/dev-tools/maven/pom.xml.template (original)
>> +++ lucene/dev/branches/branch_4x/dev-tools/maven/pom.xml.template Tue Mar 5 17:58:08 2013
>> @@ -46,7 +46,7 @@
>> <java.compat.version>1.6</java.compat.version>
>> <jetty.version>8.1.8.v20121106</jetty.version>
>> <slf4j.version>1.6.4</slf4j.version>
>> - <tika.version>1.2</tika.version>
>> + <tika.version>1.3</tika.version>
>> <httpcomponents.version>4.2.3</httpcomponents.version>
>> <commons-io.version>2.1</commons-io.version>
>>
>> @@ -284,6 +284,10 @@
>> <version>${tika.version}</version>
>> <exclusions>
>> <exclusion>
>> + <groupId>com.adobe.xmp</groupId>
>> + <artifactId>xmpcore</artifactId>
>> + </exclusion>
>> + <exclusion>
>> <groupId>commons-logging</groupId>
>> <artifactId>commons-logging</artifactId>
>> </exclusion>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org