You are viewing a plain text version of this content. The canonical link for it is here.
Posted to m2-dev@maven.apache.org by Jason van Zyl <jv...@maven.org> on 2004/07/06 13:59:15 UTC

Re: Problem with jar plugin

On Tue, 2004-07-06 at 10:09, Emmanuel Venisse wrote:
> Hi,
> 
> Do you have problems with jars generated by jar plugin?
> 
> In some case, the jar  is invalid. I can't generate a correct jar for
> scm-api. It's generated, I can list the content, but when I use it in
> dependencies (or in command line classpath) I obtain a lot of
> classNotFoundException. I have this problem when I try to build scm
> providers.

Take a look at Jeremy's replacement in the ejb mojo. The slashes are not
being translated properly. He's got a fix in there: AbstractJarMojo is
the file you want. Sorry, just haven't got around to it.


> Emmanuel

-- 
jvz.

Jason van Zyl
jason@maven.org
http://maven.apache.org

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

 -- Thoreau 


Re: Problem with jar plugin

Posted by Emmanuel Venisse <em...@venisse.net>.
----- Original Message ----- 
From: "Jason van Zyl" <jv...@maven.org>
To: "Maven 2 Developers List" <m2...@maven.apache.org>
Sent: Tuesday, July 06, 2004 1:59 PM
Subject: Re: Problem with jar plugin


> On Tue, 2004-07-06 at 10:09, Emmanuel Venisse wrote:
> > Hi,
> >
> > Do you have problems with jars generated by jar plugin?
> >
> > In some case, the jar  is invalid. I can't generate a correct jar for
> > scm-api. It's generated, I can list the content, but when I use it in
> > dependencies (or in command line classpath) I obtain a lot of
> > classNotFoundException. I have this problem when I try to build scm
> > providers.
>
> Take a look at Jeremy's replacement in the ejb mojo. The slashes are not
> being translated properly. He's got a fix in there: AbstractJarMojo is
> the file you want. Sorry, just haven't got around to it.

Thanks, I'll take a look.
If it works fine, I'll can move AbstractJarMojo to jar plugin and add a
dependency in j2ee plugin to jar plugin.

Emmanuel