Skip to content
Discussion options

You must be logged in to vote

As I expected, you need to use

    <resources>
      <resource>
        <directory>src/main/resources</directory>
        <filtering>true</filtering>
      </resource>
    </resources>

in the <build> section of the pom.xml file. This allows Maven to replace the placeholders.

However, you are also using the wrong Maven variable, you need to use ${project.basedir} instead of ${project.root}

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@geoand
Comment options

geoand May 16, 2023
Collaborator

@bulldog98
Comment options

@geoand
Comment options

geoand May 16, 2023
Collaborator

@geoand
Comment options

geoand May 16, 2023
Collaborator

Answer selected by geoand
@bulldog98
Comment options

@geoand
Comment options

geoand May 16, 2023
Collaborator

@bulldog98
Comment options

@geoand
Comment options

geoand May 16, 2023
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants