[
https://issues.apache.org/jira/browse/OODT-823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14481021#comment-14481021
]
Aditya Dhulipala commented on OODT-823:
---------------------------------------
Hi Prof. Mattmann. Ok. Yeah I understand what you mean. I found this link
where they suggest a way to check for the compiler verison and set up the
additional params.
http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html
But I don't know how to do this in maven. I read something about maven <if>
<else> <compilerVersion> tags. Is this the way to do it? i.e. add somthing
like this to pom.xml :-
...
...
<if>
<compilerverison = 1.8>
<doclint:none>
</..>
</..>
..
..
It should be something like this, right (ignoring syntax mistakes etc)?
> OODT JDK8 Maven3 build errors
> -----------------------------
>
> Key: OODT-823
> URL: https://issues.apache.org/jira/browse/OODT-823
> Project: OODT
> Issue Type: Bug
> Components: build proces
> Affects Versions: 0.8
> Environment: OS X Yosemite. maven 3 with JDK8
> Reporter: Aditya Dhulipala
> Assignee: Chris A. Mattmann
> Priority: Minor
> Labels: beginner, build, maven
> Fix For: 0.9
>
> Attachments: OODT-823.patch
>
>
> OODT build fails when using maven 3 with jdk8. Specifically while generating
> javadocs (the javadoc compiler that ships with JDK8 throws errors if the
> javadoc does not conform to the format prescribed for javadocs under jdk8)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)