PortfolioDavidStump opened a new issue, #5715:
URL: https://github.com/apache/netbeans/issues/5715

   ### Apache NetBeans version
   
   Apache NetBeans 17
   
   ### What happened
   
   If you have the following Code in your Maven File:
               <plugin>
                   <artifactId>maven-compiler-plugin</artifactId>
                   <configuration>
                       <compilerArgs>
                           <arg>--enable-preview</arg>
                       </compilerArgs>
                   </configuration>
               </plugin>
   
   And you try to comment this out using Block Comment as follows:
   
               <!--
               <plugin>
                   <artifactId>maven-compiler-plugin</artifactId>
                   <configuration>
                       <compilerArgs>
                           <arg>--enable-preview</arg>
                       </compilerArgs>
                   </configuration>
               </plugin>
               -->
   The Block Comment is disabled after the double dash in the arg statement so 
everything from enable-preview onwards becomes 'live' and makes the POM 
unprocessable by MAVEN.
   
   The Resolution is to remove the -- from the Argument and the Block Comment 
works as expected and the POM file is processable again.
   
   ### How to reproduce
   
   _No response_
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Mac OS Monterey Version 12.6.3
   
   ### JDK
   
   Oracle JDK 20 (jdk-20+36)
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   Replicable every time.
   
   ### Are you willing to submit a pull request?
   
   No


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to