pom.xml - maven profile dependent property -


my maven pom looks this:

    <...>     <profiles>      <profile>       <...>         <id>1</id>        <properties>        <my_var>asdf</my_var><...>     <profile>       <...>     <id>2</id>        <properties>     <my_var>jklö</my_var><...> </profiles> <build>   <...> </build> 

now want use my_var property in major -section in plugin. how do this.. scope problem?

sincerely paul


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -