Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8695

Remove duplicate copied class from cxf-core in cxf-rt-management when build with JDK11

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.5.2, 3.4.7
    • 3.5.3, 3.4.8, 4.0.0, 3.6.0
    • Core
    • None
    • Unknown

    Description

      When building cxf-rt-management 3.5.1 with JDK11, some api classes are copied to the jar file. It looks like these classes are copied by the maven-bundle-plugin from java9-plus profile : 
       
      <profile>
          <id>java9-plus</id>
          <activation>
              <jdk>[9,)</jdk>
          </activation>
          <build>
              <plugins>
                  <plugin>
                      <groupId>org.apache.felix</groupId>
                      <artifactId>maven-bundle-plugin</artifactId>
                      <extensions>true</extensions>
                      <configuration>
                          <obrRepository>NONE</obrRepository>
                          <instructions>
                              <Export-Package>org.apache.cxf.management*,org.apache.cxf.tracing*</Export-Package>
                          </instructions>
                          <niceManifest>true</niceManifest>
                      </configuration>
                  </plugin-->
              </plugins>
          </build>
      </profile>

      These copied classes are not needed to include in cxf-rt-management.

       

      Attachments

        Activity

          People

            ema Jim Ma
            ema Jim Ma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: