How to properly include self-created library in Eclipse RCP project?

In my Eclipse RCP project, I am using a self-created library (Library A) that is also used in other Java projects, which are not Eclipse RCP projects.

I can add this library to the Target Platform as a Maven dependency, and Tycho successfully picks it up to build the project. So far, this works as expected.

Library A is added with the following lines to the target platform definition:

<location includeDependencyDepth="direct" includeDependencyScopes="compile" includeSource="true" missingManifest="generate" type="Maven" label="libA">
  <dependencies>
    <dependency>
      <groupId>com.foo</groupId>
      <artifactId>A</artifactId>
      <version>5.1.0-SNAPSHOT</version>
    </dependency>
</location>

The Problem: When I open the library in Eclipse (IDE), Eclipse treats the library (Library A) used in the RCP plugins as different from the version opened in my workspace. For example, if I jump from a class in an RCP plugin to a class from Library A (via CTRL + Click), Eclipse opens the .class file instead of the .java file from the workspace.

Additionally, searching for occurrences of a class from Library A in the RCP plugins does not either.

Question: How can I configure my Eclipse RCP project so that Eclipse recognizes that the library used in the RCP plugins is the same as the one in my workspace, and allows proper navigation and searching between them?

Since library A was built as a normal JAR, I suspected that the artificially created wrapper plugin was the issue.
I therefore converted library A to an OSGi bundle by modifying its pom.xml. I added:

<packaging>bundle</packaging>

and

<plugin>
  <groupId>org.apache.felix</groupId>
  <artifactId>maven-bundle-plugin</artifactId>
  <version>5.1.9</version>
  <extensions>true</extensions>
  <configuration>
    <excludeDependencies>*</excludeDependencies>
    <instructions>
      <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
      <BundleVersion>${project.version}</BundleVersion>
      <Export-Package>*</Export-Package>
    </instructions>
  </configuration>
</plugin>

In the target platform definition file I changed the entry for library A.
I changed missingManifest to error and type to bundle.

<location includeDependencyDepth="direct" includeDependencyScopes="compile" includeSource="true" missingManifest="error" type="Maven" label="libA">
  <dependencies>
    <dependency>
      <groupId>com.foo</groupId>
      <artifactId>A</artifactId>
      <version>5.1.0-SNAPSHOT</version>
      <type>bundle</type>
    </dependency>
</location>

At first Eclipse did not pick up the changes, because I still had an older A-Snapshot in my local and remote Maven-repository and apparently also in some Eclipse cache.
(Incrementing the version number might help, to resolve these kind of conflicts.)
The Eclipse view Target Platform State was very helpful in determining wheter Eclipse was using library A from the workspace or from the local Maven-repository.

In conclusion, converting the self-created library into an OSGi bundle solved the issue.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật