nexml / nexml.java

Java API for NeXML.
MIT License
4 stars 6 forks source link

Unclear how to build Mesquite NeXML plugin #21

Open hlapp opened 6 years ago

hlapp commented 6 years ago

I can't find instructions for how to build the Mesquite module for NeXML. Running maven as

$ mvn mesquite:build

yields the following error:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] NeXML.java ......................................... SKIPPED
[INFO] I/O library ........................................ SKIPPED
[INFO] Mesquite Module .................................... SKIPPED
[INFO] Transformer ........................................ SKIPPED
[INFO] Validator .......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.218 s
[INFO] Finished at: 2017-12-12T13:49:22-05:00
[INFO] Final Memory: 14M/309M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'mesquite' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/lapp/.m2/repository), central (https://repo.maven.apache.org/maven2)] -> [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/NoPluginFoundForPrefixException

So is there still a way to build the module successfully?

Currently, the only advertised way for obtained the module for installation is via a Dropbox link of entirely unknown provenance (here and here), which is about as bad as it can get.

hlapp commented 6 years ago

@daisieh you seem to have been successful with building the module - is that still the case and if so, can you document what one needs to do?

hlapp commented 6 years ago

Created a tag for what hopefully was the basis for building the binary that we currently have, and created a release to which I attached the binary.

Note that this is from 2012, and we remain unable to rebuild it.

daisieh commented 6 years ago

Are you running the latest version of Mesquite? https://github.com/MesquiteProject/MesquiteCore/tree/development now has a Maven target, so if you build that first (mvn clean install) to put that target into your local maven repository, you should be able to do mvn clean install for the nexml.java project and it should be able to find that 0.0.1-SNAPSHOT version that you just installed.

hlapp commented 6 years ago

So you're saying the problem is that it can't find my local Mesquite installation? I don't want to install the plugin, I want to build it and then put it up as a release so that others can download it.

daisieh commented 6 years ago

If you do the mvn clean install, you'll find the various compiled pieces you're looking for in nexml.java/mesquite_module/target/classes.