-
Notifications
You must be signed in to change notification settings - Fork 19
manifest goal fails with IllegalArgumentException #42
Comments
maven source/target level is your project? and what about the dependency? |
Source/target level is 1.8. The dependency, as far as I can tell with the help of That being said, I was able to work around the issue by upgrading the plugin's
So maybe a release with the dependency upgrade is in order? |
Hi maybe we must do a release ? |
yes, we should. I fear I've lost the keys to publish to the repo and will need to do the regeneration dance. :( |
I had a problem with 1.10 verison of maven-dependency-analyzer. It detects class names which appear as string in the source code and reports those as dependencies. |
I've tried to find and reset my password on oss.sonatype.org to be able to upload. To no avail. I also don't appear to have the gpg keys in place according to this doc - http://www.mojohaus.org/development/performing-a-release.html To be honest, I'm not actively using the plugin anymore for over 4 years now. Happy to reply to issues filed or apply patches but I just can't find the motivation to go through the administration hassle. Feel free to ping people at https://groups.google.com/forum/#!forum/mojohaus-dev and let them know you are taking over the project @ebarboni they should be able to assist you. |
alternatively someone from the new apache netbeans project could take over. |
do you think it is possible to make nbm maven plugin to be part of the Apache Netbeans ? |
that would be awesome. Apache does have access to maven central. Obviously I'm not sure about the procedure of moving, it's likely to be more administrative and legal work. |
@ebarboni @mkleint Moving the |
The fix is to update the following artifact in the file nbm-maven-plugin/pom.xml:
The fix is committed here and waiting for maven-dependency-analyzer version 1.11.1 to be released @mkleint I see the maven-dependency-analyzer team promoted for the 1.11.2-SNAPSHOT dev iteration I hope their 1.11.1 release to central will be soon because updating the nbm-maven-plugin to point to the maven-dependency-analyzer version 1.11.1 is required by many Netbeans IDE plugins especially jeddict Copied @jGauravGupta |
@sewe @mkleint @ebarboni @jglick @hboutemy @jGauravGupta The API org.apache.maven.shared.dependency.analyzer.ClassFileVisitorUtils sits in the maven-dependency-analyzer plugin source code. This API visits the dependency file hierarchy and processes any file ending with The case which I encountered was a Netbeans plugin which has the following transitive dependency
The snapshot below shows the sources hierarchy which includes both of (package-info.class) and (module-info.class)The debugging snapshot below shows (module-info.class) is being processed as a normal Java class: |
I am not actively maintaining this. |
the new home of the plugin is here: fill free to submit a PR not the change on the groupid |
Then to avoid confusion please delete sources from the |
The
manifest
goal of the latest released version (4.1) fails with an IAE when I have acompile
-scoped dependency on(Why
compile
rather thantest
-scoped? Long story, but immaterial to this bug report.)Here's the exception I get:
The text was updated successfully, but these errors were encountered: