[jira] [Commented] (LENS-1485) Fix javadocs errors and warnings

2018-02-05 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/LENS-1485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16353420#comment-16353420
 ] 

Hudson commented on LENS-1485:
--

FAILURE: Integrated in Jenkins build Lens-Commit #1458 (See 
[https://builds.apache.org/job/Lens-Commit/1458/])
LENS-1485: Add javadoc plugin to build plugins section and disable 
(raju.bairishetti: rev 0f08b69b25d430f16e81a99388f0ce83e5e40aa2)
* (edit) pom.xml


> Fix javadocs errors and warnings 
> -
>
> Key: LENS-1485
> URL: https://issues.apache.org/jira/browse/LENS-1485
> Project: Apache Lens
>  Issue Type: Bug
>  Components: build
>Reporter: Raju Bairishetti
>Assignee: Raju Bairishetti
>Priority: Major
> Fix For: 2.7
>
> Attachments: LENS-1485.patch
>
>
> Right now, we are building and running Lens on only on java8 and higher 
> versions. We are not able to generate javadocs with java8 due to some new 
> rules/constraints on javadocs.
> Creating this jira for fixing the javadoc errors and warnings. We should fail 
> the build(  ) in case of any errors while generating javadocs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (LENS-1485) Fix javadocs errors and warnings

2017-11-28 Thread Raju Bairishetti (JIRA)

[ 
https://issues.apache.org/jira/browse/LENS-1485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16270203#comment-16270203
 ] 

Raju Bairishetti commented on LENS-1485:


Looks like, it is an Issue is with enunciate plugin. Last few builds were 
failing with the same reason
{noformat}
Caused by: java.lang.NoClassDefFoundError: 
javax/annotation/security/RolesAllowed
at 
com.webcohesion.enunciate.modules.jaxrs.model.ResourceMethod.getSecurityRoles(ResourceMethod.java:834)
at 
com.webcohesion.enunciate.modules.jaxrs.api.impl.MethodImpl.getSecurityRoles(MethodImpl.java:144)
... 182 more
Caused by: java.lang.ClassNotFoundException: 
javax.annotation.security.RolesAllowed
at 
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
{noformat}

We may need to add this dependency to enunciate plugin as a work around.  
Reference: https://github.com/stoicflame/enunciate/issues/763  

> Fix javadocs errors and warnings 
> -
>
> Key: LENS-1485
> URL: https://issues.apache.org/jira/browse/LENS-1485
> Project: Apache Lens
>  Issue Type: Bug
>  Components: build
>Reporter: Raju Bairishetti
>Assignee: Raju Bairishetti
> Fix For: 2.7
>
> Attachments: LENS-1485.patch
>
>
> Right now, we are building and running Lens on only on java8 and higher 
> versions. We are not able to generate javadocs with java8 due to some new 
> rules/constraints on javadocs.
> Creating this jira for fixing the javadoc errors and warnings. We should fail 
> the build(  ) in case of any errors while generating javadocs.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (LENS-1485) Fix javadocs errors and warnings

2017-11-28 Thread Amareshwari Sriramadasu (JIRA)

[ 
https://issues.apache.org/jira/browse/LENS-1485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16270197#comment-16270197
 ] 

Amareshwari Sriramadasu commented on LENS-1485:
---

is the build failure intermittent a jenkins issue? or anything else?

> Fix javadocs errors and warnings 
> -
>
> Key: LENS-1485
> URL: https://issues.apache.org/jira/browse/LENS-1485
> Project: Apache Lens
>  Issue Type: Bug
>  Components: build
>Reporter: Raju Bairishetti
>Assignee: Raju Bairishetti
> Fix For: 2.7
>
> Attachments: LENS-1485.patch
>
>
> Right now, we are building and running Lens on only on java8 and higher 
> versions. We are not able to generate javadocs with java8 due to some new 
> rules/constraints on javadocs.
> Creating this jira for fixing the javadoc errors and warnings. We should fail 
> the build(  ) in case of any errors while generating javadocs.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (LENS-1485) Fix javadocs errors and warnings

2017-11-28 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/LENS-1485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16270122#comment-16270122
 ] 

Hadoop QA commented on LENS-1485:
-

Applied patch: 
[LENS-1485.patch|https://issues.apache.org/jira/secure/attachment/12899752/LENS-1485.patch]
 and ran command: mvn clean install -fae. Result: Failure. Build Job: 
https://builds.apache.org/job/PreCommit-Lens-Build/1473/

> Fix javadocs errors and warnings 
> -
>
> Key: LENS-1485
> URL: https://issues.apache.org/jira/browse/LENS-1485
> Project: Apache Lens
>  Issue Type: Bug
>  Components: build
>Reporter: Raju Bairishetti
>Assignee: Raju Bairishetti
> Fix For: 2.7
>
> Attachments: LENS-1485.patch
>
>
> Right now, we are building and running Lens on only on java8 and higher 
> versions. We are not able to generate javadocs with java8 due to some new 
> rules/constraints on javadocs.
> Creating this jira for fixing the javadoc errors and warnings. We should fail 
> the build(  ) in case of any errors while generating javadocs.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (LENS-1485) Fix javadocs errors and warnings

2017-11-28 Thread Amareshwari Sriramadasu (JIRA)

[ 
https://issues.apache.org/jira/browse/LENS-1485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16270108#comment-16270108
 ] 

Amareshwari Sriramadasu commented on LENS-1485:
---

+1 for the patch

> Fix javadocs errors and warnings 
> -
>
> Key: LENS-1485
> URL: https://issues.apache.org/jira/browse/LENS-1485
> Project: Apache Lens
>  Issue Type: Bug
>  Components: build
>Reporter: Raju Bairishetti
>Assignee: Raju Bairishetti
> Fix For: 2.7
>
> Attachments: LENS-1485.patch
>
>
> Right now, we are building and running Lens on only on java8 and higher 
> versions. We are not able to generate javadocs with java8 due to some new 
> rules/constraints on javadocs.
> Creating this jira for fixing the javadoc errors and warnings. We should fail 
> the build(  ) in case of any errors while generating javadocs.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (LENS-1485) Fix javadocs errors and warnings

2017-11-27 Thread Amareshwari Sriramadasu (JIRA)

[ 
https://issues.apache.org/jira/browse/LENS-1485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16268108#comment-16268108
 ] 

Amareshwari Sriramadasu commented on LENS-1485:
---

+1 for the proposal for unblocking 2.7 release.

> Fix javadocs errors and warnings 
> -
>
> Key: LENS-1485
> URL: https://issues.apache.org/jira/browse/LENS-1485
> Project: Apache Lens
>  Issue Type: Bug
>  Components: build
>Reporter: Raju Bairishetti
>
> Right now, we are building and running Lens on only on java8 and higher 
> versions. We are not able to generate javadocs with java8 due to some new 
> rules/constraints on javadocs.
> Creating this jira for fixing the javadoc errors and warnings. We should fail 
> the build(  ) in case of any errors while generating javadocs.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (LENS-1485) Fix javadocs errors and warnings

2017-11-26 Thread Raju Bairishetti (JIRA)

[ 
https://issues.apache.org/jira/browse/LENS-1485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16266438#comment-16266438
 ] 

Raju Bairishetti commented on LENS-1485:


One workaround is disabling the *doclint* rules checker in the 2.7 release   
{noformat}
 
  org.apache.maven.plugins
  maven-javadoc-plugin
   ${javadoc.plugin.version}
  
 -Xdoclint:none
  
 
{noformat}

Proper fix:
  We should add javadoc plugin to build section so that build it self validates 
the javadocs generation. Build shoul be failed in case of errors in generating 
javadocs(i.e enabling  ).
   {noformat} 
  org.apache.maven.plugins
  maven-javadoc-plugin
   ${javadoc.plugin.version}
  
 true
  
 
 {noformat} 


> Fix javadocs errors and warnings 
> -
>
> Key: LENS-1485
> URL: https://issues.apache.org/jira/browse/LENS-1485
> Project: Apache Lens
>  Issue Type: Bug
>  Components: build
>Reporter: Raju Bairishetti
>
> Right now, we are building and running Lens on only on java8 and higher 
> versions. We are not able to generate javadocs with java8 due to some new 
> rules/constraints on javadocs.
> Creating this jira for fixing the javadoc errors and warnings. We should fail 
> the build(  ) in case of any errors while generating javadocs.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)