How to get mevenide to download dependency sources for browsing?

View: New views
3 Messages — Rating Filter:   Alert me  

How to get mevenide to download dependency sources for browsing?

by Tarun Elankath :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

(I am a bit new to maven too, so apologize in advance for mistakes)

I can get mevenide to download my javadoc for my dependency by using for example:
        <dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
            <version>1.4</version>
            <type>javadoc</type>
        </dependency>

But can't seem to get it to download sources - I tried <type>sources</type>, <type>src</type>, <type>source</type>, but no luck -its a build failure. Should something else go in the type indicator?

(The repo1 mvn repository has both sources and javadoc for commons-io in the example above)

Thanks,
Tarun

Re: How to get mevenide to download dependency sources for browsing?

by Milos Kleint-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello, I wasn't aware of the fact that there is a "javadoc" type. I
always assumed it's just a classifier to the base artifact.
Anyway for netbeans to work, you don't need to declare the javadoc or
sources in the pom.
just left click on the Libraries node of your project and trigger the
Download javadoc/source actions.

Milos

On Thu, Jun 5, 2008 at 7:31 PM, Tarun Elankath <lenkite@...> wrote:

>
> Hi,
>
> (I am a bit new to maven too, so apologize in advance for mistakes)
>
> I can get mevenide to download my javadoc for my dependency by using for
> example:
>        <dependency>
>            <groupId>commons-io</groupId>
>            <artifactId>commons-io</artifactId>
>            <version>1.4</version>
>            <type>javadoc</type>
>        </dependency>
>
> But can't seem to get it to download sources - I tried <type>sources</type>,
> <type>src</type>, <type>source</type>, but no luck -its a build failure.
> Should something else go in the type indicator?
>
> (The repo1 mvn repository has both sources and javadoc for commons-io in the
> example above)
>
> Thanks,
> Tarun
> --
> View this message in context: http://www.nabble.com/How-to-get-mevenide-to-download-dependency-sources-for-browsing--tp17675504p17675504.html
> Sent from the mevenide - user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: How to get mevenide to download dependency sources for browsing?

by Tarun Elankath :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

DUH!! (Now why didn't I see that before ??...hits head on keyboard a few times to check whether screws are tight or not...)

Thanks Milos!
-Tarun

PLUS: type="javadoc" did download javadoc jars and also puts them into the netbeans javadoc index. Shift-F1, etc works..so I thought that was the way to go for sources too..



Milos Kleint wrote:
Hello, I wasn't aware of the fact that there is a "javadoc" type. I
always assumed it's just a classifier to the base artifact.
Anyway for netbeans to work, you don't need to declare the javadoc or
sources in the pom.
just left click on the Libraries node of your project and trigger the
Download javadoc/source actions.

Milos

On Thu, Jun 5, 2008 at 7:31 PM, Tarun Elankath <lenkite@gmail.com> wrote:
>
> Hi,
>
> (I am a bit new to maven too, so apologize in advance for mistakes)
>
> I can get mevenide to download my javadoc for my dependency by using for
> example:
>        <dependency>
>            <groupId>commons-io</groupId>
>            <artifactId>commons-io</artifactId>
>            <version>1.4</version>
>            <type>javadoc</type>
>        </dependency>
>
> But can't seem to get it to download sources - I tried <type>sources</type>,
> <type>src</type>, <type>source</type>, but no luck -its a build failure.
> Should something else go in the type indicator?
>
> (The repo1 mvn repository has both sources and javadoc for commons-io in the
> example above)
>
> Thanks,
> Tarun
> --
> View this message in context: http://www.nabble.com/How-to-get-mevenide-to-download-dependency-sources-for-browsing--tp17675504p17675504.html
> Sent from the mevenide - user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email