Upgrading Uber-jar 6.5.7 throwing me error after version update
I'm using AEM 6.5 and currently we are using SP1 and we are upgrading to SP7 now.
Hence, in the process of uber-jar version upgrade. I have updated to below version in my pom.xml of the project as below.
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
<version>6.5.7</version>
<scope>provided</scope>
<classifier>apis</classifier>
</dependency>
But I'm experiencing the below error after uber-jar version upgrade although the previous version of uber-jar(6.3.1) was working absolutely fine.
Kindly help me to resolve this problem.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Test Author only - Reactor Project
[INFO] Test Author only Bundle
[INFO] Test Author only Content Package
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Test Author only - Reactor Project 16.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ Test--author ---
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ Test--author ---
[INFO] Installing C:\CBA\Test-Author-Only\aem.Test-author-only\pom.xml to C:\Users\tksh\.m2\repository\com\cba\Test--author\16.0.0\Test--author-16.0.0.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Test Author only Bundle 16.0.0
[INFO] ------------------------------------------------------------------------
Downloading: https://artifactory.internal.cba/cq5-dev/com/adobe/aem/uber-jar/6.5.7/uber-jar-6.5.7-apis.jar
Downloading: https://artifactory.internal.cba/cq5-dev/com/adobe/aem/uber-jar/6.5.7/uber-jar-6.5.7-apis.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Test Author only - Reactor Project ......... SUCCESS [ 0.336 s]
[INFO] Test Author only Bundle .................... FAILURE [ 1.299 s]
[INFO] Test Author only Content Package ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.901 s
[INFO] Finished at: 2021-02-26T22:44:23+05:30
[INFO] Final Memory: 16M/187M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project Test--author.core: Could not resolve dependencies for project com.cba:Test--author.core:bundle:16.0.0: Could not transfer artifact com.adobe.aem:uber-jar:jar:apis:6.5.7 from/to central (https://artifactory.internal.cba/cq5-dev) : Not authorized , ReasonPhrase:Unauthorized. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :Test--author.core
Process finished with exit code 1