New to Forge dev, need a bit of help with Maven
Posted: 22 Nov 2019, 23:49
Hello,
I got the project compiling and running with both IntelliJ and Eclipse. I'm new to everything (git, maven, java, eclipse and intellij) and I'm confused by the tons of stuff that goes unnoticed under the hood with both eclipse and intellij. I've found Eclipse slow and buggy and removed it. That's also why I'm trying to go with the command line for compiling and running forge.
The page https://www.slightlymagic.net/wiki/Forg ... ment_Usage was helpful for setting everything up but the Maven commands do not work.
Since the IDE's build system is just a wrapper around Maven (whether its bundled one or mine) I'm expecting to get the build working on the command line. The goal '-U -B clean -P windows-linux install' whether I'm running it against the parent pom.xml or the forge-gui-desktop's one fails with the error:
[ERROR] Failed to execute goal org.codehaus.mojo:build-helper-maven-plugin:1.8:released-version (released-version) on project forge-gui-desktop: Execution released-version of goal org.codehaus.mojo:build-helper-maven-plugin:1.8:released-version failed: version can neither be null, empty nor blank -> [Help 1]
Could you please help me get past this error and provide some insight on the error and how to fix it ?
Could you also provide me the exact Maven command the IDE is performing in order to successfully build and indicate how did you find it ?
Also, is there any way I could get a complete Maven build output in the IntelliJ like the output I have on the command line ?
Thanks and regards,
G
I got the project compiling and running with both IntelliJ and Eclipse. I'm new to everything (git, maven, java, eclipse and intellij) and I'm confused by the tons of stuff that goes unnoticed under the hood with both eclipse and intellij. I've found Eclipse slow and buggy and removed it. That's also why I'm trying to go with the command line for compiling and running forge.
The page https://www.slightlymagic.net/wiki/Forg ... ment_Usage was helpful for setting everything up but the Maven commands do not work.
Since the IDE's build system is just a wrapper around Maven (whether its bundled one or mine) I'm expecting to get the build working on the command line. The goal '-U -B clean -P windows-linux install' whether I'm running it against the parent pom.xml or the forge-gui-desktop's one fails with the error:
[ERROR] Failed to execute goal org.codehaus.mojo:build-helper-maven-plugin:1.8:released-version (released-version) on project forge-gui-desktop: Execution released-version of goal org.codehaus.mojo:build-helper-maven-plugin:1.8:released-version failed: version can neither be null, empty nor blank -> [Help 1]
Could you please help me get past this error and provide some insight on the error and how to fix it ?
Could you also provide me the exact Maven command the IDE is performing in order to successfully build and indicate how did you find it ?
Also, is there any way I could get a complete Maven build output in the IntelliJ like the output I have on the command line ?
Thanks and regards,
G