yup, that's the only real usecase for the descriptor file, unfortunately one cannot easily tag maven dependencies (used to work in maven 1.x) without in-place tag that says ïmpl dep or specification dep, we have to use the external descriptor file
Milos On Tue, Jan 31, 2012 at 7:40 PM, Benson Margulies <[email protected]> wrote: > On Tue, Jan 31, 2012 at 1:16 PM, Milos Kleint <[email protected]> wrote: >> On Mon, Jan 30, 2012 at 6:53 PM, Benson Margulies <[email protected]> >> wrote: >>> I'm confused about the generation of manifest.mf. I'm trying to >>> convert a project from NB/ant to NB/maven. There's a manifest.mf lying >>> around. I moved it to src/main/nbm. Should I be removing it and >>> depending on generation from the descriptor, instead. >> >> keep the manifest file (with stuff not generated by the plugin or with >> stuff you want the plugin not generate. >> I don't know about your setup details, but in general most people >> should get away without a descriptor.. >> >> Milos > > I have many examples of error messages about 'friends' and other > dependency problems if I don't have descriptors with dependencies, > even with 3.6. > >> >>> >>> As a further problem, I've got >>> http://jira.codehaus.org/browse/MNBMODULE-158. My nbm.xml is very >>> simple, and my pom dependencies are just: >>> >>> <dependency> >>> <groupId>org.netbeans.api</groupId> >>> <artifactId>org-netbeans-api-annotations-common</artifactId> >>> <version>RELEASE701</version> >>> </dependency> >>> <dependency> >>> <groupId>org.netbeans.api</groupId> >>> <artifactId>org-openide-util</artifactId> >>> <version>RELEASE701</version> >>> </dependency> >>> <dependency> >>> <groupId>org.netbeans.api</groupId> >>> <artifactId>org-openide-modules</artifactId> >>> <version>RELEASE701</version> >>> </dependency> >>> <dependency> >>> <groupId>org.netbeans.modules</groupId> >>> <artifactId>org-netbeans-core</artifactId> >>> <version>RELEASE701</version> >>> </dependency> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe from this list, please visit: >>> >>> http://xircles.codehaus.org/manage_email >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
