I agree that having the javadoc in maven central isn't really needed,
also because the sources are also provided and IDEs can typically
extract javadoc from there as well.
In any case, having javadoc artifacts is a requirement of the maven
upload process, so I provided ones that work with all IDEs

I've released org.osgi/org.osgi.core/5.0.0 and
org.osgi/org.osgi.enterprise/5.0.0 into Maven Central this morning.
You can find them here [1] and here [2].

Best regards,

David

[1] 
http://search.maven.org/#artifactdetails%7Corg.osgi%7Corg.osgi.core%7C5.0.0%7Cjar
[2] 
http://search.maven.org/#artifactdetails%7Corg.osgi%7Corg.osgi.enterprise%7C5.0.0%7Cjar

On 18 June 2012 09:35, Guillaume Sauthier (OW2)
<[email protected]> wrote:
> For the javadoc/sources, IntelliJ, when the project is a maven one, will try
> to download the -sources.jar / -javadoc.jar artifacts (I suspect M2Eclipse
> or the maven netbeans support will do the same for their maven-supported
> projects).
> It will not care about the OSGI-INF, or any other sources included in the
> binary jar (AFAIK).
>
> I suspect that this sources/javadoc inclusion is only useful for non
> maven-based builds, right ?
> So why should we care about that issue for theses maven artifacts ?
>
> --G
>
> 2012/6/14 David Bosschaert <[email protected]>
>>
>> On 14 June 2012 19:02, Ancoron Luciferis
>> <[email protected]> wrote:
>> > On 06/14/2012 05:51 PM, David Bosschaert wrote:
>> >>
>> >> You're right - maven insists on javadoc. I think this is specific to
>> >> the
>> >> manual upload mechanism [1] (which we have to use here) as there are
>> >> lots of other released maven artifacts that don't have javadoc.
>> >>
>> >> Not sure what to do here. I think that more things will work if you put
>> >> the javadoc at the root, even though it might cause broken links, so
>> >> I'm
>> >> inclined to go that way. Most IDEs can extract the javadoc out the
>> >> source code anyway so we don't really need it - its just to keep the
>> >> maven upload process happy...
>> >>
>> >> Cheers,
>> >>
>> >> David
>> >>
>> >> [1]
>> >>
>> >>
>> >> https://docs.sonatype.org/display/Repository/Uploading+3rd-party+Artifacts+to+The+Central+Repository
>> >
>> >
>> > It's not a direct requirement of Maven but rather a policy of the
>> > central
>> > repository.
>> >
>> > Anyway, I just tested with NetBeans 7.x and to my surprise everything
>> > works
>> > just fine, the binaries, the JavaDoc and the sources. So other current
>> > IDE's
>> > should be fine with it, too.
>>
>> Hi Ancoron,
>>
>> See my other post, IntelliJ isn't fine with it...
>>
>> David
>> _______________________________________________
>> OSGi Developer Mail List
>> [email protected]
>> https://mail.osgi.org/mailman/listinfo/osgi-dev
>
>
>
> _______________________________________________
> OSGi Developer Mail List
> [email protected]
> https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to