Re: Maven plugin to set property on a resource

2017-12-20 Thread Justin Edelson
FWIW, it is possible to externalize that script into a file and then reference it as the source parameter. It's obviously a judgement call as to whether you put the script inline or in an external files, but the below would be enough lines of code for me to want to stick it in an external file :)

Re: Maven plugin to set property on a resource

2017-12-19 Thread Roy Teeuwen
Hey Jason, Yup, thats what I got to at this point, maybe there was a cleaner way, but I guess this will do :) Just for ppl for future references, this is my final result (pretty long, thats why I was looking for something less bulky, but could always make a separate plugin if necessary

Re: Maven plugin to set property on a resource

2017-12-19 Thread Jason E Bailey
Maybe something like maven exec or maven antrun to perform a curl command? -- Jason On Tue, Dec 19, 2017, at 1:04 PM, Roy Teeuwen wrote: > Hey all, > > I am searching for the fastest way to set and delete a property on a > resource of a specific path. I could use the gmaven-plugin and write a

Maven plugin to set property on a resource

2017-12-19 Thread Roy Teeuwen
Hey all, I am searching for the fastest way to set and delete a property on a resource of a specific path. I could use the gmaven-plugin and write a groovy script to do this, but maybe there is already someone with a better plugin for this and I don't have to write an ugly script for it in my