Page 3 of 3

Re: Forge version 1.5.34

PostPosted: 31 Jan 2015, 15:42
by Chris H.
My efforts to do a beta build and deploy ended in a failure.

Code: Select all
[INFO] [INFO] Reactor Summary:
[INFO] [INFO]
[INFO] [INFO] Forge Parent ....................................... SUCCESS [04:03 min]
[INFO] [INFO] Forge Core ......................................... SUCCESS [02:16 min]
[INFO] [INFO] Forge Game ......................................... SUCCESS [07:00 min]
[INFO] [INFO] Forge AI ........................................... SUCCESS [02:42 min]
[INFO] [INFO] Forge Net .......................................... SUCCESS [ 48.990 s]
[INFO] [INFO] Forge Gui .......................................... SUCCESS [04:09 min]
[INFO] [INFO] Forge .............................................. SKIPPED
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD SUCCESS
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 25:37 min
[INFO] [INFO] Finished at: 2015-01-31T10:29:05-05:00
[INFO] [INFO] Final Memory: 75M/317M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] PermGen space -> [Help 1]
[INFO] [ERROR]
[INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[INFO] [ERROR]
[INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/OutOfMemoryError
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Forge Parent ....................................... FAILURE [30:28 min]
[INFO] Forge Core ......................................... SUCCESS [  2.833 s]
[INFO] Forge Game ......................................... SUCCESS [  3.148 s]
[INFO] Forge AI ........................................... SUCCESS [  0.697 s]
[INFO] Forge Net .......................................... SUCCESS [  0.107 s]
[INFO] Forge Gui .......................................... SUCCESS [  1.558 s]
[INFO] Forge .............................................. SUCCESS [01:32 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 32:11 min
[INFO] Finished at: 2015-01-31T10:29:06-05:00
[INFO] Final Memory: 34M/206M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5:perform (default-cli) on project forge: Maven execution failed, exit code: '1' -> [Help 1]
[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/MojoExecutionException
logout

[Process completed]

 
I had removed "site" from my Maven goal and yet noticed a lot of report generation and uploading going on.
 

Re: Forge version 1.5.34

PostPosted: 31 Jan 2015, 15:44
by Chris H.
Chris H. wrote:My efforts to add in the missing credentials must have worked.
 
Hey KTF, I think that I now understand the credentials problem that you were having.

Re: Forge version 1.5.34

PostPosted: 31 Jan 2015, 16:07
by KrazyTheFox
Chris H. wrote:
Chris H. wrote:My efforts to add in the missing credentials must have worked.
 
Hey KTF, I think that I now understand the credentials problem that you were having.
Could you PM to me what you did for future reference? If I ever need to do another build that'll be very helpful.

Also, I'm not sure why it's still uploading stuff—I'd like to re-write the poms sometime since they're needlessly complex at the moment. As for the error, though, it looks like Maven ran out of memory. You can fix that (I think) with this environment variable:
Code: Select all
export MAVEN_OPTS='-Xmx2048m -XX:MaxPermSize=2048m'
(or similar parameters)

One thing that the current deployment does is create and upload the full collection of .pom, .jar, and hashes to cardforge. If this is something we don't need then the deployment can be drastically simplified and a lot of time saved. I'll need to do some testing of this as I'm not terribly familiar with the way Maven deploys stuff.

Regardless, it appears that the 1.5.34 release was successful on the cardforge site and that should work until the next release.

Re: Forge version 1.5.34

PostPosted: 31 Jan 2015, 22:33
by Chris H.
Thank you KTF.

I posted a release message.

I added the maven opts to my bash.profile. Previously it had only

Code: Select all
export MAVEN_OPTS='-Xmx1024m'
 
I will send you a pm with the details in a day or two as I am also trying to paint the dinning room this weekend. :)