Re: RE: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-08 Thread Carl Mosca
But it would be cool to figure out how to trigger it because the installer
is a nice fallback IMHO.

On Tue, Mar 8, 2022 at 5:52 PM Peter Ream  wrote:

> Dave, thanks for your input. It is not necessary to have Security &
> Privacy unlocked before the trigger. Unlocking is necessary for deleting
> the app from Files and Folders. I was able to delete NB12.6 from Files and
> Folders, and get the retriggerr on first ~/Documents access. This mechanism
> I didn’t understand and now is clear. Installing NB13 thru Carl’s installer
> (basically downloading and manually building “Apache Netbeans 13.app)
> does not get this trigger mechanism. I am able to move forward with NB13,
> just with my projects outside ~/Documents, no big deal. Hopefully, the
> MacOS installer will resolve that when it is ready.
>
-- 
Regards,
Carl


RE: RE: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-08 Thread Peter Ream
Dave, thanks for your input. It is not necessary to have Security & Privacy
unlocked before the trigger. Unlocking is necessary for deleting the app
from Files and Folders. I was able to delete NB12.6 from Files and Folders,
and get the retriggerr on first ~/Documents access. This mechanism I didn’t
understand and now is clear. Installing NB13 thru Carl’s installer
(basically downloading and manually building “Apache Netbeans 13.app) does
not get this trigger mechanism. I am able to move forward with NB13, just
with my projects outside ~/Documents, no big deal. Hopefully, the MacOS
installer will resolve that when it is ready.


RE: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-08 Thread David Green
 I used the release candidate of the OSX installer that has been
retracted.  I had already unlocked the Security & Privacy panel of System
Preferences.

When I used File Open Project of NetBeans and moved it to my user
directory, I got a prompt to allow Apache NetBeans 13 to access my Desktop
(which I denied) but looking at the Files and Folders part of Security &
Privacy, I saw that Apache NetBeans 13.app was added with the three special
folders (Downloads, Document, Desktop) and had checked Download & Documents
for access but not Desktop.

I delete Apache NetBeans 13.app (and its 3 subfolders) from panel with the
“-" and was able to retrigger the requests when I tried to access and while
the panel was unlocked.  Not sure that will work for you or is part of the
configuration for the NetBeans.app application.  The “13” app is shown
right below the “12.6” app in the Files and Folders panel.

Dave


On Mar 8, 2022 at 2:57:40 PM, Peter Ream  wrote:

> I know what the problem is, I have a work around, but don’t know how to
> fully resolve. Applications that want access to folders ~/Desktop,
> ~/Downloads, or ~/Documents have to first get access permission from the
> user. I don’t know how this is done, an API request, first access to a file
> within, or something else. Anyway, NB12.6 requested access which I
> authorized for ~/Documents (my netbeans project folders reside here).  NB13
> (downloaded and installed with Carl Mosca’s installer) never requests
> access rights. As a result, “Apache Netbeans 12.6.app”, (see attached)
> has an entry in “System Preferences | Files and Folders”, while NB13 does
> not.   As a result, I am unable to navigate any of the special folders in
> NB13. To open and get the error, you have to supply path to project in
> “File Name: “ input box, then click “Open Project.” Then the error I noted
> in my earlier post.
>
> I can reproduce the same situation in NB12.6 by unticking “Documents
> Folder” in Files and Folders. Can no longer navigate the special folders,
> and same open failure.
>
> How does “Apache Netbeans 13.app” request access to ~/Documents? There is
> +/- to add applications, but it is always grayed out (not user addable).
> Give “Full Disk Access” does not work. I went down the quarantine route,
> but don’t think that is the issue. The install.sh uses curl to download and
> I read curl downloads are not quarantined.
>
> My work around:  I moved my projects out of ~/Documents. NB13 then works
> fine. If you don’t have your projects under one of the 3 special folders,
> you’ll never see the problem.
>
> I’m out of ideas and I’m guessing it has something to do with signing the
> app, and hope the MacOS installer will resolve this (non)issue.
>
> On 2022/03/06 16:53:39 Peter Ream wrote:
>
> I installed NB13 using carljmosca/netbeans-macos-bundle: NetBeans
>
> installation script for Mac OS X (github.com)
>
>  on MacOS 12.2.1 on
>
> MacBook Air M1. The install went without a hitch. However none of my maven
>
> projects will open. I get:
>
>
> 1 problem was encountered while building the effective model
>
> [FATAL] Non-readable POM /Users/user/Documents/Java
>
> Projects/NetBeansProjects/Maven/Test/DRHandicapMonitor/pom.xml:
>
> /Users/user/Documents/Java
>
> Projects/NetBeansProjects/Maven/Test/DRHandicapMonitor/pom.xml (Operation
>
> not permitted) @
>
>  for project  at /Users/user/Documents/Java
>
> Projects/NetBeansProjects/Maven/Test/DRHandicapMonitor/pom.xml
>
>
> When I try “Resolve Problem”, I get:
>
>
> cd /Users/user/Documents/Java
>
> Projects/NetBeansProjects/Maven/Test/Handicap;
>
> JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home
>
> "/Applications/NetBeans/Apache NetBeans
>
> 13.app/Contents/Resources/NetBeans/java/maven/bin/mvn" -DskipTests=true
>
> --fail-at-end package
>
> shell-init: error retrieving current directory: getcwd: cannot access
>
> parent directories: Operation not permitted
>
> pwd: error retrieving current directory: getcwd: cannot access parent
>
> directories: Operation not permitted
>
> pwd: error retrieving current directory: getcwd: cannot access parent
>
> directories: Operation not permitted
>
> chdir: error retrieving current directory: getcwd: cannot access parent
>
> directories: Operation not permitted
>
> chdir: error retrieving current directory: getcwd: cannot access parent
>
> directories: Operation not permitted
>
> pwd: error retrieving current directory: getcwd: cannot access parent
>
> directories: Operation not permitted
>
> Scanning for projects…
>
>
> There appears to be a problem with accessing the POM. I have “Files and
>
> Folders” and “Full Disk Access” set for NB13.
>
>
> Any ideas?
>
>
> -
> 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 

Re: Re: Re: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-06 Thread Carl Mosca
Sorry, typo on the OS version.

On Sun, Mar 6, 2022 at 4:48 PM Carl Mosca  wrote:

> Yes I am running an M1 with the same 22.2.1 macOS. Also tried same on my
> Intel Mac.
>
> Both are working with no mods.
>
> On Sun, Mar 6, 2022 at 4:42 PM Peter Ream  wrote:
>
>> Are you running same environment as me? Latest release Monterey 12.2.1 on
>> Apple Silicon? I modified init.sh as I outlined in my last post with xattr.
>> I don’t think this had any affect.
>>
>> Gj, this has to be an installer issue and not related to the project. I
>> created a “Java with Maven | Java Application” on NB13. This generates main
>> class “Hello World.” It runs, no problem. I opened on NB12.6 and it ran
>> fine. I changed it on NB12.6, no problem and opened on NB13, no problem.
>> Deleted project. Created on NB12.6 same way, but had to make my own main
>> class as it does not. It ran no problem. Opened on NB13, unloadable. None
>> of my NB12.6 projects will load on NB13. Either there is a problem with
>> this method of installation or there is a problem with NB13 in my
>> environment.
>>
>> On 2022/03/06 21:03:15 Carl Mosca wrote:
>>
>> What were the modifications?  The script has a fair number of options that
>>
>> folks contributed so that it shouldn’t need modification.
>>
>>
>> I used it to install 13 unmodified and I am not having application, file
>> or
>>
>> directory read write or execute permission issues.
>>
>>
>> But it’s difficult to diagnose without an example as Gj has pointed out.
>>
>>
>>
>>
>>
>> On 2022/03/06 21:03:15 Carl Mosca wrote:
>>
>> What were the modifications?  The script has a fair number of options
>> tha,
>>
>> folks contributed so that it shouldn’t need modification.
>>
>>
>> I used it to install 13 unmodified and I am not having application, file
>> or
>>
>> directory read write or execute permission issues.
>>
>>
>> But it’s difficult to diagnose without an example as Gj has pointed out.
>>
>>
>>
>> --
> Regards,
> Carl
>
-- 
Regards,
Carl


Re: Re: Re: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-06 Thread Carl Mosca
Yes I am running an M1 with the same 22.2.1 macOS. Also tried same on my
Intel Mac.

Both are working with no mods.

On Sun, Mar 6, 2022 at 4:42 PM Peter Ream  wrote:

> Are you running same environment as me? Latest release Monterey 12.2.1 on
> Apple Silicon? I modified init.sh as I outlined in my last post with xattr.
> I don’t think this had any affect.
>
> Gj, this has to be an installer issue and not related to the project. I
> created a “Java with Maven | Java Application” on NB13. This generates main
> class “Hello World.” It runs, no problem. I opened on NB12.6 and it ran
> fine. I changed it on NB12.6, no problem and opened on NB13, no problem.
> Deleted project. Created on NB12.6 same way, but had to make my own main
> class as it does not. It ran no problem. Opened on NB13, unloadable. None
> of my NB12.6 projects will load on NB13. Either there is a problem with
> this method of installation or there is a problem with NB13 in my
> environment.
>
> On 2022/03/06 21:03:15 Carl Mosca wrote:
>
> What were the modifications?  The script has a fair number of options that
>
> folks contributed so that it shouldn’t need modification.
>
>
> I used it to install 13 unmodified and I am not having application, file or
>
> directory read write or execute permission issues.
>
>
> But it’s difficult to diagnose without an example as Gj has pointed out.
>
>
>
>
>
> On 2022/03/06 21:03:15 Carl Mosca wrote:
>
> What were the modifications?  The script has a fair number of options tha,
>
> folks contributed so that it shouldn’t need modification.
>
>
> I used it to install 13 unmodified and I am not having application, file or
>
> directory read write or execute permission issues.
>
>
> But it’s difficult to diagnose without an example as Gj has pointed out.
>
>
>
> --
Regards,
Carl


RE: Re: Re: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-06 Thread Peter Ream
Are you running same environment as me? Latest release Monterey 12.2.1 on
Apple Silicon? I modified init.sh as I outlined in my last post with xattr.
I don’t think this had any affect.

Gj, this has to be an installer issue and not related to the project. I
created a “Java with Maven | Java Application” on NB13. This generates main
class “Hello World.” It runs, no problem. I opened on NB12.6 and it ran
fine. I changed it on NB12.6, no problem and opened on NB13, no problem.
Deleted project. Created on NB12.6 same way, but had to make my own main
class as it does not. It ran no problem. Opened on NB13, unloadable. None
of my NB12.6 projects will load on NB13. Either there is a problem with
this method of installation or there is a problem with NB13 in my
environment.

On 2022/03/06 21:03:15 Carl Mosca wrote:

What were the modifications?  The script has a fair number of options that

folks contributed so that it shouldn’t need modification.


I used it to install 13 unmodified and I am not having application, file or

directory read write or execute permission issues.


But it’s difficult to diagnose without an example as Gj has pointed out.





On 2022/03/06 21:03:15 Carl Mosca wrote:

What were the modifications?  The script has a fair number of options tha,

folks contributed so that it shouldn’t need modification.


I used it to install 13 unmodified and I am not having application, file or

directory read write or execute permission issues.


But it’s difficult to diagnose without an example as Gj has pointed out.


Re: Re: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-06 Thread Carl Mosca
What were the modifications?  The script has a fair number of options that
folks contributed so that it shouldn’t need modification.

I used it to install 13 unmodified and I am not having application, file or
directory read write or execute permission issues.

But it’s difficult to diagnose without an example as Gj has pointed out.

On Sun, Mar 6, 2022 at 3:52 PM Peter Ream  wrote:

> Still not there, but have a different result. I’m still using 
> carljmosca/netbeans-macos-bundle:
> NetBeans installation script for Mac OS X (github.com)
> . After downloading
> the code, I modified install.sh. After the netbeans download, I added xattr
> to downloaded zip.
>
> .
> .
> .
> echo "Unpacking Netbeans archive..."
> *xattr -dr com.apple.quarantine "${TMPFILE}"*
> ${SUDO_COMMAND}unzip ${QUIETUNZIP} "${TMPFILE}" -d
> "${INSTALL_DIR}/NetBeans/Apache NetBeans
> ${NETBEANS_VERSION}.app/Contents/Resources/“
> .
> .
> .
>
> Now when I try to open an existing project, I get, “project is not a valid
> Netbeans project.”
>
> Might just have to wait for MacOS installer.
>
> On 2022/03/06 17:16:59 Giles Winstanley wrote:
>
> The downloaded zip file would likely be flagged by macOS as quarantined,
>
> so it's very likely needs the flag removed for the application to
>
> function as expected. This can either be done on the zip file before
>
> unzipping, or on the contents afterwards.
>
>  xattr -r -d com.apple.quarantine 
>
>
> Clearly you need to have trust in the contents of the folder to take
>
> this avenue, so I'm assuming the PGP/SHA checks have been done as
>
> appropriate. Once the quarantine flag is removed it should hopefully be
>
> back working as expected, although since you've already tried opening
>
> the application previously, it's probably worth giving it a fresh start
>
> before launch by deleting the new configuration it made and letting it
>
> import from a previous version as needed:
>
>  rm -rf "$HOME/Library/Application Support/NetBeans/13"
>
>
> Hope that helps,
>
>
> Stan
>
>
>
>
>
> On 2022/03/06 17:16:59 Giles Winstanley wrote:
>
> The downloaded zip file would likely be flagged by macOS as quarantined,
>
> so it's very likely needs the flag removed for the application to
>
> function as expected. This can either be done on the zip file before
>
> unzipping, or on the contents afterwards.
>
>  xattr -r -d com.apple.quarantine
>
>
> Clearly you need to have trust in the contents of the folder to take
>
> this avenue, so I'm assuming the PGP/SHA checks have been done as
>
> appropriate. Once the quarantine flag is removed it should hopefully be
>
> back working as expected, although since you've already tried opening
>
> the application previously, it's probably worth giving it a fresh start
>
> before launch by deleting the new configuration it made and letting it
>
> import from a previous version as needed:
>
>  rm -rf "$HOME/Library/Application Support/NetBeans/13"
>
>
> Hope that helps,
>
>
> Stan
>
>
>
>
>
> --
Regards,
Carl


Re: Re: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-06 Thread Geertjan Wielenga
Nobody is going to be able to help you, with or without the installer,
without the project or a similar project, that can be used to
reproduce the problem.

Gj

On Sun, Mar 6, 2022 at 9:52 PM Peter Ream  wrote:
>
> Still not there, but have a different result. I’m still using 
> carljmosca/netbeans-macos-bundle: NetBeans installation script for Mac OS X 
> (github.com). After downloading the code, I modified install.sh. After the 
> netbeans download, I added xattr to downloaded zip.
>
> .
> .
> .
> echo "Unpacking Netbeans archive..."
> xattr -dr com.apple.quarantine "${TMPFILE}"
> ${SUDO_COMMAND}unzip ${QUIETUNZIP} "${TMPFILE}" -d 
> "${INSTALL_DIR}/NetBeans/Apache NetBeans 
> ${NETBEANS_VERSION}.app/Contents/Resources/“
> .
> .
> .
>
> Now when I try to open an existing project, I get, “project is not a valid 
> Netbeans project.”
>
> Might just have to wait for MacOS installer.
>
> On 2022/03/06 17:16:59 Giles Winstanley wrote:
>
> The downloaded zip file would likely be flagged by macOS as quarantined,
>
> so it's very likely needs the flag removed for the application to
>
> function as expected. This can either be done on the zip file before
>
> unzipping, or on the contents afterwards.
>
>  xattr -r -d com.apple.quarantine 
>
>
> Clearly you need to have trust in the contents of the folder to take
>
> this avenue, so I'm assuming the PGP/SHA checks have been done as
>
> appropriate. Once the quarantine flag is removed it should hopefully be
>
> back working as expected, although since you've already tried opening
>
> the application previously, it's probably worth giving it a fresh start
>
> before launch by deleting the new configuration it made and letting it
>
> import from a previous version as needed:
>
>  rm -rf "$HOME/Library/Application Support/NetBeans/13"
>
>
> Hope that helps,
>
>
> Stan
>
>
>
>
>
> On 2022/03/06 17:16:59 Giles Winstanley wrote:
>
> The downloaded zip file would likely be flagged by macOS as quarantined,
>
> so it's very likely needs the flag removed for the application to
>
> function as expected. This can either be done on the zip file before
>
> unzipping, or on the contents afterwards.
>
>  xattr -r -d com.apple.quarantine
>
>
> Clearly you need to have trust in the contents of the folder to take
>
> this avenue, so I'm assuming the PGP/SHA checks have been done as
>
> appropriate. Once the quarantine flag is removed it should hopefully be
>
> back working as expected, although since you've already tried opening
>
> the application previously, it's probably worth giving it a fresh start
>
> before launch by deleting the new configuration it made and letting it
>
> import from a previous version as needed:
>
>  rm -rf "$HOME/Library/Application Support/NetBeans/13"
>
>
> Hope that helps,
>
>
> Stan
>
>
>
>
>

-
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



RE: Re: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-06 Thread Peter Ream
Still not there, but have a different result. I’m still using
carljmosca/netbeans-macos-bundle:
NetBeans installation script for Mac OS X (github.com)
. After downloading
the code, I modified install.sh. After the netbeans download, I added xattr
to downloaded zip.

.
.
.
echo "Unpacking Netbeans archive..."
*xattr -dr com.apple.quarantine "${TMPFILE}"*
${SUDO_COMMAND}unzip ${QUIETUNZIP} "${TMPFILE}" -d
"${INSTALL_DIR}/NetBeans/Apache NetBeans
${NETBEANS_VERSION}.app/Contents/Resources/“
.
.
.

Now when I try to open an existing project, I get, “project is not a valid
Netbeans project.”

Might just have to wait for MacOS installer.

On 2022/03/06 17:16:59 Giles Winstanley wrote:

The downloaded zip file would likely be flagged by macOS as quarantined,

so it's very likely needs the flag removed for the application to

function as expected. This can either be done on the zip file before

unzipping, or on the contents afterwards.

 xattr -r -d com.apple.quarantine 


Clearly you need to have trust in the contents of the folder to take

this avenue, so I'm assuming the PGP/SHA checks have been done as

appropriate. Once the quarantine flag is removed it should hopefully be

back working as expected, although since you've already tried opening

the application previously, it's probably worth giving it a fresh start

before launch by deleting the new configuration it made and letting it

import from a previous version as needed:

 rm -rf "$HOME/Library/Application Support/NetBeans/13"


Hope that helps,


Stan





On 2022/03/06 17:16:59 Giles Winstanley wrote:

The downloaded zip file would likely be flagged by macOS as quarantined,

so it's very likely needs the flag removed for the application to

function as expected. This can either be done on the zip file before

unzipping, or on the contents afterwards.

 xattr -r -d com.apple.quarantine


Clearly you need to have trust in the contents of the folder to take

this avenue, so I'm assuming the PGP/SHA checks have been done as

appropriate. Once the quarantine flag is removed it should hopefully be

back working as expected, although since you've already tried opening

the application previously, it's probably worth giving it a fresh start

before launch by deleting the new configuration it made and letting it

import from a previous version as needed:

 rm -rf "$HOME/Library/Application Support/NetBeans/13"


Hope that helps,


Stan


RE: Re: Re: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-06 Thread Peter Ream
Last login: Sun Mar  6 12:42:40 on ttys000

userid@Peters-MacBook-Air Handicap % ls -l

total 32

-rw-r--r--  1 userid  staff  1028 Jan 25 12:42 nb-configuration.xml

-rw-r--r--  1 userid  staff  2309 Jan 25 12:42 nbactions.xml

-rw-r--r--  1 userid  staff  5336 Nov 16 14:14 pom.xml

drwxr-xr-x  5 userid  staff   160 Jan 25 12:42 src

userid@Peters-MacBook-Air Handicap %


Userid is me.


Re: Re: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-06 Thread Carl Mosca
Peter,

Can you provide the output from ls -l for the project(s) that you're trying
to open?  Are you signed in to this computer as "user"?

Carl

On Sun, Mar 6, 2022 at 12:46 PM Peter Ream  wrote:

> Carl, I think permission/ownership is the problem. Not sure what I need
> to do. I substituted “user” for my userid.
>
> Stan. I think you are onto something. I have always used the installers to
> install NB. Used this script for the first time. Took awhile to figure it
> out. I do see this:
>
> userid@Peters-MacBook-Air NetBeans % ls -l
>
> total 0
>
> drwxrwxr-x  4 userid admin  128 Dec  6 13:50 Apache NetBeans 12.6.app
>
> drwxr-xr-x  3 root   wheel   96 Mar  6 10:56 Apache NetBeans 13.app
>
> userid@Peters-MacBook-Air NetBeans %
>
>
> I see NB13 is owned by root where NB12.6 is owned by me. Could this be
> causing the issue?
>
>
> All checksums are in order. I have run into that quarantining issue
> before, but not sure that is the issue here.
>
> Peter
>


-- 
Carl J. Mosca


RE: Re: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-06 Thread Peter Ream
Carl, I think permission/ownership is the problem. Not sure what I need to
do. I substituted “user” for my userid.

Stan. I think you are onto something. I have always used the installers to
install NB. Used this script for the first time. Took awhile to figure it
out. I do see this:

userid@Peters-MacBook-Air NetBeans % ls -l

total 0

drwxrwxr-x  4 userid admin  128 Dec  6 13:50 Apache NetBeans 12.6.app

drwxr-xr-x  3 root   wheel   96 Mar  6 10:56 Apache NetBeans 13.app

userid@Peters-MacBook-Air NetBeans %


I see NB13 is owned by root where NB12.6 is owned by me. Could this be
causing the issue?


All checksums are in order. I have run into that quarantining issue before,
but not sure that is the issue here.

Peter


Re: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-06 Thread Giles Winstanley
The downloaded zip file would likely be flagged by macOS as quarantined, 
so it's very likely needs the flag removed for the application to 
function as expected. This can either be done on the zip file before 
unzipping, or on the contents afterwards.

    xattr -r -d com.apple.quarantine 

Clearly you need to have trust in the contents of the folder to take 
this avenue, so I'm assuming the PGP/SHA checks have been done as 
appropriate. Once the quarantine flag is removed it should hopefully be 
back working as expected, although since you've already tried opening 
the application previously, it's probably worth giving it a fresh start 
before launch by deleting the new configuration it made and letting it 
import from a previous version as needed:

    rm -rf "$HOME/Library/Application Support/NetBeans/13"

Hope that helps,

Stan

On 06/03/2022 16:53, Peter Ream wrote:
I installed NB13 using carljmosca/netbeans-macos-bundle: NetBeans 
installation script for Mac OS X (github.com) 
 on MacOS 12.2.1 
on MacBook Air M1. The install went without a hitch. However none of 
my maven projects will open. I get:


1 problem was encountered while building the effective model
[FATAL] Non-readable POM /Users/user/Documents/Java 
Projects/NetBeansProjects/Maven/Test/DRHandicapMonitor/pom.xml: 
/Users/user/Documents/Java 
Projects/NetBeansProjects/Maven/Test/DRHandicapMonitor/pom.xml 
(Operation not permitted) @
 for project  at /Users/user/Documents/Java 
Projects/NetBeansProjects/Maven/Test/DRHandicapMonitor/pom.xml


When I try “Resolve Problem”, I get:

cd /Users/user/Documents/Java 
Projects/NetBeansProjects/Maven/Test/Handicap; 
JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home 
"/Applications/NetBeans/Apache NetBeans 
13.app/Contents/Resources/NetBeans/java/maven/bin/mvn 
" 
-DskipTests=true --fail-at-end package
shell-init: error retrieving current directory: getcwd: cannot access 
parent directories: Operation not permitted
pwd: error retrieving current directory: getcwd: cannot access parent 
directories: Operation not permitted
pwd: error retrieving current directory: getcwd: cannot access parent 
directories: Operation not permitted
chdir: error retrieving current directory: getcwd: cannot access 
parent directories: Operation not permitted
chdir: error retrieving current directory: getcwd: cannot access 
parent directories: Operation not permitted
pwd: error retrieving current directory: getcwd: cannot access parent 
directories: Operation not permitted

Scanning for projects…

There appears to be a problem with accessing the POM. I have “Files 
and Folders” and “Full Disk Access” set for NB13.


Any ideas?


Re: [NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-06 Thread Carl Mosca
Hello Peter,

Have you confirmed that there is not a file permission/ownership issue with
these files/directories?  It seems you are user "user" from the location of
the Documents directory.  Is that the owner that has rw permissions on
pom.xml?

Regards,
Carl

On Sun, Mar 6, 2022 at 11:53 AM Peter Ream  wrote:

> I installed NB13 using carljmosca/netbeans-macos-bundle: NetBeans
> installation script for Mac OS X (github.com)
>  on MacOS 12.2.1 on
> MacBook Air M1. The install went without a hitch. However none of my maven
> projects will open. I get:
>
> 1 problem was encountered while building the effective model
> [FATAL] Non-readable POM /Users/user/Documents/Java
> Projects/NetBeansProjects/Maven/Test/DRHandicapMonitor/pom.xml:
> /Users/user/Documents/Java
> Projects/NetBeansProjects/Maven/Test/DRHandicapMonitor/pom.xml (Operation
> not permitted) @
>  for project  at /Users/user/Documents/Java
> Projects/NetBeansProjects/Maven/Test/DRHandicapMonitor/pom.xml
>
> When I try “Resolve Problem”, I get:
>
> cd /Users/user/Documents/Java
> Projects/NetBeansProjects/Maven/Test/Handicap;
> JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home
> "/Applications/NetBeans/Apache NetBeans
> 13.app/Contents/Resources/NetBeans/java/maven/bin/mvn" -DskipTests=true
> --fail-at-end package
> shell-init: error retrieving current directory: getcwd: cannot access
> parent directories: Operation not permitted
> pwd: error retrieving current directory: getcwd: cannot access parent
> directories: Operation not permitted
> pwd: error retrieving current directory: getcwd: cannot access parent
> directories: Operation not permitted
> chdir: error retrieving current directory: getcwd: cannot access parent
> directories: Operation not permitted
> chdir: error retrieving current directory: getcwd: cannot access parent
> directories: Operation not permitted
> pwd: error retrieving current directory: getcwd: cannot access parent
> directories: Operation not permitted
> Scanning for projects…
>
> There appears to be a problem with accessing the POM. I have “Files and
> Folders” and “Full Disk Access” set for NB13.
>
> Any ideas?
>


-- 
Carl J. Mosca


[NB13] [Maven] [POM] Netbeans 13 Maven POM problem

2022-03-06 Thread Peter Ream
I installed NB13 using carljmosca/netbeans-macos-bundle: NetBeans
installation script for Mac OS X (github.com)
 on MacOS 12.2.1 on
MacBook Air M1. The install went without a hitch. However none of my maven
projects will open. I get:

1 problem was encountered while building the effective model
[FATAL] Non-readable POM /Users/user/Documents/Java
Projects/NetBeansProjects/Maven/Test/DRHandicapMonitor/pom.xml:
/Users/user/Documents/Java
Projects/NetBeansProjects/Maven/Test/DRHandicapMonitor/pom.xml (Operation
not permitted) @
 for project  at /Users/user/Documents/Java
Projects/NetBeansProjects/Maven/Test/DRHandicapMonitor/pom.xml

When I try “Resolve Problem”, I get:

cd /Users/user/Documents/Java
Projects/NetBeansProjects/Maven/Test/Handicap;
JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home
"/Applications/NetBeans/Apache NetBeans
13.app/Contents/Resources/NetBeans/java/maven/bin/mvn" -DskipTests=true
--fail-at-end package
shell-init: error retrieving current directory: getcwd: cannot access
parent directories: Operation not permitted
pwd: error retrieving current directory: getcwd: cannot access parent
directories: Operation not permitted
pwd: error retrieving current directory: getcwd: cannot access parent
directories: Operation not permitted
chdir: error retrieving current directory: getcwd: cannot access parent
directories: Operation not permitted
chdir: error retrieving current directory: getcwd: cannot access parent
directories: Operation not permitted
pwd: error retrieving current directory: getcwd: cannot access parent
directories: Operation not permitted
Scanning for projects…

There appears to be a problem with accessing the POM. I have “Files and
Folders” and “Full Disk Access” set for NB13.

Any ideas?