You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@continuum.apache.org by Marica Tan <ma...@gmail.com> on 2009/05/23 15:23:58 UTC
Javadoc failed to build in continuum-webapp
All,
While trying to prepare release of 1.3.3, I've encountered a problem.
Javadoc failed to build in continuum-webapp
javadoc: warning - Error!
javadoc: warning - com.sun.tools.javac.code.Symbol$CompletionFailure: file
org/apache/commons/logging/Log.class not found
com.sun.tools.javac.code.Symbol$CompletionFailure: file
org/apache/commons/logging/Log.class not found
Command line was:"cd
/Users/marica/Projects/continuum-1.3.x/continuum-webapp/target/apidocs &&
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc"
@options @packages
Adding a dependency on commons-logging fixes this problem though.
I was wondering why it needs the commons-logging? Does it work for anyone
else?
Should i go ahead and add the commons-logging?
I can't proceed with the release :(
Thanks
--
Marica
Re: Javadoc failed to build in continuum-webapp
Posted by Brett Porter <br...@apache.org>.
That seems to be a bug in the javadoc plugin, it should be using
runtime scope dependencies. The webapp did have that dependency
transitively (see mvn dependency:list with the previous POM). Anyway,
seems the best workaround for now :)
- Brett
On 27/05/2009, at 9:57 PM, Marica Tan wrote:
> It seems the webapp doesn't have a dependency on org.slf4j:jcl-over-
> slf4j. I
> added it and set the scope to runtime but the error is still there.
> Removing the runtime scope however, fixes the problem.
>
>
> Thanks
> --
> Marica
>
> On Tue, May 26, 2009 at 8:32 AM, Brett Porter <br...@apache.org>
> wrote:
>
>> The webapp has org.slf4j:jcl-over-slf4j in it that provides this.
>> Any idea
>> why it wasn't being provided to the javadoc plugin? Maybe because
>> of the
>> runtime scope?
>>
>> - Brett
>>
>>
>> On 24/05/2009, at 2:18 PM, Marica Tan wrote:
>>
>> I added a <excludePackageNames>*.validator</excludePackageNames> in
>>> javadoc
>>> plugin to fix this temporarily.
>>> --
>>> Marica
>>>
>>
>>
Re: Javadoc failed to build in continuum-webapp
Posted by Marica Tan <ma...@gmail.com>.
It seems the webapp doesn't have a dependency on org.slf4j:jcl-over-slf4j. I
added it and set the scope to runtime but the error is still there.
Removing the runtime scope however, fixes the problem.
Thanks
--
Marica
On Tue, May 26, 2009 at 8:32 AM, Brett Porter <br...@apache.org> wrote:
> The webapp has org.slf4j:jcl-over-slf4j in it that provides this. Any idea
> why it wasn't being provided to the javadoc plugin? Maybe because of the
> runtime scope?
>
> - Brett
>
>
> On 24/05/2009, at 2:18 PM, Marica Tan wrote:
>
> I added a <excludePackageNames>*.validator</excludePackageNames> in
>> javadoc
>> plugin to fix this temporarily.
>> --
>> Marica
>>
>
>
Re: Javadoc failed to build in continuum-webapp
Posted by Brett Porter <br...@apache.org>.
The webapp has org.slf4j:jcl-over-slf4j in it that provides this. Any
idea why it wasn't being provided to the javadoc plugin? Maybe because
of the runtime scope?
- Brett
On 24/05/2009, at 2:18 PM, Marica Tan wrote:
> I added a <excludePackageNames>*.validator</excludePackageNames> in
> javadoc
> plugin to fix this temporarily.
> --
> Marica
Re: Javadoc failed to build in continuum-webapp
Posted by Marica Tan <ma...@gmail.com>.
I added a <excludePackageNames>*.validator</excludePackageNames> in javadoc
plugin to fix this temporarily.
--
Marica
On Sun, May 24, 2009 at 11:22 AM, Marica Tan <ma...@gmail.com> wrote:
> I mean package org.apache.maven.continuum.web.validator
>
>
> On Sun, May 24, 2009 at 11:22 AM, Marica Tan <ma...@gmail.com> wrote:
>
>> package org.apache.maven.continuum.web.validators to be exact
>>
>>
>> On Sun, May 24, 2009 at 11:21 AM, Marica Tan <ma...@gmail.com>wrote:
>>
>>> Some classes in webapp extends ValidatorSupport which has imports on
>>> commons-logging
>>>
>>>
>>> On Sun, May 24, 2009 at 10:01 AM, Marica Tan <ma...@gmail.com>wrote:
>>>
>>>> commons-logging is in the banned dependencies
>>>>
>>>>
>>>> On Sat, May 23, 2009 at 9:23 PM, Marica Tan <ma...@gmail.com>wrote:
>>>>
>>>>> All,
>>>>> While trying to prepare release of 1.3.3, I've encountered a problem.
>>>>>
>>>>> Javadoc failed to build in continuum-webapp
>>>>>
>>>>> javadoc: warning - Error!
>>>>> javadoc: warning - com.sun.tools.javac.code.Symbol$CompletionFailure:
>>>>> file org/apache/commons/logging/Log.class not found
>>>>> com.sun.tools.javac.code.Symbol$CompletionFailure: file
>>>>> org/apache/commons/logging/Log.class not found
>>>>>
>>>>> Command line was:"cd
>>>>> /Users/marica/Projects/continuum-1.3.x/continuum-webapp/target/apidocs &&
>>>>> /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc"
>>>>> @options @packages
>>>>>
>>>>>
>>>>> Adding a dependency on commons-logging fixes this problem though.
>>>>>
>>>>> I was wondering why it needs the commons-logging? Does it work for
>>>>> anyone else?
>>>>>
>>>>> Should i go ahead and add the commons-logging?
>>>>>
>>>>> I can't proceed with the release :(
>>>>>
>>>>>
>>>>> Thanks
>>>>> --
>>>>> Marica
>>>>>
>>>>
>>>>
>>>
>>
>
Re: Javadoc failed to build in continuum-webapp
Posted by Marica Tan <ma...@gmail.com>.
I mean package org.apache.maven.continuum.web.validator
On Sun, May 24, 2009 at 11:22 AM, Marica Tan <ma...@gmail.com> wrote:
> package org.apache.maven.continuum.web.validators to be exact
>
>
> On Sun, May 24, 2009 at 11:21 AM, Marica Tan <ma...@gmail.com> wrote:
>
>> Some classes in webapp extends ValidatorSupport which has imports on
>> commons-logging
>>
>>
>> On Sun, May 24, 2009 at 10:01 AM, Marica Tan <ma...@gmail.com>wrote:
>>
>>> commons-logging is in the banned dependencies
>>>
>>>
>>> On Sat, May 23, 2009 at 9:23 PM, Marica Tan <ma...@gmail.com>wrote:
>>>
>>>> All,
>>>> While trying to prepare release of 1.3.3, I've encountered a problem.
>>>>
>>>> Javadoc failed to build in continuum-webapp
>>>>
>>>> javadoc: warning - Error!
>>>> javadoc: warning - com.sun.tools.javac.code.Symbol$CompletionFailure:
>>>> file org/apache/commons/logging/Log.class not found
>>>> com.sun.tools.javac.code.Symbol$CompletionFailure: file
>>>> org/apache/commons/logging/Log.class not found
>>>>
>>>> Command line was:"cd
>>>> /Users/marica/Projects/continuum-1.3.x/continuum-webapp/target/apidocs &&
>>>> /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc"
>>>> @options @packages
>>>>
>>>>
>>>> Adding a dependency on commons-logging fixes this problem though.
>>>>
>>>> I was wondering why it needs the commons-logging? Does it work for
>>>> anyone else?
>>>>
>>>> Should i go ahead and add the commons-logging?
>>>>
>>>> I can't proceed with the release :(
>>>>
>>>>
>>>> Thanks
>>>> --
>>>> Marica
>>>>
>>>
>>>
>>
>
Re: Javadoc failed to build in continuum-webapp
Posted by Marica Tan <ma...@gmail.com>.
package org.apache.maven.continuum.web.validators to be exact
On Sun, May 24, 2009 at 11:21 AM, Marica Tan <ma...@gmail.com> wrote:
> Some classes in webapp extends ValidatorSupport which has imports on
> commons-logging
>
>
> On Sun, May 24, 2009 at 10:01 AM, Marica Tan <ma...@gmail.com> wrote:
>
>> commons-logging is in the banned dependencies
>>
>>
>> On Sat, May 23, 2009 at 9:23 PM, Marica Tan <ma...@gmail.com> wrote:
>>
>>> All,
>>> While trying to prepare release of 1.3.3, I've encountered a problem.
>>>
>>> Javadoc failed to build in continuum-webapp
>>>
>>> javadoc: warning - Error!
>>> javadoc: warning - com.sun.tools.javac.code.Symbol$CompletionFailure:
>>> file org/apache/commons/logging/Log.class not found
>>> com.sun.tools.javac.code.Symbol$CompletionFailure: file
>>> org/apache/commons/logging/Log.class not found
>>>
>>> Command line was:"cd
>>> /Users/marica/Projects/continuum-1.3.x/continuum-webapp/target/apidocs &&
>>> /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc"
>>> @options @packages
>>>
>>>
>>> Adding a dependency on commons-logging fixes this problem though.
>>>
>>> I was wondering why it needs the commons-logging? Does it work for anyone
>>> else?
>>>
>>> Should i go ahead and add the commons-logging?
>>>
>>> I can't proceed with the release :(
>>>
>>>
>>> Thanks
>>> --
>>> Marica
>>>
>>
>>
>
Re: Javadoc failed to build in continuum-webapp
Posted by Marica Tan <ma...@gmail.com>.
Some classes in webapp extends ValidatorSupport which has imports on
commons-logging
On Sun, May 24, 2009 at 10:01 AM, Marica Tan <ma...@gmail.com> wrote:
> commons-logging is in the banned dependencies
>
>
> On Sat, May 23, 2009 at 9:23 PM, Marica Tan <ma...@gmail.com> wrote:
>
>> All,
>> While trying to prepare release of 1.3.3, I've encountered a problem.
>>
>> Javadoc failed to build in continuum-webapp
>>
>> javadoc: warning - Error!
>> javadoc: warning - com.sun.tools.javac.code.Symbol$CompletionFailure: file
>> org/apache/commons/logging/Log.class not found
>> com.sun.tools.javac.code.Symbol$CompletionFailure: file
>> org/apache/commons/logging/Log.class not found
>>
>> Command line was:"cd
>> /Users/marica/Projects/continuum-1.3.x/continuum-webapp/target/apidocs &&
>> /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc"
>> @options @packages
>>
>>
>> Adding a dependency on commons-logging fixes this problem though.
>>
>> I was wondering why it needs the commons-logging? Does it work for anyone
>> else?
>>
>> Should i go ahead and add the commons-logging?
>>
>> I can't proceed with the release :(
>>
>>
>> Thanks
>> --
>> Marica
>>
>
>
Re: Javadoc failed to build in continuum-webapp
Posted by Marica Tan <ma...@gmail.com>.
commons-logging is in the banned dependencies
On Sat, May 23, 2009 at 9:23 PM, Marica Tan <ma...@gmail.com> wrote:
> All,
> While trying to prepare release of 1.3.3, I've encountered a problem.
>
> Javadoc failed to build in continuum-webapp
>
> javadoc: warning - Error!
> javadoc: warning - com.sun.tools.javac.code.Symbol$CompletionFailure: file
> org/apache/commons/logging/Log.class not found
> com.sun.tools.javac.code.Symbol$CompletionFailure: file
> org/apache/commons/logging/Log.class not found
>
> Command line was:"cd
> /Users/marica/Projects/continuum-1.3.x/continuum-webapp/target/apidocs &&
> /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc"
> @options @packages
>
>
> Adding a dependency on commons-logging fixes this problem though.
>
> I was wondering why it needs the commons-logging? Does it work for anyone
> else?
>
> Should i go ahead and add the commons-logging?
>
> I can't proceed with the release :(
>
>
> Thanks
> --
> Marica
>