hmmm.. I got it now. Thanks Anders! Ivo
On Fri, Oct 26, 2012 at 6:46 PM, Anders Hammar <and...@hammar.net> wrote: > If it has to be in src/main/resources I guess you're out of luck. It's > technically possible to have a rules file copied to that folder during > the build process, but it's against the Maven laws. Anything > copied/generated during the build process should be to the target > folder. > > Please note that the macker-maven-plugin at Codehaus Mojo (that's the > one you're talking about, isn't it?) is in sandbox. So there is no > release. You have to get the source and build it yourself. So you > could change the code to have the path for the rules file fully > configurable. > > /Anders > > On Fri, Oct 26, 2012 at 10:20 PM, Alberto Ivo <alberto...@gmail.com> > wrote: > > According to the Macker usage, the macker-rules.xml MUST be in the > > scr/main/resource. > > > > Ansgar, I liked you idea but I'm still very noob to understand how to do > > it. I will research about that. > > > > Ivo > > > > > > On Fri, Oct 26, 2012 at 5:03 PM, Anders Hammar <and...@hammar.net> > wrote: > > > >> I guess the Maven Remote Resources Plugin could be used as well. But > >> it depends on if the macker rules file has to be in src/main/resources > >> or if it could be somewhere else. > >> > >> /Anders > >> > >> On Fri, Oct 26, 2012 at 8:57 PM, Ansgar Konermann > >> <ansgar.konerm...@googlemail.com> wrote: > >> > Deploy macker-rules.xml to repository. > >> > > >> > Use m-dependency-p to fetch these rules from repo during build. > >> > > >> > Configure m-macker-p to pick up rule file where m-dependency-p put it. > >> > Am 26.10.2012 20:04 schrieb "Alberto Ivo" <alberto...@gmail.com>: > >> > > >> >> I know there is a specific discussion list for Macker but I think > this > >> >> question could be here too (if not, please, excuse me): > >> >> > >> >> In my pom parent, I put the makcer plugin. But I have a lot of > projects, > >> >> with its onw pom child. > >> >> My question is: I have to put a macker-rules.xml in each > /src/resource > >> >> project? > >> >> there is a way to write only one macker-rule.xml e this one file fits > >> for > >> >> all projects? > >> >> > >> >> thanks in advance! > >> >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > >> For additional commands, e-mail: users-h...@maven.apache.org > >> > >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >