Diese Seite (Version-1) wurde zuletzt am 05-Aug.-2018 14:17 von Administrator geändert.

Du bist nicht autorisiert, diese Seite umzubenennen.

Du bist nicht autorisiert, diese Seite zu löschen.

Versionsgeschichte der Seite

Version Zuletzt geändert Größe Autor Änderungen Kommentar

Links

Eingehende Links Ausgehende Links

Versionsunterschiede

Unterschiede zwischen Version und .

Zeile 1: 55 Zeilen hinzugefügt.
[{ALLOW view All}]
[{ALLOW edit Authenticated}]
!!Maven with Eclipse
! Install m2e plugin
Install Maven
* Update site: http://download.eclipse.org/technology/m2e/releases
* Docu: http://www.eclipse.org/m2e/documentation/m2e-extension-development.html
__Note:__ There were some erros below, which I tried to fix with my current instance of eclipse, but finally I downloaded the the latest [Photon "Eclipse IDE for Java Developers"|https://www.eclipse.org/downloads/packages/], which includes the plugin already. None of those errors below showed up there!
Possible errors / dependencies:
{{{
Cannot complete the install because one or more required items could not be found.
Software being installed: m2e - Maven Integration for Eclipse (includes Incubating components) 1.9.0.20180606-2036 (org.eclipse.m2e.feature.feature.group 1.9.0.20180606-2036)
Missing requirement: org.eclipse.m2e.binaryproject 1.9.0.20180606-2036 requires 'bundle org.eclipse.jdt.launching 3.10.0' but it could not be found
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse (includes Incubating components) 1.9.0.20180606-2036 (org.eclipse.m2e.feature.feature.group 1.9.0.20180606-2036)
To: org.eclipse.m2e.binaryproject [1.9.0.20180606-2036]
}}}
=> Install org.eclipse.jdt
# My current eclipse release is "Oxygen 3a Release 4.7.3a"
# Update site: http://download.eclipse.org/eclipse/updates/4.7
# search *jdt*
{{{
Cannot complete the install because one or more required items could not be found.
Software being installed: m2e - slf4j over logback logging (Optional) 1.9.0.20180606-2036 (org.eclipse.m2e.logback.feature.feature.group 1.9.0.20180606-2036)
Missing requirement: m2e logback configuration 1.9.0.20180606-2036 (org.eclipse.m2e.logback.configuration 1.9.0.20180606-2036) requires 'bundle ch.qos.logback.slf4j 0.9.24' but it could not be found
Cannot satisfy dependency:
From: m2e - slf4j over logback logging (Optional) 1.9.0.20180606-2036 (org.eclipse.m2e.logback.feature.feature.group 1.9.0.20180606-2036)
To: org.eclipse.m2e.logback.configuration [1.9.0.20180606-2036]
}}}
=> Install slf4j
# Update site: see http://download.eclipse.org/tools/orbit/downloads/
# copy link + /repository, e.g. http://download.eclipse.org/tools/orbit/downloads/drops/R20180330011457/repository
# many slf4j components available !? => ignore, Eclipse will install required one automatically, e.g. adding site is enough
! 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
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
}}}
You may check the archetypes at Window > Preferences > Maven > Archetypes > Edit > Verify or may add the [default|https://maven.apache.org/archetype/maven-archetype-plugin/specification/archetype-catalog.html
] remote one http://repo.maven.apache.org/maven2/archetype-catalog.xml.
=> a settings file was created automatically at C:\Users\ebelm1\.m2\settings.xml with a wrong proxy setting. I deleted it, because no other settings were in there.
=> delete cache at C:\Users\<user>\.eclipse\org.eclipse.oomph.p2\cache
(!) => delete whole repository at C:\Users\ebelm1\.m2\repository because some resources store the proxy here too