maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell Gold <r...@gold-family.us>
Subject Re: maven setting.xml properties can not use in dependency
Date Mon, 17 Jun 2013 22:49:30 GMT
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, 吴靖 <qhwj2006@126.com> 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>!





Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message