VB_
VB_

Reputation: 45712

Hadoop mapred: attach sources howto

I use:

    <dependency>
        <groupId>org.apache.avro</groupId>
        <artifactId>avro-mapred</artifactId>
        <version>1.7.4</version>
        <classifier>hadoop2</classifier>
    </dependency>

Question: How to attach sources to that classes?

Upvotes: 0

Views: 41

Answers (1)

Paul Samsotha
Paul Samsotha

Reputation: 209072

you can add another dependency, with the sources classifer

<dependency>
    <groupId>org.apache.avro</groupId>
    <artifactId>avro-mapred</artifactId>
    <version>1.7.4</version>
    <type>jar</type>
    <classifier>sources</classifier>
</dependency>

See the repo. You can also get the javadoc.

Upvotes: 2

Related Questions