1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
On 29-03-2011 06:47, Kasun Gajasinghe wrote: |
5 |
> I'd like to know how the dependencies will be handled by maven based |
6 |
> ebuilds. Can you let me know the difference between dependencies |
7 |
> specified in Maven's POM file, and ebuild's dependencies? Are both |
8 |
> should be same? Since, Maven's POM contains the unique artifacts IDs |
9 |
> (with the combination of groupId, artifactId, version) which points to |
10 |
> a _binary_ jar, how should the developers who write _ebuilds_ specify |
11 |
> it? I got to know that dependencies are also ebuilds under gentoo i.e. |
12 |
> no binaries. |
13 |
POM dependencies can be too restrictive sometimes, like depending on a |
14 |
specific version. We should be depending on any version (or sometimes |
15 |
with >=,<=) as long as the package compiles and runs fine with it. |
16 |
> I've been going through the Ralph's (nick: sera ) suggested eclass |
17 |
> [1]. It turned out to be very useful. (sera, I got your name from [1], |
18 |
> hope it's correct! :) ). Because maven offline building is the biggest |
19 |
> issue Gentoo is currently facing, As Petteri suggested, I've been |
20 |
> going through to see how other distributions handle this. I see that |
21 |
> both in sera's eclass and in Debian's MavenRepoSpec [2], that they |
22 |
> specify a variable which points to a maven local-repository location. |
23 |
> Ralph's eclass specified MAVEN_REPO_DIR="${T}/maven-repo/" while |
24 |
> Debian has REPO=/usr/share/maven-repo. Since the file-system will be |
25 |
> read-only for ebuilds, and ebuilds should be built offline, what's the |
26 |
> purpose of this? |
27 |
We then still need to add symlinks to jars during build time in there |
28 |
which is an "access violation" in sand box. |
29 |
|
30 |
- -- |
31 |
Sincerely, |
32 |
Serkan KABA |
33 |
Gentoo Developer |
34 |
-----BEGIN PGP SIGNATURE----- |
35 |
Version: GnuPG v2.0.17 (GNU/Linux) |
36 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ |
37 |
|
38 |
iEYEARECAAYFAk2RWvIACgkQRh6X64ivZaLfkgCfVF99iZaa6Pa+dTlC4cjuLvZd |
39 |
ILkAn34OooCvrNy6uu9yEg4bua/q7X6G |
40 |
=staW |
41 |
-----END PGP SIGNATURE----- |