[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OpenClinica in Debian-Med

Le 11/4/11 9:39 AM, Sebastian Hilbert a écrit :
> On Friday, November 04, 2011 09:27:48 AM Olivier Sallou wrote:
>> Le 11/4/11 9:16 AM, Sebastian Hilbert a écrit :
>>> On Thursday, November 03, 2011 03:46:32 PM Olivier Sallou wrote:
>>> It looks like when building OC all of the jars mentioned below are
>>> compiled from source anyway.
>> I see in trunk it is a maven project [1]
>> It gets all dependencies from a maven repository.
>> Maven is quite an issue in Debian from my recent experience. While there
>> are some helpers to manage this, you need to get
>> all dependencies in Debian but also set for maven use.
>> For your package, you cannot use the maven repos.
> Forgive my ignorance but why is that ?
With maven, you download some jar files located in a remote repository
(maven or other).
So, to build your package, you would download files from an other
location, not using debian libs, furthermore there is no control on
remote jar license, source availability etc...
> Anyway I had a quick look and found this:
> http://wiki.debian.org/Java/MavenBuilder
I never tested it, but already had a look. If I am correct, the mvn
helper "translate" dependencies to Debian dependencies, but those
dependencies need to have a pom file (maven descriptor). And for those
not available in Debian, it won't solve the problem....
The script will create a local repository to be used by maven.
> is there a policy in Debian that helper scripts need to be used ?
> In another email I will describe my thoughts on packaging OC. Please comment 
> which parts are not compatible with Debian's way of doing things.
> Regards,
> Sebastian

Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE

gpg key id: 4096R/326D8438  (pgp.mit.edu)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

Reply to: