Hi, Please create an account at http://xircles.codehaus.org/ Then you'll be able to report an issue under http://jira.codehaus.org/, please describe your issue there and also attach your test project.
I'm gonna have a look now at your test project, but it'll be a lot better to follow-up then publicly on the mojo mailing list (added in CC) and on the project bug tracker. Cheers 2014-03-29 19:23 GMT+01:00 Tiago Oliveira <tiago...@gmail.com>: > > > ---------- Forwarded message ---------- > From: Tiago Oliveira <tiago...@gmail.com> > Date: 2014-03-29 15:20 GMT-03:00 > Subject: Issue with templating-maven-plugin > To: stephen.alan.conno...@gmail.com, baptistemat...@gmail.com > > > Hi guys, > > i stumbled uppon a bug with this maven plugin. Tried to find a place to > submit a ISSUE but didn't found it. So i'm emailing you (developers in > pom.xml), hoping to find a way in... > > I tried to filter a expression inside a annotation value, but it didnt > worked at all. In other places (like string declarations) it worked fine. > > Something like: > > @java.lang.SuppressWarnings({"@filter@","${filter}"}) > public class A { > private static final String FILTER_A="@filter@"; > private static final String FILTER_B="${filter}"; > } > > after templating:filter-sources would be: > > @java.lang.SuppressWarnings({"@filter@","${filter}"}) > public class A { > private static final String FILTER_A="filtered"; > private static final String FILTER_B="filtered"; > } > > I created a sample project in which i could replicate the problem: > https://github.com/tiagojco/templating-maven-plugin/raw/master/bugreport.zip > > My environment: > >> $ mvn -version >> Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 >> 10:51:28-0300) >> Maven home: C:\Dev\apache\apache-maven-3.0.5 >> Java version: 1.7.0_17, vendor: Oracle Corporation >> Java home: C:\Program Files\Java\jdk1.7.0_17\jre >> Default locale: pt_BR, platform encoding: Cp1252 >> OS name: "windows 8", version: "6.2", arch: "amd64", family: "windows" > > > Hope u guys can help me. > > Tiago Oliveira. > > -- Baptiste <Batmat> MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor !