> -----Urspr�ngliche Nachricht-----
> Von: Age Mooy [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 9. Dezember 2002 10:42
> An: 'Turbine Maven Users List'
> Betreff: RE: AW: error running torque-plugin
>
>
>
> Has the stratum jar file been (correctly) downloaded from the remote
> repository into your local repository ? It looks like a simple classpath
> problem from the exception so maybe something went wrong when maven
> tried to download the stratum jar file. My stratum-b3.jar file is 20 Kb.
>

My stratum-1.0-b3.jar is also 20 kB. I looked into the file and it seems
okay. The class that was reported missing is there as well.
Also, I backed up stratum-1.0-b3-dev.jar into rep/stratum/jars/bak, so that
I have only 1 jar-file in the directory. I assume that is not a problem.
When I did that I also changed
<dependency>
                        <id>stratum</id>
                        <version>1.0-b3-dev</version>
to
                        <version>1.0-b3</version>



> On a side-note.... looking at your project.xml, I saw that you haven't
> marked your dependencies for inclusion by the war plugin goals. If you
> don't do this, your war file and webapp directory won't contain any jar
> files in the WEB-INF/lib dir. The war plugin docs tell you all about
> this but here is an example:
>
>     <dependency>
>       <id>stratum</id>
>       <version>1.0-b3</version>
>       <url>http://jakarta.apache.org/turbine/stratum/</url>
>       <properties>
>         <war.bundle.jar>true</war.bundle.jar>
>       </properties>
>     </dependency>
>
> If you are building a Turbine app, you need to mark most, if not all,
> runtime dependencies like this.

Thanks for the tip. I will go into that later.
Btw, adding this dependency to my project.xml resulted in a validating
error: "unexcepted child element properties".
But I will look into the WAR-docs anyway.

Marc


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

Reply via email to