Hi
Hab im meine “settings.xml” folgndes eingetragen:
<profiles>
<profile>
<id>myprofile1</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>my-remote-repo</id>
<name>my-remote-repo</name>
<url>http://localhost:8081/repository/internal</url>
</repository>
<repository>
<id>MavenCentral</id>
<name>central</name>
<url>https://repo.maven.apache.org/maven2/</url>
</repository>
</repositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>myprofile1</activeProfile>
</activeProfiles>
- Das Remote-Repository “my-remote-repo” ist ausgeschaltet
- m2e zeigt auf das lokal installierte Maven und die settings.xml
Im Fall von “mvn compile” (Aufruf von Console) holt er alle Dempendencies vom central und installiert sie unter $USER_HOME/.m2
Im Fall von “Eclipse/Maven/Update Project” bleibt er praktisch beim ersten Repo hängen - er versucht nicht einmal den artifakt von repo2(in meinem Fall das central) zu holen
Ich benutze eclipse-photon, m2e=1.9.0.20180606
Is da was falsch einfgestellt in meinem m2e, ein Bug oder einfach so gewollt?