Well, it's interesting that you ask "could you verify that your
jackrabbit bundle actually includes the needed classes?"

Yes, the JCR classes are in the bundle (javax.jcr), but I just noticed
that I have other transient dependencies that are not there and this
only flags as an error when I include my exports in my imports (saw this
in the faq, but my jackrabbit bundle is a library bundle, so I didn't
think it applied).

What's even stranger, I just looked and I wasn't even specifying some of
the transient dependencies in maven *anywhere* but somehow they
magically show up in my webapp's lib directory.  Very weird!  For
instance, a find/grep on all xml files didn't turn up the
concurrent-1.3.4.jar artifact *anywhere*!  There must be some part of
maven that I still don't understand.

I'm going to go back and sort out the transient dependencies and see if
things don't shake out a bit better after I do that.

Cheers,
Craig


> -----Original Message-----
> From: Karl Pauls [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 19, 2007 3:01 PM
> To: [email protected]
> Subject: Re: Maven bundle plugin
> 
> Craig,
> 
> could you verify that your jackrabbit bundle actually 
> includes the needed classes?
> Furthermore, maybe you could post a little bit more of the 
> error message or post your complete pom.xml's (or send them 
> to me directly)...
> 
> In general, did you try to remove your maven cache already?
> 
> regards,
> 
> Karl
> 
> On 7/19/07, Craig L. Ching <[EMAIL PROTECTED]> wrote:
> > > I think you need to make this:
> > >
> > > <Export-Package>javax.jcr, javax.jcr.*, 
> > > org.apache.jackrabbit.*</Export-Package>
> > >
> > > Does this fix it?
> > >
> > It doesn't, I don't *think*.  When I build from the parent 
> directory 
> > (I have a parent pom that includes these two as modules), I get the 
> > same error I reported before.  If I go into the dependent 
> project and 
> > do 'mvn install' it doesn't report that error, but I have a problem 
> > with another package.
> >
> > I've also added javax.jcr to my <Import-Package> in the dependent 
> > project.
> >
> > Anything else I could try?  I'll keep experimenting to see if I can 
> > make progress.
> >
> > > regards,
> > >
> > > Karl
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> --
> Karl Pauls
> [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to