cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Juffer <andre.juf...@oulu.fi>
Subject Re: adding jars to 2.2
Date Thu, 08 Oct 2009 12:25:31 GMT
Steven D. Majewski wrote:
>
> I call some java classes from flowscript that aren't included in the 
> default 2.2 blocks.
>
> If I manually add the jars to ./target/rcl/webapp/WEB-INF/lib/, the 
> errors go away.
>
> What is the right way to add these jars with maven ?
>
> For example: commons-codec-1.3.jar.
>
> How do you add a dependency for a .jar instead of a block ?

Update the pom.xml (make dependencies) and ensure that the jars are in 
local repository. When creating the war file for deployment, these jars 
are automatically included.

>
> -- Steve Majewski
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


-- 
Andre H. Juffer              | Phone: +358-8-553 1161
Biocenter Oulu and           | Fax: +358-8-553-1141
Department of Biochemistry   | Email: andre.juffer@oulu.fi
University of Oulu, Finland  | WWW: www.biochem.oulu.fi/Biocomputing/
StruBioCat                   | WWW: www.strubiocat.oulu.fi
NordProt                     | WWW: www.nordprot.org
Triacle Biocomputing         | WWW: www.triacle-bc.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message