Your profile is not active, so maven ignores it. You need to add something like:
<activeProfiles>
<activeProfile>broada-nexus</activeProfile>
</activeProfiles>
after your profile to make it usable.
On Jun 17, 2013, at 6:48 AM, 吴靖 <[email protected]> wrote:
> hi,everyone
> i use the maven ,but here is the problem,
> my maven setting xml file is like this:
> <profile>
> <id>broada-nexus</id>
> <properties>
> <broada.bsp.gene.version>1.0.0.M1-SNAPSHOT</broada.bsp.gene.version>
> </properties>
> ....
> </profile>
>
>
> and I have active this profile.
> I use the property ${broada.bsp.gene.version} in my maven dependency, but
> error comes.It cannot reslove the property;
> dose anyone meet this problem before??
-----------------
Come read my webnovel, Take a Lemon <http://www.takealemon.com>,
and listen to the Misfile radio play
<http://www.gold-family.us/audio/misfile.html>!