Re: Maven: Uncategorized problems with NetBeans dependency verification
Benno Markiewicz <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <CAA_aP4gg+v2XPQ1gBfW=_oggt-uCya_WbUnys_p8A-tcK0XeYg@mail.gmail.com> |
Lusito, don't add dependencies, which contain the same bundles, twice! That is the reason for > java.lang.IllegalArgumentException: Dependency module org.objectweb.asm.all > 5.0.1 duplicates the similar dependency module org.objectweb.asm.all > 5.0.1 I don't know the reason for > The module named org.objectweb.asm.all was needed and not found because I am not so keen at the OSGi integration into NetBeans. So I disabled the OSGi support for your modules and the application starts at least. See my commit at https://github.com/markiewb/NBMvnIssue/commit/88d1fcedbd325755168dacf1841fc84378cacf04 With kind regards, markiewb 2016-04-09 17:35 GMT+02:00 Lusito <[email protected]>: > That does not fix it entirely.. It compiles, but during startup a popup > shows: > > > > The module named org.objectweb.asm.all was needed and not found > > > so I tried adding this, which I found via google: > > Code: > <dependency> > <groupId>org.ow2.asm</groupId> > <artifactId>asm-all</artifactId> > <version>5.0.1</version> > </dependency> > > > > But then an exception is thrown during startup: > > > > java.lang.IllegalArgumentException: Dependency module > org.objectweb.asm.all > 5.0.1 duplicates the similar dependency module > org.objectweb.asm.all > 5.0.1 > > > So I tried removing the netbeans specific one, but came up with the first > popup again: > > > > The module named org.objectweb.asm.all was needed and not found > > > So it seems netbeans is confused and thinks it's missing asm, but really > isn't missing it. > > > > >