On 15/02/2009, Oleg Kalnichevski <[email protected]> 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: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
