The typical reason for the "access is denied" error is because the file is protected by access control permissions which the current user does not have. This error can also occur if the file is currently opened and locked by a running process. Check to see if either of these conditions exist and correct them before trying the build process again.
This error can occur on the Microsoft Windows operating system if the target artifact directory has a file with the "hidden" attribute and Maven treats this as a file it cannot read or modify. The TIBCO Streaming product includes the command
epdev which can be used to manipulate the Maven repository and resolve this condition by removing the problem artifact so it can be re-written without interference.
To clean and restore the local Maven repository use commands:
1.
epdev clean-tibco maven2.
epdev offline mavenThis may not restore all dependencies required by your project, so also perform a build of your project using the
clean and
install targets to identify and restore any additional libraries you may need. Complete these steps while connected to the Internet with clear download access to Maven Central (
https://repo.maven.apache.org).