CogComp / lbjava

Learning Based Java (LBJava)
http://cogcomp.cs.illinois.edu/page/software_view/LBJava
Other
13 stars 17 forks source link

Xalan from Stanford kills Java cups #56

Open shyamupa opened 8 years ago

shyamupa commented 8 years ago

When I import core-utils and lbjava in the same project, java cups breaks down and cannot work. The reason behind this is core-utils brings stanford corenlp which in turn brings xalan jar. Xalan and java cups do not go well.

christos-c commented 8 years ago

@mssammon @danyaljj @yimingjiang FYI (I won't be able to tackle this right now)

mssammon commented 8 years ago

could we make stanford an optional dependency?

christos-c commented 8 years ago

For some projects that actually require the dep/const parser that's not really an option.

danyaljj commented 7 years ago
screen shot 2017-04-04 at 10 54 30 am

For me excluding stanford from the pipeline at the time of generating the lbjava files did the trick:

        <dependency>
            <groupId>edu.illinois.cs.cogcomp</groupId>
            <artifactId>illinois-nlp-pipeline</artifactId>
            <version>${cogcomp-nlp-version}</version>
            <exclusions>
                <exclusion>
                    <groupId>edu.stanford.nlp</groupId>
                    <artifactId>stanford-corenlp</artifactId>
                </exclusion>
            </exclusions>
        </dependency>