Please post this to JIRA and attach the zip of the simple plugin as this
will make it easier to track. Thanks!

- Brett

> -----Original Message-----
> From: KR�LIK Vladim�r [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, 31 March 2004 7:01 PM
> To: Maven Users List
> Subject: RE: NoClassDefFoundError for 
> org/jaxen/JaxenException and org/saxpath/SAXPathException
> 
> 
> > -----Original Message-----
> > From: Brett Porter [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 31, 2004 1:47 AM
> ...
> > Are jaxen and saxpath listed as dependencies in your
> > project.xml?
> No, they aren't. I don't need that jars in my plugin.
> I reproduced this bug wih simple HelloWorld plugin without 
> any dependencies.
> 
> > Can you send that section to the list if so?
> All three files from HelloWorld-plugin are below.
> 
> =======================
> project.xml
> =======================
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <project>
>   <pomVersion>3</pomVersion>
>   <id>maven-hello-plugin</id>
>   <name>Maven Hello World Plug-in</name>
>   <currentVersion>1.0.0-SNAPSHOT</currentVersion>
>   <dependencies />
>   <build>
>     <resources>
>       <resource>
>         <directory>${basedir}</directory>
>         <includes>
>           <include>plugin.jelly</include>
>           <include>plugin.properties</include>
>           <include>project.xml</include>
>         </includes>
>       </resource>
>     </resources>
>   </build>
> </project>
> =======================
> plugin.jelly
> =======================
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <project xmlns:ant="jelly:ant" >
>     <goal description="Hello World" name="hello:world">
>         <ant:echo>Hello, ${maven.hello.world}</ant:echo>
>     </goal>
> </project>
> =======================
> plugin.properties
> =======================
> maven.hello.world=World
> 
> 
> > 
> > Thanks,
> > Brett
> > 
> > > -----Original Message-----
> > > From: KR�LIK Vladim�r [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, 31 March 2004 2:59 AM
> > > To: Maven Users MailingList (E-mail)
> > > Subject: NoClassDefFoundError for org/jaxen/JaxenException 
> > > and org/saxpath/SAXPathException
> > > 
> > > 
> > > Hello all,
> > > 
> > >   i've problem with instalation of maven-1.0-rc2.
> > > I've installed maven into new directory structures ( empty
> > > ${maven.home.local} ). Environment :
> > >   maven-1.0-rc2
> > >   jdk 1.4.2_03
> > >   M$ Windows 2000 SP 4
> > >   cygwin
> > > 
> > > When I try install my own plugin ( by using "maven
> > > plugin:install" ),then I get : <<skipped>> Caused by: 
> > > java.lang.NoClassDefFoundError: org/jaxen/JaxenException
> > >         at java.lang.Class.forName0(Native Method)
> > >         at java.lang.Class.forName(Class.java:141)
> > >         at 
> > > org.apache.commons.jelly.tags.xml.XMLTagLibrary.class$(XMLTagL
> > > ibrary.java:82)
> > > <<skipped>>
> > > 
> > > after "cp jaxen-core-1.0-FCS.jar $MAVEN_HOME/lib" :
> > > 
> > > <<skipped>>
> > > Caused by: java.lang.NoClassDefFoundError:
> > > org/saxpath/SAXPathException
> > >   <<skipped java.lang>>>
> > >         at 
> > > org.apache.commons.jelly.tags.xml.XMLTagLibrary.class$(XMLTagL
> > > ibrary.java:82)
> > > <<skipped>>
> > > 
> > > after "cp saxpath-1.0-FCS.jar $MAVEN_HOME/lib"
> > > 
> > > it works fine.
> > > 
> > > Is this bug ?
> > > Should be saxpath.jar and jaxen.jar in maven distribution ?
> > > 
> > >   thank's for answers.
> > > 
> > >                   vlk
> > > 
> > > 
> > > Vladimir Kralik
> > > ASSET Soft a.s.
> > > Banska Bystrica
> > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > 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