|
From: Jarek C. <jar...@po...> - 2012-02-16 18:52:20
|
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
The question 2 is answered then. Could you be so kind and answer
also the question 1? The link you gave doesn't work - it finds no
jedit plugins.<br>
<br>
W dniu 2012-02-16 19:16, Matthieu Casanova pisze:
<blockquote
cite="mid:CAP...@ma..."
type="cite">Yes you always have to search, but most of the time
the organization is the package name, and artifact id is the
project name.
<div>But sometimes it can be something else like for jakarta
libraries the organization id is the same as the artifact id.</div>
<div>If you submit a plugin to maven you define the artifact and
organization in the pom.xml file. It is the definition of your
project.</div>
<div>So it is always the developper choice.<br>
<br>
<div class="gmail_quote">2012/2/16 Jarek Czekalski <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:jar...@po...">jar...@po...</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Matthieu, this
doesn't help. I'll try again with different questions:<br>
1. If you want to download a plugin from maven, how do you
get its artifact id? Do you always search?<br>
2. If you submit a plugin to maven, do you define the
artifact id? Do you get it after upload?<br>
<br>
Jarek<br>
<br>
W dniu 2012-02-16 17:48, Matthieu Casanova pisze:
<div>
<div class="h5">
<blockquote type="cite">
<div>Hi,</div>
<div><br>
<div class="gmail_quote">2012/2/16 Jarek Czekalski
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:jar...@po..."
target="_blank">jar...@po...</a>></span><br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex"> W dniu 2012-02-16
12:51, Matthieu Casanova pisze:<br>
> It is not so simple.<br>
> the props file do not contains the
artifact-Id of the library so there<br>
> is not enough information to build the
ivy.xml from it.<br>
> (...)<br>
><br>
> Matthieu<br>
Why not? Are the artifact-ids created
randomly? I expect they are equal<br>
to plugin names. Please explain the details of
jedit maven repository,<br>
becuase I can't find it anywhere.<br>
<br>
</blockquote>
<div><br>
</div>
<div>For plugins, the organization id is always
"jedit-plugins" (the reason is that when this
organization is detected the plugin is
downloaded on sourceforge, not on a real maven
repository).</div>
<div>But for libraries it is the artifact Ids of
maven artifacts (they can be found on <a
moz-do-not-send="true"
href="http://search.maven.org"
target="_blank">http://search.maven.org</a>).</div>
<div>So you could generate the ivy.xml for
plugin dependencies but not for libraries.</div>
<div>So for plugins that do not use libraries it
could work.</div>
<div><br>
</div>
<div>Matthieu</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
</body>
</html>
|