jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-2275) mvn site and site-deploy does not work as expected
Date Fri, 21 Nov 2014 09:05:34 GMT

    [ https://issues.apache.org/jira/browse/OAK-2275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14220699#comment-14220699

Michael Dürig commented on OAK-2275:

I'm not too happy with this approach but I don't have a better solution ATM. What I ideally
would like to have is a mechanism where you could build and deploy the site - alternatively
with or without Javadoc - from the {{oak-doc}} module. But this doesn't work as there doesn't
seem to be a simple way to create the aggregated Javadoc from any other place than from the
reactor. Building from reactor comes with its own set of problems though: `mvn clean install`
doesn't work correctly as the reactor would run before {{oak-doc}}. So any Javadoc created
by the reactor would get removed again during the {{clean}} life cycle of {{oak-doc}}.  A
workaround is to run `mvn clean` followed by `mvn install`. 

So I think we should go with your patch but clean it up a bit as it changes the semantics
of {{site-with-javadoc}} from "include Javadoc" to "build oak-doc". I'll come up with a proposal


> mvn site and site-deploy does not work as expected
> --------------------------------------------------
>                 Key: OAK-2275
>                 URL: https://issues.apache.org/jira/browse/OAK-2275
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>            Reporter: Davide Giannella
>            Assignee: Davide Giannella
>            Priority: Minor
>         Attachments: OAK-2275.patch
> When trying to update website and javadocs the procedure of
> {noformat}
> reactor$ mvn clean site
> reactor$ mvn site-deploy 
> {noformat}
> does not work any longer, not updating either the website nor the
> javadocs. See http://markmail.org/thread/66xfm4a5n3uaa6rj for details

This message was sent by Atlassian JIRA

View raw message