Re: Forge Version 1.5.39 (And Beyond)
PMed Rob but I don't have a reply yet so I can't post to the bug tracker just yet. 
- Agetian
- Agetian
High Quality Resources for Collectible Card Games and Home of the CCGHQ Team
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=52&t=17149
Did you create an account for yourself? http://cardforge.org/bugz/signup_page.phpAgetian wrote:PMed Rob but I don't have a reply yet so I can't post to the bug tracker just yet.
- Agetian
KrazyTheFox wrote:Hello, everyone!
There's a couple changes that need to be made if you want to perform future releases. The first is Maven's settings.xml file. Where you previously had the login details for cardforge.org's servers, you'll now need to replace the usernames with "cardforgereleases". The password remains the same. Also, delete the now-unused "cardforge-site" server entry.
<username>releases@cardforge.org</username><username>releases@cardforgereleases.org</username>Ah, sorry, I'll fix the instructions. The new username is "cardforgereleases@cardforge.link". That sounds a lot redundant now that I look at it again. For now, the aforementioned username will be correct, but I'll see about making it just "releases@cardforge.link" for the next release. If things don't work, I'll be home in about 5 hours and can post all the settings I used.Chris H. wrote:If I understand then I need to change the lines with
- Code: Select all
<username>releases@cardforge.org</username>
to
- Code: Select all
<username>releases@cardforgereleases.org</username>
?
KrazyTheFox wrote:The new command to run for deploying snapshots is:
- Code: Select all
mvn -U -B -P windows-linux,osx clean install deploy
And the new command to run for performing releases is:
- Code: Select all
mvn -U -B clean install release:prepare release:perform deploy -Dusername=subversion_username -Dpassword=subversion_password
windows-linux,osxKrazyTheFox wrote:The new command to run for deploying snapshots is:
- Code: Select all
mvn -U -B -P windows-linux,osx clean install deploy
And the new command to run for performing releases is:
- Code: Select all
mvn -U -B clean install release:prepare release:perform deploy -Dusername=subversion_username -Dpassword=subversion_password
windows-linux,osxYeah, those profiles should be in the release command. I copied the command from my Maven goals in IntelliJ, which specifies profiles on a separate line.Chris H. wrote:KrazyTheFox wrote:The new command to run for deploying snapshots is:
- Code: Select all
mvn -U -B -P windows-linux,osx clean install deploy
And the new command to run for performing releases is:
- Code: Select all
mvn -U -B clean install release:prepare release:perform deploy -Dusername=subversion_username -Dpassword=subversion_password
I noticed that the snapshot maven goal includes
- Code: Select all
windows-linux,osx
and yet this is missing in the beta maven goal?
KrazyTheFox wrote:And the new command to run for performing releases is:
- Code: Select all
mvn -U -B clean install release:prepare release:perform deploy -Dusername=subversion_username -Dpassword=subversion_password
<server>
<id>svn.slightlymagic.net</id>
<username>KrazyTheFox</username>
<password>myPassword</password>
</server>
[INFO] [INFO] Reactor Build Order:
[INFO] [INFO]
[INFO] [INFO] Forge Parent
[INFO] [INFO] Forge Core
[INFO] [INFO] Forge Game
[INFO] [INFO] Forge AI
[INFO] [INFO] Forge Gui
[INFO] [INFO] Forge
[INFO] [INFO]
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Building Forge Parent 1.5.40
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO]
[INFO] [INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) > generate-sources @ forge >>>
[INFO] [INFO]
[INFO] [INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) < generate-sources @ forge <<<
[INFO] [INFO]
[INFO] [INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ forge ---
[INFO] [INFO]
[INFO] [INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ forge ---
[INFO] [INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] [INFO]
[INFO] [INFO] --- maven-install-plugin:2.5.1:install (default-install) @ forge ---
[INFO] [INFO] Installing /Users/me/Documents/workspace/forge/target/checkout/pom.xml to /Users/me/.m2/repository/forge/forge/1.5.40/forge-1.5.40.pom
[INFO] [INFO]
[INFO] [INFO] --- maven-deploy-plugin:2.8.1:deploy (default-deploy) @ forge ---
[INFO] [INFO] Uploading: ftp://ftp.cardforge.link/releases/forge/forge/1.5.40/forge-1.5.40.pom
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Reactor Summary:
[INFO] [INFO]
[INFO] [INFO] Forge Parent ....................................... FAILURE [ 3.816 s]
[INFO] [INFO] Forge Core ......................................... SKIPPED
[INFO] [INFO] Forge Game ......................................... SKIPPED
[INFO] [INFO] Forge AI ........................................... SKIPPED
[INFO] [INFO] Forge Gui .......................................... SKIPPED
[INFO] [INFO] Forge .............................................. SKIPPED
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 4.149 s
[INFO] [INFO] Finished at: 2015-06-05T16:34:56-04:00
[INFO] [INFO] Final Memory: 12M/28M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.1:deploy (default-deploy) on project forge: Failed to deploy artifacts: Could not transfer artifact forge:forge:pom:1.5.40 from/to cardforge-repo (ftp://ftp.cardforge.link/releases/): Cannot login to remote system -> [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/MojoExecutionException
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Forge Parent
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Forge Parent ....................................... FAILURE [05:38 min]
[INFO] Forge Core ......................................... SUCCESS [ 3.355 s]
[INFO] Forge Game ......................................... SUCCESS [ 3.300 s]
[INFO] Forge AI ........................................... SUCCESS [ 0.760 s]
[INFO] Forge Gui .......................................... SUCCESS [ 1.696 s]
[INFO] Forge .............................................. SUCCESS [01:39 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:29 min
[INFO] Finished at: 2015-06-05T16:34:56-04:00
[INFO] Final Memory: 39M/142M
[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]
Heading home now; I'll be able to look at this better once I'm there.Chris H. wrote:Sigh, got a build error when I tried to do the 1.5.40 release:
- Code: Select all
[INFO] [INFO] Reactor Build Order:
[INFO] [INFO]
[INFO] [INFO] Forge Parent
[INFO] [INFO] Forge Core
[INFO] [INFO] Forge Game
[INFO] [INFO] Forge AI
[INFO] [INFO] Forge Gui
[INFO] [INFO] Forge
[INFO] [INFO]
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Building Forge Parent 1.5.40
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO]
[INFO] [INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) > generate-sources @ forge >>>
[INFO] [INFO]
[INFO] [INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) < generate-sources @ forge <<<
[INFO] [INFO]
[INFO] [INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ forge ---
[INFO] [INFO]
[INFO] [INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ forge ---
[INFO] [INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] [INFO]
[INFO] [INFO] --- maven-install-plugin:2.5.1:install (default-install) @ forge ---
[INFO] [INFO] Installing /Users/me/Documents/workspace/forge/target/checkout/pom.xml to /Users/me/.m2/repository/forge/forge/1.5.40/forge-1.5.40.pom
[INFO] [INFO]
[INFO] [INFO] --- maven-deploy-plugin:2.8.1:deploy (default-deploy) @ forge ---
[INFO] [INFO] Uploading: ftp://ftp.cardforge.link/releases/forge/forge/1.5.40/forge-1.5.40.pom
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Reactor Summary:
[INFO] [INFO]
[INFO] [INFO] Forge Parent ....................................... FAILURE [ 3.816 s]
[INFO] [INFO] Forge Core ......................................... SKIPPED
[INFO] [INFO] Forge Game ......................................... SKIPPED
[INFO] [INFO] Forge AI ........................................... SKIPPED
[INFO] [INFO] Forge Gui .......................................... SKIPPED
[INFO] [INFO] Forge .............................................. SKIPPED
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 4.149 s
[INFO] [INFO] Finished at: 2015-06-05T16:34:56-04:00
[INFO] [INFO] Final Memory: 12M/28M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.1:deploy (default-deploy) on project forge: Failed to deploy artifacts: Could not transfer artifact forge:forge:pom:1.5.40 from/to cardforge-repo (ftp://ftp.cardforge.link/releases/): Cannot login to remote system -> [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/MojoExecutionException
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Forge Parent
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Forge Parent ....................................... FAILURE [05:38 min]
[INFO] Forge Core ......................................... SUCCESS [ 3.355 s]
[INFO] Forge Game ......................................... SUCCESS [ 3.300 s]
[INFO] Forge AI ........................................... SUCCESS [ 0.760 s]
[INFO] Forge Gui .......................................... SUCCESS [ 1.696 s]
[INFO] Forge .............................................. SUCCESS [01:39 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:29 min
[INFO] Finished at: 2015-06-05T16:34:56-04:00
[INFO] Final Memory: 39M/142M
[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]