Comments (6)
What is the pom in this case? The workspace is a repository so it will look for the file names of the bnd files. I think we discussed this a long time ago, if you want to deviate from this model, we need to keep a current index of all workspace bundles actual names. Having to build this in the offline build is expensive for large workspaces.
from bnd.
This pom is as follows:
<groupId>org.example</groupId>
<artifactId>b1</artifactId>
The problem is that M2Eclipse forces the project to have the name $[artifactId}, i.e. just b1 in this case. Bnd works fine if the project name includes the groupId but this doesn't seem to be allowed by M2Eclipse.
Is there anything we can add to the runbundles to help it find the bundle? E.g.:
-runbundles: org.example.b1;project=b1
from bnd.
Yuck, this sounds like a road to hell :-( All these things can be so easily wrong in so many places.
But why do they want to use bndtools if they also use M2Eclipse? I have no problem being compatible with mvn the command line but M2Eclipse is a bit too close to bndtools? Why do you need both?
from bnd.
Felix is using the artifact id as the bsn, is that not the solution?
from bnd.
Using Bndtools with M2Eclipse is my current plan for supporting Maven users. M2Eclipse gives the build-time dependencies, Bndtools gives us on-the-fly builds, the launcher, the nice bundle editor etc.
Perhaps another solution is to cut out M2Eclipse and support the Maven build dependencies directly in Bndtools.
from bnd.
Felix is using the artifact id as the bsn, is that not the solution?
That would work for the launcher but I find it surprising that they don't qualify the BSN with the groupId.
Anyway I don't think it will be practical to release Maven support for Bndtools in time for EclipseCon. It's close but there are too many little things like this that still need to be worked out.
from bnd.
Related Issues (20)
- Allow the same PID for both pid and factoryPid attribute in @ObjectClassDefinition HOT 6
- Add something to support tools install with associated bndtools workspace templates HOT 20
- Ability to configure threshold for semantic versioning failures HOT 1
- Extend artifact with additional attributes HOT 5
- bndtools should assist with importing projects from known bnd workspaces HOT 14
- Cannot create new Bnd OSGi Project with current master HEAD HOT 5
- Contribute oomph setups for bndtools 7.1+ all-in-one install HOT 1
- Provide bndtools 7.1+ p2 release repositories so that oomph setups can refer to specific bndtools versions HOT 7
- Bnd can cause a .jar to contain the wrong modules’ classes HOT 5
- NPE in Add to -buildpath Quickfix HOT 2
- bnd-maven-plugin: Explicit Service-Component instruction is merged with value generated from `DSAnnotations` plugin HOT 6
- Bndtools / Maven with sources JAR HOT 5
- Unexpected behavior when using Export-Package alongside -includeresources HOT 5
- Add Maven, Eclipse and IntelliJ folders to gitignore HOT 1
- EphemeralPortTest failing intermittently HOT 8
- ProjectResolverTest failing HOT 32
- Compile error on JDK 21: aQute/lib/collections/SortedList doesn't fully implement SortedSet/List interfaces HOT 2
- Running bnd shell command under windows
- Spring Boot 3.3.0 causing StackOverflowError
- ANSI Console doesn't work with bndtools HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bnd.