jdsmithsos commented on issue #7040:
URL: https://github.com/apache/netbeans/issues/7040#issuecomment-1946347187

   Aha!  
   Actually, I didn't need to add the asm dependency.
   When I went into the pom to add asm, I saw that there was already a 
dependency there, which was added way back when for whatever reason to get the 
nbm-maven-plugin to work.
   I commented out the maven-dependency-analyzer, and the build no longer fails 
with the
   
   Unsupported class file major version 65
   
   error.
   
   
                   <plugin>
                       <groupId>org.apache.netbeans.utilities</groupId>
                       <artifactId>nbm-maven-plugin</artifactId>
                       <version>14.0</version>
                       <extensions>true</extensions>
                       <configuration>
                           <brandingToken>${brandingToken}</brandingToken>
                           <cluster>${brandingToken}</cluster>
                           <!-- added so NetBeans module plugin does not fail 
with
                               [ERROR] Failed to execute goal 
org.apache.netbeans.utilities:nbm-maven-plugin:4.2:manifest (default-manifest) 
on project CommonsUI: Uncategorized problems with NetBeans dependency 
verification (maybe MNBMODULE-102 or wrong maven dependency metadata). 
Supposedly external classes are used in the project's binaries but the classes 
are not found on classpath. Class usages: [java.lang.Module] -> [Help 1]
                           -->
                           <verifyRuntime>warn</verifyRuntime>
                       </configuration>
                                        <!--
                       <dependencies>
                           <dependency>
                               <groupId>org.apache.maven.shared</groupId>
                               
<artifactId>maven-dependency-analyzer</artifactId>
                               <version>1.13.0</version>
                           </dependency>
                       </dependencies>
                                        -->
                   </plugin>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to