79567780

Date: 2025-04-11 00:31:16
Score: 0.5
Natty:
Report link

The answer was very simple, I had a typo:

<plugin>
        <inherited>true</inherited>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <version>3.1.1</version>
        <configuration>
          <archive>
            <manifest>
              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
<!--              <builtBy>TESTING</builtBy>-->
<!--              <addBuildEnvironmentEntries>false</addBuildEnvironmentEntries>-->
            </manifest>
            <manifestEntries>
              <Implementation-Version>${project.version}</Implementation-Version>
              <Implementation-Build>${project.version}.${git.commit.id.abbrev}</Implementation-Build>
              <Built-By>TESTING</Built-By>
            </manifestEntries>
          </archive>
          <resources>
            <entityReference>
              <directory>src/main/java</directory>
              <includes>
                <include>**/*properties</include>
              </includes>
            </entityReference>
          </resources>
        </configuration>
      </plugin>


Looking at what I had above, I apparently had tried Built-By as it was commented out.  However, the above code now works.  I'm not sure when it started working on how the above example did not work.
Reasons:
  • Blacklisted phrase (1): did not work
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: John Doe