users@jaxb.java.net

RE: Maven2 versus JAXB

From: Jonathan Johnson <jonjohnson_at_mail.com>
Date: Thu, 6 Jul 2006 20:27:27 -0400

Bill - We have been waiting for someone who has access to the java.net Maven
Repository to fix this problem. Noone has answered your email or fixed it.
I wish we could get this fixed its holding up any further progress with this
plugin. Kohsuke, can you help us?

Bill is correct the jars were placed into a directory called
"maven-plugins". When you run maven it downloads into your local repository
the pom.xml at

https://maven-repository.dev.java.net/nonav/repository/com.sun.tools.xjc.mav
en2/poms/

but fails to find the associated jar. I think the jar need to be moved up a
directory or "maven-plugins" perhaps needs to be renamed to "jars" to match
the other structures in this repository.

- Jonathan

|-----Original Message-----
|From: William Simons [mailto:William.Simons_at_childrens.harvard.edu]
|Sent: Thursday, June 15, 2006 11:07 AM
|To: users_at_jaxb.dev.java.net
|Subject: Re: Maven2 versus JAXB
|
|
|I think the issue is the plugin's location in the repository. You have it
|at
|https://maven-repository.dev.java.net/repository/com.sun.tools.xjc.
|maven2/ma
|ven-plugins/
|
|But its group id is com.sun.tools.xjc.maven2 (note that maven-plugins is
|not present.) I think if you move the contents of the maven-plugins
|directory (jars and pom) up a level and remove the maven-plugins
|dir itself,
|you might have more success.
|
|I don't know this for certain but a plugin that I written with groupId
|org.chip.ping.m2plugins winds up in that directory not a sub-directory name
|maven-plugins.
|
|I tried configuring your plugin with groupId
|com.sun.tools.xjc.maven2.maven-plugins but that didn't work... Probably
|because the pom doesn't match that.
|
|Bill
|
|
|On 6/15/06 3:03 AM, "Kohsuke Kawaguchi" <Kohsuke.Kawaguchi_at_Sun.COM> wrote:
|
|> Jonathan Johnson wrote:
|>> 3. I wanted to update the usages instructions to get the
|plugin from the
|>> java.net repository but maven is reporting "A required plugin
|was not found"
|>> even though I have done the following. I'm concerned maven2
|cannot find the
|>> plugin even though the groupId, artifactId and version all match.
|>
|> I wonder Franz, William, or Lexi might be able to help us here. I'm
|> short on cycles and I'm not exactly a Maven export either...
|
|
|---------------------------------------------------------------------
|To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
|For additional commands, e-mail: users-help_at_jaxb.dev.java.net
|