• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

sonarqube configuration move to the template file

 
Ranch Hand
Posts: 950
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,



I have below type of entries to configure sonarqube in pom.xml of messaging micro service deployed on to openshift.




I like to move it to template file buildConfig section which seems written in groovy language. How to move it to template file. Any sample examples around this. Please advise.
 
Saloon Keeper
Posts: 27863
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have removed this thread from "Beginning Java", because it very obviously isn't.

I don't think SonarQube requires anywhere near that much configuration. And in any event, a plethora of path definitions raises some serious alarms. Doubly so, since I think you're trying to reference stuff from outside the project directory and Maven does not like that at all. And as a rule, Maven plugins that have special directory needs normally have hard-wired locations where the plugins prefer to work from. For example, "/src/test/resources".

If SonarQube is being run by Maven, as I believe it is, then its configuration should be part of the POM.
 
sai rama krishna
Ranch Hand
Posts: 950
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you. That makes things clearer to me now.
 
Ever since I found this suit I've felt strange new needs. And a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic