François Petitit wrote:
> Thanks a lot for your answer.
>
> As a first step we are thinking that artifacts of one module built in
> Hudson node should be deployed in a central repository, typically the
> central repository of a company, and so it will be accessible for
> other Hudson nodes during the build.
>
> The maven goal of most of our builds is "deploy", that's why it is not
> bad for us to deploy in the central repository.
>
> Do you have any suggestion?
>
> Thanks in advance.
Consider that an alternate deployment repo would be important for
staging, even when one is not interested in distributing a build. But,
since it seems a related matter, you could probably reach this
additional goal with a low effort.
What I'd like to see is that we can enable Maven to deploy stuff in a
local temp repository overriding the one declared in the pom ("local"
might be in simple case a file storage on a single computer when Hudson
is running, but also the central repo of a company as you said), and
eventually at the end of the Maven build step the artifacts are only
left on this local repo. Further Maven steps might deploy additional
stuff to this repo (for instance, it's known -
http://jira.codehaus.org/browse/MASSEMBLY-94 - that the
assembly:assembly goal has got troubles and in the end it should be
executed by a second Maven invocation). A final step could publish the
stuff in the temp repo to the official one. I've recently achieved this
sequence by exclusively working with the pom (you can see it at
http://hudson.tidalwave.it:8080/hudson/job/ForceTen%20Release/configure)
but I'd like to see it offered by Hudson, as I wouldn't need to keep
that pom section in sync among my several projects.
--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/people
[hidden email]
---------------------------------------------------------------------
To unsubscribe, e-mail:
[hidden email]
For additional commands, e-mail:
[hidden email]