hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: New release tools / release manager for HttpClient 4.3.2?
Date Sun, 19 Jan 2014 17:30:15 GMT
On Sun, 2014-01-19 at 12:15 -0500, Gary Gregory wrote:

...

> gradlew -q generateFullWebSite
> 
> gives me:
> 
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR]   The project org.apache.httpcomponents:website:1-SNAPSHOT
> (C:\temp\rc\release-httpclient-4.3.2\build\repos-asf-httpcomponents-project-website-trunk\pom.xml)
> has 1 error
> [ERROR]     Non-resolvable parent POM: Could not find artifact
> org.apache.httpcomponents:project:pom:8-SNAPSHOT and 'parent.relativePath'
> points at wrong local POM @ line 28, colum
> n 11 -> [Help 2]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> [ERROR] [Help 2]
> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
> 
> FAILURE: Build failed with an exception.
> 
> * Where:
> Build file 'C:\temp\rc\release-httpclient-4.3.2\build.gradle' line: 794
> 
> * What went wrong:
> Execution failed for task ':generateMainWebsite'.
> > Process 'command 'C:\Program Files\Java\jdk1.7.0_51\bin\java.exe''
> finished with non-zero exit value 1
> 
> Sounds like:
> - a snapshot needs to be turned into a release, or
> - a snapshot needs to be pushed out, or
> - or I need to install this POM locally, or
> - ?
> 

There are two ways to fix it

(1) Revert project-website pom [1] to use project release 7 [2]. Run
'gradlew updateMainWebsite' to pick up the latest code.

(2) Checkout project trunk (8-SNAPSHOT) [3] and install it locally by
running 'mvn install -N'

After any of these actions run 'generateMainWebsite' task should execute
successfully.

Oleg

[1]
http://svn.apache.org/repos/asf/httpcomponents/project-website/trunk/pom.xml
[2] http://svn.apache.org/repos/asf/httpcomponents/project/tags/7/
[3] http://svn.apache.org/repos/asf/httpcomponents/project/trunk/



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


Mime
View raw message