Still not sue how to get IDEA to work but Maven has a plugin. Put the following 
in the POM of the subproject

      <plugin>
        <groupId>org.scala-tools</groupId>
        <artifactId>maven-scala-plugin</artifactId>
      </plugin>

This is already in all the right places. Next run: 'mvn scala:doc' to get docs 
in target/site/scaladocs
this should also get done with 'mvn site' but it looks like we don’t support 
that?

We’ll have to figure out how to get those built and published next to the 
javadocs. Not sure how that happens now.

I’ll create a Jira

On May 19, 2014, at 10:32 AM, Dmitriy Lyubimov <[email protected]> wrote:

it would seem spark just publishes the release scaladocs, perhaps manually.



On Sun, May 18, 2014 at 11:01 AM, Pat Ferrel <[email protected]> wrote:

> Yeah, it can be done with maven to create a “javadoc” jar. I was just
> trying to get IDEA to do it and can’t make that work so was looking for
> some other examples. We may have a missing dependency. I’ll try to track
> that down first. Most of the googling explained how to do it with sbt. I’ll
> go dig into Spark a bit more.
> 
> On May 17, 2014, at 8:11 PM, Dmitriy Lyubimov <[email protected]> wrote:
> 
> Heh. Good question... scaladoc is the javadoc for scala. I dont know, so
> unless it is automagically detected by jenkins or whatever system is used
> to publish them, the answer is probably no. I am fairly sure i have set up
> maven to generate those as this is something i always do for scala code,
> but this is probably yet another area we could look at what Spark does
> about it within apache infrastructure.
> On May 17, 2014 11:10 AM, "Pat Ferrel" <[email protected]> wrote:
> 
>> Is there a scaladoc server for the mahout Scala code in the 1.0 snapshot?
>> It looks like we are using ScalaDoc conventions in Scala code.
> 
> 

Reply via email to