See
http://hudson.sfbay/job/Jersey/1805/changes
Changes:
[japod]
[japod] fix for issue#241
[Paul Sandoz] Remove unused imports
[Paul Sandoz]
[Paul Sandoz] - Fixed issue 243
https://jersey.dev.java.net/issues/show_bug.cgi?id=243
Return null from a sub-resource locator results in a 404 response.
[Paul Sandoz] - Fixed issue 243
https://jersey.dev.java.net/issues/show_bug.cgi?id=243
Return null from a sub-resource locator results in a 404 response.
------------------------------------------
[...truncated 345 lines...]
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/core/util//class-use/StringKeyObjectValueIgnoreCaseMultivaluedMap.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/core/util//class-use/StringIgnoreCaseKeyComparator.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/core/util//class-use/ThrowHelper.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/core/util//class-use/KeyComparatorHashMap.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/core/util//class-use/StringKeyIgnoreCaseMultivaluedMap.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/core/util//class-use/StringKeyStringValueIgnoreCaseMultivaluedMap.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/core/util//class-use/KeyComparator.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/core/util//class-use/MultivaluedMapImpl.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/api/uri//class-use/UriTemplate.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/api/uri//class-use/UriComponent.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/api/uri//class-use/UriComponent.Type.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/api/uri//class-use/UriBuilderImpl.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/api/uri//class-use/UriTemplateParser.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/api/uri//class-use/UriPattern.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/api/representation//class-use/Form.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/spi/service//class-use/ServiceConfigurationError.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/spi/service//class-use/ServiceFinder.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/spi/inject//class-use/PerRequestTypeInjectableProvider.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/spi/inject//class-use/Inject.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/spi/inject//class-use/InjectableProvider.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/spi/inject//class-use/SingletonTypeInjectableProvider.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/spi/inject//class-use/Injectable.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/spi/inject//class-use/InjectableProviderContext.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/spi//class-use/StringReaderWorkers.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/spi//class-use/StringReaderProvider.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/spi//class-use/MessageBodyWorkers.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/spi//class-use/StringReader.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/spi//class-use/HeaderDelegateProvider.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/impl//class-use/ApiMessages.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/impl//class-use/SpiMessages.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/impl//class-use/ImplMessages.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/api/representation//package-use.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/api/uri//package-use.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/core/header//package-use.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/core/header/reader//package-use.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/core/provider//package-use.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/core/provider/jaxb//package-use.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/core/reflection//package-use.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/core/spi/component//package-use.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/core/spi/component/ioc//package-use.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/core/spi/factory//package-use.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/core/util//package-use.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/impl//package-use.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/spi//package-use.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/spi/inject//package-use.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/com/sun/jersey/spi/service//package-use.html...
Building index for all the packages and classes...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/overview-tree.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/index-all.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/deprecated-list.html...
Building index for all classes...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/allclasses-frame.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/allclasses-noframe.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/index.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/overview-summary.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/help-doc.html...
Generating
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/apidocs/stylesheet.css...
8 warnings
[WARNING] Javadoc Warnings
[WARNING]
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/src/main/java/com/sun/jersey/core/spi/component/ioc/IoCComponentProviderFactory.java :104: warning - Tag @link: reference not found: Field
[WARNING]
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/src/main/java/com/sun/jersey/core/spi/component/ioc/IoCFullyManagedComponentProvider.java :55: warning - @See is an unknown tag -- same as a known tag except for case.
[WARNING]
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/src/main/java/com/sun/jersey/spi/inject/InjectableProviderContext.java :66: warning - Tag @link: reference not found: com.sun.jersey.api.model.Parameter
[WARNING]
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/src/main/java/com/sun/jersey/spi/inject/InjectableProviderContext.java :88: warning - Tag @link: reference not found: com.sun.jersey.api.model.Parameter
[WARNING]
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/src/main/java/com/sun/jersey/spi/inject/InjectableProvider.java :55: warning - Tag @link: reference not found: com.sun.jersey.api.model.Parameter
[WARNING]
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/src/main/java/com/sun/jersey/spi/inject/InjectableProviderContext.java :66: warning - Tag @link: reference not found: com.sun.jersey.api.model.Parameter
[WARNING]
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/src/main/java/com/sun/jersey/spi/inject/InjectableProviderContext.java :88: warning - Tag @link: reference not found: com.sun.jersey.api.model.Parameter
[WARNING]
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/src/main/java/com/sun/jersey/spi/StringReaderProvider.java :56: warning - Tag @see: reference not found: com.sun.jersey.server.spi.StringReaderWorkers
[INFO] Building jar:
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/jersey-core-1.0.3-SNAPSHOT-javadoc.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [buildnumber:create {execution: default}]
[INFO] Storing buildNumber: 03/16/2009 12:10 PM at timestamp: 1237230657475
[INFO] [build-helper:add-source {execution: add-source}]
[INFO] Source directory:
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/generated-sources/rsrc-gen added.
[INFO] [dependency:unpack {execution: unpack}]
[INFO] Configured Artifact: com.sun.istack:istack-commons-runtime:1.1-SNAPSHOT:jar
[INFO] istack-commons-runtime-1.1-SNAPSHOT.jar already unpacked.
[INFO] [istack-commons:rs-gen {execution: default}]
Resources:
com/sun/jersey/impl/api.properties
com/sun/jersey/impl/spi.properties
com/sun/jersey/impl/impl.properties
Skipping
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/src/main/resources/com/sun/jersey/impl/api.properties
Skipping
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/src/main/resources/com/sun/jersey/impl/spi.properties
Skipping
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/src/main/resources/com/sun/jersey/impl/impl.properties
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar:
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/jersey-core-1.0.3-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/jersey-core-1.0.3-SNAPSHOT.jar to /files/hudson/.m2/repository/com/sun/jersey/jersey-core/1.0.3-SNAPSHOT/jersey-core-1.0.3-SNAPSHOT.jar
[INFO] Installing
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/jersey-core-1.0.3-SNAPSHOT-javadoc.jar to /files/hudson/.m2/repository/com/sun/jersey/jersey-core/1.0.3-SNAPSHOT/jersey-core-1.0.3-SNAPSHOT-javadoc.jar
[INFO] Installing
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-core/target/jersey-core-1.0.3-SNAPSHOT-sources.jar to /files/hudson/.m2/repository/com/sun/jersey/jersey-core/1.0.3-SNAPSHOT/jersey-core-1.0.3-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building jersey-server
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-server/target
[INFO] [buildnumber:create {execution: default}]
[INFO] Storing buildNumber: 03/16/2009 12:10 PM at timestamp: 1237230658139
[INFO] [jaxb2:generate {execution: default}]
[INFO] Succesfully generated output to:
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-server/target/generated-sources/xjc
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 243 source files to
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-server/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 2 source files to
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-server/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory:
http://hudson.sfbay/job/Jersey/ws/jersey/jersey-server/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.sun.jersey.impl.modelapi.annotation.IntrospectionModellerTest
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.361 sec <<< FAILURE!
Running com.sun.jersey.impl.modelapi.validation.BasicValidatorTest
---
An issue should be reported if a public ctor is missing at a root resource:
ERROR: A root resource, class com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestRootResourceWithoutPublicConstructor, MUST have a public constructor
---
No issue should be reported if more public ctors exists with the same number of params, but another just one is presented with more params at a root resource:
---
An issue should be reported if a resource method is not public:
WARNING: A resource class, class com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestNonPublicRM, does not have any resource method, sub-resource method, or sub-resource locator.
WARNING: A resource method, private java.lang.String com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestNonPublicRM.getIt(), MUST be public scoped otherwise the method is ignored
---
An issue should be reported if a resource method is not public:
WARNING: A resource method, private java.lang.String com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestNonPublicRM1.getThis(), MUST be public scoped otherwise the method is ignored
---
An issue should be reported if a get method returns void:
WARNING: A HTTP GET method, public void com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestGetRMReturningVoid.getMethod(), MUST return a non-void type.
---
An issue should be reported if a get method consumes an entity:
ERROR: A HTTP GET method, public java.lang.String com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestGetRMConsumingEntity.getMethod(java.lang.Object), should not consume any entity.
---
An issue should be reported if a sub-resource locator returns void:
ERROR: A sub-resource locator, public void com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestSRLReturningVoid.srLocator(), MUST return a non-void type.
---
An issue should be reported if a get sub-resource method returns void:
WARNING: A HTTP GET method, public void com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestGetSRMReturningVoid.getSRMethod(), MUST return a non-void type.
---
An issue should be reported if a get method consumes an entity:
ERROR: A HTTP GET method, public java.lang.String com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestGetSRMConsumingEntity.getMethod(java.lang.Object), should not consume any entity.
---
An issue should be reported if a resource does not contain any method neither any locator:
WARNING: A resource class, class com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestEmptyResource, does not have any resource method, sub-resource method, or sub-resource locator.
---
An issue should be reported for a resource method, if more than one HTTP method with the same output mime-types exist:
ERROR: A resource, class com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestAmbigResourceMethodsGET, has ambiguous resource method for HTTP method GET and output mime-type: text/plain. The problematic mime-type sets (as defined by @Produces annotation at Java methods getText and getTextWithParam) are [text/plain] and [text/plain]
---
An issue should be reported for a resource method, if more than one HTTP method even with wilcard output mime-types exist:
ERROR: A resource, class com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestAmbigResourceMethodsGET1, has ambiguous resource method for HTTP method GET and output mime-type: */*. The problematic mime-type sets (as defined by @Produces annotation at Java methods getXml and getText) are [*/*] and [*/*]
---
No issue should be reported for a resource method, if more than one HTTP method with wilcard/non-wildcard input mime-types exist:
---
An issue should be reported for a resource method, if more than one HTTP method with the same input mime-types exist:
WARNING: A resource, class com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestAmbigResourceMethodsPUT, has ambiguous resource method for HTTP method PUT and input mime-type: text/plain. The problematic mime-type sets (as defined by @Consumes annotation at Java methods putTextOrImg and putTextWithParam) are [text/plain, image/jpeg] and [text/plain]. This could cause an error for conflicting output types!
ERROR: A resource, class com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestAmbigResourceMethodsPUT, has ambiguous resource method for HTTP method PUT and output mime-type: */*. The problematic mime-type sets (as defined by @Produces annotation at Java methods putTextOrImg and putTextWithParam) are [*/*] and [*/*]
---
An issue should be reported for a resource method if more than one HTTP method with the same input mime-types exist:
WARNING: A resource, class com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestAmbigResourceMethodsCUSTOM, has ambiguous resource method for HTTP method CUSTOM_HTTP_METHOD and input mime-type: text/plain. The problematic mime-type sets (as defined by @Consumes annotation at Java methods customTextOrImg and customTextWithParam) are [text/plain, image/jpeg] and [text/plain]. This could cause an error for conflicting output types!
ERROR: A resource, class com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestAmbigResourceMethodsCUSTOM, has ambiguous resource method for HTTP method CUSTOM_HTTP_METHOD and output mime-type: */*. The problematic mime-type sets (as defined by @Produces annotation at Java methods customTextOrImg and customTextWithParam) are [*/*] and [*/*]
---
An issue should be reported for a sub-resource method, if more than one HTTP method with the same output mime-type and uri path template exist:
ERROR: A resource, class com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestAmbigSubResourceMethodsGET, has ambiguous sub-resource method for HTTP method GET, URI path template {seven}, and output mime-type: text/plain. The problematic mime-type sets (as defined by @Produces annotation at Java methods getText and getTextWithParam) are [text/plain] and [text/plain]
---
An issue should be reported for a sub-resource method, if more than one HTTP method with the same input mime-type and uri path template exist:
WARNING: A resource, class com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestAmbigSubResourceMethodsPUT, has ambiguous sub-resource method for HTTP method PUT, URI path template sub/{slash}/, and input mime-type: text/plain. The problematic mime-type sets (as defined by @Consumes annotation at Java methods putTextOrImg and putTextWithParam) are [text/plain, image/jpeg] and [text/plain]. This could cause an error for conflicting output types!
ERROR: A resource, class com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestAmbigSubResourceMethodsPUT, has ambiguous sub-resource method for HTTP method PUT, URI path template sub/{slash}/, and output mime-type: */*. The problematic mime-type sets (as defined by @Produces annotation at Java methods putTextOrImg and putTextWithParam) are [*/*] and [*/*]
---
An issue should be reported for a sub-resource method, if more than one HTTP method with the same input mime-type and path exist:
WARNING: A resource, class com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestAmbigSubResourceMethodsCUSTOM, has ambiguous sub-resource method for HTTP method CUSTOM_HTTP_METHOD, URI path template sub/{b}, and input mime-type: text/plain. The problematic mime-type sets (as defined by @Consumes annotation at Java methods customGetTextOrImg and customGetTextWithParam) are [text/plain, image/jpeg] and [text/plain]. This could cause an error for conflicting output types!
ERROR: A resource, class com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestAmbigSubResourceMethodsCUSTOM, has ambiguous sub-resource method for HTTP method CUSTOM_HTTP_METHOD, URI path template sub/{b}, and output mime-type: */*. The problematic mime-type sets (as defined by @Produces annotation at Java methods customGetTextOrImg and customGetTextWithParam) are [*/*] and [*/*]
---
An issue should be reported if more than one sub-resource locator with the same path exists:
ERROR: A resource, class com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestAmbigSRLocators, has ambiguous sub-resource locator for URI template {two}, which matches with template {one}
---
An issue should be reported if more than one sub-resource locator with paths differing only in ending slash exist:
ERROR: A resource, class com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestAmbigSRLocatorsWithSlash, has ambiguous sub-resource locator for URI template {two}/, which matches with template {one}
---
An issue should be reported if more than one HTTP method designator exist on a resource method:
ERROR: A (sub-)resource method, public java.lang.String com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestMultipleHttpMethodDesignatorsRM.getPutIt(), should have only one HTTP method designator. It currently has the following designators defined: [@javax.ws.rs.GET(), @javax.ws.rs.PUT()]
---
An issue should be reported if more than one HTTP method designator exist on a sub-resource method:
ERROR: A (sub-)resource method, public java.lang.String com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestMultipleHttpMethodDesignatorsSRM.postPutIt(), should have only one HTTP method designator. It currently has the following designators defined: [@javax.ws.rs.POST(), @javax.ws.rs.PUT()]
---
An issue should be reported if an entity parameter exists on a sub-resource locator:
ERROR: A sub-resource locator, public java.lang.String com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestEntityParamOnSRL.locator(java.lang.String), can not have an entity parameter. Try to move the parameter to the corresponding resource method.
---
No issue should be reported if produced mime types differ
---
A warning should be reported if ambiguous source of a parameter is seen
WARNING: Parameter 1 of public void com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestAmbiguousParams.setB(java.lang.String) MUST be only one of a path, query, matrix or header parameter.
WARNING: Parameter a of private int com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestAmbiguousParams.a MUST be only one of a path, query, matrix or header parameter.
WARNING: Parameter 1 of public java.lang.String com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestAmbiguousParams.get(java.lang.String) MUST be only one of a path, query, matrix or header parameter.
WARNING: Parameter 1 of public java.lang.String com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestAmbiguousParams.getSub(java.lang.String,int) MUST be only one of a path, query, matrix or header parameter.
WARNING: Parameter 2 of public java.lang.String com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestAmbiguousParams.getSub(java.lang.String,int) MUST be only one of a path, query, matrix or header parameter.
WARNING: Parameter 1 of public java.lang.Object com.sun.jersey.impl.modelapi.validation.BasicValidatorTest$TestAmbiguousParams.getSubLoc(java.lang.String) MUST be only one of a path, query, matrix or header parameter.
Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.328 sec
Results :
Failed tests:
testNonPubMethodLogging(com.sun.jersey.impl.modelapi.annotation.IntrospectionModellerTest)
Tests run: 28, Failures: 1, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to http://hudson.sfbay/job/Jersey/ws/jersey/jersey-server/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.
Please refer to http://hudson.sfbay/job/Jersey/ws/jersey/jersey-server/target/surefire-reports for the individual test results.
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
Please refer to http://hudson.sfbay/job/Jersey/ws/jersey/jersey-server/target/surefire-reports for the individual test results.
at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:530)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 39 seconds
[INFO] Finished at: Mon Mar 16 12:11:06 PDT 2009
[INFO] Final Memory: 31M/62M
[INFO] ------------------------------------------------------------------------