Maven Build Execution Error

117 views
Skip to first unread message

Claire Era

unread,
Sep 7, 2021, 10:02:08 AM9/7/21
to TASSEL - Trait Analysis by Association, Evolution and Linkage
Hi,

I would like to ask why I can't compile the Tassel 5 source? It seems that I have some missing libraries, I did follow the user manual but cannot find the said .JAR file. 

Would greatly appreciate your help, thanks.

Here is the build error:
C:\Users\<User>\things\dependencies\tassel-5-source>mvn clean package -Dmaven.test.skip=true -Dmaven.javadoc.skip=true
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for net.maizegenetics:tassel:jar:5.2.73
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 167, column 21[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO]
[INFO] ----------------------< net.maizegenetics:tassel >----------------------
[INFO] Building net.maizegenetics:tassel 5.2.73
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.940 s
[INFO] Finished at: 2021-09-06T21:45:26+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project tassel: Could not resolve dependencies for project net.maizegenetics:tassel:jar:5.2.73: Could not find artifact openchart:openchart:jar:1.0 at specified path C:\Users\<User>\.m2\repository\org\biojava\thirdparty\forester\1.038/src/main/resources/openchart.jar -> [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:

Terry Casstevens

unread,
Sep 7, 2021, 2:44:42 PM9/7/21
to Tassel User Group
I did find and fix another error compiling TASSEL but it wasn't this
one. I suggest using "git pull" to update your TASSEL repository.
And remove your Maven repository to start clean. rm -rf $HOME/.m2

Then rerun the build command
> --
> You received this message because you are subscribed to the Google Groups "TASSEL - Trait Analysis by Association, Evolution and Linkage" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to tassel+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/tassel/2433bbb3-7afe-44e3-a5db-fcaeb32a0318n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages