on 01-18-2017 1:38 PM
Buildfile: D:\hybrisTrail\hybris-6.0.0.1\hybris\bin\platform\build.xml [echo] D:\hybrisTrail\hybris-6.0.0.1\hybris\bin\platform/tomcat/bin [echo] D:\hybrisTrail\hybris-6.0.0.1\hybris\bin\platform/ext/core/web/webroot/WEB-INF/external-dependencies.xml was not found! [echo] cleabrary folder D:\hybrisTrail\hybris-6.0.0.1\hybris\bin\platform/lib/dbdriver/ [artifact:mvn] [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - Scanning for projects... [artifact:mvn] [main] INFO org.apache.maven.cli.transfer.Slf4jMavenTransferListener - Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plu... [artifact:mvn] [main] WARN org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-clean-plugin:2.5: Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.5 [artifact:mvn] [main] INFO org.apache.maven.cli.transfer.Slf4jMavenTransferListener - Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.6/maven-resou... [artifact:mvn] [main] WARN org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-resources-plugin:2.6: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6 [artifact:mvn] [main] INFO org.apache.maven.cli.transfer.Slf4jMavenTransferListener - Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.4/maven-jar-plugin-... [artifact:mvn] [main] WARN org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-jar-plugin:2.4: Plugin org.apache.maven.plugins:maven-jar-plugin:2.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-jar-plugin:jar:2.4 [artifact:mvn] [main] INFO org.apache.maven.cli.transfer.Slf4jMavenTransferListener - Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/3.1/maven-compil... [artifact:mvn] [main] WARN org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-compiler-plugin:3.1: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:3.1 [artifact:mvn] [main] INFO org.apache.maven.cli.transfer.Slf4jMavenTransferListener - Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.12.4/maven-sur... [artifact:mvn] [main] WARN org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-surefire-plugin:2.12.4: Plugin org.apache.maven.plugins:maven-surefire-plugin:2.12.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-surefire-plugin:jar:2.12.4 [artifact:mvn] [main] INFO org.apache.maven.cli.transfer.Slf4jMavenTransferListener - Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.4/maven-install... [artifact:mvn] [main] WARN org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.4: Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-install-plugin:jar:2.4 [artifact:mvn] [main] INFO org.apache.maven.cli.transfer.Slf4jMavenTransferListener - Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.7/maven-deploy-p... [artifact:mvn] [main] WARN org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 [artifact:mvn] [main] INFO org.apache.maven.cli.transfer.Slf4jMavenTransferListener - Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugi... [artifact:mvn] [main] WARN org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.3: Plugin org.apache.maven.plugins:maven-site-plugin:3.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-site-plugin:jar:3.3 [artifact:mvn] [main] INFO org.apache.maven.cli.transfer.Slf4jMavenTransferListener - Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-p... [artifact:mvn] [main] WARN org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 [artifact:mvn] [main] INFO org.apache.maven.cli.transfer.Slf4jMavenTransferListener - Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-5/maven... [artifact:mvn] [main] WARN org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 [artifact:mvn] [main] INFO org.apache.maven.cli.transfer.Slf4jMavenTransferListener - Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.8/maven-depe... [artifact:mvn] [main] WARN org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:2.8: Plugin org.apache.maven.plugins:maven-dependency-plugin:2.8 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 [artifact:mvn] [main] INFO org.apache.maven.cli.transfer.Slf4jMavenTransferListener - Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.3.2/maven-relea... [artifact:mvn] [main] WARN org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver - Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.3.2: Plugin org.apache.maven.plugins:maven-release-plugin:2.3.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-release-plugin:jar:2.3.2 [artifact:mvn] [DefaultMetadataResolver-0-1] INFO org.apache.maven.cli.transfer.Slf4jMavenTransferListener - Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml [artifact:mvn] [DefaultMetadataResolver-0-0] INFO org.apache.maven.cli.transfer.Slf4jMavenTransferListener - Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml [artifact:mvn] [main] WARN org.apache.maven.DefaultMaven - Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.40.215] failed: Connection refused: connect [artifact:mvn] [main] WARN org.apache.maven.DefaultMaven - Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.40.215] failed: Connection refused: connect [artifact:mvn] [main] WARN org.apache.maven.DefaultMaven - Failure to transfer org.apache.maven.plugins/maven-metadata.xml from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.40.215] failed: Connection refused: connect [artifact:mvn] [main] WARN org.apache.maven.DefaultMaven - Failure to transfer org.codehaus.mojo/maven-metadata.xml from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.40.215] failed: Connection refused: connect [artifact:mvn] [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ [artifact:mvn] [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - BUILD FAILURE [artifact:mvn] [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ [artifact:mvn] [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - Total time: 14.514 s [artifact:mvn] [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - Finished at: 2017-01-18T18:05:06+05:30 [artifact:mvn] [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - Final Memory: 7M/119M [artifact:mvn] [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------ [artifact:mvn] [main] ERROR org.apache.maven.cli.MavenCli - No plugin found for prefix 'dependency' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\1054387.m2\repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1] [artifact:mvn] [main] ERROR org.apache.maven.cli.MavenCli - [artifact:mvn] [main] ERROR org.apache.maven.cli.MavenCli - To see the full stack trace of the errors, re-run Maven with the -e switch. [artifact:mvn] [main] ERROR org.apache.maven.cli.MavenCli - Re-run Maven using the -X switch to enable full debug logging. [artifact:mvn] [main] ERROR org.apache.maven.cli.MavenCli - [artifact:mvn] [main] ERROR org.apache.maven.cli.MavenCli - For more information about the errors and possible solutions, please read the following articles: [artifact:mvn] [main] ERROR org.apache.maven.cli.MavenCli - [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException
BUILD FAILED D:\hybrisTrail\hybris-6.0.0.1\hybris\bin\platform\build.xml:18: The following error occurred while executing this line: D:\hybrisTrail\hybris-6.0.0.1\hybris\bin\platform\resources\ant\antmacros.xml:88: The following error occurred while executing this line: D:\hybrisTrail\hybris-6.0.0.1\hybris\bin\platform\resources\ant\mavenTasks.xml:328: Java returned: 1
Total time: 19 seconds
Hi,
Please create settings.xml at the following location /.m2/settings.xml e.g. C:\Users\YourUserName.m2\settings.xml on Windows or /home/YourUserName/.m2/settings.xml on Linux and OS X
Here's an empty skeleton you can use:
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">;
<localRepository/>
<interactiveMode/>
<usePluginRegistry/>
<offline/>
<pluginGroups/>
<servers/>
<mirrors/>
<proxies/>
<profiles/>
<activeProfiles/>
</settings>
For more details please visit http://maven.apache.org/settings.html
Please mark this reply so I could know it helped. If something is unclear or not working please comment and I will try to find a better solution.
Kind regards,
SAP hybris Product Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are using Hybris 6.6. I created settings.xml in .m2 folder (MAC) as shown below
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
https://maven.apache.org/xsd/settings-1.0.0.xsd">;
<mirrors>
<mirror>
<id>centralhttps</id>
<mirrorOf>central</mirrorOf>
<name>Maven central https</name>
<url>https://repo1.maven.org/maven2/</url>
</mirror>
</mirrors>
</settings>
Still it is giving me below error
[artifact:mvn] Downloading: org/apache/maven/apache-maven/3.2.5/apache-maven-3.2.5.pom from repository central at http://repo1.maven.org/maven2
[artifact:mvn] Error transferring file: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.2.5/apache-maven-3.2.5.pom
[artifact:mvn] [WARNING] Unable to get resource 'org.apache.maven:apache-maven:pom:3.2.5' from repository central (http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.2.5/apache-maven-3.2.5.pom
[artifact:mvn] Downloading: org/apache/maven/apache-maven/3.2.5/apache-maven-3.2.5.pom from repository central at http://repo1.maven.org/maven2
[artifact:mvn] Error transferring file: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.2.5/apache-maven-3.2.5.pom
[artifact:mvn] [WARNING] Unable to get resource 'org.apache.maven:apache-maven:pom:3.2.5' from repository central (http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.2.5/apache-maven-3.2.5.pom
[null] An error has occurred while processing the Maven artifact tasks.
[null] Diagnosis:
[null]
[null] Unable to resolve artifact: Missing:
[null] ----------
[null] 1) org.apache.maven:apache-maven:pom:3.2.5
[null] Path to dependency:
[null] 1) org.apache.maven:super-pom:pom:2.0
[null] 2) org.apache.maven:apache-maven:pom:3.2.5
[null]
[null] ----------
[null] 1 required artifact is missing.
[null]
[null] for artifact:
[null] org.apache.maven:super-pom:pom:2.0
[null]
[null] from the specified remote repositories:
[null] central (http://repo1.maven.org/maven2)
[null]
[null]
BUILD FAILED
Seems the settings.xml is not reflecting. Any pointers??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks man its working
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.