Don't use dots in your property naming -- use underscores. Eg
spring.version should become spring_version.

IIRC there is a bug in the way Maven handles properties, such that
spring.version can be parsed as simply version. I don't know the JIRA
number off the top of my head but I'm sure you can find it if you
look.

Wayne

On Mon, Dec 22, 2008 at 6:30 AM, aymen83 <[email protected]> wrote:
>
> when i tape mvn -Plegacy dependency:tree i can't see that the version used is
> 2.0.8 but 2.5.6
> <profile>
>                        <id>legacy</id>
>                        <activation>
>                                <activeByDefault>false</activeByDefault>
>                                <jdk>1.5</jdk>
>                        </activation>
>
>                        <properties>
>                        <Spring.Version>2.0.8</Spring.Version>
>                        </properties>
>                        <dependencyManagement>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to