一键导入
eclipse-plugin-embedded-jars
Embeds Maven dependencies into Eclipse plugin bundles. Use when adding third-party JARs not provided by the Eclipse target platform.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Embeds Maven dependencies into Eclipse plugin bundles. Use when adding third-party JARs not provided by the Eclipse target platform.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | eclipse-plugin-embedded-jars |
| description | Embeds Maven dependencies into Eclipse plugin bundles. Use when adding third-party JARs not provided by the Eclipse target platform. |
Eclipse plugins do not load Maven dependencies automatically. If a library is not provided by the target platform, copy its runtime JARs into the plugin lib/ folder and list them in the PDE/OSGi metadata.
- [ ] 1. Add the Maven dependency to the module that uses it.
- [ ] 2. Run mvn dependency:tree -Dscope=runtime in that module.
- [ ] 3. Identify direct and transitive runtime JARs not provided by the target platform.
- [ ] 4. In the plugin pom.xml, add their groupIds to maven-dependency-plugin <includeGroupIds> so copy-dependencies copies them into lib/.
- [ ] 5. Run mvn clean install from the root or plugin project.
- [ ] 6. Add each copied lib/<artifactId>.jar to META-INF/MANIFEST.MF Bundle-ClassPath.
- [ ] 7. Add each copied lib/<artifactId>.jar to build.properties bin.includes.
- [ ] 8. Refresh/reimport the plugin project or add each lib/<artifactId>.jar to .classpath for Eclipse compilation.
ClassNotFoundException even if compilation succeeds.Bundle-ClassPath is the runtime classpath for embedded JARs.bin.includes controls what is packaged into the plugin artifact.langchain4j.jar.includeGroupIds, Bundle-ClassPath, bin.includes, and .classpath entries.| File | Purpose |
|---|---|
dependency module pom.xml | Declares what code uses |
plugin pom.xml | Copies selected runtime JARs into lib/ |
plugin META-INF/MANIFEST.MF | OSGi runtime classpath |
plugin build.properties | PDE packaging |
plugin .classpath | Eclipse compiler visibility |
Converts between Eclipse IFile, IPath, and filesystem paths. Use when working with Eclipse plugin file operations, resolving workspace-relative paths, or converting between IFile and absolute paths.
Creates and maintains Agent Skills following the agentskills.io specification. Use when authoring new skills, converting existing instructions into skill format, or reviewing skill compliance.