Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modified to produce a jar file instead of WEB-INF/classes
Because of the prefetching change in remoting (see JENKINS-15120), it is desirable now to produce class files in a jar file, not in a classes directory, so that slaves can prefetch them and cache them efficiently.
- Loading branch information
Showing
2 changed files
with
22 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6035351
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI, this change breaks tools like CLIRR because it expects the classes directory to be available.
6035351
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it break the CLIRR plugin for Jenkins (although I couldn't find it)? I'm not sure if I understand.
6035351
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added the maven-clirr-plugin to my plugin to test for backward compatibility in my API. I was using maven-hpi-plugin 1.99 in my pom for some reason (I don't remember why), the maven-clirr-plugin didn't find any differences even though I had made significant changes. I then removed the override to 1.99 for the maven-hpi-plugin and it was able to find differences. After some minimal debugging of the maven-clirr-plugin, I determined that it was because the classes directory was not in the hpi.