Javadoc warnings due to "missing" Hamcrest classes #487

Closed
marcphilipp opened this Issue Aug 18, 2012 · 2 comments

Comments

Projects
None yet
1 participant
Owner

marcphilipp commented Aug 18, 2012

There are a lot of warnings when generating javadoc. Apparently the javadoc target cannot find the org.hamcrest.* classes.

javadoc:
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Creating destination directory: "/Users/mphilipp/Repositories/junit/junit4.11-SNAPSHOT/javadoc/"
  [javadoc] Loading source files for package org.junit...
  [javadoc] Loading source files for package org.junit.experimental...
  [javadoc] Loading source files for package org.junit.experimental.categories...
  [javadoc] Loading source files for package org.junit.experimental.max...
  [javadoc] Loading source files for package org.junit.experimental.results...
  [javadoc] Loading source files for package org.junit.experimental.runners...
  [javadoc] Loading source files for package org.junit.experimental.theories...
  [javadoc] Loading source files for package org.junit.experimental.theories.suppliers...
  [javadoc] Loading source files for package org.junit.matchers...
  [javadoc] Loading source files for package org.junit.rules...
  [javadoc] Loading source files for package org.junit.runner...
  [javadoc] Loading source files for package org.junit.runner.manipulation...
  [javadoc] Loading source files for package org.junit.runner.notification...
  [javadoc] Loading source files for package org.junit.runners...
  [javadoc] Loading source files for package org.junit.runners.model...
  [javadoc] Constructing Javadoc information...
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/Assert.java:3: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.Matcher;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/Assert.java:4: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.MatcherAssert;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/Assert.java:923: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.Assert
  [javadoc]     public static <T> void assertThat(T actual, Matcher<? super T> matcher) {
  [javadoc]                                                 ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/Assert.java:961: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.Assert
  [javadoc]             Matcher<? super T> matcher) {
  [javadoc]             ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/Assume.java:4: package org.hamcrest does not exist
  [javadoc] import static org.hamcrest.CoreMatchers.everyItem;
  [javadoc]                           ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/Assume.java:4: static import only from classes and interfaces
  [javadoc] import static org.hamcrest.CoreMatchers.everyItem;
  [javadoc] ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/Assume.java:5: package org.hamcrest does not exist
  [javadoc] import static org.hamcrest.CoreMatchers.is;
  [javadoc]                           ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/Assume.java:5: static import only from classes and interfaces
  [javadoc] import static org.hamcrest.CoreMatchers.is;
  [javadoc] ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/Assume.java:6: package org.hamcrest does not exist
  [javadoc] import static org.hamcrest.CoreMatchers.notNullValue;
  [javadoc]                           ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/Assume.java:6: static import only from classes and interfaces
  [javadoc] import static org.hamcrest.CoreMatchers.notNullValue;
  [javadoc] ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/Assume.java:7: package org.hamcrest does not exist
  [javadoc] import static org.hamcrest.CoreMatchers.nullValue;
  [javadoc]                           ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/Assume.java:7: static import only from classes and interfaces
  [javadoc] import static org.hamcrest.CoreMatchers.nullValue;
  [javadoc] ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/Assume.java:8: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.Matcher;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/Assume.java:69: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.Assume
  [javadoc]     public static <T> void assumeThat(T actual, Matcher<T> matcher) {
  [javadoc]                                                 ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/experimental/results/ResultMatchers.java:3: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.BaseMatcher;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/experimental/results/ResultMatchers.java:4: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.Description;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/experimental/results/ResultMatchers.java:5: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.Matcher;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/experimental/results/ResultMatchers.java:6: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.TypeSafeMatcher;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/experimental/results/ResultMatchers.java:20: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.experimental.results.ResultMatchers
  [javadoc]     public static Matcher<PrintableResult> isSuccessful() {
  [javadoc]                   ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/experimental/results/ResultMatchers.java:27: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.experimental.results.ResultMatchers
  [javadoc]     public static Matcher<PrintableResult> failureCountIs(final int count) {
  [javadoc]                   ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/experimental/results/ResultMatchers.java:43: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.experimental.results.ResultMatchers
  [javadoc]     public static Matcher<Object> hasSingleFailureContaining(final String string) {
  [javadoc]                   ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/experimental/results/ResultMatchers.java:59: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.experimental.results.ResultMatchers
  [javadoc]     public static Matcher<PrintableResult> hasFailureContaining(final String string) {
  [javadoc]                   ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/AssumptionViolatedException.java:3: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.Description;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/AssumptionViolatedException.java:4: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.Matcher;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/AssumptionViolatedException.java:5: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.SelfDescribing;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/AssumptionViolatedException.java:6: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.StringDescription;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/AssumptionViolatedException.java:8: cannot find symbol
  [javadoc] symbol: class SelfDescribing
  [javadoc] public class AssumptionViolatedException extends RuntimeException implements SelfDescribing {
  [javadoc]                                                                              ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/AssumptionViolatedException.java:13: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.internal.AssumptionViolatedException
  [javadoc]     private final Matcher<?> fMatcher;
  [javadoc]                   ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/AssumptionViolatedException.java:15: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.internal.AssumptionViolatedException
  [javadoc]     public AssumptionViolatedException(Object value, Matcher<?> matcher) {
  [javadoc]                                                      ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/AssumptionViolatedException.java:30: cannot find symbol
  [javadoc] symbol  : class Description
  [javadoc] location: class org.junit.internal.AssumptionViolatedException
  [javadoc]     public void describeTo(Description description) {
  [javadoc]                            ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:3: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.CoreMatchers;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:4: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.Matcher;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:5: package org.hamcrest.core.CombinableMatcher does not exist
  [javadoc] import org.hamcrest.core.CombinableMatcher.CombinableBothMatcher;
  [javadoc]                                           ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:6: package org.hamcrest.core.CombinableMatcher does not exist
  [javadoc] import org.hamcrest.core.CombinableMatcher.CombinableEitherMatcher;
  [javadoc]                                           ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:22: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.matchers.JUnitMatchers
  [javadoc]     public static <T> Matcher<Iterable<? super T>> hasItem(T element) {
  [javadoc]                       ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:33: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.matchers.JUnitMatchers
  [javadoc]     public static <T> Matcher<Iterable<? super T>> hasItem(Matcher<? super T> elementMatcher) {
  [javadoc]                                                            ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:33: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.matchers.JUnitMatchers
  [javadoc]     public static <T> Matcher<Iterable<? super T>> hasItem(Matcher<? super T> elementMatcher) {
  [javadoc]                       ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:44: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.matchers.JUnitMatchers
  [javadoc]     public static <T> Matcher<Iterable<T>> hasItems(T... elements) {
  [javadoc]                       ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:57: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.matchers.JUnitMatchers
  [javadoc]     public static <T> Matcher<Iterable<T>> hasItems(Matcher<? super T>... elementMatchers) {
  [javadoc]                                                     ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:57: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.matchers.JUnitMatchers
  [javadoc]     public static <T> Matcher<Iterable<T>> hasItems(Matcher<? super T>... elementMatchers) {
  [javadoc]                       ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:68: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.matchers.JUnitMatchers
  [javadoc]     public static <T> Matcher<Iterable<T>> everyItem(final Matcher<T> elementMatcher) {
  [javadoc]                                                            ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:68: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.matchers.JUnitMatchers
  [javadoc]     public static <T> Matcher<Iterable<T>> everyItem(final Matcher<T> elementMatcher) {
  [javadoc]                       ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:79: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.matchers.JUnitMatchers
  [javadoc]     public static Matcher<java.lang.String> containsString(java.lang.String substring) {
  [javadoc]                   ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:92: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.matchers.JUnitMatchers
  [javadoc]     public static <T> CombinableBothMatcher<T> both(Matcher<? super T> matcher) {
  [javadoc]                                                     ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:92: cannot find symbol
  [javadoc] symbol  : class CombinableBothMatcher
  [javadoc] location: class org.junit.matchers.JUnitMatchers
  [javadoc]     public static <T> CombinableBothMatcher<T> both(Matcher<? super T> matcher) {
  [javadoc]                       ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:105: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.matchers.JUnitMatchers
  [javadoc]     public static <T> CombinableEitherMatcher<T> either(Matcher<? super T> matcher) {
  [javadoc]                                                         ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:105: cannot find symbol
  [javadoc] symbol  : class CombinableEitherMatcher
  [javadoc] location: class org.junit.matchers.JUnitMatchers
  [javadoc]     public static <T> CombinableEitherMatcher<T> either(Matcher<? super T> matcher) {
  [javadoc]                       ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:114: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.matchers.JUnitMatchers
  [javadoc]     public static <T extends Throwable> Matcher<T> isThrowable(Matcher<T> throwableMatcher) {
  [javadoc]                                                                ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:114: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.matchers.JUnitMatchers
  [javadoc]     public static <T extends Throwable> Matcher<T> isThrowable(Matcher<T> throwableMatcher) {
  [javadoc]                                         ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:123: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.matchers.JUnitMatchers
  [javadoc]     public static <T extends Exception> Matcher<T> isException(Matcher<T> exceptionMatcher) {
  [javadoc]                                                                ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:123: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.matchers.JUnitMatchers
  [javadoc]     public static <T extends Exception> Matcher<T> isException(Matcher<T> exceptionMatcher) {
  [javadoc]                                         ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/rules/ErrorCollector.java:9: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.Matcher;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/rules/ErrorCollector.java:52: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.rules.ErrorCollector
  [javadoc]     public <T> void checkThat(final T value, final Matcher<T> matcher) {
  [javadoc]                                                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/rules/ErrorCollector.java:61: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.rules.ErrorCollector
  [javadoc]     public <T> void checkThat(final String reason, final T value, final Matcher<T> matcher) {
  [javadoc]                                                                         ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/rules/ExpectedException.java:4: package org.hamcrest does not exist
  [javadoc] import static org.hamcrest.CoreMatchers.containsString;
  [javadoc]                           ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/rules/ExpectedException.java:4: static import only from classes and interfaces
  [javadoc] import static org.hamcrest.CoreMatchers.containsString;
  [javadoc] ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/rules/ExpectedException.java:5: package org.hamcrest does not exist
  [javadoc] import static org.hamcrest.CoreMatchers.instanceOf;
  [javadoc]                           ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/rules/ExpectedException.java:5: static import only from classes and interfaces
  [javadoc] import static org.hamcrest.CoreMatchers.instanceOf;
  [javadoc] ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/ThrowableCauseMatcher.java:3: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.Description;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/ThrowableCauseMatcher.java:4: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.Factory;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/ThrowableCauseMatcher.java:5: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.Matcher;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/ThrowableCauseMatcher.java:6: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.TypeSafeMatcher;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/TypeSafeMatcher.java:5: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.BaseMatcher;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/TypeSafeMatcher.java:17: cannot find symbol
  [javadoc] symbol: class BaseMatcher
  [javadoc] public abstract class TypeSafeMatcher<T> extends BaseMatcher<T> {
  [javadoc]                                                  ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/TypeSafeMatcher.java:17: a generic class may not extend java.lang.Throwable
  [javadoc] public abstract class TypeSafeMatcher<T> extends BaseMatcher<T> {
  [javadoc]                                                             ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/ThrowableMessageMatcher.java:3: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.Description;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/ThrowableMessageMatcher.java:4: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.Factory;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/ThrowableMessageMatcher.java:5: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.Matcher;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/ThrowableMessageMatcher.java:6: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.TypeSafeMatcher;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/rules/ExpectedException.java:10: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.Matcher;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/rules/ExpectedException.java:11: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.StringDescription;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/rules/ExpectedExceptionMatcherBuilder.java:3: package org.hamcrest does not exist
  [javadoc] import static org.hamcrest.CoreMatchers.allOf;
  [javadoc]                           ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/rules/ExpectedExceptionMatcherBuilder.java:3: static import only from classes and interfaces
  [javadoc] import static org.hamcrest.CoreMatchers.allOf;
  [javadoc] ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/rules/ExpectedExceptionMatcherBuilder.java:9: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.Matcher;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/rules/ExpectedException.java:121: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.rules.ExpectedException
  [javadoc]     public void expect(Matcher<?> matcher) {
  [javadoc]                        ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/rules/ExpectedException.java:145: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.rules.ExpectedException
  [javadoc]     public void expectMessage(Matcher<String> matcher) {
  [javadoc]                               ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/rules/ExpectedException.java:153: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.rules.ExpectedException
  [javadoc]     public void expectCause(Matcher<? extends Throwable> expectedCause) {
  [javadoc]                             ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/ThrowableCauseMatcher.java:11: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.internal.matchers.ThrowableCauseMatcher<T>
  [javadoc]     private final Matcher<T> fMatcher;
  [javadoc]                   ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/ThrowableCauseMatcher.java:13: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.internal.matchers.ThrowableCauseMatcher<T>
  [javadoc]     public ThrowableCauseMatcher(Matcher<T> matcher) {
  [javadoc]                                  ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/ThrowableCauseMatcher.java:17: cannot find symbol
  [javadoc] symbol  : class Description
  [javadoc] location: class org.junit.internal.matchers.ThrowableCauseMatcher<T>
  [javadoc]     public void describeTo(Description description) {
  [javadoc]                            ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/ThrowableCauseMatcher.java:28: cannot find symbol
  [javadoc] symbol  : class Description
  [javadoc] location: class org.junit.internal.matchers.ThrowableCauseMatcher<T>
  [javadoc]     protected void describeMismatchSafely(T item, Description description) {
  [javadoc]                                                   ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/ThrowableCauseMatcher.java:34: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.internal.matchers.ThrowableCauseMatcher<T>
  [javadoc]     public static <T extends Throwable> Matcher<T> hasCause(final Matcher<T> matcher) {
  [javadoc]                                                                   ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/ThrowableCauseMatcher.java:34: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.internal.matchers.ThrowableCauseMatcher<T>
  [javadoc]     public static <T extends Throwable> Matcher<T> hasCause(final Matcher<T> matcher) {
  [javadoc]                                         ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/ThrowableMessageMatcher.java:11: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.internal.matchers.ThrowableMessageMatcher<T>
  [javadoc]     private final Matcher<String> fMatcher;
  [javadoc]                   ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/ThrowableMessageMatcher.java:13: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.internal.matchers.ThrowableMessageMatcher<T>
  [javadoc]     public ThrowableMessageMatcher(Matcher<String> matcher) {
  [javadoc]                                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/ThrowableMessageMatcher.java:17: cannot find symbol
  [javadoc] symbol  : class Description
  [javadoc] location: class org.junit.internal.matchers.ThrowableMessageMatcher<T>
  [javadoc]     public void describeTo(Description description) {
  [javadoc]                            ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/ThrowableMessageMatcher.java:28: cannot find symbol
  [javadoc] symbol  : class Description
  [javadoc] location: class org.junit.internal.matchers.ThrowableMessageMatcher<T>
  [javadoc]     protected void describeMismatchSafely(T item, Description description) {
  [javadoc]                                                   ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/ThrowableMessageMatcher.java:34: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.internal.matchers.ThrowableMessageMatcher<T>
  [javadoc]     public static <T extends Throwable> Matcher<T> hasMessage(final Matcher<String> matcher) {
  [javadoc]                                                                     ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/ThrowableMessageMatcher.java:34: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.internal.matchers.ThrowableMessageMatcher<T>
  [javadoc]     public static <T extends Throwable> Matcher<T> hasMessage(final Matcher<String> matcher) {
  [javadoc]                                         ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/rules/ExpectedExceptionMatcherBuilder.java:16: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.rules.ExpectedExceptionMatcherBuilder
  [javadoc]     private final List<Matcher<?>> fMatchers= new ArrayList<Matcher<?>>();
  [javadoc]                        ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/rules/ExpectedExceptionMatcherBuilder.java:18: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.rules.ExpectedExceptionMatcherBuilder
  [javadoc]     void add(Matcher<?> matcher) {
  [javadoc]              ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/rules/ExpectedExceptionMatcherBuilder.java:26: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.rules.ExpectedExceptionMatcherBuilder
  [javadoc]     Matcher<Throwable> build() {
  [javadoc]     ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/rules/ExpectedExceptionMatcherBuilder.java:30: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.rules.ExpectedExceptionMatcherBuilder
  [javadoc]     private Matcher<Throwable> allOfTheMatchers() {
  [javadoc]             ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/rules/ExpectedExceptionMatcherBuilder.java:38: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.rules.ExpectedExceptionMatcherBuilder
  [javadoc]     private List<Matcher<? super Throwable>> castedMatchers() {
  [javadoc]                  ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/rules/ExpectedExceptionMatcherBuilder.java:43: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.rules.ExpectedExceptionMatcherBuilder
  [javadoc]     private Matcher<Throwable> cast(Matcher<?> singleMatcher) {
  [javadoc]                                     ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/rules/ExpectedExceptionMatcherBuilder.java:43: cannot find symbol
  [javadoc] symbol  : class Matcher
  [javadoc] location: class org.junit.rules.ExpectedExceptionMatcherBuilder
  [javadoc]     private Matcher<Throwable> cast(Matcher<?> singleMatcher) {
  [javadoc]             ^
  [javadoc] Standard Doclet version 1.6.0_33
  [javadoc] Building tree for all the packages and classes...
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/StacktracePrintingMatcher.java:6: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.Description;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/StacktracePrintingMatcher.java:7: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.Factory;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/StacktracePrintingMatcher.java:8: package org.hamcrest does not exist
  [javadoc] import org.hamcrest.Matcher;
  [javadoc]                    ^
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/internal/matchers/StacktracePrintingMatcher.java:15: package org.hamcrest does not exist
  [javadoc]         org.hamcrest.TypeSafeMatcher<T> {
  [javadoc]                     ^
  [javadoc] javadoc: warning - Error fetching URL: http://java.sun.com/javase/6/docs/api/package-list
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/Assert.java:923: warning - Tag @link: reference not found: Matcher
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/Assert.java:923: warning - Tag @see: reference not found: org.hamcrest.CoreMatchers
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/Assert.java:923: warning - Tag @see: reference not found: org.hamcrest.MatcherAssert
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/Assert.java:960: warning - Tag @link: reference not found: Matcher
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/Assert.java:960: warning - Tag @see: reference not found: org.hamcrest.CoreMatchers
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/Assert.java:960: warning - Tag @see: reference not found: org.hamcrest.MatcherAssert
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/Assume.java:69: warning - Tag @link: reference not found: Matcher
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/Assume.java:69: warning - Tag @see: reference not found: org.hamcrest.CoreMatchers
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:92: warning - Tag @link: reference not found: CoreMatchers#both(Matcher)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:79: warning - Tag @link: reference not found: CoreMatchers#containsString(String)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:105: warning - Tag @link: reference not found: CoreMatchers#either(Matcher)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:68: warning - Tag @link: reference not found: CoreMatchers#everyItem(Matcher)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:33: warning - Tag @link: reference not found: CoreMatchers#hasItem(Matcher)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:22: warning - Tag @link: reference not found: CoreMatchers#hasItem(Object)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:57: warning - Tag @link: reference not found: CoreMatchers#hasItems(Matcher...)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:44: warning - Tag @link: reference not found: CoreMatchers#hasItems(Object...)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:22: warning - Tag @link: reference not found: CoreMatchers#hasItem(Object)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:33: warning - Tag @link: reference not found: CoreMatchers#hasItem(Matcher)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:44: warning - Tag @link: reference not found: CoreMatchers#hasItems(Object...)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:57: warning - Tag @link: reference not found: CoreMatchers#hasItems(Matcher...)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:68: warning - Tag @link: reference not found: CoreMatchers#everyItem(Matcher)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:79: warning - Tag @link: reference not found: CoreMatchers#containsString(String)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:92: warning - Tag @link: reference not found: CoreMatchers#both(Matcher)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:105: warning - Tag @link: reference not found: CoreMatchers#either(Matcher)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/package-info.java:9: warning - Tag @link: can't find assertThat(Object, org.hamcrest.Matcher) in org.junit.Assert
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/package-info.java:9: warning - Tag @link: reference not found: org.hamcrest.Matcher
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/package-info.java:9: warning - Tag @link: reference not found: org.hamcrest.Matcher
  [javadoc] Generating /Users/mphilipp/Repositories/junit/junit4.11-SNAPSHOT/javadoc/serialized-form.html...
  [javadoc] Copying file /Users/mphilipp/Repositories/junit/stylesheet.css to file /Users/mphilipp/Repositories/junit/junit4.11-SNAPSHOT/javadoc/stylesheet.css...
  [javadoc] Building index for all the packages and classes...
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:92: warning - Tag @link: reference not found: CoreMatchers#both(Matcher)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:79: warning - Tag @link: reference not found: CoreMatchers#containsString(String)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:105: warning - Tag @link: reference not found: CoreMatchers#either(Matcher)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:68: warning - Tag @link: reference not found: CoreMatchers#everyItem(Matcher)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:22: warning - Tag @link: reference not found: CoreMatchers#hasItem(Object)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:33: warning - Tag @link: reference not found: CoreMatchers#hasItem(Matcher)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:44: warning - Tag @link: reference not found: CoreMatchers#hasItems(Object...)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:57: warning - Tag @link: reference not found: CoreMatchers#hasItems(Matcher...)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/package-info.java:9: warning - Tag @link: reference not found: org.hamcrest.Matcher
  [javadoc] Building index for all classes...
  [javadoc] Generating /Users/mphilipp/Repositories/junit/junit4.11-SNAPSHOT/javadoc/help-doc.html...
  [javadoc] 146 warnings
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:92: warning - Tag @link: reference not found: CoreMatchers#both(Matcher)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:79: warning - Tag @link: reference not found: CoreMatchers#containsString(String)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:105: warning - Tag @link: reference not found: CoreMatchers#either(Matcher)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:68: warning - Tag @link: reference not found: CoreMatchers#everyItem(Matcher)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:33: warning - Tag @link: reference not found: CoreMatchers#hasItem(Matcher)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:22: warning - Tag @link: reference not found: CoreMatchers#hasItem(Object)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:57: warning - Tag @link: reference not found: CoreMatchers#hasItems(Matcher...)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/JUnitMatchers.java:44: warning - Tag @link: reference not found: CoreMatchers#hasItems(Object...)
  [javadoc] /Users/mphilipp/Repositories/junit/src/main/java/org/junit/matchers/package-info.java:9: warning - Tag @link: reference not found: org.hamcrest.Matcher
Owner

marcphilipp commented Aug 18, 2012

Originally reported by @matthewfarwell in #482.

awulder pushed a commit to awulder/junit that referenced this issue Aug 18, 2012

Fix for issue #487
The wrong Harmcrest jar was used in the build.xml for generating the
javadoc.

dsaff added a commit that referenced this issue Aug 20, 2012

Owner

marcphilipp commented Aug 21, 2012

Fixed by #488.

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