eXist-db / exist

eXist Native XML Database and Application Platform
https://exist-db.org
GNU Lesser General Public License v2.1
421 stars 179 forks source link

[BUG] NVD_API_KEY does not get injected for PRs on develop-6.x.x #5391

Open dizzzz opened 1 month ago

dizzzz commented 1 month ago

See https://github.com/eXist-db/exist/pull/5386#pullrequestreview-2213848657

I tried a lot, for develop all works OK, for 6xx is it not....

${env.NVD_API_KEY} in parent/pom.xml
eduarddrenth commented 6 days ago

I use

<nvdApiKey>${nvdApiKey}</nvdApiKey>

in my pom and


  <profiles>
    <profile>
      <id>nvd</id>
      <properties>
        <nvdApiKey>very secret</nvdApiKey>
      </properties>
    </profile>
  </profiles>

  <activeProfiles>
    <activeProfile>nvd</activeProfile>
  </activeProfiles>```
in my settings.xml. Works perfectly