Bug #59
Profiles did not work as expected.
| Status: | Closed | Start: | ||
| Priority: | Immediate | Due date: | ||
| Assigned to: | manager - | % Done: | 0% |
|
| Category: | build system | |||
| Target version: | 0.4.0 Mars | |||
Description
It seemed that inline profiles (with POM) behave different from profiles which are defined in separated files (profile.xml).
If i selected mvn -P online with inline profiles it worked as expected. If i use the same with an external file it doesn't work.
<profiles>
<profile>
<!--
This profile is used to define the URL's etc. if we are
on the traveler laptop.
-->
<id>dev</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<system.scm.url>http://svn.traveler/supose/</system.scm.url>
<system.scm.url.dev>http://svn.traveler/supose/trunk</system.scm.url.dev>
<issuemanagement.url>http://trac.traveler/supose/</issuemanagement.url>
<cimanagement.url>http://http://serverix:8080/continuum/</cimanagement.url>
</properties>
</profile>
<profile>
<!--
This profile is used to define the URL's etc. if we are
on the internet server (h5593.serverkompetenz.net).
-->
<id>online</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<system.scm.url>http://svn.soebes.de/supose/</system.scm.url>
<system.scm.url.dev>http://svn.soebes.de/supose/trunk</system.scm.url.dev>
<issuemanagement.url>http://supose.soebes.de/</issuemanagement.url>
<cimanagement.url>http://http://serverix:8080/continuum/</cimanagement.url>
</properties>
</profile>
</profiles>