Skip to content

Compile individual module failed #8911

Closed

Description

@hangc0276

Describe the bug
When i compile individual module, it failed as following exceptions

[ERROR] Failed to execute goal com.mycila:license-maven-plugin:4.0.rc2:check (default) on project pulsar-client-original: Execution default of goal com.mycila:license-maven-plugin:4.0.rc2:check failed: Cannot read header document src/license-header.txt. Cause: Resource src/license-header.txt not found in file system, classpath or URL: no protocol: src/license-header.txt -> [Help 1]

It may be introduced by #8706

To Reproduce
Steps to reproduce the behavior:

  1. In pulsar root directory, run mvn install -DskipTest, wait for compile success.
  2. go to pulsar-client module, run mvn install -DskipTests, it will compile failed

Expected behavior
For each individual module, It should compile success.

Desktop (please complete the following information):

  • OS: Ubuntu 16.04

Activity

  1. added
    type/bug
    on Dec 11, 2020
  2. hangc0276 commented on Dec 11, 2020

    @hangc0276
    ContributorAuthor

    @lhotari Would you please help take a look?

  3. sijie commented on Dec 11, 2020

    @sijie
    Member

    @hangc0276 you can try run mvn -pl pulsar-client install -DskipTests?

  4. hangc0276 commented on Dec 11, 2020

    @hangc0276
    ContributorAuthor

    @hangc0276 you can try run mvn -pl pulsar-client install -DskipTests?

    @sijie Ok, run mvn -pl pulsar-client install -DskipTests in pulsar root directory, compile succeed.
    However, in the past, run run install -DskipTests in sub module directory, it may also compile succeed.
    I close this issue.

  5. added 3 commits that reference this issue on Dec 11, 2020
    6c0a619
    f49d954
    6e67cb3
  6. added a commit that references this issue on Dec 13, 2020
    ab35e2d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/buildtype/bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions