You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Benedict (JIRA)" <ji...@codehaus.org> on 2007/05/22 09:35:59 UTC
[jira] Created: (MNG-3000) Property substitution not possible in
element if from profile
Property substitution not possible in <filter> element if from profile
----------------------------------------------------------------------
Key: MNG-3000
URL: http://jira.codehaus.org/browse/MNG-3000
Project: Maven 2
Issue Type: Bug
Components: Bootstrap & Build
Affects Versions: 2.0.6
Reporter: Paul Benedict
Based on a profile, I want to enable a property.
<profiles>
<profile>
<id>myprofile</id>
<properties>
<env>dev</env>
</properties>
</profile>
</profiles>
And then use this property in a common filter path:
<build>
<filters>
<filter>src/main/filters/${env}.properties</filter>
</filters>
</build>
The filter path only completes if I have a standalone <properties> element outside of a profile. With that removed and a profile activated, the property is not found.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MNG-3000) Property substitution not possible in
element if from profile
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated MNG-3000:
------------------------------
Reporter: Paul Benedict (was: Paul Benedict)
> Property substitution not possible in <filter> element if from profile
> ----------------------------------------------------------------------
>
> Key: MNG-3000
> URL: http://jira.codehaus.org/browse/MNG-3000
> Project: Maven 2
> Issue Type: Bug
> Components: Bootstrap & Build
> Affects Versions: 2.0.6
> Reporter: Paul Benedict
> Fix For: Reviewed Pending Version Assignment
>
>
> Based on a profile, I want to enable a property.
> <profiles>
> <profile>
> <id>myprofile</id>
> <properties>
> <env>dev</env>
> </properties>
> </profile>
> </profiles>
> And then use this property in a common filter path:
> <build>
> <filters>
> <filter>src/main/filters/${env}.properties</filter>
> </filters>
> </build>
> The filter path only completes if I have a standalone <properties> element outside of a profile. With that removed and a profile activated, the property is not found.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MNG-3000) Property substitution not possible in
element if from profile
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter closed MNG-3000.
-----------------------------
Assignee: Brett Porter
Resolution: Cannot Reproduce
Fix Version/s: (was: Reviewed Pending Version Assignment)
working in 2.1.0-M1
> Property substitution not possible in <filter> element if from profile
> ----------------------------------------------------------------------
>
> Key: MNG-3000
> URL: http://jira.codehaus.org/browse/MNG-3000
> Project: Maven 2
> Issue Type: Bug
> Components: Bootstrap & Build
> Affects Versions: 2.0.6
> Reporter: Paul Benedict
> Assignee: Brett Porter
>
> Based on a profile, I want to enable a property.
> <profiles>
> <profile>
> <id>myprofile</id>
> <properties>
> <env>dev</env>
> </properties>
> </profile>
> </profiles>
> And then use this property in a common filter path:
> <build>
> <filters>
> <filter>src/main/filters/${env}.properties</filter>
> </filters>
> </build>
> The filter path only completes if I have a standalone <properties> element outside of a profile. With that removed and a profile activated, the property is not found.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MNG-3000) Property substitution not possible in
element if from profile
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter closed MNG-3000.
-----------------------------
Resolution: Cannot Reproduce
we already decided that the impact of the changes was too significant to port to the 2.0.10 branch (this was the reason the release was renamed mid-stream), so I would expect not
> Property substitution not possible in <filter> element if from profile
> ----------------------------------------------------------------------
>
> Key: MNG-3000
> URL: http://jira.codehaus.org/browse/MNG-3000
> Project: Maven 2
> Issue Type: Bug
> Components: Bootstrap & Build
> Affects Versions: 2.0.6
> Reporter: Paul Benedict
> Assignee: Brett Porter
>
> Based on a profile, I want to enable a property.
> <profiles>
> <profile>
> <id>myprofile</id>
> <properties>
> <env>dev</env>
> </properties>
> </profile>
> </profiles>
> And then use this property in a common filter path:
> <build>
> <filters>
> <filter>src/main/filters/${env}.properties</filter>
> </filters>
> </build>
> The filter path only completes if I have a standalone <properties> element outside of a profile. With that removed and a profile activated, the property is not found.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Reopened: (MNG-3000) Property substitution not possible in
element if from profile
Posted by "Paul Benedict (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Benedict reopened MNG-3000:
--------------------------------
I am going to reopen this issue since I've confirmed that 2.0.10-RC7 contains the issue. If it is not going to be fixed in 2.0.x at all, then please reclose it.
>> Error loading property file 'src\main\filters\${env}.properties'
> Property substitution not possible in <filter> element if from profile
> ----------------------------------------------------------------------
>
> Key: MNG-3000
> URL: http://jira.codehaus.org/browse/MNG-3000
> Project: Maven 2
> Issue Type: Bug
> Components: Bootstrap & Build
> Affects Versions: 2.0.6
> Reporter: Paul Benedict
> Assignee: Brett Porter
>
> Based on a profile, I want to enable a property.
> <profiles>
> <profile>
> <id>myprofile</id>
> <properties>
> <env>dev</env>
> </properties>
> </profile>
> </profiles>
> And then use this property in a common filter path:
> <build>
> <filters>
> <filter>src/main/filters/${env}.properties</filter>
> </filters>
> </build>
> The filter path only completes if I have a standalone <properties> element outside of a profile. With that removed and a profile activated, the property is not found.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MNG-3000) Property substitution not possible in
element if from profile
Posted by "Paul Benedict (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158608#action_158608 ]
Paul Benedict commented on MNG-3000:
------------------------------------
Let me check if 2.0.10 still has the problem.
> Property substitution not possible in <filter> element if from profile
> ----------------------------------------------------------------------
>
> Key: MNG-3000
> URL: http://jira.codehaus.org/browse/MNG-3000
> Project: Maven 2
> Issue Type: Bug
> Components: Bootstrap & Build
> Affects Versions: 2.0.6
> Reporter: Paul Benedict
> Assignee: Brett Porter
>
> Based on a profile, I want to enable a property.
> <profiles>
> <profile>
> <id>myprofile</id>
> <properties>
> <env>dev</env>
> </properties>
> </profile>
> </profiles>
> And then use this property in a common filter path:
> <build>
> <filters>
> <filter>src/main/filters/${env}.properties</filter>
> </filters>
> </build>
> The filter path only completes if I have a standalone <properties> element outside of a profile. With that removed and a profile activated, the property is not found.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira