OfficeDev / ews-java-api

A java client library to access Exchange web services. The API works against Office 365 Exchange Online as well as on premises Exchange.
MIT License
869 stars 560 forks source link

javadoc warnings when compiling site #229

Open vboctor opened 9 years ago

vboctor commented 9 years ago

[WARNING] Javadoc Warnings [WARNING] /Users/vboctor/java/ews-java-api/src/test/java/microsoft/exchange/webservices/data/BaseTest.java:39: error: cannot find symbol [WARNING] protected static ExchangeServiceBase exchangeServiceBaseMock; [WARNING] ^ [WARNING] symbol: class ExchangeServiceBase [WARNING] location: class BaseTest [WARNING] /Users/vboctor/java/ews-java-api/src/test/java/microsoft/exchange/webservices/data/BaseTest.java:44: error: cannot find symbol [WARNING] protected static ExchangeService exchangeServiceMock; [WARNING] ^ [WARNING] symbol: class ExchangeService [WARNING] location: class BaseTest [WARNING] /Users/vboctor/java/ews-java-api/src/test/java/microsoft/exchange/webservices/data/GetUserSettingsRequestTest.java:50: error: cannot find symbol [WARNING] private final ExchangeVersion exchangeVersion; [WARNING] ^ [WARNING] symbol: class ExchangeVersion [WARNING] location: class GetUserSettingsRequestTest [WARNING] /Users/vboctor/java/ews-java-api/src/test/java/microsoft/exchange/webservices/data/GetUserSettingsRequestTest.java:55: error: cannot find symbol [WARNING] private final AutodiscoverService autodiscoverService; [WARNING] ^ [WARNING] symbol: class AutodiscoverService [WARNING] location: class GetUserSettingsRequestTest [WARNING] /Users/vboctor/java/ews-java-api/src/test/java/microsoft/exchange/webservices/data/GetUserSettingsRequestTest.java:74: error: cannot find symbol [WARNING] public static List<Object[]> getAutodiscoverServices() throws ArgumentException { [WARNING] ^ [WARNING] symbol: class ArgumentException [WARNING] location: class GetUserSettingsRequestTest [WARNING] /Users/vboctor/java/ews-java-api/src/test/java/microsoft/exchange/webservices/data/GetUserSettingsRequestTest.java:96: error: cannot find symbol [WARNING] public GetUserSettingsRequestTest(final ExchangeVersion exchangeVersion, [WARNING] ^ [WARNING] symbol: class ExchangeVersion [WARNING] location: class GetUserSettingsRequestTest [WARNING] /Users/vboctor/java/ews-java-api/src/test/java/microsoft/exchange/webservices/data/GetUserSettingsRequestTest.java:97: error: cannot find symbol [WARNING] final AutodiscoverService autodiscoverService) { [WARNING] ^ [WARNING] symbol: class AutodiscoverService [WARNING] location: class GetUserSettingsRequestTest [WARNING] /Users/vboctor/java/ews-java-api/src/test/java/microsoft/exchange/webservices/data/GetUserSettingsRequestTest.java:122: error: cannot find symbol [WARNING] throws ServiceValidationException, XMLStreamException, ServiceXmlSerializationException { [WARNING] ^ [WARNING] symbol: class ServiceValidationException [WARNING] location: class GetUserSettingsRequestTest [WARNING] /Users/vboctor/java/ews-java-api/src/test/java/microsoft/exchange/webservices/data/GetUserSettingsRequestTest.java:122: error: cannot find symbol [WARNING] throws ServiceValidationException, XMLStreamException, ServiceXmlSerializationException { [WARNING] ^ [WARNING] symbol: class ServiceXmlSerializationException [WARNING] location: class GetUserSettingsRequestTest [WARNING] /Users/vboctor/java/ews-java-api/src/test/java/microsoft/exchange/webservices/data/GetUserSettingsRequestTest.java:156: error: cannot find symbol [WARNING] throws ServiceValidationException, XMLStreamException, ServiceXmlSerializationException { [WARNING] ^ [WARNING] symbol: class ServiceValidationException [WARNING] location: class GetUserSettingsRequestTest [WARNING] /Users/vboctor/java/ews-java-api/src/test/java/microsoft/exchange/webservices/data/GetUserSettingsRequestTest.java:156: error: cannot find symbol [WARNING] throws ServiceValidationException, XMLStreamException, ServiceXmlSerializationException { [WARNING] ^ [WARNING] symbol: class ServiceXmlSerializationException [WARNING] location: class GetUserSettingsRequestTest [WARNING] /Users/vboctor/java/ews-java-api/src/test/java/microsoft/exchange/webservices/data/GetUserSettingsRequestTest.java:181: error: cannot find symbol [WARNING] throws ServiceValidationException, XMLStreamException, ServiceXmlSerializationException { [WARNING] ^ [WARNING] symbol: class ServiceValidationException [WARNING] location: class GetUserSettingsRequestTest [WARNING] /Users/vboctor/java/ews-java-api/src/test/java/microsoft/exchange/webservices/data/GetUserSettingsRequestTest.java:181: error: cannot find symbol [WARNING] throws ServiceValidationException, XMLStreamException, ServiceXmlSerializationException { [WARNING] ^ [WARNING] symbol: class ServiceXmlSerializationException [WARNING] location: class GetUserSettingsRequestTest [WARNING] /Users/vboctor/java/ews-java-api/src/test/java/microsoft/exchange/webservices/data/TaskTest.java:46: error: cannot find symbol [WARNING] private Task taskMock; [WARNING] ^ [WARNING] symbol: class Task [WARNING] location: class TaskTest [WARNING] /Users/vboctor/java/ews-java-api/src/test/java/microsoft/exchange/webservices/data/UserConfigurationDictionaryTest.java:45: error: cannot find symbol [WARNING] protected UserConfigurationDictionary userConfigurationDictionary; [WARNING] ^ [WARNING] symbol: class UserConfigurationDictionary [WARNING] location: class UserConfigurationDictionaryTest [WARNING] /Users/vboctor/java/ews-java-api/src/test/java/microsoft/exchange/webservices/data/util/DateTimeParserTest.java:42: error: cannot find symbol [WARNING] private DateTimeParser parser; [WARNING] ^ [WARNING] symbol: class DateTimeParser [WARNING] location: class DateTimeParserTest [WARNING] /Users/vboctor/java/ews-java-api/src/test/java/microsoft/exchange/webservices/data/ExtendedPropertyCollectionTest.java:42: error: cannot find symbol [WARNING] @Test(expected=ArgumentException.class) [WARNING] ^ [WARNING] symbol: class ArgumentException [WARNING] location: class ExtendedPropertyCollectionTest [WARNING] /Users/vboctor/java/ews-java-api/src/test/java/microsoft/exchange/webservices/data/GetUserSettingsRequestTest.java:179: error: cannot find symbol [WARNING] @Test(expected = ServiceValidationException.class) [WARNING] ^ [WARNING] symbol: class ServiceValidationException [WARNING] location: class GetUserSettingsRequestTest [WARNING] /Users/vboctor/java/ews-java-api/src/test/java/microsoft/exchange/webservices/data/PropertyBagTest.java:39: error: cannot find symbol [WARNING] @Test(expected=ArgumentException.class) [WARNING] ^ [WARNING] symbol: class ArgumentException [WARNING] location: class PropertyBagTest [WARNING] /Users/vboctor/java/ews-java-api/src/test/java/microsoft/exchange/webservices/data/TaskTest.java:63: error: cannot find symbol [WARNING] @Test(expected = ServiceObjectPropertyException.class) [WARNING] ^ [WARNING] symbol: class ServiceObjectPropertyException [WARNING] location: class TaskTest [WARNING] /Users/vboctor/java/ews-java-api/src/test/java/microsoft/exchange/webservices/data/UserConfigurationDictionaryTest.java:58: error: cannot find symbol [WARNING] @Test(expected = ServiceLocalException.class) [WARNING] ^ [WARNING] symbol: class ServiceLocalException [WARNING] location: class UserConfigurationDictionaryTest

serious6 commented 9 years ago

hmm I think these ones are generated because the scope of junit is set to test.

vbauer commented 9 years ago

It should be fixed in the next version of maven-javadoc-plugin (2.10.3): https://jira.codehaus.org/browse/MJAVADOC-414

vbauer commented 9 years ago

I've just sent PR to fix it: https://github.com/OfficeDev/ews-java-api/pull/329

serious6 commented 9 years ago

:+1: