Skip to content

POM placeholder variables prevent project from building correctly #13

@cjnickel

Description

@cjnickel

With certain variables being set as placeholders in pom.xml, api.server.properties, and api.local.properties I run into Anypoint Studio errors that prevent project from building due to recursive cycles.

Example:

Setting database url values as ${policyholder.jdbc.url} in each of these files which requires devs to pass in via run configuration results in the error icon for project.
image
image
image
Note that passing in a -D parameter still has error

Potential Fix:

Setting the database url to an empty xml tag in pom.xml resolves the issue.
e.g. <policyholder.jdbc.url />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions