> First, Sonatype's validation of -sources.jar and -javadoc.jar aren't as 
> stringent as you might expect.  That is, the OSS/central repos' validation 
> routines appear to check for the existence of those artifacts corresponding 
> to a given jar artifact, but they aren't inspected for completeness.  So if 
> you're AOT-compiling, just ensuring that you have -sources.jar and 
> -javadoc.jar files in the repository you're promoting will get you past the 
> validation (but of course not be particularly helpful in the case of 
> -javadoc.jar, since it'd be empty).  Always producing a complete -sources.jar 
> should never be a problem.

Ok. I sort of considered that but it felt like adhering to the letter
of the rules while ignoring their spirit ;) I'll go ahead and try to
be as compliant as possible.

> The second answer is that it'd be ideal to have autodoc output be emitted for 
> your project, and then packaged into the -javadoc.jar.  Tooling would then be 
> able to pick up that jar file from upstream maven repos and display relevant 
> contents as desired, just as Java IDEs do for javadoc.  There's a lot of 
> niggling little details here (e.g. how to make javadoc and autodoc output 
> coexist in the same file hierarchy – a must for hybrid projects, settling on 
> either a single autodoc output file layout so tooling can reliably find what 
> they need or implementing a lookup mechanism, etc).
>
> IIRC, Tom Faulhaber seemed receptive to whatever additions would be necessary 
> to make this possible, but it needs someone who is willing and capable of 
> coordinating the design so that the result is useful to all known Clojure 
> development environments (a rapidly-growing category these days).

Ok. Will see how far I take it once I get it working first.

Thank you for the input,

-- 
/ Peter Schuller

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to