dev@jaxb.java.net

How to use and develop maven 2 plugins for java.net

From: Kostis Anagnostopoulos <ankostis_at_gmail.com>
Date: Wed, 14 Jun 2006 14:29:11 +0300

Hi to all,

I'm using maven 2, and i have contributed the jaxb1 plugin for maven2,
submitted as a jira issue in mojo.codehaus.org.

Im' planning to use hyperjaxb2 (a java.net project), and i want to
create a maven2 plugin for it (it would be probably an extension of
jaxb1 plugin) that when used in combination of hibernate2 maven
plugin, to get the equivalent of using the ant hyperjaxb2 tasks.

I know that what i have said so far does not seem very coherent but
here is the problem i'm facing:

In order to make a maven2 plugin, their dependencies have to exist in
some repositories (preferably in www.ibiblio.org).

For the JAXB1 plugin, i didn't upload the dependencies into ibiblio
for it was too vague what should the groupIds/artifactIds be (i
suggested to anyone interested, to setup its own repository and upload
there the dependencies). That is the reason why the jaxb1 maven2
plugin is not yet accepted by the mojo.codehaus.org.

I would have the same problem when making the Hyperjaxb2 plugin.

What should i do?
--------------------------

And by that question, i mean:

    1). Should i pursue to embed these maven plugins into java.net
(since the underlying libs already belong to this site) ?

    2.a) If the answer to (1) is yes, is there some kind of a maven2
framework that has to be setup first?

    2.b) If the answer to (1) is no, that means that i should go on
with uploading all required libs/plugins to ibiblio. In that case, am
i expecting some help or cooperation from java.net? Should other
projects be notified to re-use the uploaded to ibiblio libs ?

    3) For now, the possibility to upload the JAXB1 libs into the
java.net maven repository whould be great (but this brings up the
issue of java.net supporting maven2 repositories).
Is this possible/desirable ?

    4) To whom or what other mailing lists should i ALSO address my questions.

I hope that it is not such a big mess what am i asking for,
          and forgive my bad english,

     Kostis