apache / apache/netbeans

try to use org-netbeans-modules-maven

Open
#4,405 2 comments 0 reactions 0 assignees View on GitHub
kind:bug needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 14

### What happened

i try to get maven path in my modules by MavenSettings.getDefaultExternalMavenRuntime(), so i include "org-netbeans-modules-maven" in pom.xml. But i got :

Failed to execute goal org.apache.netbeans.utilities:nbm-maven-plugin:4.7:manifest (default-manifest) on project netbeans-riscv: Module has friend dependency on org.netbeans.modules.maven but is not listed as a friend. -> [Help 1]

### How to reproduce

Netbeans 14

### Did this work correctly in an earlier version?

Apache NetBeans 14

### Operating System

mac monterey

### JDK

18.0.1.1

### Apache NetBeans packaging

Other

### Anything else

_No response_

### Are you willing to submit a pull request?

No

### Code of Conduct

Yes

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the use of MavenSettings.getDefaultExternalMavenRuntime() and the org-netbeans-modules-maven dependency in the module pom.xml. Investigate the nbm-maven-plugin manifest error about the missing friend declaration; done means the module can obtain the Maven path without that dependency failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.