In b7, pdf plugin have some bugs. You can use pdf plugin in cvs.

For dependencies, it isn't necessary to declare pdf dependencies in your
project.xml

Emmanuel

-----Message d'origine-----
De: "Panna Bodupali" <[EMAIL PROTECTED]>
A: <[EMAIL PROTECTED]>
Date: 13/01/03
Objet: Re: maven:pdf missing dependency?

Hi ,

I am new to Maven. I am currenty trying to explore Maven with all the
plugins.

Currently I am exploring PDF plugin. My OS is Windows XP and I am using
Maven 7.0

I have added all the required jars in the classpath as Dependency in my
project.xml viz.
       <dependency>
        <id>fop</id>
  <version>0.20.3</version>
     </dependency>

       <dependency>
        <id>batik</id>
  <version>1.1.1</version>
     </dependency>

       <dependency>
        <id>logkit</id>
  <version>1.0.1</version>
     </dependency>


       <dependency>
        <id>avalon-framework</id>
  <version>4.0</version>
     </dependency>

      <dependency>
        <id>xerces</id>
  <version>1.2.3</version>
     </dependency>

When i execute -> maven pdf , I get the following error
"
fo:fo:
    [java]

fo:

pdf:pdf:
    [java] java.lang.NoClassDefFoundError: org/apache/fop/apps/Fop
    [java] Exception in thread "main"
    [java] [ERROR] Java Result: 1

pdf:
"
However, if on the same command prompt window I set the Classpath
manually
mentioning the path of all the above 5jars then it works fine.

Do we need to set the class-path manually everytime when we execute
maven.

Kindly Advice.

Thanks in advance


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

_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? T�l�charger MSN Messenger
http://www.ifrance.com/_reloc/m la 1�re messagerie instantan�e de France

_____________________________________________________________________
GRAND JEU SMS : Pour gagner un NOKIA 7650, envoyez le mot IF au 61321
(prix d'un SMS + 0.35 euro). Un SMS vous dira si vous avez gagn�.
R�glement : http://www.ifrance.com/_reloc/sign.sms



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

Reply via email to