brendano / ark-tweet-nlp

CMU ARK Twitter Part-of-Speech Tagger
http://www.ark.cs.cmu.edu/TweetNLP/
Other
575 stars 199 forks source link

jar dependencies are not pulled correctly #27

Open gcxml opened 10 years ago

gcxml commented 10 years ago

The instructions in "hacking.txt" suggest running "mvn package" command to populate jar dependencies in ark-tweet-nlp/src/target. First error is that it generates the dependencies in ark-tweet-nlp/target and not in ark-tweet-nlp/src/target.

Further, it creates ark-tweet-nlp/target/com.googlecode.addjars.mojo.AddJarsMojo and populates three jars. But all of them are empty. For example this is what I get on my machine:

$ ls -l total 8 -rwxrwx---+ 1 user_xyz None 0 Sep 8 14:36 ark-tweet-nlp-posBerkeley.jar -rwxrwx---+ 1 user_xyz None 0 Sep 8 14:36 ark-tweet-nlp-stanford-postagger-2010-05-26.jar -rwxrwx---+ 1 user_xyz None 0 Sep 8 14:36 ark-tweet-nlp-trove-3.0.0a5.jar

The pom files should be modified for getting right jars here.

brendano commented 10 years ago

OK, that's weird. it should be copying those from the lib/ directory.

I have no idea why or how maven works. It's always a mystery to me. Some people complained in the past that we should use maven for the build so we tried, but this addjars thing just does weird stuff.