You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried use this utility, but with no luck.
I wanted clean repository located in Jenkins controller node (not important)
Important is that repository is located in this directory:
/data/app/tomcat/temp/repositoryconnector-repo/
But it is not possible, because you can specify "--path" parameter but to this path is appended directory name "repository".
I do not understand this limitation and feel free to close this issue. I just want let you know why I cannot use it.
Code responsible for appending "repository" to path
...
privatestaticFileevaluateM2Path(JCommanderjCommander) {
Stringm2Path = defaultString(argData.getM2Path(), concat(USER_HOME, ".m2"));
Filem2Dir = newFile(m2Path);
FilerepoDir = newFile(m2Path, "repository");
if (!m2Dir.exists() || !repoDir.exists()) {
log.error("Valid Maven repository could not be found. Please provide a valid input.");
...
The text was updated successfully, but these errors were encountered:
kjsmita6
pushed a commit
to kjsmita6/mvn-repo-cleaner
that referenced
this issue
Mar 7, 2023
I tried use this utility, but with no luck.
I wanted clean repository located in Jenkins controller node (not important)
Important is that repository is located in this directory:
/data/app/tomcat/temp/repositoryconnector-repo/
But it is not possible, because you can specify "--path" parameter but to this path is appended directory name "repository".
I do not understand this limitation and feel free to close this issue. I just want let you know why I cannot use it.
Code responsible for appending "repository" to path
The text was updated successfully, but these errors were encountered: