You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jim Ma (Jira)" <ji...@apache.org> on 2022/04/19 03:43:00 UTC

[jira] [Updated] (CXF-8695) Remove duplicate copied class from cxf-core in cxf-rt-management when build with JDK11

     [ https://issues.apache.org/jira/browse/CXF-8695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Ma updated CXF-8695:
------------------------
    Summary: Remove duplicate copied class from cxf-core in cxf-rt-management when build with JDK11  (was: Remove duplicate copied class from cxf-core in cxf-rt-management )

> Remove duplicate copied class from cxf-core in cxf-rt-management when build with JDK11
> --------------------------------------------------------------------------------------
>
>                 Key: CXF-8695
>                 URL: https://issues.apache.org/jira/browse/CXF-8695
>             Project: CXF
>          Issue Type: Task
>          Components: Core
>            Reporter: Jim Ma
>            Assignee: Jim Ma
>            Priority: Major
>             Fix For: 4.0.0, 3.6.0, 3.5.3
>
>
> 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.
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)