Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that we generate a non-empty Javadoc jar for guava-gwt.
Without it, we get an error during Sonatype deployment: Missing: no javadoc jar found in folder '/com/google/guava/guava-gwt/28.2-jre' I hacked around this on the GitHub release branch for 28.2 by reenabling Javadoc: a1b3c06 But as you may recall from CL 276327335, we're soon going to have no classes to generate Javadoc for (after we remove GWT-RPC support). So even with Javadoc generation enabled, we'd end up with no jar. To ensure that we get a jar, I've introduced a package-private dummy class (and then excluded it from the other steps in which source files are used). RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=288314285
- Loading branch information
Showing
2 changed files
with
36 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* Copyright (C) 2019 The Guava Authors | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package com.google.common; | ||
|
||
/** | ||
* A dummy class so that the Maven Javadoc plugin will produce a jar. If it doesn't produce a jar, | ||
* then the Sonatype repository manager issues an error. | ||
* | ||
* @author Chris Povirk | ||
*/ | ||
class DummyJavadocClass {} |