> -----Original Message----- > From: Nacho G. Mac Dowell [mailto:[EMAIL PROTECTED] > Sent: Friday, February 11, 2005 1:29 PM > To: [email protected] > Subject: [MAVEN] ${pom.properties} is a ArrayList of String? > > > Hi all, I was trying to use ${pom.properties} and I found it is an > ArrayList of Strings in the form "property:elementName:...:". I was > thinking it might be useful to have them as Nodes. What do you think?
[..] > > <properties> > > <jaxme-jelly-tag-library>http://jakarta.apache.org/commons/jel > ly/libs/jaxme/index.html</jaxme-jelly-tag-library> > ..... > </properties> > > and then access them as: > ${project.properties.getChild("jaxme-jelly-tag-library")} or > something > similar. > > This way we would (easily) avoid the problem that arised when moving > from nagoya in apache. Other suggestions are very welcome. Maybe it is a stupid question: why don't you use project.properties file for that and do is like this: jaxme-jelly-tag-library=http://jakarta.apache.org/commons/jelly/libs/jaxme/i ndex.html ? > > I would also like to draw attention to bug #MPXDOC-131 which gives > direct access to velocity in user-documentation when > maven.docs.src.templates=true. I know I can use maven.xml for > this but I > beleive it is easier to use it this way. There are no side-effects > (maven.docs.src.templates defaults to false) and quite a few benefits! > > Regards, > > Nacho G. Mac Dowell > > PD: Does anybody know where I can find > org.apache.maven.project.Model? > It is now in a separate artifact, but what project? Thanks! > > http://cvs.apache.org/viewcvs.cgi/maven-components/maven-model/ michal --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
