gemmellr commented on pull request #3476:
URL: https://github.com/apache/activemq-artemis/pull/3476#issuecomment-790951764


   Essentially yep... If you mean for the main build you would probably add a
   new separate named step for Javadoc, before the examples steps, i.e copy
   the block rather than just add that line to it.
   
   Also, though the release profile needs JDK8, could you just do
   javadoc:javadoc on all JDKs without the profile? We certainly had that
   building on 8-14 when we first introduced ability to build with >8, I fixed
   lots of javadoc errors at least (warnings still there, but don't fail the
   build).
   
   Either way, I'd expect the javadoc to build on them all eventually, and as
   the newer ones are typically stricter it's probably those that most need
   checked. So even if it were needed for now, an 'if JDK8' restriction on
   that should probably be removed in time.
   
   I also actually thought it always built at least a good chunk of the
   overall javadoc, since it often looks to be one of the things really
   slowing the Artemis build down overall. I've certainly wanted to suggest
   disabling it in the default build before as it's so slow. Maybe it doesn't
   build it all though, while at release it does?
   
   On Thu, 4 Mar 2021, 20:21 clebertsuconic, <[email protected]> wrote:
   
   > *@clebertsuconic* commented on this pull request.
   > ------------------------------
   >
   > In .github/workflows/build.yml
   > 
<https://github.com/apache/activemq-artemis/pull/3476#discussion_r587798568>
   > :
   >
   > > @@ -32,8 +32,15 @@ jobs:
   >        - name: Build Main
   >          run: |
   >            mvn 
-Dorg.apache.activemq.artemis.core.io.aio.AIOSequentialFileFactory.DISABLED=AnythingNotNull
 -Djdk8-errorprone -Pfast-tests -Pextra-tests -Ptests-CI -Pjmh install
   > -      - name: Build Examples
   > +
   > +      - name: Build Examples (JDK8 / -Prelease)
   > +        if: matrix.java == '8'
   >
   > @gemmellr <https://github.com/gemmellr> before last release, I had to fix
   > javadoc, however currently javadoc only builds on JDK 1.8
   >
   > I tried to do an if jdk=8 at the time but I did not know how to do it?
   >
   > Since you figured it out now, can we add after this line?
   >
   > mvn -Prelease javadoc:javadoc
   >
   > WDYT?
   >
   > —
   > You are receiving this because you were mentioned.
   > Reply to this email directly, view it on GitHub
   > 
<https://github.com/apache/activemq-artemis/pull/3476#pullrequestreview-604524832>,
   > or unsubscribe
   > 
<https://github.com/notifications/unsubscribe-auth/ABG6ZBYVZSFN3JMPZMQCKR3TB7TTVANCNFSM4YTZI4WQ>
   > .
   >
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to