Hi,

I noticed that the "install" phase does not resolve the properties that
are defined in settings.xml. For example, I use a property in my
settings.xml to define the release version:

    <profile>
      <id>DefaultProfile</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
        <properties>
        <myversion>1.1.1.1</myversion>
        </properties>
    </profile>


Now, I have a pom that access that property:

                <groupId>myexample.myexample</groupId>
                <artifactId>foo1</artifactId>
                <version>${myversion}</version>

When I run "mvn install", it does creat and install foo1-1.1.1.1.jar in
my local repo in ~/.m2/repository/myexample/.... However, when I look at
the foo1-1.1.1.1.pom file, the "version" tag is not resolved and instead
it still refers to ${myversion}. Is it a problem?

Thanks
Yan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to