Re: Mocking a repository, sort of

2011-06-27 Thread Tim Kettler
The assembly-plugin can create a repository structure [1] which can then be used as a file:/// based repo. [1] http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_repository Am 27.06.2011 14:55, schrieb Benson Margulies: I'm checking into whether archiva can be launched

Re: Mocking a repository, sort of

2011-06-27 Thread Wendy Smoak
On Mon, Jun 27, 2011 at 10:08 AM, Wendy Smoak wrote: > Build A using whatever setting is supposed to NOT retrieve snapshots, > and see if it does. Then again, it only retrieves snapshots once a day by default, so you'd either have to wait until tomorrow for that part of the test, or perhaps conf

Re: Mocking a repository, sort of

2011-06-27 Thread Wendy Smoak
On Mon, Jun 27, 2011 at 9:44 AM, Benson Margulies wrote: > OK, bear of little brain time here. If I use install:install-file on a > file URL, I can turn around after that and use the resulting thing as > a ? No, you'd want deploy:deploy-file, however I wouldn't try that with a snapshot, I'm not s

Re: Mocking a repository, sort of

2011-06-27 Thread Benson Margulies
OK, bear of little brain time here. If I use install:install-file on a file URL, I can turn around after that and use the resulting thing as a ? On Mon, Jun 27, 2011 at 9:08 AM, Wendy Smoak wrote: > On Mon, Jun 27, 2011 at 8:55 AM, Benson Margulies > wrote: >> I'm checking into whether archiva

Re: Mocking a repository, sort of

2011-06-27 Thread Benson Margulies
If the dates are all in the .xml files, that would 'serve' for this purpose. How heavy depends on how cleverly they've provided maven plugins, after all, on the other hand. On Mon, Jun 27, 2011 at 9:01 AM, Stephen Connolly wrote: > Ugh! very heavyweight file:/// is usually sufficient > > > O

Re: Mocking a repository, sort of

2011-06-27 Thread Wendy Smoak
On Mon, Jun 27, 2011 at 8:55 AM, Benson Margulies wrote: > I'm checking into whether archiva can be launched embeddedly. Seems like overkill. Deploying to file:// using -Dmaven.repo.local=/tmp/repo (to keep from updating the local repo of the project you are testing with) should do it. -- Wend

Re: Mocking a repository, sort of

2011-06-27 Thread Stephen Connolly
Ugh! very heavyweight file:/// is usually sufficient On 27 June 2011 13:55, Benson Margulies wrote: > I'm checking into whether archiva can be launched embeddedly. > > On Mon, Jun 27, 2011 at 8:36 AM, Stephen Connolly > wrote: >> I have been working on the mock-repository-maven-plugin over

Re: Mocking a repository, sort of

2011-06-27 Thread Benson Margulies
I'm checking into whether archiva can be launched embeddedly. On Mon, Jun 27, 2011 at 8:36 AM, Stephen Connolly wrote: > I have been working on the mock-repository-maven-plugin over at > mojo... but it's a side-project of one of my side-projects' > side-projects... > > I shall be getting back at

Re: Mocking a repository, sort of

2011-06-27 Thread Stephen Connolly
I have been working on the mock-repository-maven-plugin over at mojo... but it's a side-project of one of my side-projects' side-projects... I shall be getting back at some time in the near future. I would do something like a file:/// based repo for now until I can get you the mock-repo plugin -

Mocking a repository, sort of

2011-06-27 Thread Benson Margulies
There's a jira claiming that the 'don't update snapshots' flag isn't working. I thought to build a real test case; I wondered if we have anything in the way of a precedent. I need to construct a repo that claims to have a very new snapshot so that Maven will be tempted to download it. I can think o