Yes, that is very similar to our requirement: We need to lock down the build
environment to be able to reproduce the build at anytime in the future.

Here are the high level objectives:

Checkout all projects from SVN
Build projects using Maven and install them to the local Maven repository.
We would need to start with the parent projects.


Totally agree: we will not check in everything in SVN.





On Thu, Apr 7, 2011 at 8:34 AM, Manfred Moser [via Maven] <
ml-node+4288827-1669842602-196...@n5.nabble.com> wrote:

>  > We have a compliance/audit requirement that we need to be able to
> exactly
> > reproduce builds. (Current requirement does not allow the build machine
> > access to our internal nexus repository.)
>
> I have had to deal with this sort of requirement in the past in ISO, FDA
> and code repository context. In my opinion you need to be able to build
> "without anything else apart from the supplied codebase/artifacts". In the
> Maven world the best way to achieve this is to package up all the source
> code and your repository server setup (or at least the repository used by
> your build with all artifacts as well as Maven in the exact version you
> use.
>
> You will have to lock down all plugin and dependency versions and be sure
> to have them in the repo and then you will be able to do a complete
> offline build with the repo.
>
> If you dont do that you will have some major nightmares in terms of
> reproducibility of the build and the used artifacts. Do NOT follow down
> the path of "just" trying to check everything into svn. If you do that you
> properly you will end up with the repository server in svn. Might as well
> allow the repo server to be an artifact...
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden 
> email]<http://user/SendEmail.jtp?type=node&node=4288827&i=0&by-user=t>
> For additional commands, e-mail: [hidden 
> email]<http://user/SendEmail.jtp?type=node&node=4288827&i=1&by-user=t>
>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://maven.40175.n5.nabble.com/Checkout-and-Build-all-dependencies-tp4287477p4288827.html
>  To unsubscribe from Checkout and Build all dependencies, click 
> here<http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4287477&code=YW5hc211Z2hhbEBnbWFpbC5jb218NDI4NzQ3N3wtMzc0Njc1OTEy>.
>
>



-- 
Anas Mughal


--
View this message in context: 
http://maven.40175.n5.nabble.com/Checkout-and-Build-all-dependencies-tp4287477p4289419.html
Sent from the Maven - Users mailing list archive at Nabble.com.

Reply via email to