eXist-db / exist

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

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

Open dizzzz opened 4 months ago

dizzzz commented 4 months 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 2 months 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