Skip to content

[MJAVADOC-726] exclude velocity - #243

Merged
elharo merged 2 commits into
masterfrom
exclude
Sep 24, 2023
Merged

elharo merged 2 commits into
masterfrom
exclude

Conversation

@elharo

@elharo elharo commented Sep 21, 2023 •

Copy link
Copy Markdown
Contributor

Alternate approach to keeping log4j out of the tree by excluding velocity-tools.

Nuked log4j from my .m2/repo and verified that the sample project does not download log4j when generating javadoc with 3.6.1-SNAPSHOT with this patch

Tests pass locally

@michael-o

Copy link
Copy Markdown
Member

Let's wait for CI.

@elharo

elharo commented Sep 21, 2023

Copy link
Copy Markdown
Contributor Author

CI being flaky. I'll rerun if needed

Recording test results

[GitHub Checks] Causes for no suitable publisher found:
[GitHub Checks] Trying to resolve checks parameters from GitHub SCM...
[GitHub Checks] No GitHub app credentials found: '5f95d117-af3b-452a-9e5c-4bddb22a67f4'
[GitHub Checks] See: https://github.com/jenkinsci/github-branch-source-plugin/blob/master/docs/github-app.adoc
[GitHub Checks] Trying to resolve checks parameters from Git SCM...
[GitHub Checks] Job does not use Git SCM
[Checks API] No suitable checks publisher found.

@elharo

elharo commented Sep 21, 2023

Copy link
Copy Markdown
Contributor Author

same failure as before on JDK 8 Linux:

Error: The following builds failed:
Error: * MJAVADOC-427/pom.xml

Looks like it might be an IT that's checking for very specific output.

@elharo

elharo commented Sep 21, 2023 •

Copy link
Copy Markdown
Contributor Author

Problem in IT is looking for the regexp

Link to slf4j <a href=".*?".*?><code>LoggerFactory<\/code><\/a>

but it's finding

Link to slf4j <code>LoggerFactory<\/code>

That is, the link has vanished. That might be significant.

@michael-o

Copy link
Copy Markdown
Member

same failure as before on JDK 8 Linux:

Error: The following builds failed: Error: * MJAVADOC-427/pom.xml

Looks like it might be an IT that's checking for very specific output.

Please check these...

@elharo

elharo commented Sep 22, 2023

Copy link
Copy Markdown
Contributor Author

same IT failed in the same way in the effort to upgrade to 1.2.17. I still don't see how this change would cause that particular failure since neither doxia nor log4j is involved in that code path. Need to check what happens with an innocuous change

@elharo

elharo commented Sep 22, 2023

Copy link
Copy Markdown
Contributor Author

I do note that this failure might be caused by an unrelated problem resolving the link to a remote website that is possible from my local MacBook but not from the CI server. If so, it should repro on all PRs.

@elharo

elharo commented Sep 23, 2023

Copy link
Copy Markdown
Contributor Author

And now the tests are all passing. It does look like this IT is simply flaky (and likely moreso on the CI server) because it relies on external network connections that sometimes fail.

@elharo
elharo merged commit 05b12e8 into master Sep 24, 2023
@elharo
elharo deleted the exclude branch September 24, 2023 12:01
@slawekjaranowski slawekjaranowski added the bug Something isn't working label Nov 6, 2023
@jira-importer

Copy link
Copy Markdown

Resolve #1108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants