Daniel:
Before answering - there are a bunch of improvements in this area that have been applied to 3.3. My guess is that your running the released 3.2.5 - is that correct?
Stephen.
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?
Thanks Daniel Frey
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
|------------------------------------------------| | Magic by Merlin | | Production by Avalon | | | | http://avalon.apache.org/merlin | | http://dpml.net/merlin/distributions/latest | |------------------------------------------------|
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
