You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Julien Nioche (JIRA)" <ji...@apache.org> on 2014/07/01 14:47:25 UTC

[jira] [Commented] (NUTCH-1810) Duplicate jdom dependency

    [ https://issues.apache.org/jira/browse/NUTCH-1810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14048822#comment-14048822 ] 

Julien Nioche commented on NUTCH-1810:
--------------------------------------

Hi 
As mentioned on the other issue you opened : 

bq. Nutch is built with ANT not Maven. The pom file is used only for publishing the artefacts, not for building Nutch.

The pom.xml file is generated automatically from the Ivy file. Will downgrade the priority of the issue as this will not affect how Nutch is built, just the way we present the dependencies for the artefacts.

> Duplicate jdom dependency 
> --------------------------
>
>                 Key: NUTCH-1810
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1810
>             Project: Nutch
>          Issue Type: Bug
>            Reporter: Valerio Schiavoni
>              Labels: build, easyfix, maven
>
> The dependency to jdom is declared twice in the pom.xml, first time at lines 202-207, second time at lines 257-261.
> The double declaration causes Maven to report the following warning:
> [WARNING] Some problems were encountered while building the effective model for org.apache.nutch:nutch:jar:2.2
> [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.jdom:jdom:jar -> duplicate declaration of version 1.1 @ line 256, column 29
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.



--
This message was sent by Atlassian JIRA
(v6.2#6252)