You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Christian Goetze <ch...@sensage.com> on 2006/12/26 23:17:24 UTC

accessing sources of third party jars

This is not clear for me from the maven book.

We have some third party jars that come with source code and javadocs, 
and I'd like those to be retrieved via a maven build. How can I do that? 
Do I actually need to make these into full-blown modules or is there a 
way to just handle the zip files directly, since idea is able to look at 
zip files for sources and javadocs...
--
cg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: accessing sources of third party jars

Posted by Christian Goetze <cg...@sensage.com>.
Christian Goetze wrote:

> Edwin Punzalan wrote:
>
>>
>> If the artifacts have sources and javadocs deployed with them, then 
>> using -DdownloadSources=true and -DdownloadJavadocs=true is what you 
>> need.  The plugin will download them and attach them to the project 
>> to help you in your development.
>>
>> Hope that helps
>>
>>
>> ^_^
>
>
> Ok, and how are they deployed into the repo? What is the expected 
> format/naming/location?
> -- 
> cg

Answered the question myself: xyz-1.2.3-sources.jar and 
xyz-1.2.3-javadoc.jar -sigh- plural/singular mixup

Now, for the next trick: how can I cause these to be downloaded without 
regenerating the project files?
--
cg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: accessing sources of third party jars

Posted by Christian Goetze <cg...@sensage.com>.
Edwin Punzalan wrote:

>
> If the artifacts have sources and javadocs deployed with them, then 
> using -DdownloadSources=true and -DdownloadJavadocs=true is what you 
> need.  The plugin will download them and attach them to the project to 
> help you in your development.
>
> Hope that helps
>
>
> ^_^

Ok, and how are they deployed into the repo? What is the expected 
format/naming/location?
--
cg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: accessing sources of third party jars

Posted by Edwin Punzalan <ep...@exist.com>.
If the artifacts have sources and javadocs deployed with them, then 
using -DdownloadSources=true and -DdownloadJavadocs=true is what you 
need.  The plugin will download them and attach them to the project to 
help you in your development.

Hope that helps


^_^


Christian Goetze wrote:
> This is not clear for me from the maven book.
>
> We have some third party jars that come with source code and javadocs, 
> and I'd like those to be retrieved via a maven build. How can I do 
> that? Do I actually need to make these into full-blown modules or is 
> there a way to just handle the zip files directly, since idea is able 
> to look at zip files for sources and javadocs...
> -- 
> cg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org