Hi, I think I installed Subversion with brew too, but my path to it is : /usr/local/opt/svn/bin ¿Could you check it?
Juan Miguel > El 25 mar 2022, a las 0:06, Mark Eggers <its_toas...@yahoo.com.INVALID> > escribió: > > I'm trying to help a user on a Macintosh use NetBeans 13. I do not have a > Macintosh. > > Our pom.xml has the buildnumber-maven-plugin that runs in the validate phase. > It populates some properties (revision and branch) to be added to a couple of > files via resource filtering. > > This works fine on Windows and Linux. It also works fine on the user's > Macintosh on the command line. > > The build failed error only occurs on a Macintosh when running from > aproject->Clean and Build in NetBeans. > > The error happens when executing the following (part of mvn -X): > > Executing: /bin/sh -c cd '/Users/auser/NetBeansProjects/aproject' && 'svn' > '--username' 'auser' '--password' '*****' '--no-auth-cache' > '--non-interactive' 'info' > > The error is: > > Failed to execute goal > org.codehaus.mojo:buildnumber-maven-plugin:3.0.0:create (default) on > project aproject: > Cannot get the revision information from the scm repository : > Exception while executing SCM command.: > Error while executing command. > Error while executing process. > Cannot run program "svn" (in directory > "/Users/auser/NetBeansProjects/aproject"): error=2, > No such file or directory > > aproject->Subversion->Update->Update to HEAD works as expected. > > The Preferences->Team->Subversion->Preferred Client (CLI) has the path > /usr/local/bin. > > Opening a Terminal window in NetBeans (Window->IDE Tools->Terminal), changing > to /Users/auser/NetBeansProjects/aproject and executing mvn package works as > expected. > > Subversion was installed via brew. NetBeans was installed from the .dmg. > > I'm currently at a loss. > > Any ideas would be welcome. > > . . . just my two cents > /mde/ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists