[mevenide-dev] [jira] Created: (MEVENIDE-607) Filtering sources does not trigger when running web application from NetBeans using Run command
"Grzegorz Borkowski (JIRA)" <jira-yCVjj/[email protected]>
| Newsgroups | gmane.comp.jakarta.turbine.maven.mevenide.devel |
|---|---|
| Message-ID | <13048197.1203324328836.JavaMail.haus-jira@codehaus01.managed.contegix.com> |
Filtering sources does not trigger when running web application from NetBeans using Run command
-----------------------------------------------------------------------------------------------
Key: MEVENIDE-607
URL: http://jira.codehaus.org/browse/MEVENIDE-607
Project: mevenide
Issue Type: Bug
Components: mevenide-netbeans
Affects Versions: NB_3.0
Environment: NetBeans 6.0, Maven plugin 3.0.9
Reporter: Grzegorz Borkowski
Assignee: Milos Kleint
I have web project under Maven (packaging: war).
I turned on filtering of web pages in Maven, so that maven substitutes ${pom.version} value during build.
The section in pom.xml looks like:
<build>
<finalName>someName</finalName>
<resources>
<resource>
<directory>src/main/webapp</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
This works well if I use "build" command: under target/classes I get web pages with project version substituted (filtering works).
But when I call "Run" from NetBeans, it creates second directory under target/, and stores all web pages there, and they are used for running application on server. But those pages are not filtered.
--
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
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email