You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by "Nelligan, Steven M" <sn...@illinois.edu> on 2021/10/26 10:09:17 UTC
Issue with Netbeans 12.5 and Maven.
I have several maven applications opened in netbeans.
When I attempt to build one it at times picks the wrong project other times it does not use the correct profile.
From Netbeans 12.3
cd C:\dev\projects\service-request-enterprise; "JAVA_HOME=C:\\Program Files\\Java\\zulu7.34.0.5-ca-jdk7.0.242-win_x64" "M2_HOME=C:\\Program Files\\apache-maven-3.6.3" cmd /c "\"C:\\Program Files\\apache-maven-3.6.3\\bin\\mvn.cmd\" -DskipTests=true -Dmaven.ext.class.path=\"C:\\Program Files\\NetBeans-12.3\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=Cp1252 -PvDev clean install"
From Netbeans 12.5
cd C:\dev\projects\service-request-enterprise; "JAVA_HOME=C:\\Program Files\\Java\\zulu7.34.0.5-ca-jdk7.0.242-win_x64" "M2_HOME=C:\\Program Files\\apache-maven-3.6.3" cmd /c "\"C:\\Program Files\\apache-maven-3.6.3\\bin\\mvn.cmd\" -DskipTests=true \"-Dmaven.ext.class.path=C:\\Program Files\\NetBeans-12.5\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=Cp1252 clean install"
NOTE: the –PvDev is missing. And yes, I am selecting a profile.
Anyone else having this problem or has anyone else reported this as an issue.
Thanks,