Skip to content

Allow excluding tests via JUnit tags #613

@kaklakariada

Description

@kaklakariada

PK generates pk_generated_parent.pom with empty property test.excludeTags:

    <properties>
        <test.excludeTags/>
    </properties>

This is unexpected in multi-module maven projects. Here it would be better to define this only in the top level pom file to avoid overriding the property in child modules.

Task

Remove test.excludeTags property when the current maven module has a parent defined in .project-keeper.yml via

  - type: maven
    path: api/pom.xml
    parentPom:
      groupId: com.exasol
      artifactId: my-parent-module
      version: ${revision}
      relativePath: ../parent/pom.xml

Workaround

Specify test.excludeTags in each individual maven module

Metadata

Metadata

Assignees

Labels

featureProduct feature

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions