hltfbk / Excitement-Open-Platform

Excitement Open Platform for Recognizing Textual Entailments
http://hltfbk.github.io/Excitement-Open-Platform/
86 stars 74 forks source link

Maven error to assembly the TreeTagger installation #367

Closed hoangyenan closed 10 years ago

hoangyenan commented 10 years ago

Hi everyone,

this issue links to the issue #366 which I reported. When I tried to installed the TreeTagger, I was able to go until the last step of instructions (https://github.com/hltfbk/Excitement-Open-Platform/wiki/Step-by-Step,%20TreeTagger-Installation). However, when I run very last the command "mvn package assembly:assembly", I got the error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:assembly (default-cli) on project MyEOP: Errorinstallation reading assemblies: No assembly descriptors found.

I could not figure out the reason and how to fix it to get the TreeTagger works on my project (MyEOP). Any advice or suggestion?

gilnoh commented 10 years ago

Try "mvn package" only. It would be enough. (It seems that the error is related to assembly ). Please try only with "mvn package", or whatever build command that worked for you (e.g. within Eclipse, etc).

Roberto, I think you wrote the document --- maybe update it only to have "mvn clean package"?

hoangyenan commented 10 years ago

The only configuration file of TIE not using TreeTagger is "MaxEntClassificationEDA_Base+OpenNLP_EN" The rest is using either "MaltParserEN" or "TreeTagger" LAP

hoangyenan commented 10 years ago

Just to confirm, it works with "mvn package" only.

gilnoh commented 10 years ago

Roberto, would you please update the document (e.g. users of their own Maven project doesn't have anything to do on assembly ) and close the issue? Thanks.

rzanoli commented 10 years ago

"mvn package" is the right command to use. I've just updated the documentation.

rzanoli commented 10 years ago

Users who want to use EOP as a library need only to add the TreeTagger dependency in the pom file of their projects. No maven commands should be necessary. In contrast users who want to use EOP from the command line have to uncomment the TreeTagger dependency that is in the pom.xml file of the EOP lap module and then run the command mvn package assembly:assembly

rzanoli commented 10 years ago

We tried to make the documentation about installing TreeTagger more clear to avoid that people using EOP as a library run maven commands that are not required.