Maven/Artifacts Build

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Maven/Artifacts Build

khaledhu
Hello, I installed new Artifactory Version 4.7.6 and I am upgrading from version 3.7.0, I also moved the Artifactory from old physical server, I have problem when building artifacts using ANT command, I changed everything in XML configuration files to new IP address but I still got this error apply_maven_goal: [exec] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project client: Failed to deploy artifacts: Could not transfer artifact com.bisan:client:jar:trunk from/to central (http://192.168.1.6:8081/artifactory/libs-release-local): Failed to transfer file: http://192.168.1.6:8081/artifactory/libs-release-local/com/bisan/client/trunk/client-trunk.jar. Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1] [exec] [ERROR] [exec] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [exec] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [exec] [ERROR] [exec] [ERROR] For more information about the errors and possible solutions, please read the following articles: [exec] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException I don't know from where it still try to take to old IP (192.168.1.6) Please advice