William,
the problem isn´t to set different repositories in the settings file. This
works well good if you have a pom file with the dependencies also it looks in
the inhouse repository. That means the download from inhouse to the local
repository is so far ok.
The only problem is to search with the eclipse-plugin "Search Dialog" in an
inhouse repository. The search shows only the results from local and central
repository, because the indexes in:
....\workspace\.metadata\.plugins\org.maven.ide.eclipse\index
are only for central and local repository. My thinking is: in that location
shold be an index for the inhouse repository and the "Search Dialog" should use
that index also.
Should I add some lines of the internal repository Index Location in the
settings file? How can I do that?
It´s quit importend to do that, because our internal workflows missing that
feature.
.....
<proxies>
<proxy>
<id>myProxy</id>
<active>true</active>
<protocol>http</protocol>
<host>http://proxyhost</host>
<port>8080</port>
</proxy>
</proxies>
<mirrors>
<mirror>
<id>publicProximity</id>
<name>Mirror von Central</name>
<url>http://host1/px-webapp/repository/public</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
<profiles>
<profile>
<id>default-repositories</id>
<repositories>
<repository>
<id>inhouse</id>
<name>Inhouse Repository</name>
<url>http://host1/px-webapp/repository/inhouse</url>
<releases>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>default-repositories</activeProfile>
</activeProfiles>
.....
Thanks
Wolfgang