any23-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ANY23-297) Any23 doesn't build under JDK1.8
Date Tue, 29 Nov 2016 23:29:00 GMT

    [ https://issues.apache.org/jira/browse/ANY23-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15706903#comment-15706903
] 

Hudson commented on ANY23-297:
------------------------------

FAILURE: Integrated in Jenkins build Any23-trunk #1474 (See [https://builds.apache.org/job/Any23-trunk/1474/])
ANY23-297 Any23 doesn't build under JDK1.8 (lewis.mcgibbney: rev bb55685859a26b36ca4a9893bb93aa9eb7687b8c)
* (edit) core/src/main/java/org/apache/any23/extractor/html/HTMLDocument.java
* (edit) api/src/main/java/org/apache/any23/extractor/ExtractionParameters.java
* (edit) core/src/main/java/org/apache/any23/extractor/microdata/MicrodataParser.java
* (edit) api/src/main/java/org/apache/any23/vocab/DCTerms.java
* (edit) api/src/main/java/org/apache/any23/mime/MIMEType.java
* (edit) core/src/main/java/org/apache/any23/extractor/html/SpeciesExtractor.java
* (edit) pom.xml
* (edit) api/src/main/java/org/apache/any23/vocab/WO.java
* (edit) api/src/main/java/org/apache/any23/vocab/CSV.java
* (edit) api/src/main/java/org/apache/any23/source/DocumentSource.java
* (edit) core/src/main/java/org/apache/any23/Any23.java
* (edit) api/src/main/java/org/apache/any23/mime/purifier/Purifier.java
* (edit) core/src/main/java/org/apache/any23/http/DefaultHTTPClient.java
* (edit) core/src/main/java/org/apache/any23/validator/RuleContext.java
* (edit) core/src/main/java/org/apache/any23/extractor/html/EntityBasedMicroformatExtractor.java
* (edit) core/src/main/java/org/apache/any23/extractor/html/MicroformatExtractor.java
* (edit) api/src/main/java/org/apache/any23/vocab/OGP.java
* (edit) core/src/main/java/org/apache/any23/http/AcceptHeaderBuilder.java
* (edit) api/src/main/java/org/apache/any23/extractor/ExtractionResult.java
* (edit) service/src/main/java/org/apache/any23/servlet/conneg/MediaRangeSpec.java
* (edit) core/src/main/java/org/apache/any23/extractor/xpath/TemplateXPathExtractionRule.java
* (edit) api/src/main/java/org/apache/any23/vocab/Programme.java
* (edit) core/src/main/java/org/apache/any23/rdf/RDFUtils.java
* (edit) core/src/main/java/org/apache/any23/writer/BenchmarkTripleHandler.java
* (edit) core/src/main/java/org/apache/any23/extractor/html/LicenseExtractor.java
* (edit) api/src/main/java/org/apache/any23/extractor/IssueReport.java
* (edit) core/src/main/java/org/apache/any23/extractor/rdf/RDFParserFactory.java
* (edit) service/src/main/java/org/apache/any23/servlet/conneg/ContentTypeNegotiator.java
* (edit) api/src/main/java/org/apache/any23/cli/Tool.java
* (edit) core/src/main/java/org/apache/any23/http/DefaultHTTPClientConfiguration.java
* (edit) core/src/main/java/org/apache/any23/validator/ValidationReportSerializer.java
* (edit) api/src/main/java/org/apache/any23/encoding/EncodingDetector.java
* (edit) core/src/main/java/org/apache/any23/extractor/rdfa/RDFa11Parser.java
* (edit) core/src/main/java/org/apache/any23/extractor/microdata/ItemScope.java
* (edit) core/src/main/java/org/apache/any23/util/DiscoveryUtils.java
* (edit) core/src/main/java/org/apache/any23/validator/Validator.java
* (edit) core/src/main/java/org/apache/any23/util/StreamUtils.java
* (edit) core/src/main/java/org/apache/any23/extractor/ExtractionResultImpl.java
* (edit) mime/src/main/java/org/apache/any23/mime/TikaMIMETypeDetector.java
* (edit) core/src/main/java/org/apache/any23/extractor/ExtractorRegistryImpl.java
* (edit) api/src/main/java/org/apache/any23/plugin/Any23PluginManager.java
* (edit) core/src/main/java/org/apache/any23/util/FileUtils.java
* (edit) core/src/main/java/org/apache/any23/extractor/html/TagSoupParser.java
* (edit) core/src/main/java/org/apache/any23/extractor/html/DomUtils.java
* (edit) api/src/main/java/org/apache/any23/vocab/LKIFCoreRules.java
* (edit) api/src/main/java/org/apache/any23/plugin/ExtractorPlugin.java
* (edit) core/src/main/java/org/apache/any23/rdf/Any23ValueFactoryWrapper.java
* (edit) core/src/main/java/org/apache/any23/util/StringUtils.java
* (edit) core/src/main/java/org/apache/any23/cli/ExtractorDocumentation.java
* (edit) core/src/main/java/org/apache/any23/vocab/RDFSchemaUtils.java
* (edit) core/src/main/java/org/apache/any23/extractor/xpath/QuadTemplate.java
* (edit) api/src/main/java/org/apache/any23/configuration/Configuration.java
* (edit) core/src/main/java/org/apache/any23/extractor/microdata/ItemPropValue.java
* (edit) plugins/html-scraper/src/main/java/org/apache/any23/plugin/htmlscraper/HTMLScraperExtractor.java
* (edit) api/src/main/java/org/apache/any23/extractor/ExtractorRegistry.java
* (edit) api/src/main/java/org/apache/any23/extractor/ExtractorFactory.java
* (edit) core/src/main/java/org/apache/any23/extractor/SingleDocumentExtraction.java
* (edit) core/src/main/java/org/apache/any23/validator/DOMDocument.java
* (edit) api/src/main/java/org/apache/any23/writer/TripleHandler.java


> Any23 doesn't build under JDK1.8
> --------------------------------
>
>                 Key: ANY23-297
>                 URL: https://issues.apache.org/jira/browse/ANY23-297
>             Project: Apache Any23
>          Issue Type: Improvement
>          Components: build, documentation
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>            Priority: Critical
>             Fix For: 1.2
>
>
> When I attempt to build Any23 master branch using JDK1.8 I get the following issue regarding
Javadoc
> {code}
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 6.975 s
> [INFO] Finished at: 2016-11-22T18:36:44-08:00
> [INFO] Final Memory: 40M/768M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8:jar
(attach-javadocs) on project apache-any23-api: MavenReportException: Error while creating
archive:
> [ERROR] Exit code: 1 - /usr/local/any23/api/src/main/java/org/apache/any23/cli/Tool.java:30:
error: invalid use of @return
> [ERROR] * @return exit code.
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/cli/Tool.java:32: warning:
no @throws for java.lang.Exception
> [ERROR] void run() throws Exception;
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/configuration/Configuration.java:36:
error: unexpected end tag: </code>
> [ERROR] * @return <code>true</code> if defined, </code>false</code>
otherwise.
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/configuration/Configuration.java:36:
error: unexpected end tag: </code>
> [ERROR] * @return <code>true</code> if defined, </code>false</code>
otherwise.
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/configuration/Configuration.java:21:
error: unexpected end tag: </code>
> [ERROR] * Defines the main <i>Any23</code> configuration.
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/configuration/Configuration.java:21:
error: element not closed: i
> [ERROR] * Defines the main <i>Any23</code> configuration.
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/encoding/EncodingDetector.java:37:
warning: no @throws for java.io.IOException
> [ERROR] String guessEncoding(InputStream input) throws IOException;
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/extractor/ExtractionParameters.java:29:
error: reference not found
> [ERROR] * @see org.apache.any23.Any23
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/extractor/ExtractionParameters.java:126:
error: reference not found
> [ERROR] * {@link SingleDocumentExtraction#METADATA_NESTING_FLAG}.
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/extractor/ExtractionResult.java:60:
error: self-closing element not allowed
> [ERROR] * <p/>
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/extractor/IssueReport.java:43:
warning: no description for @param
> [ERROR] * @param ps
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/extractor/ExtractorFactory.java:41:
warning: no @return
> [ERROR] Collection<MIMEType> getSupportedMIMETypes();
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/extractor/ExtractorFactory.java:54:
warning: no @return
> [ERROR] String getExampleInput();
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/extractor/ExtractorRegistry.java:33:
warning: no description for @param
> [ERROR] * @param factory
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/extractor/ExtractorRegistry.java:82:
warning: no @return
> [ERROR] List<String> getAllNames();
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/mime/MIMEType.java:42: warning:
no description for @param
> [ERROR] * @param mimeType
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/mime/purifier/Purifier.java:38:
warning: no @throws for java.io.IOException
> [ERROR] void purify(InputStream inputStream) throws IOException;
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/mime/purifier/Purifier.java:25:
error: reference not found
> [ERROR] * a {@link org.apache.any23.mime.TikaMIMETypeDetector} could
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/plugin/Any23PluginManager.java:99:
error: exception not thrown: java.net.MalformedURLException
> [ERROR] * @throws MalformedURLException
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/plugin/Any23PluginManager.java:99:
warning: no description for @throws
> [ERROR] * @throws MalformedURLException
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/plugin/Any23PluginManager.java:238:
warning: no description for @throws
> [ERROR] * @throws IOException
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/plugin/Any23PluginManager.java:240:
warning: no @param for type
> [ERROR] public synchronized <T> Iterator<T> getPlugins(final Class<T>
type)
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/plugin/Any23PluginManager.java:249:
warning: no description for @throws
> [ERROR] * @throws IOException
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/plugin/Any23PluginManager.java:259:
warning: no description for @throws
> [ERROR] * @throws IOException
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/plugin/Any23PluginManager.java:295:
warning: no description for @param
> [ERROR] * @param pluginLocations
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/plugin/Any23PluginManager.java:297:
warning: no description for @throws
> [ERROR] * @throws java.io.IOException
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/plugin/Any23PluginManager.java:298:
warning: no description for @throws
> [ERROR] * @throws IllegalAccessException
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/plugin/Any23PluginManager.java:299:
warning: no description for @throws
> [ERROR] * @throws InstantiationException
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/plugin/Any23PluginManager.java:342:
warning: no description for @throws
> [ERROR] * @throws IOException
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/plugin/Any23PluginManager.java:343:
warning: no description for @throws
> [ERROR] * @throws InstantiationException
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/plugin/Any23PluginManager.java:344:
warning: no description for @throws
> [ERROR] * @throws IllegalAccessException
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/plugin/Any23PluginManager.java:360:
warning: no description for @throws
> [ERROR] * @throws java.io.IOException
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/plugin/Any23PluginManager.java:361:
warning: no description for @throws
> [ERROR] * @throws IllegalAccessException
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/plugin/Any23PluginManager.java:362:
warning: no description for @throws
> [ERROR] * @throws InstantiationException
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/plugin/Any23PluginManager.java:374:
warning: no description for @throws
> [ERROR] * @throws IOException
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/plugin/ExtractorPlugin.java:24:
error: reference not found
> [ERROR] * This interface defines an {@link org.apache.any23.cli.Any23}
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/source/DocumentSource.java:36:
warning: no description for @throws
> [ERROR] * @throws IOException
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/source/DocumentSource.java:62:
warning: no @return
> [ERROR] public boolean isLocal();
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/vocab/CSV.java:93: warning:
no description for @param
> [ERROR] * @param localName
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/vocab/DCTerms.java:23: error:
unexpected end tag: </code>
> [ERROR] * The <i>DCTERMS</code> vocabulary.
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/vocab/DCTerms.java:23: error:
element not closed: i
> [ERROR] * The <i>DCTERMS</code> vocabulary.
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/vocab/LKIFCoreRules.java:27:
error: bad HTML entity
> [ERROR] * <p>The rules & argumentation module defines roles central to
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/vocab/OGP.java:23: error:
malformed HTML
> [ERROR] * The <a href="http://ogp.me/">Open Graph Protocol</> vocabulary.
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/vocab/OGP.java:23: error:
bad use of '>'
> [ERROR] * The <a href="http://ogp.me/">Open Graph Protocol</> vocabulary.
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/vocab/OGP.java:23: error:
element not closed: a
> [ERROR] * The <a href="http://ogp.me/">Open Graph Protocol</> vocabulary.
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/vocab/Programme.java:22:
error: invalid uri: "http://purl.org/ontology/po/ "
> [ERROR] * The <a href="http://purl.org/ontology/po/ ">Programmes Ontology</a>
is aimed
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/vocab/Programme.java:23:
error: unexpected end tag: </p>
> [ERROR] * at providing a simple vocabulary for describing programmes.</p>
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/vocab/Programme.java:26:
error: unexpected end tag: </p>
> [ERROR] * on previous programmes data modeling work done there.</p>
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/vocab/WO.java:23: error:
unexpected end tag: </p>
> [ERROR] * The <a href="http://purl.org/ontology/wo/">Wildlife Ontology</a>
vocabulary.</p>
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/writer/TripleHandler.java:37:
warning: no @param for context
> [ERROR] void openContext(ExtractionContext context) throws TripleHandlerException;
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/writer/TripleHandler.java:37:
warning: no @throws for org.apache.any23.writer.TripleHandlerException
> [ERROR] void openContext(ExtractionContext context) throws TripleHandlerException;
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/writer/TripleHandler.java:48:
warning: no description for @throws
> [ERROR] * @throws TripleHandlerException
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/writer/TripleHandler.java:59:
warning: no description for @throws
> [ERROR] * @throws TripleHandlerException
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/writer/TripleHandler.java:71:
warning: no description for @throws
> [ERROR] * @throws TripleHandlerException
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/writer/TripleHandler.java:80:
warning: no description for @throws
> [ERROR] * @throws TripleHandlerException
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/writer/TripleHandler.java:87:
warning: no description for @param
> [ERROR] * @param contentLength
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/writer/TripleHandler.java:88:
error: exception not thrown: org.apache.any23.writer.TripleHandlerException
> [ERROR] * @throws TripleHandlerException
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/writer/TripleHandler.java:88:
warning: no description for @throws
> [ERROR] * @throws TripleHandlerException
> [ERROR] ^
> [ERROR] /usr/local/any23/api/src/main/java/org/apache/any23/writer/TripleHandler.java:94:
warning: no description for @throws
> [ERROR] * @throws TripleHandlerException
> [ERROR] ^
> [ERROR]
> [ERROR] Command line was: /Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/bin/javadoc
@options @packages
> [ERROR]
> [ERROR] Refer to the generated Javadoc files in '/usr/local/any23/api/target/apidocs'
dir.
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the
following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :apache-any23-api
> {code}
> I'll start populating the Javadoc and submit a pull request.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message