You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Steve Vestal <st...@adventiumlabs.com> on 2019/09/01 13:13:22 UTC

Re: Pull javadoc from maven repository?

Thanks, this helped me understand my problem.  The Maven Dependencies
are linked back to sources and javadocs in the m2 repository as you
pointed out.  My problem was doing this in a plugin project, where the
only way I found to export Jena APIs for use by other plugins was to do
a dependency:copy-dependencies into the plugin itself.

I suspect apache-jena-osgi might be the proper way to go eventually, but
for now I can manually set links for the APIs I'm using.

On 8/31/2019 3:44 PM, Andy Seaborne wrote:
>
>
> On 31/08/2019 15:23, Steve Vestal wrote:
>> I am able to pull the release jars following the instructions on the
>> Jena web pages, using
>>
>>      <!--
>> https://repository.apache.org/content/repositories/releases/ -->
>>      <dependency>
>>             <groupId>org.apache.jena</groupId>
>>             <artifactId>apache-jena-libs</artifactId>
>>             <type>pom</type>
>>             <version>3.12.0</version>
>>      </dependency>
>>
>> However, this is not sufficient to turn on JavaDoc tooltips in the
>> Eclipse IDE (I'm pulling these into a Maven Plug-In project).  Setting
>> Maven preferences and build goals to include source does not work.  Is
>> there a repository and artifactId to pull jars that include the javadoc?
>>
>>
>
> Under "Maven Dependencies", do yo see the jars with the little text
> icon modifier? and if you right-click->properties, does it give the
> javadoc location? (mine seems to be "off" and I don't belive I have
> ever set/uset it)
>
> But my machine already has the javadoc so I checked a project that
> only uses apache-jena-libs <type>pom and Eclipse shows "Maven
> Dependencies" and each has the javadoc attached.
>
>
> You can also try:
>
>
>  mvn dependency:resolve dependency:sources
>
> I think having the source should be enough and you can browse/debug
> the source
>
>     Andy
>
>