On Wed, 2004-03-10 at 11:37, Daniel Frey wrote: > Hi there > > I am totally new to component frameworks, so I have to ask some silly > questions. I am testing maven and merlin at the moment. The avalon > repository reference implementation -- which I suppose is used in my default > case -- uses three locations to look for a file called avalon.properties, > which in turn can contain a list of hosts to look for artifacts. The default > is set to avalon.repository.hosts = > http://dpml.net,http://ibiblio.org/maven, so I added my own server to it: > http://maven.xmatrix.ch/repository/. I put that file into my base directory, > from which merlin is started. > > However, failing on my first build (my original problem), I see in the > output that only the first two repositories are taken into account. > > Exception: org.apache.avalon.repository.RepositoryException > Message: Failed to download artifact to local cache file C:\Dokumente und > Einstellungen\Daniel\.avalon\repository\ups\jars\ch.xmatrix.resource-api-1.0 > .jar > from hosts: > http://dpml.net/ > http://www.ibiblio.org/maven/ > > The third repository location is not included in the search for artifacts > (although it wouldn't resolve my build problem). I also included the > property into the file project.properties file, but fails too. > > So how to add an own repository to the list of existing ones? >
Maven gets its list of repositories from the properties file as "maven.repo.remote". Merlin, however, uses $MERLIN_HOME/config/kernel.xml to indicate the repository locations. You need to add your server there, too. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]