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>
Cc: Slava Dubrovskiy <slava@tangramltd.com>
Subject: [devel] hints for packaging with maven2
Date: Wed, 14 Nov 2007 14:09:54 +0200
Message-ID: <20071114120954.GA15228@dad.imath.kiev.ua> (raw)
In-Reply-To: <473A9C59.6090408@tangramltd.com>

On Wed, Nov 14, 2007 at 08:57:29AM +0200, Slava Dubrovskiy wrote:
> QA Team Download Robot пишет:
> > List of files which have been downloaded from the "devel" incoming:
> > maven2-2.0.4-alt1_10jpp1.7.src.rpm
> Ура! Заждались уже.

В связи с этим несколько hints.
1)
/usr/bin/mvn --- это обычный "онлайновый" maven2.
Для сборки rpm пакетов надо использовать /usr/bin/mvn-jpp,
который вызывает mvn с
-Dmaven2.offline.mode -Dmaven2.ignore.versions -Dmaven2.usejppjars

2)
для сборки, кроме mvn, нужен еще репозиторий pom'ов.
В отсутствие maven2 в сизифе, часть пакетов была собрана
"без-pom'ощными", есть хак вокруг (maven2-bootstrap-bundle)
но я надеюсь быстро пересобрать такие пакеты, так что 
относительно полноценный (по модулю -Dmaven2.ignore.versions)
репозиторий pom'ов будет.

3)
Свежие примеры сборки с помощью maven2 
plexus-cdc-1.0-alt1_0.a4.3jpp1.7.src.rpm
plexus-logging-provider-test-1.0-alt1_0.a2.1jpp1.7.src.rpm
уже лежат в инкоминге. Они попадут в Сизиф, как только там 
будет опубликован maven2.

4) костыль 
maven2-plugins-2.0.4-alt1
вытягивает maven2 вместе со всеми plugins.
Удобен, когда заранее неизвестно, какие плагины понадобятся.

-- 

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



  reply	other threads:[~2007-11-14 12:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-14  6:57 ` [devel] [cyber] I: Sisyphus-20071114 devel download: +2 Slava Dubrovskiy
2007-11-14 12:09   ` Igor Vlasenko [this message]
2007-11-14 12:49     ` [devel] hints for packaging with maven2 Denis Medvedev
2007-11-14 13:04       ` Igor Vlasenko
2007-11-14 16:47         ` Denis Medvedev
2007-11-14 16:59           ` Igor Vlasenko
2007-11-14 13:08       ` Igor Vlasenko

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=20071114120954.GA15228@dad.imath.kiev.ua \
    --to=vlasenko@imath.kiev.ua \
    --cc=devel@lists.altlinux.org \
    --cc=slava@tangramltd.com \
    /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