RE: Re: Archetype expression ${package.replace ('.', '/')} not a valid reference

2009-01-27 Thread Néstor Boscán
I'm using Maven 2.0.7. I'm creating an archetype with a spring beanRefContext.xml file that has to reference the other spring applicationContext.xml. So I need to create a reference in the form: com/mycompany/myapplication based on the package. So what I do is to create a Velocity expression

RE: Re: Archetype expression ${package.replace ('.', '/')} not a valid reference

2009-01-27 Thread Néstor Boscán
Tried to use Maven 2.0.9 and the problem is still there. Tried using expressions: ${groupId.replace('.', '/')} ${packageName.replace('.', '/')} And I'm still getting the same error. -Mensaje original- De: Raphaël Piéroni [mailto:raphaelpier...@gmail.com] Enviado el: Tuesday, January 27

RE: Re: Archetype expression ${package.replace ('.', '/')} not a valid reference

2009-01-27 Thread Néstor Boscán
Found something. It looks like the problem is when I'm using JDK 1.4. If I use JDK 5 it works. I use JDK 1.4 so I can compile using that version of java because sadly using JDK 5 and telling the compiler to compile for 1.4 does not work well. Regards, Néstor Boscán -Mensaje original-