Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 823295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T02:55:40+00:00 2026-05-15T02:55:40+00:00

I am using NetBeans 6.9 Beta and I would like to accomplish the following:

  • 0

I am using NetBeans 6.9 Beta and I would like to accomplish the following:

  • Set up a project representing the main application using Maven (for instance “Maven Project”, “Maven NetBeans Application”)
  • Ideally, the project should only contain the necessary libraries to run in Apache Felix (I would like to be able to right-click the project and select “Run in Felix”)
  • I do not want that the project contains all the NetBean Platform APIs
  • I would prefer to implement the modules using OSGi. For instance “Maven OSGi Bundle”, “Maven NetBeans Module” + OSGi

These are the problems, which I have at the moment:

  1. The standard Maven archetype (“Maven NetBeans Application”) seems always to select all APIs and I have not found a way to deselect APIs – in normal NetBeans Platform Applications that can be accomplished by going to the project properties and deselected the platform modules) – I guess it has something to do with the NetBeans repository (http://bits.netbeans.org/maven2)? Do I have to create another repository?
  2. When creating normal “NetBeans Module” with OSGi support, the modules contain both NetBeans Module and OSGi meta data, which is nice. So, for instance the tool support in NetBeans is available for both technologies. But the “Maven NetBeans Modules” have only NetBeans meta data and the Maven OSGi Bundles have only OSGi meta data).
    3. I figured out how to add modules to the project by using project / new and then placing the modules in the Maven project folder. However, I do not quite know yet how I could link to modules from other locations (NetBeans uses Maven modules, which have to be in the same directory as the project?).

Below some useful links for Maven + OSGi in NetBeans

wiki.netbeans.org/STS_69_Maven_OSGI NetBeans Maven OSGi Test Specification

platform.netbeans.org/tutorials/nbm-maven-quickstart.html NetBeans Platform Quick Start Using Maven (6.9)

wiki.netbeans.org/MavenBestPractices NetBeans Maven BestPractices

maven.apache.org/pom.html#Aggregation Maven Documentation Multi-Module Projects

(sorry about the missing protocol but couldn’t post the message otherwise)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T02:55:40+00:00Added an answer on May 15, 2026 at 2:55 am
    1. your nbm-application project depends on all platform projects.. just use the regular maven dependency management (adding/removing dependencies, adding dependency excludes to limit your platform

    2. configure the nbm plugin and the bundle plugin yourself to sequentially append content to the manifest file.. I think Fabrizio Guidici’s forceten and bluemarine projects do that in some way..

    3. I don’t understand the problem entirely. maven modules are a different thing than netbeans modules. you can for sure compose the application from multiple independently build nb module artifacts.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Netbeans 7.1 on Ubuntu 11.04. The following call set< Triangle >
I am using NetBeans 7.1 on Ubuntu 11.04 and would like to obtain triangles
I'm using netbeans, project: 'maven OSGI bundle', i have bundle activator running fine in
Using NetBeans, I do the following in the class containing main() , and it
I'm using Netbeans to create a web application project. The IDE adds METRO2.0 libraries
im using netbeans with svn. i've checked out a project and then i used
im using netbeans for svn. i open a project in netbeans and then i
I'm using netbeans to generate web service client in my application. And my program
Using Netbeans 6.8 and metro 2.0 I have written a simple application that makes
im using netbeans to code a web application with symfony. it seems that netbeans

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.