USPTO / PatentPublicData

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

Error when running maven install #66

Closed dnmilne closed 6 years ago

dnmilne commented 6 years ago

When attempting to run mvn install from the command line, I got the following error:

[INFO] PatentPublicData ................................... SUCCESS [  7.224 s]
[INFO] Common ............................................. SUCCESS [  1.779 s]
[INFO] PatentDocument ..................................... FAILURE [  2.215 s]
[INFO] BulkDownloader ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.335 s
[INFO] Finished at: 2018-01-10T12:05:52+11:00
[INFO] Final Memory: 33M/488M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.0:testCompile (default-testCompile) on project PatentDocument: Compilation failure
[ERROR] /PatentPublicData/PatentDocument/src/test/java/gov/uspto/document/test/ValidatePatent.java:[13,33] cannot find symbol
[ERROR]   symbol:   class EntitiesRule
[ERROR]   location: package gov.uspto.patent.validate

It was easily fixed by opening up the offending file:

/PatentDocument/src/test/java/gov/uspto/document/test/ValidatePatent.java

and commenting out the following unused import

import gov.uspto.patent.validate.EntitiesRule
bgfeldm commented 6 years ago

Fixed pushed code today.