You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by sebb <se...@gmail.com> on 2009/02/15 00:16:41 UTC

Building site - clover license expired & cannot find httpcore jar

Just tried "mvn site" in order to try and generate the javadocs, and
the build failed with a message that the Clover license had expired:

Clover Version 1.3.13, built on September 04 2006
loaded from: <snip/>\.m2\repository\com\cenqua\clover\clover\1.3.13\clover-1.3.13.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] This license has now expired.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.RuntimeException: This license has now expired.

Is this a known problem?
If so, what is the solution please?

==

I commented out the Clover plugin, and this allowed "mvn site" to continue.
However, it then fell over with:

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.httpcomponents:httpcore:jar:4.0-beta4-SNAPSHOT


I assume I must have failed to use the correct Maven command-line - help!

==

I think it might be useful to add details of how to build the site to
BUILDING.txt.

S///

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Re: Building site - clover license expired & cannot find httpcore jar

Posted by Oleg Kalnichevski <ol...@apache.org>.
sebb wrote:
> On 15/02/2009, Oleg Kalnichevski <ol...@apache.org> wrote:
>> sebb wrote:
>>
>>> On 15/02/2009, sebb <se...@gmail.com> wrote:
>>>
>>>> On 15/02/2009, Oleg Kalnichevski <ol...@apache.org> wrote:
>>>>  > Oleg Kalnichevski wrote:
>>>>  >
>>>>  > > sebb wrote:
>>>>  > >
>>>>  > > > On 15/02/2009, Oleg Kalnichevski <ol...@apache.org> wrote:
>>>>  > > >
>>>>  > >
>>>>  >
>>>>  >  ...
>>>>  >
>>>>  >
>>>>  > >
>>>>  > > >
>>>>  > > > >  I'll update the HC release process Wiki page tomorrow to
>> include this
>>>>  > > > > information unless you beat me to it
>>>>  > > > >
>>>>  > > > >
>>>>  >
>> http://wiki.apache.org/HttpComponents/HttpComponentsCoreReleaseProcess
>>>>  > > > >
>>>>  > > >
>>>>  > > > What about BUILDING.txt?
>>>>  > > >
>>>>  > > > It does not need full details of doing a release, but IMO it
>> would be
>>>>  > > > useful to describe how to at least build the documentation.
>>>>  > > >
>>>>  > > >
>>>>  > >
>>>>  >
>>>>  >  Done. Please review
>>>>  >
>>>>
>>>>
>>>> Looks good.
>>>>
>>>>
>>> Spoke too soon, "mvn site" gives:
>>>
>>> Missing:
>>> ----------
>>> 1)
>> org.apache.httpcomponents:httpcore:jar:4.0-beta4-SNAPSHOT
>>> I don't know if that is because of the test failure.
>>>
>>>
>>  I believe so.
> 
> I've just done another test, and javadoc:javadoc fails for me with
> 
> Missing:
> ----------
> 1) org.apache.httpcomponents:httpcore:jar:4.0-beta4-SNAPSHOT
> 
> even though the test worked.
> 

Well, I guess you need to run 'mvn install' first, or better 'mvn clean 
install'

We all love maven, don't we?


>>  All test cases pass for me. Tested on a Win and a Ubuntu system. NIO test
>> cases can fail if the host is very busy doing something else because most of
>> them have some arbitrary execution timeout.
> 
> Ah, that could be it. I've just paused the background AV check, and
> the tests now work fine on WinXP, which is a relief!
> 
>>  Can the failure be reproduced reliably?
> 
> Seems so - I just resumed the AV check and the test failed again, this
> time with:
> 
> junit.framework.AssertionFailedError: expected:<0> but was:<5>
> 
> Previously I also had Eclipse churning away as well, which possibly
> explains why there were 10 left.
> 

Yep, this does explain the problem.

Cheers

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Re: Building site - clover license expired & cannot find httpcore jar

Posted by sebb <se...@gmail.com>.
On 15/02/2009, Oleg Kalnichevski <ol...@apache.org> wrote:
> sebb wrote:
>
> > On 15/02/2009, sebb <se...@gmail.com> wrote:
> >
> > > On 15/02/2009, Oleg Kalnichevski <ol...@apache.org> wrote:
> > >  > Oleg Kalnichevski wrote:
> > >  >
> > >  > > sebb wrote:
> > >  > >
> > >  > > > On 15/02/2009, Oleg Kalnichevski <ol...@apache.org> wrote:
> > >  > > >
> > >  > >
> > >  >
> > >  >  ...
> > >  >
> > >  >
> > >  > >
> > >  > > >
> > >  > > > >  I'll update the HC release process Wiki page tomorrow to
> include this
> > >  > > > > information unless you beat me to it
> > >  > > > >
> > >  > > > >
> > >  >
> http://wiki.apache.org/HttpComponents/HttpComponentsCoreReleaseProcess
> > >  > > > >
> > >  > > >
> > >  > > > What about BUILDING.txt?
> > >  > > >
> > >  > > > It does not need full details of doing a release, but IMO it
> would be
> > >  > > > useful to describe how to at least build the documentation.
> > >  > > >
> > >  > > >
> > >  > >
> > >  >
> > >  >  Done. Please review
> > >  >
> > >
> > >
> > > Looks good.
> > >
> > >
> >
> > Spoke too soon, "mvn site" gives:
> >
> > Missing:
> > ----------
> > 1)
> org.apache.httpcomponents:httpcore:jar:4.0-beta4-SNAPSHOT
> >
> > I don't know if that is because of the test failure.
> >
> >
>
>  I believe so.

I've just done another test, and javadoc:javadoc fails for me with

Missing:
----------
1) org.apache.httpcomponents:httpcore:jar:4.0-beta4-SNAPSHOT

even though the test worked.

>  All test cases pass for me. Tested on a Win and a Ubuntu system. NIO test
> cases can fail if the host is very busy doing something else because most of
> them have some arbitrary execution timeout.

Ah, that could be it. I've just paused the background AV check, and
the tests now work fine on WinXP, which is a relief!

>  Can the failure be reproduced reliably?

Seems so - I just resumed the AV check and the test failed again, this
time with:

junit.framework.AssertionFailedError: expected:<0> but was:<5>

Previously I also had Eclipse churning away as well, which possibly
explains why there were 10 left.

>  Oleg
>
>
>
> >
> > >  >  Oleg
> > >  >
> > >  >
> > >  >
> > >  >
> > >  >
> > >  >
> ---------------------------------------------------------------------
> > >  >  To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> > >  >  For additional commands, e-mail: dev-help@hc.apache.org
> > >  >
> > >  >
> > >
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> > For additional commands, e-mail: dev-help@hc.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
>  For additional commands, e-mail: dev-help@hc.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Re: Building site - clover license expired & cannot find httpcore jar

Posted by Oleg Kalnichevski <ol...@apache.org>.
sebb wrote:
> On 15/02/2009, sebb <se...@gmail.com> wrote:
>> On 15/02/2009, Oleg Kalnichevski <ol...@apache.org> wrote:
>>  > Oleg Kalnichevski wrote:
>>  >
>>  > > sebb wrote:
>>  > >
>>  > > > On 15/02/2009, Oleg Kalnichevski <ol...@apache.org> wrote:
>>  > > >
>>  > >
>>  >
>>  >  ...
>>  >
>>  >
>>  > >
>>  > > >
>>  > > > >  I'll update the HC release process Wiki page tomorrow to include this
>>  > > > > information unless you beat me to it
>>  > > > >
>>  > > > >
>>  > http://wiki.apache.org/HttpComponents/HttpComponentsCoreReleaseProcess
>>  > > > >
>>  > > >
>>  > > > What about BUILDING.txt?
>>  > > >
>>  > > > It does not need full details of doing a release, but IMO it would be
>>  > > > useful to describe how to at least build the documentation.
>>  > > >
>>  > > >
>>  > >
>>  >
>>  >  Done. Please review
>>  >
>>
>>
>> Looks good.
>>
> 
> Spoke too soon, "mvn site" gives:
> 
> Missing:
> ----------
> 1) org.apache.httpcomponents:httpcore:jar:4.0-beta4-SNAPSHOT
> 
> I don't know if that is because of the test failure.
> 

I believe so.

All test cases pass for me. Tested on a Win and a Ubuntu system. NIO 
test cases can fail if the host is very busy doing something else 
because most of them have some arbitrary execution timeout.

Can the failure be reproduced reliably?

Oleg

>>  >  Oleg
>>  >
>>  >
>>  >
>>  >
>>  >
>>  > ---------------------------------------------------------------------
>>  >  To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
>>  >  For additional commands, e-mail: dev-help@hc.apache.org
>>  >
>>  >
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> For additional commands, e-mail: dev-help@hc.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Re: Building site - clover license expired & cannot find httpcore jar

Posted by sebb <se...@gmail.com>.
On 15/02/2009, sebb <se...@gmail.com> wrote:
> On 15/02/2009, Oleg Kalnichevski <ol...@apache.org> wrote:
>  > Oleg Kalnichevski wrote:
>  >
>  > > sebb wrote:
>  > >
>  > > > On 15/02/2009, Oleg Kalnichevski <ol...@apache.org> wrote:
>  > > >
>  > >
>  >
>  >  ...
>  >
>  >
>  > >
>  > > >
>  > > > >  I'll update the HC release process Wiki page tomorrow to include this
>  > > > > information unless you beat me to it
>  > > > >
>  > > > >
>  > http://wiki.apache.org/HttpComponents/HttpComponentsCoreReleaseProcess
>  > > > >
>  > > >
>  > > > What about BUILDING.txt?
>  > > >
>  > > > It does not need full details of doing a release, but IMO it would be
>  > > > useful to describe how to at least build the documentation.
>  > > >
>  > > >
>  > >
>  >
>  >  Done. Please review
>  >
>
>
> Looks good.
>

Spoke too soon, "mvn site" gives:

Missing:
----------
1) org.apache.httpcomponents:httpcore:jar:4.0-beta4-SNAPSHOT

I don't know if that is because of the test failure.

>  >  Oleg
>  >
>  >
>  >
>  >
>  >
>  > ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
>  >  For additional commands, e-mail: dev-help@hc.apache.org
>  >
>  >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Re: Building site - clover license expired & cannot find httpcore jar

Posted by sebb <se...@gmail.com>.
On 15/02/2009, Oleg Kalnichevski <ol...@apache.org> wrote:
> Oleg Kalnichevski wrote:
>
> > sebb wrote:
> >
> > > On 15/02/2009, Oleg Kalnichevski <ol...@apache.org> wrote:
> > >
> >
>
>  ...
>
>
> >
> > >
> > > >  I'll update the HC release process Wiki page tomorrow to include this
> > > > information unless you beat me to it
> > > >
> > > >
> http://wiki.apache.org/HttpComponents/HttpComponentsCoreReleaseProcess
> > > >
> > >
> > > What about BUILDING.txt?
> > >
> > > It does not need full details of doing a release, but IMO it would be
> > > useful to describe how to at least build the documentation.
> > >
> > >
> >
>
>  Done. Please review
>

Looks good.

>  Oleg
>
>
>
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
>  For additional commands, e-mail: dev-help@hc.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Re: Building site - clover license expired & cannot find httpcore jar

Posted by Oleg Kalnichevski <ol...@apache.org>.
Oleg Kalnichevski wrote:
> sebb wrote:
>> On 15/02/2009, Oleg Kalnichevski <ol...@apache.org> wrote:

...

>>>  I'll update the HC release process Wiki page tomorrow to include this
>>> information unless you beat me to it
>>>
>>> http://wiki.apache.org/HttpComponents/HttpComponentsCoreReleaseProcess
>>
>> What about BUILDING.txt?
>>
>> It does not need full details of doing a release, but IMO it would be
>> useful to describe how to at least build the documentation.
>>

Done. Please review

Oleg





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Re: Building site - clover license expired & cannot find httpcore jar

Posted by Oleg Kalnichevski <ol...@apache.org>.
sebb wrote:
> On 15/02/2009, Oleg Kalnichevski <ol...@apache.org> wrote:
>> sebb wrote:
>>
>>> Just tried "mvn site" in order to try and generate the javadocs, and
>>> the build failed with a message that the Clover license had expired:
>>>
>>> Clover Version 1.3.13, built on September 04 2006
>>> loaded from:
>> <snip/>\.m2\repository\com\cenqua\clover\clover\1.3.13\clover-1.3.13.jar
>>> [INFO]
>> ------------------------------------------------------------------------
>>> [ERROR] FATAL ERROR
>>> [INFO]
>> ------------------------------------------------------------------------
>>> [INFO] This license has now expired.
>>> [INFO]
>> ------------------------------------------------------------------------
>>> [INFO] Trace
>>> java.lang.RuntimeException: This license has now expired.
>>>
>>> Is this a known problem?
>>> If so, what is the solution please?
>>>
>>> ==
>>>
>>> I commented out the Clover plugin, and this allowed "mvn site" to
>> continue.
>>> However, it then fell over with:
>>>
>>> [ERROR] BUILD ERROR
>>> [INFO]
>> ------------------------------------------------------
>>> [INFO] Failed to resolve artifact.
>>>
>>> Missing:
>>> ----------
>>> 1)
>> org.apache.httpcomponents:httpcore:jar:4.0-beta4-SNAPSHOT
>>>
>>> I assume I must have failed to use the correct Maven command-line - help!
>>>
>>> ==
>>>
>>> I think it might be useful to add details of how to build the site to
>>> BUILDING.txt.
>>>
>>> S///
>>>
>>>
>>  Ain't Maven fun?
> 
> No ;-)
> 

Maven is a reasonable build tool for complex projects but beyond that it 
is ... well ... what we all have come to like it for.


>>  Both problems are known maven quirks.
>>
>>  (1) Make sure to have run 'mvn install' before generating the site.
> 
> I thought I had tried that; obviously not as it works now.
> 
>>  (2) Check out clover 1.3.2 license from the following location
>>
>> https://svn.apache.org/repos/private/committers/donated-licenses/clover/1.3.2/
>>
>>  (3) Run 'mvn site -Dclover.license=<path>/clover.license'
>>
>>  where path is the local copy of the directory above
>>
>>  This should resolve the issue with clover
> 
> Yes, it does - thanks!
> 
>>  I'll update the HC release process Wiki page tomorrow to include this
>> information unless you beat me to it
>>
>> http://wiki.apache.org/HttpComponents/HttpComponentsCoreReleaseProcess
> 
> What about BUILDING.txt?
> 
> It does not need full details of doing a release, but IMO it would be
> useful to describe how to at least build the documentation.
> 

I'll take care of that.

Oleg

> Maybe it could reference the Wiki?
> 
>>  Cheers
>>
>>  Oleg
>>
>>
>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
>>> For additional commands, e-mail: dev-help@hc.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
>>  For additional commands, e-mail: dev-help@hc.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> For additional commands, e-mail: dev-help@hc.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Re: Building site - clover license expired & cannot find httpcore jar

Posted by sebb <se...@gmail.com>.
On 15/02/2009, Oleg Kalnichevski <ol...@apache.org> wrote:
> sebb wrote:
>
> > Just tried "mvn site" in order to try and generate the javadocs, and
> > the build failed with a message that the Clover license had expired:
> >
> > Clover Version 1.3.13, built on September 04 2006
> > loaded from:
> <snip/>\.m2\repository\com\cenqua\clover\clover\1.3.13\clover-1.3.13.jar
> > [INFO]
> ------------------------------------------------------------------------
> > [ERROR] FATAL ERROR
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO] This license has now expired.
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO] Trace
> > java.lang.RuntimeException: This license has now expired.
> >
> > Is this a known problem?
> > If so, what is the solution please?
> >
> > ==
> >
> > I commented out the Clover plugin, and this allowed "mvn site" to
> continue.
> > However, it then fell over with:
> >
> > [ERROR] BUILD ERROR
> > [INFO]
> ------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> > Missing:
> > ----------
> > 1)
> org.apache.httpcomponents:httpcore:jar:4.0-beta4-SNAPSHOT
> >
> >
> > I assume I must have failed to use the correct Maven command-line - help!
> >
> > ==
> >
> > I think it might be useful to add details of how to build the site to
> > BUILDING.txt.
> >
> > S///
> >
> >
>
>  Ain't Maven fun?

No ;-)

>  Both problems are known maven quirks.
>
>  (1) Make sure to have run 'mvn install' before generating the site.

I thought I had tried that; obviously not as it works now.

>  (2) Check out clover 1.3.2 license from the following location
>
> https://svn.apache.org/repos/private/committers/donated-licenses/clover/1.3.2/
>
>  (3) Run 'mvn site -Dclover.license=<path>/clover.license'
>
>  where path is the local copy of the directory above
>
>  This should resolve the issue with clover

Yes, it does - thanks!

>  I'll update the HC release process Wiki page tomorrow to include this
> information unless you beat me to it
>
> http://wiki.apache.org/HttpComponents/HttpComponentsCoreReleaseProcess

What about BUILDING.txt?

It does not need full details of doing a release, but IMO it would be
useful to describe how to at least build the documentation.

Maybe it could reference the Wiki?

>  Cheers
>
>  Oleg
>
>
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> > For additional commands, e-mail: dev-help@hc.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
>  For additional commands, e-mail: dev-help@hc.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Re: Building site - clover license expired & cannot find httpcore jar

Posted by Oleg Kalnichevski <ol...@apache.org>.
sebb wrote:
> Just tried "mvn site" in order to try and generate the javadocs, and
> the build failed with a message that the Clover license had expired:
> 
> Clover Version 1.3.13, built on September 04 2006
> loaded from: <snip/>\.m2\repository\com\cenqua\clover\clover\1.3.13\clover-1.3.13.jar
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] This license has now expired.
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.RuntimeException: This license has now expired.
> 
> Is this a known problem?
> If so, what is the solution please?
> 
> ==
> 
> I commented out the Clover plugin, and this allowed "mvn site" to continue.
> However, it then fell over with:
> 
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1) org.apache.httpcomponents:httpcore:jar:4.0-beta4-SNAPSHOT
> 
> 
> I assume I must have failed to use the correct Maven command-line - help!
> 
> ==
> 
> I think it might be useful to add details of how to build the site to
> BUILDING.txt.
> 
> S///
> 

Ain't Maven fun?

Both problems are known maven quirks.

(1) Make sure to have run 'mvn install' before generating the site.

(2) Check out clover 1.3.2 license from the following location

https://svn.apache.org/repos/private/committers/donated-licenses/clover/1.3.2/

(3) Run 'mvn site -Dclover.license=<path>/clover.license'

where path is the local copy of the directory above

This should resolve the issue with clover

I'll update the HC release process Wiki page tomorrow to include this 
information unless you beat me to it

http://wiki.apache.org/HttpComponents/HttpComponentsCoreReleaseProcess

Cheers

Oleg

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> For additional commands, e-mail: dev-help@hc.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org