See Changes: [JamesBognar] Fix broken source links to github in examples-rest. ------------------------------------------ [...truncated 334.48 KB...] [INFO] Exclude: **/target/** [INFO] Exclude: **/.settings/** [INFO] Exclude: **/.project [INFO] Exclude: **/.classpath [INFO] Exclude: **/*.launch [INFO] Exclude: **/jetty.out.xml [INFO] Exclude: **/dependency-reduced-pom.xml [INFO] 1 resources included (use -debug for more details) [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 1 licence. [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ juneau-examples --- [INFO] Installing to /home/jenkins/.m2/repository/org/apache/juneau/juneau-examples/7.0.2-SNAPSHOT/juneau-examples-7.0.2-SNAPSHOT.pom [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ juneau-examples --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ juneau-examples --- [INFO] [INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ juneau-examples --- [INFO] [INFO] --- apache-rat-plugin:0.11:check (default) @ juneau-examples --- [INFO] 53 implicit excludes (use -debug for more details). [INFO] Exclude: **/DEPENDENCIES [INFO] Exclude: **/target/** [INFO] Exclude: **/.settings/** [INFO] Exclude: **/.project [INFO] Exclude: **/.classpath [INFO] Exclude: **/*.launch [INFO] Exclude: **/jetty.out.xml [INFO] Exclude: **/dependency-reduced-pom.xml [INFO] 1 resources included (use -debug for more details) [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 1 licence. [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ juneau-examples --- [INFO] Installing to /home/jenkins/.m2/repository/org/apache/juneau/juneau-examples/7.0.2-SNAPSHOT/juneau-examples-7.0.2-SNAPSHOT.pom [INFO] [INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ juneau-examples --- Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-examples/7.0.2-SNAPSHOT/maven-metadata.xml 611/611 B Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-examples/7.0.2-SNAPSHOT/maven-metadata.xml (611 B at 1.3 KB/sec) Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-examples/7.0.2-SNAPSHOT/juneau-examples-7.0.2-20171229.193431-22.pom 2/3 KB 3/3 KB Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-examples/7.0.2-SNAPSHOT/juneau-examples-7.0.2-20171229.193431-22.pom (3 KB at 3.0 KB/sec) Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-examples/maven-metadata.xml 545/545 B Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-examples/maven-metadata.xml (545 B at 1.1 KB/sec) Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-examples/7.0.2-SNAPSHOT/maven-metadata.xml 611/611 B Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-examples/7.0.2-SNAPSHOT/maven-metadata.xml (611 B at 0.9 KB/sec) Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-examples/maven-metadata.xml 545/545 B Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/juneau/juneau-examples/maven-metadata.xml (545 B at 0.7 KB/sec) [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Juneau REST Examples 7.0.2-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ juneau-examples-rest --- [INFO] Deleting [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ juneau-examples-rest --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ juneau-examples-rest --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ juneau-examples-rest --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 18 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ juneau-examples-rest --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 28 source files to [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ juneau-examples-rest --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ juneau-examples-rest --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 10 source files to [INFO] [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ juneau-examples-rest --- ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.juneau.examples.rest._TestSuite Running class 'RestMicroservice' using config file 'examples.cfg'. Server started on port 10000 List of available commands: exit -- Shut down service restart -- Restarts service help -- Commands help echo -- Echo command > log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized. Compiler warnings: WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.'

Root resources

Example of a router resource page.

namedescription
helloWorldHello World
petstorePet Store
systemPropertiesSystem properties resource
methodExampleA simple REST method example resource
echoRequest echo service
tempDirTemp Directory View Service
addressBookAddressBook sample resource
remoteableRemoteable Service Proxy API
photosPhoto REST service
atomSample ATOM feed resource
jsonSchemaSample JSON-Schema document
sqlQuerySQL query service
tumblrParserTumblr parser service
codeFormatterCode Formatter
urlEncodedFormURL-Encoded form example
configConfiguration
logsLog files
dockerSample Docker resource
debugDebug
shutdownShut down this resource
WARNING: RestClient garbage collected before it was finalized. Creation stack traces can be displayed by setting the system property 'org.apache.juneau.rest.client.RestClient.trackLifecycle' to true. Stopping server. Server stopped. Tests run: 31, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 11.338 sec <<< FAILURE! - in org.apache.juneau.examples.rest._TestSuite doTest[3](org.apache.juneau.examples.rest.RootContentTest) Time elapsed: 0.067 sec <<< ERROR! org.apache.juneau.FormattedRuntimeException: String 'source' not found at URL '/' for media type 'text/html' [JsonSchemaSerializer] = [7,17,70%] [PlainTextParser] = [3,22,88%] [UrlEncodingSerializer] = [10,40,80%] [SoapXmlSerializer] = [6,18,75%] [JsonSerializer] = [13,24,64%] [Simple] = [7,17,70%] [HtmlDocSerializer] = [22,2,8%] [UrlEncodingParser] = [4,20,83%] [UonPartParser] = [1,3,75%] [ImageParser] = [1,1,50%] [HtmlStrippedDocSerializer] = [8,16,66%] [MsgPackSerializer] = [7,19,73%] [JsonParser] = [4,26,86%] [UonSerializer] = [8,18,69%] [XmlParser] = [4,23,85%] [Turtle] = [8,4,33%] [MsgPackParser] = [3,22,88%] [N3] = [8,4,33%] [PlainTextSerializer] = [7,19,73%] [XmlDocSerializer] = [6,18,75%] [UonParser] = [4,21,84%] [ImageSerializer] = [1,0,0%] [XmlSchemaDocSerializer] = [7,17,70%] [HtmlSchemaDocSerializer] = [23,1,4%] [RdfSerializer] = [4,0,0%] [BeanContext] = [4,23,85%] [HtmlParser] = [4,23,85%] [HtmlSerializer] = [2,0,0%] [Xml] = [8,4,33%] [NTriple] = [8,4,33%] [XmlAbbrev] = [5,1,16%] [XmlSerializer] = [2,2,50%] [RdfParser] = [4,0,0%] [total] = [213,429,66%] Results : Tests in error: RootContentTest>ContentComboTestcase.doTest:103 ยป FormattedRuntime String ' for the individual test results. [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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :juneau-examples-rest Build step 'Invoke top-level Maven targets' marked build as failure