Hi all,

What Maven property expression will return me a comma-separated list of the
currently active profiles?  I've tried variations on
${project.build.profiles.active}, but I keep getting "null".

Here's how I'm trying to use it with Spring 3.1.0.RC1 bean profiles:
...
            <plugin>                
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                   
<argLine>-Dspring.profiles.active=${project.build.profiles.active}</argLine>
...

Thanks,
Matthew

--
View this message in context: 
http://maven.40175.n5.nabble.com/Maven-property-expression-for-comma-separate-list-of-currently-active-profiles-tp4913824p4913824.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to