Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1
    • Component/s: build
    • Labels:
      None

      Description

      APT tool and its associated API were removed in JDK8.

      command: mvn clean compile -X

      	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:164)
      	... 20 more
      Caused by: java.lang.NoClassDefFoundError: com/sun/mirror/apt/AnnotationProcessorFactory
      	at org.codehaus.enunciate.DocsMojo.loadMavenSpecificEnunciate(DocsMojo.java:107)
      	at org.codehaus.enunciate.ConfigMojo.execute(ConfigMojo.java:326)
      	at org.codehaus.enunciate.DocsMojo.execute(DocsMojo.java:81)
      	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
      	... 20 more
      Caused by: java.lang.ClassNotFoundException: com.sun.mirror.apt.AnnotationProcessorFactory
      	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
      	at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
      	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
      	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
      	... 24 more
      
      
      1. LENS-398.patch
        2 kB
        Raju Bairishetti
      2. LENS-398.patch
        3 kB
        Raju Bairishetti

        Activity

        Hide
        raju.bairishetti Raju Bairishetti added a comment -

        Until JDK8 compatibility is implemented, we need to bind enunciate to a separate profile which will not be activated for jdk8

        https://jira.codehaus.org/browse/ENUNCIATE-701?focusedCommentId=345953&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-345953

        Show
        raju.bairishetti Raju Bairishetti added a comment - Until JDK8 compatibility is implemented, we need to bind enunciate to a separate profile which will not be activated for jdk8 https://jira.codehaus.org/browse/ENUNCIATE-701?focusedCommentId=345953&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-345953
        Hide
        raju.bairishetti Raju Bairishetti added a comment -
        Show
        raju.bairishetti Raju Bairishetti added a comment - RB entry: https://reviews.apache.org/r/32951/
        Hide
        amareshwari Amareshwari Sriramadasu added a comment -

        Committed. Thanks Raju Bairishetti

        Show
        amareshwari Amareshwari Sriramadasu added a comment - Committed. Thanks Raju Bairishetti
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Lens-Commit #688 (See https://builds.apache.org/job/Lens-Commit/688/)
        LENS-398 : Move enunciate to profile activated by jdk version (Raju Bairishetti via amareshwari) (amareshwari: rev 44f4664c73f7ed6d8e2c7953ec59e0089aeb2c74)

        • tools/scripts/generate-site-public.sh
        • pom.xml
        • lens-server/pom.xml
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Lens-Commit #688 (See https://builds.apache.org/job/Lens-Commit/688/ ) LENS-398 : Move enunciate to profile activated by jdk version (Raju Bairishetti via amareshwari) (amareshwari: rev 44f4664c73f7ed6d8e2c7953ec59e0089aeb2c74) tools/scripts/generate-site-public.sh pom.xml lens-server/pom.xml

          People

          • Assignee:
            raju.bairishetti Raju Bairishetti
            Reporter:
            raju.bairishetti Raju Bairishetti
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development