Genuitec :: Driving Development for Leading Organizations › Support Forums › MyEclipse IDE › Maven for MyEclipse (Maven4MyEclipse)
This topic contains 27 replies, has 15 voices, and was last updated by swetanautiyal20 1 month, 2 weeks ago.
-
AuthorPosts
-
Ramya,
Sorry that you are seeing this issue.
It looks like a problem accessing the Maven Central repository ( https://repo.maven.apache.org/maven2). Maybe there’s some certificate issue on your Java installation or some security rule on you network infrastructure preventing the access.Are you behind a firewall or proxy? If yes, then did you configure the proxy information in the IDE here : Window > Preferences > General > Network Connections? In addition to configuring the proxy in the IDE, you should also create a settings.xml file for Maven to access internet behind the proxy. Please see this thread for more details about configuring Maven to work with proxy : https://stackoverflow.com/questions/25911623/problems-using-maven-and-ssl-behind-proxy
If you are able to access the Maven central repository url from your browser and if the proxy is correctly configured, then it could be a problem with the certificates in your java installation which is used to start the IDE. Please see this thread for more details about how to install the correct certificates to the JDK installation : https://stackoverflow.com/questions/21076179/pkix-path-building-failed-and-unable-to-find-valid-certification-path-to-requ
If you are still seeing problems, then please share with us the MyEclipse version details from Help > About MyEclipse section along with the JDK version that is used to start the MyEclipse IDE ( see the -vm arg in the myeclipse.ini file located in the MyEclipse installation folder for the information). Also share with us the complete workspace log file which is located at workspace dir/.metadata/.log to help us investigate further. Save the .log as .txt file and attach it here.
Apologies for inconvenience caused. Please let us know how you get on with it.
–Swapna
Genuitec SupportCould not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:1.1 from any of the configured repositories.
Could not resolve artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1
Could not transfer artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from/to central (https://repo.maven.apache.org/maven2): connect timed out
Could not transfer artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from/to central (https://repo.maven.apache.org/maven2): connect timed outI am getting this error.
Eclipse details
Eclipse Java EE IDE for Web Developers.Version: Neon.3 Release (4.6.3)
Build id: 20170314-1500i am unable to create maven project
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:1.1 from any of the configured repositories.
Could not resolve artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1
Could not transfer artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from/to central (https://repo.maven.apache.org/maven2): connect timed out
Could not transfer artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from/to central (https://repo.maven.apache.org/maven2): connect timed outI am getting this error.
Eclipse details
Eclipse Java EE IDE for Web Developers.Version: Neon.3 Release (4.6.3)
Build id: 20170314-1500Pooja,
Sorry that you are seeing this issue. I see that you are working with Eclipse.
Are you working with any of our products?I suggest you take a look at my previous responses on this thread and try the suggestions.
If you are still seeing problems, then please cross post to development related forums like stackoverflow.com or Eclipse forums for better support from dev community.Hope this helps. Please let us know if have any further questions.
–Swapna
Genuitec SupportDear Team, Still facing connection timeout issue.
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:1.1 from any of the configured repositories.
Could not resolve artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1
Could not transfer artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from/to central (https://repo.maven.apache.org/maven2): connect timed out
Could not transfer artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from/to central (https://repo.maven.apache.org/maven2): connect timed outTrried:
Have added settings.xml
Tried with deleting the folders in .m2 directory
Have externally installed maven and mapped the same in Eclipse IDE
Software details:
java:
java 8
Eclipse:
Eclipse IDE for Java Developers
Version: 2019-06 (4.12.0)
Build id: 20190614-1200Please suggest me.
mozhi,
Sorry that you are seeing this issue.
Did you check if you can reach https://repo.maven.apache.org/maven2 via the Eclipse internal browser?It looks like a configuration problem and you should check with your administrator about access to the repository and recheck if the settings.xml has the same proxy configuration as your browser.
I suggest you cross post to Eclipse or development related forums like stackoverflow for better suggestions from the dev community.
Hope this helps. Sorry that we couldn’t assist further.
–Swapna
Genuitec SupportDear Colleagues,
I need to find solution for the following task:I have two flowmeter sensors: boiler fuel input, boiler fuel output. The difference of its values gives a consumed fuel consumption in time. In SIMATIC controller project it is necessary to store next fuel consumption relative values: per day, per week, per month, per year. It is desirable to have a store related with calendar.
Is there some Step7 system function to solve such task?
Maybe somebody have similar sample projects?Sincerely yours, Maksim
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:1.1 from any of the configured repositories.
Could not resolve artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1
Could not transfer artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from/to central (https://repo.maven.apache.org/maven2): connect timed out
Could not transfer artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from/to central (https://repo.maven.apache.org/maven2): connect timed out.I have updated proxy details as well in settings.xml file but no luck.
Any suggestions are welcome.Regards,
PradeepPradeep,
Sorry that you are seeing this issue.
Are you working with MyEclipse IDE or Eclipse IDE? Did you check if you can access the repo : https://repo.maven.apache.org/maven2 from the internal browser?
As I mentioned in my earlier responses, it looks like a configuration problem, so please check if there is any security rule on your network which might be preventing the access.If you are working with MyEclipse, then please share with us the MyEclipse version details from Help > About MyEclipse section along with the workspace log which is located at workspace dir/.metadata/.log (rename the file extension to .txt and attach it) to help us investigate further.
–Swapna
Genuitec SupportHi All,
Please help me in resolving the below issue.
When i am trying to creating an maven project, i unable to do it.
Do i need to set proxy or fairwall? if so, how can i do, please help.
Attachments:
You must be logged in to view attached files.Shardha,
Please see this FAQ on how to setup proxy information in the IDE : https://www.genuitec.com/forums/topic/configuring-the-network-proxy-settings/
In addition to configuring the proxy in the IDE, you should also create a settings.xml file for Maven to access internet behind the proxy. Please see this thread for more details about configuring Maven to work with proxy : https://stackoverflow.com/questions/25911623/problems-using-maven-and-ssl-behind-proxyPlease also check if you are able to access the Maven central repository url from your browser to rule out network configuration related issues.
I suggest you take a look at my previous responses on this post and if none of the suggestions help, then please cross post to Eclipse or development related forums like stackoverflow.com for further help with Maven + Eclipse.Hope this helps.
–Swapna
Genuitec Supportpriytam92,
Have you find any solution for that, I am facing the same error.
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:1.1 from any of the configured repositories.
Could not resolve artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1
Failure to transfer org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 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 artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from/to central (https://repo.maven.apache.org/maven2): connect timed out
Failure to transfer org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 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 artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:1.1 from/to central (https://repo.maven.apache.org/maven2): connect timed outpriytam92,
Have you find any solution for this error, I am facing the same error.
-
AuthorPosts