- This topic has 6 replies, 2 voices, and was last updated 5 years, 5 months ago by support-swapna.
-
AuthorPosts
-
sand77ParticipantHi,
Can someone please tell me what i need to do to get this resolvedIam getting a Error while creating maven projects
There is no settings.xml file in the reporsitroy folder
below is the message that i get while creating the maven project
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE from any of the configured repositories.
Could not resolve artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:RELEASE
Failed to resolve version for org.apache.maven.archetypes:maven-archetype-quickstart:pom:RELEASE: Could not find metadata org.apache.maven.archetypes:maven-archetype-quickstart/maven-metadata.xml in local (C:\Users\manis1\.m2\repository)
Failed to resolve version for org.apache.maven.archetypes:maven-archetype-quickstart:pom:RELEASE: Could not find metadata org.apache.maven.archetypes:maven-archetype-quickstart/maven-metadata.xml in local (C:\Users\manis1\.m2\repository)
support-swapnaModeratorSand77,
Sorry that you are seeing this problem.
1. Can you please clarify if you are behind a firewall or proxy?
2. If you are behind a firewall or proxy, then in addition to configuring the proxy details in the IDE (Window > Preferences > General > Network Connections), you will also have to also point to the settings.xml in the IDE. Please go to Window>Preferences>MyEclipse>Maven4MyEclipse>User Settings and check if the path to the settings.xml is right? If there is no settings.xml file in the .m2 directory, create a file called settings.xml in [user]/.m2 directory and add in the “bits” for the proxy:
http://maven.apache.org/settings.html3. Make sure there are no extra spaces at the start of the settings.xml file. Please make sure the host,username and password are correct in the settings.xml. Also check if the proxy is working by trying to telnet it : telnet [proxy] [port number]
If you are still seeing problems, then please share with us the MyEclipse version details along with the contents of the settings.xml file and share with us the complete workspace log file which is located at workspace dir/.metadata/.log to help us investigate further. Also share with us more details about the proxy and its setup.
Apologies for inconvenience caused. Please let us know how you get on with it.
–Swapna
Genuitec Support
sand77ParticipantThanks swapna for responding but still getting the same issuee
In Settings .xml have added the below :
<?xml version=”1.0″ encoding=”UTF-8″ standalone=”yes”?>
<?mso-application progid=”Word.Document”?>
<pkg:package xmlns:pkg=”http://schemas.microsoft.com/office/2006/xmlPackage”><pkg:part pkg:name=”/_rels/.rels” pkg:contentType=”application/vnd.openxmlformats-package.relationships+xml” pkg:padding=”512″><pkg:xmlData><Relationships xmlns=”http://schemas.openxmlformats.org/package/2006/relationships”><Relationship Id=”rId3″ Type=”http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties” Target=”docProps/app.xml”/><Relationship Id=”rId2″ Type=”http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties” Target=”docProps/core.xml”/><Relationship Id=”rId1″ Type=”http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument” Target=”word/document.xml”/><Relationship Id=”rId4″ Type=”http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties” Target=”docProps/custom.xml”/></Relationships></pkg:xmlData></pkg:part><pkg:part pkg:name=”/word/_rels/document.xml.rels” pkg:contentType=”application/vnd.openxmlformats-package.relationships+xml” pkg:padding=”256″><pkg:xmlData><Relationships xmlns=”http://schemas.openxmlformats.org/package/2006/relationships”><Relationship Id=”rId8″ Type=”http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer” Target=”footer1.xml”/><Relationship Id=”rId13″ Type=”http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme” Target=”theme/theme1.xml”/><Relationship Id=”rId3″ Type=”http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings” Target=”webSettings.xml”/><Relationship Id=”rId7″ Type=”http://schemas.openxmlformats.org/officeDocument/2006/relationships/header” Target=”header2.xml”/><Relationship Id=”rId12″ Type=”http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable” Target=”fontTable.xml”/><Relationship Id=”rId2″ Type=”http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings” Target=”settings.xml”/><Relationship Id=”rId1″ Type=”http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles” Target=”styles.xml”/><Relationship Id=”rId6″ Type=”http://schemas.openxmlformats.org/officeDocument/2006/relationships/header” Target=”header1.xml”/><Relationship Id=”rId11″ Type=”http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer” Target=”footer3.xml”/><Relationship Id=”rId5″ Type=”http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes” Target=”endnotes.xml”/><Relationship Id=”rId10″ Type=”http://schemas.openxmlformats.org/officeDocument/2006/relationships/header” Target=”header3.xml”/><Relationship Id=”rId4″ Type=”http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes” Target=”footnotes.xml”/><Relationship Id=”rId9″ Type=”http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer” Target=”footer2.xml”/></Relationships></pkg:xmlData></pkg:part><pkg:part pkg:name=”/word/document.xml” pkg:contentType=”application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml”><pkg:xmlData><w:document xmlns:wpc=”http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas” xmlns:cx=”http://schemas.microsoft.com/office/drawing/2014/chartex” xmlns:cx1=”http://schemas.microsoft.com/office/drawing/2015/9/8/chartex” xmlns:cx2=”http://schemas.microsoft.com/office/drawing/2015/10/21/chartex” xmlns:cx3=”http://schemas.microsoft.com/office/drawing/2016/5/9/chartex” xmlns:cx4=”http://schemas.microsoft.com/office/drawing/2016/5/10/chartex” xmlns:cx5=”http://schemas.microsoft.com/office/drawing/2016/5/11/chartex” xmlns:cx6=”http://schemas.microsoft.com/office/drawing/2016/5/12/chartex” xmlns:cx7=”http://schemas.microsoft.com/office/drawing/2016/5/13/chartex” xmlns:cx8=”http://schemas.microsoft.com/office/drawing/2016/5/14/chartex” xmlns:mc=”http://schemas.openxmlformats.org/markup-compatibility/2006″ xmlns:aink=”http://schemas.microsoft.com/office/drawing/2016/ink” xmlns:am3d=”http://schemas.microsoft.com/office/drawing/2017/model3d” xmlns:o=”urn:schemas-microsoft-com:office:office” xmlns:r=”http://schemas.openxmlformats.org/officeDocument/2006/relationships” xmlns:m=”http://schemas.openxmlformats.org/officeDocument/2006/math” xmlns:v=”urn:schemas-microsoft-com:vml” xmlns:wp14=”http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing” xmlns:wp=”http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing” xmlns:w10=”urn:schemas-microsoft-com:office:word” xmlns:w=”http://schemas.openxmlformats.org/wordprocessingml/2006/main” xmlns:w14=”http://schemas.microsoft.com/office/word/2010/wordml” xmlns:w15=”http://schemas.microsoft.com/office/word/2012/wordml” xmlns:w16cid=”http://schemas.microsoft.com/office/word/2016/wordml/cid” xmlns:w16se=”http://schemas.microsoft.com/office/word/2015/wordml/symex” xmlns:wpg=”http://schemas.microsoft.com/office/word/2010/wordprocessingGroup” xmlns:wpi=”http://schemas.microsoft.com/office/word/2010/wordprocessingInk” xmlns:wne=”http://schemas.microsoft.com/office/word/2006/wordml” xmlns:wps=”http://schemas.microsoft.com/office/word/2010/wordprocessingShape” mc:Ignorable=”w14 w15 w16se w16cid wp14″><w:body><w:p w:rsidR=”00FF0F04″ w:rsidRPr=”00FF0F04″ w:rsidRDefault=”00FF0F04″ w:rsidP=”00FF0F04″><w:pPr><w:shd w:val=”clear” w:color=”auto” w:fill=”F5F5F5″/><w:tabs><w:tab w:val=”left” w:pos=”916″/><w:tab w:val=”left” w:pos=”1832″/><w:tab w:val=”left” w:pos=”2748″/><w:tab w:val=”left” w:pos=”3664″/><w:tab w:val=”left” w:pos=”4580″/><w:tab w:val=”left” w:pos=”5496″/><w:tab w:val=”left” w:pos=”6412″/><w:tab w:val=”left” w:pos=”7328″/><w:tab w:val=”left” w:pos=”8244″/><w:tab w:val=”left” w:pos=”9160″/><w:tab w:val=”left” w:pos=”10076″/><w:tab w:val=”left” w:pos=”10992″/><w:tab w:val=”left” w:pos=”11908″/><w:tab w:val=”left” w:pos=”12824″/><w:tab w:val=”left” w:pos=”13740″/><w:tab w:val=”left” w:pos=”14656″/></w:tabs><w:wordWrap w:val=”0″/><w:spacing w:after=”150″ w:line=”300″ w:lineRule=”atLeast”/><w:rPr><w:rFonts w:ascii=”Consolas” w:eastAsia=”Times New Roman” w:hAnsi=”Consolas” w:cs=”Consolas”/><w:color w:val=”333333″/><w:sz w:val=”20″/><w:szCs w:val=”20″/><w:lang w:val=”en-US” w:eastAsia=”de-DE”/></w:rPr></w:pPr><w:r w:rsidRPr=”00FF0F04″><w:rPr><w:rFonts w:ascii=”Consolas” w:eastAsia=”Times New Roman” w:hAnsi=”Consolas” w:cs=”Consolas”/><w:color w:val=”333333″/><w:sz w:val=”20″/><w:szCs w:val=”20″/><w:lang w:val=”en-US” w:eastAsia=”de-DE”/></w:rPr><w:t><settings xmlns=”http://maven.apache.org/SETTINGS/1.0.0″</w:t></w:r></w:p><w:p w:rsidR=”00FF0F04″ w:rsidRPr=”00FF0F04″ w:rsidRDefault=”00FF0F04″ w:rsidP=”00FF0F04″><w:pPr><w:shd w:val=”clear” w:color=”auto” w:fill=”F5F5F5″/><w:tabs><w:tab w:val=”left” w:pos=”916″/><w:tab w:val=”left” w:pos=”1832″/><w:tab w:val=”left” w:pos=”2748″/><w:tab w:val=”left” w:pos=”3664″/><w:tab w:val=”left” w:pos=”4580″/><w:tab w:val=”left” w:pos=”5496″/><w:tab w:val=”left” w:pos=”6412″/><w:tab w:val=”left” w:pos=”7328″/><w:tab w:val=”left” w:pos=”8244″/><w:tab w:val=”left” w:pos=”9160″/><w:tab w:val=”left” w:pos=”10076″/><w:tab w:val=”left” w:pos=”10992″/><w:tab w:val=”left” w:pos=”11908″/><w:tab w:val=”left” w:pos=”12824″/><w:tab w:val=”left” w:pos=”13740″/><w:tab w:val=”left” w:pos=”14656″/></w:tabs><w:wordWrap w:val=”0″/><w:spacing w:after=”150″ w:line=”300″ w:lineRule=”atLeast”/><w:rPr><w:rFonts w:ascii=”Consolas” w:eastAsia=”Times New Roman” w:hAnsi=”Consolas” w:cs=”Consolas”/><w:color w:val=”333333″/><w:sz w:val=”20″/><w:szCs w:val=”20″/><w:lang w:val=”en-US” w:eastAsia=”de-DE”/></w:rPr></w:pPr><w:r w:rsidRPr=”00FF0F04″><w:rPr><w:rFonts w:ascii=”Consolas” w:eastAsia=”Times New Roman” w:hAnsi=”Consolas” w:cs=”Consolas”/><w:color w:val=”333333″/><w:sz w:val=”20″/><w:szCs w:val=”20″/><w:lang w:val=”en-US” w:eastAsia=”de-DE”/></w:rPr><w:t xml:space=”preserve”> </w:t></w:r><w:proofErr w:type=”gramStart”/><w:r w:rsidRPr=”00FF0F04″><w:rPr><w:rFonts w:ascii=”Consolas” w:eastAsia=”Times New Roman” w:hAnsi=”Consolas” w:cs=”Consolas”/><w:color w:val=”333333″/><w:sz w:val=”20″/><w:szCs w:val=”20″/><w:lang w:val=”en-US” w:eastAsia=”de-DE”/></w:rPr><w:t>xmlns:xsi</w:t></w:r><w:proofErr w:type=”gramEnd”/><w:r w:rsidRPr=”00FF0F04″><w:rPr><w:rFonts w:ascii=”Consolas” w:eastAsia=”Times New Roman” w:hAnsi=”Consolas” w:cs=”Consolas”/><w:color w:val=”333333″/><w:sz w:val=”20″/><w:szCs w:val=”20″/><w:lang w:val=”en-US” w:eastAsia=”de-DE”/></w:rPr><w:t>=”http://www.w3.org/2001/XMLSchema-instance”</w:t></w:r></w:p><w:p w:rsidR=”00FF0F04″ w:rsidRPr=”00FF0F04″ w:rsidRDefault=”00FF0F04″ w:rsidP=”00FF0F04″><w:pPr><w:shd w:val=”clear” w:color=”auto” w:fill=”F5F5F5″/><w:tabs><w:tab w:val=”left” w:pos=”916″/><w:tab w:val=”left” w:pos=”1832″/><w:tab w:val=”left” w:pos=”2748″/><w:tab w:val=”left” w:pos=”3664″/><w:tab w:val=”left” w:pos=”4580″/><w:tab w:val=”left” w:pos=”5496″/><w:tab w:val=”left” w:pos=”6412″/><w:tab w:val=”left” w:pos=”7328″/><w:tab w:val=”left” w:pos=”8244″/><w:tab w:val=”left” w:pos=”9160″/><w:tab w:val=”left” w:pos=”10076″/><w:tab w:val=”left” w:pos=”10992″/><w:tab w:val=”left” w:pos=”11908″/><w:tab w:val=”left” w:pos=”12824″/><w:tab w:val=”left” w:pos=”13740″/><w:tab w:val=”left” w:pos=”14656″/></w:tabs><w:wordWrap w:val=”0″/><w:spacing w:after=”150″ w:line=”300″ w:lineRule=”atLeast”/><w:rPr><w:rFonts w:ascii=”Consolas” w:eastAsia=”Times New Roman” w:hAnsi=”Consolas” w:cs=”Consolas”/><w:color w:val=”333333″/><w:sz w:val=”20″/><w:szCs w:val=”20″/><w:lang w:val=”en-US” w:eastAsia=”de-DE”/></w:rPr></w:pPr><w:r w:rsidRPr=”00FF0F04″><w:rPr><w:rFonts w:ascii=”Consolas” w:eastAsia=”Times New Roman” w:hAnsi=”Consolas” w:cs=”Consolas”/><w:color w:val=”333333″/><w:sz w:val=”20″/><w:szCs w:val=”20″/><w:lang w:val=”en-US” w:eastAsia=”de-DE”/></w:rPr><w:t xml:space=”preserve”> </w:t></w:r><w:proofErr w:type=”gramStart”/><w:r w:rsidRPr=”00FF0F04″><w:r
support-swapnaModeratorsand77,
I do not see any proxy related information in your settings.xml file. Please check this url for sample settings.xml format : http://maven.apache.org/settings.html#Proxies and create the file accordingly.
Also share with us the details I requested in my previous response.
–Swapna
Genuitec Support
sand77ParticipantAnd the Eclipse version is Version: Photon Release (4.8.0).
sand77ParticipantAdding one more how do we get the proxy related information
support-swapnaModeratorsand77,
You can get proxy related information from your network guys.
Similar problem is discussed here : https://stackoverflow.com/questions/12742467/failed-to-resolve-version-for-org-apache-maven-archetypes
You can check if you can create a Maven project by selectingCreate a simple project (skip archetype selection)
in the wizard. Please give the suggestions a try.This forum provides support for MyEclipse and if you are not using MyEclipse or CodeMix, then you should check with M2 forums for better support. You can also post to development forums like stackoverflow.com for more suggestions.
Hope this helps.
–Swapna
Genuitec Support -
AuthorPosts