USPTO / PatentPublicData

Utility tools to help download and parse patent data made available to the public
Other
182 stars 80 forks source link

Maven project is not working #62

Closed several27 closed 6 years ago

several27 commented 6 years ago

None of the dependencies seem to be recognized by IntelliJ and when trying to run from console: mvn clean install, maven gives the following error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.0:testCompile (default-testCompile) on project PatentDocument: Compilation failure
[ERROR] /Users/maciej/Developer/FuseMind/PatentPublicData/PatentDocument/src/test/java/gov/uspto/patent/doc/sgml/SgmlTest.java:[35,39] cannot find symbol
[ERROR]   symbol:   method validateGrant(gov.uspto.patent.model.Patent)
[ERROR]   location: class gov.uspto.document.test.ValidatePatent

Which makes sense as the class ValidatePatent does not contain method validateGrant method?

bgfeldm commented 6 years ago

Eclipse along with Intellij require a few extra steps to convert the project to maven or import the maven module dependencies.

bgfeldm commented 6 years ago

I am not using Intellij, but see if this helps:

https://stackoverflow.com/questions/14450195/how-to-add-maven-modules-to-intellij