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

Chris A. Mattmann commented on NUTCH-995:
-----------------------------------------

Hi Gabriele,

Hmm...If you have a look at $NUTCH/ivy/ivy.xml, you'll note that hadoop 
includes exclusions:

{code:xml}
                <dependency org="org.apache.hadoop" name="hadoop-core" 
rev="0.20.2"
                        conf="*->default">
                        <exclude org="hsqldb" name="hsqldb" />
                        <exclude org="net.sf.kosmosfs" name="kfs" />
                        <exclude org="net.java.dev.jets3t" name="jets3t" />
                        <exclude org="org.eclipse.jdt" name="core" />
                        <exclude org="org.mortbay.jetty" name="jsp-*" />
                        <exclude org="ant" name="ant" />
                </dependency>
{code}

Yet those don't appear in the pom file:

{code:xml}
                <dependency>
                        <groupId>org.apache.hadoop</groupId>
                        <artifactId>hadoop-core</artifactId>
                        <version>0.20.2</version>
                        <optional>true</optional>
                </dependency>
{code}

It seems we're suffering from this:

http://old.nabble.com/makepom-and-%3Cexclusions%3E-tag-td31661179.html

Any ideas?


> Generate POM file using the Ivy makepom task 
> ---------------------------------------------
>
>                 Key: NUTCH-995
>                 URL: https://issues.apache.org/jira/browse/NUTCH-995
>             Project: Nutch
>          Issue Type: Improvement
>            Reporter: Julien Nioche
>            Assignee: Chris A. Mattmann
>             Fix For: 1.3
>
>         Attachments: NUTCH-955-1.3.patch, NUTCH-997.branch-1.3.v2.patch, 
> mvn-template-build.patch
>
>
> We currently have a pom.xml file in the SVN repository and use it for 
> publishing our artefacts. The trouble with this is that we need to keep its 
> content in sync with our ivy file. Instead we could use the makepom task 
> (http://ant.apache.org/ivy/history/2.2.0/use/makepom.html) to generate the 
> pom.xml automatically.
> The existing pom.xml for 1.3 needs fixing anyway as it declares dependencies 
> to GORA and has the wrong versions for some dependencies.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to