Hi Stephen, thank you for your quick reply, but I don't understand what you mean. What I have tried to test is create a test.properties file in my war project that is being filtered. I've put in this:
aspectj=${org.aspectj.version} aspectj.weaver=${org.aspectj.aspectjweaver.version} swf=${com.mycomp.server-ria.version} Only the first line gets replaced, the other 2 are not being replaced. Can you elaborate on "you can either define a property with the version and link the dependency's version to the property"? regards, Wim 2008/12/24 Stephen Connolly <stephen.alan.conno...@gmail.com> > have the jsp page load a properties file which has the version within. if > performance is a proven concern, have a java class load and cache the > version into a singleton bean > > as regards capturing the current version of a dependency, you can either > define a property with the version and link the dependency's version to the > property, or hmm I've another idea for the versions maven plugin > > Sent from my iPod > > > On 24 Dec 2008, at 09:46, "Wim Deblauwe" <wim.debla...@gmail.com> wrote: > > Hi, >> >> I have a project (war) that has an other project (swf) as a dependency. >> The >> war contains an index.jsp that refers to the swf dependency. Currently, it >> is hardcode like 'myflexproject-1.0-SNAPSHOT.swf'. I would like to put >> some >> placeholder there and let maven filter this index.jsp and fill in the >> correct version. Is this possible? How? >> >> regards, >> >> Wim >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >