ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Igor Vlasenko <vlasenko@imath.kiev.ua>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] I: maven-local / xmvn port
Date: Mon, 11 Mar 2013 22:59:59 +0200
Message-ID: <20130311205958.GA9677@dad.imath.kiev.ua> (raw)
In-Reply-To: <513E4172.6040908@altlinux.org>

On Mon, Mar 11, 2013 at 10:41:22PM +0200, Viacheslav Dubrovskyi wrote:
> Игорь, спасибо большое. Для меня вопрос сейчас в том, как можно все
> артефакты мавена получить в сборочной системе?
> Например можно ли один раз выкачать какой-то репозиторий и его упаковать?
> Чтобы когда собираешь какую-то java прогу она не лазила в инет.
> Например сделать что-то типа снапшота.

я бы в тех задачах держал бы общий ~/.m2,
который пробрасывал бы внутрь chroot'а 
mount'ом --bind (в hasher есть опции для домонтирования)

у maven'а репозиторий многомерный, для каждой библиотеки
есть целый набор ее протухших версий для гладкой сборки,
а в дистрибутивах пытаются из этого кувалдой выковать
одномерный rpm репозиторий, с единственной свежей версией
каждой библиотеки. Такое чудо иногда работает,
но на каждый чих пытается разбиться на осколки.

В этом занятии пока геморрой перевешивает profit :(
Я бы все же production на rpm репозитории пока не держал бы.


> В целях образования, покажи пример на пальцах как сломалось и из-за чего?

Не все groupId/artifactId пока резолвятся
без старых подпорок вида maven2-common-poms,
плюс похоже не везде ищет,

-- 

Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



      parent reply	other threads:[~2013-03-11 20:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-08 20:58 Igor Vlasenko
2013-03-11 20:59   ` Igor Vlasenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130311205958.GA9677@dad.imath.kiev.ua \
    --to=vlasenko@imath.kiev.ua \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git