Thats the idea ... 'provided' means that the jar is needed for compiling but it must to be included in the jar because it will be somehow be provided at runtime, for example, by jboss.
Tomcat probably does not include the jboss cache, so they should not be marked provided if you want to deploy in tomcat. good luck Lucas Rockwell wrote: > Hi Pablo, > > On Sep 24, 2007, at 5:34 PM, Pablo Gra~~~na wrote: > >> The jboss jars are probably marked as <scope>provided</scope> in >> the pom >> that builds the war (or in some ancestor). Simply removing this should >> work. Anyway, if the jars are built to be deployed under jboss, these >> jars should not go in the war. > > So, since I am using Tomcat, these jars are not provided, and they > *should* go in the war, correct? > > I will give this a try tomorrow. > > Thanks! > > -lucas > >> Lucas Rockwell wrote: >>> Hi all, >>> >>> I am completely new to Maven, so forgive my ignorance on this... >>> >>> I have managed to install my own jars into my local Maven repository, >>> and they do get included in the final lib directory of my CAS war >>> file, so I kind of get the idea of how Maven works. However, the jars >>> for the JBoss cache stuff are not getting included in the cas.war >>> file. >>> >>> So, how do I tell maven to included all the JBoss jars into the final >>> cas.war file? They all seem to be referenced in the pom.xml that is >>> the JBoss branch of the distribution, but when I build CAS, then >>> don't get included. Do I have to move these declarations to the main >>> pom.xml? Again, this is the first time I have used Maven. >>> >>> Many thanks. >>> >>> -lucas >>> _______________________________________________ >>> Yale CAS mailing list >>> [email protected] >>> http://tp.its.yale.edu/mailman/listinfo/cas >> _______________________________________________ >> Yale CAS mailing list >> [email protected] >> http://tp.its.yale.edu/mailman/listinfo/cas > > _______________________________________________ > Yale CAS mailing list > [email protected] > http://tp.its.yale.edu/mailman/listinfo/cas _______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
