When running "mvn clean install" (under Windows) in project com.eclipsesource.jaxrs.build, the build fails with:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] OSGi - JAX-RS Connector ........................... SUCCESS [0.608s]
[INFO] com.eclipsesource.rest.client.driver .............. SUCCESS [4.506s]
[INFO] com.eclipsesource.jaxrs.publisher ................. SUCCESS [9.095s]
[INFO] com.eclipsesource.jaxrs.consumer .................. SUCCESS [4.585s]
[INFO] com.eclipsesource.jaxrs.provider.moxy ............. SUCCESS [3.973s]
[INFO] com.eclipsesource.jaxrs.provider.gson ............. SUCCESS [3.548s]
[INFO] com.eclipsesource.jaxrs.publisher.test ............ SUCCESS [2.304s]
[INFO] com.eclipsesource.jaxrs.consumer.test ............. FAILURE [0.275s]
[INFO] com.eclipsesource.jaxrs.provider.gson.test ........ SKIPPED
[INFO] com.eclipsesource.jaxrs.jersey.runtime.feature .... SKIPPED
[INFO] com.eclipsesource.jaxrs.connector.feature ......... SKIPPED
[INFO] com.eclipsesource.jaxrs.provider.moxy.feature ..... SKIPPED
[INFO] com.eclipsesource.jaxrs.provider.gson.feature ..... SKIPPED
[INFO] com.eclipsesource.jaxrs.repository ................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 41.042s
[INFO] Finished at: Fri Nov 01 11:39:26 CET 2013
[INFO] Final Memory: 39M/95M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.18.1:compile (default-compi
le) on project com.eclipsesource.jaxrs.consumer.test: Compilation failure: Compilation failure:
[ERROR] E:\dev\java\osgi-jax-rs-connector\build\com.eclipsesource.rest.client.driver\com\github\rest
driver\clientdriver\ClientDriverRequest.java:[186,0]
[ERROR] params.put(key, new MatchesRegex(value));
[ERROR] ^^^
[ERROR] The method put(String, Matcher<? extends String>) in the type Multimap<String,Matcher<? exte
nds String>> is not applicable for the arguments (String, MatchesRegex)
[ERROR] E:\dev\java\osgi-jax-rs-connector\build\com.eclipsesource.rest.client.driver\com\github\rest
driver\clientdriver\ClientDriverRequest.java:[213,0]
[ERROR] this.params.put(key, new MatchesRegex((Pattern) value));
[ERROR] ^^^
[ERROR] The method put(String, Matcher<? extends String>) in the type Multimap<String,Matcher<? exte
nds String>> is not applicable for the arguments (String, MatchesRegex)
[ERROR] E:\dev\java\osgi-jax-rs-connector\build\com.eclipsesource.rest.client.driver\com\github\rest
driver\clientdriver\ClientDriverRequest.java:[314,0]
[ERROR] bodyContentMatcher = new MatchesRegex(withBodyContent);
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Type mismatch: cannot convert from MatchesRegex to Matcher<? extends String>
[ERROR] E:\dev\java\osgi-jax-rs-connector\build\com.eclipsesource.rest.client.driver\com\github\rest
driver\clientdriver\ClientDriverRequest.java:[328,0]
[ERROR] bodyContentMatcher = new MatchesRegex(withBodyContent);
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Type mismatch: cannot convert from MatchesRegex to Matcher<? extends String>
[ERROR] E:\dev\java\osgi-jax-rs-connector\build\com.eclipsesource.rest.client.driver\com\github\rest
driver\matchers\MatchesRegex.java:[21,0]
[ERROR] import org.hamcrest.TypeSafeMatcher;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.hamcrest.TypeSafeMatcher cannot be resolved
[ERROR] E:\dev\java\osgi-jax-rs-connector\build\com.eclipsesource.rest.client.driver\com\github\rest
driver\matchers\MatchesRegex.java:[23,0]
[ERROR] public class MatchesRegex extends TypeSafeMatcher {
[ERROR] ^^^^^^^^^^^^^^^
[ERROR] TypeSafeMatcher cannot be resolved to a type
[ERROR] E:\dev\java\osgi-jax-rs-connector\build\com.eclipsesource.rest.client.driver\com\github\rest
driver\matchers\MatchesRegex.java:[32,0]
[ERROR] public final void describeTo(Description description) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The method describeTo(Description) of type MatchesRegex must override or implement a superty
pe method
[ERROR] E:\dev\java\osgi-jax-rs-connector\build\com.eclipsesource.rest.client.driver\com\github\rest
driver\matchers\MatchesRegex.java:[37,0]
[ERROR] protected boolean matchesSafely(String item) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The method matchesSafely(String) of type MatchesRegex must override or implement a supertype
method
[ERROR] 8 problems (8 errors)
[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 arti
cles:
[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 :com.eclipsesource.jaxrs.consumer.test
When running "mvn clean install" (under Windows) in project com.eclipsesource.jaxrs.build, the build fails with:
[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] OSGi - JAX-RS Connector ........................... SUCCESS [0.608s] [INFO] com.eclipsesource.rest.client.driver .............. SUCCESS [4.506s] [INFO] com.eclipsesource.jaxrs.publisher ................. SUCCESS [9.095s] [INFO] com.eclipsesource.jaxrs.consumer .................. SUCCESS [4.585s] [INFO] com.eclipsesource.jaxrs.provider.moxy ............. SUCCESS [3.973s] [INFO] com.eclipsesource.jaxrs.provider.gson ............. SUCCESS [3.548s] [INFO] com.eclipsesource.jaxrs.publisher.test ............ SUCCESS [2.304s] [INFO] com.eclipsesource.jaxrs.consumer.test ............. FAILURE [0.275s] [INFO] com.eclipsesource.jaxrs.provider.gson.test ........ SKIPPED [INFO] com.eclipsesource.jaxrs.jersey.runtime.feature .... SKIPPED [INFO] com.eclipsesource.jaxrs.connector.feature ......... SKIPPED [INFO] com.eclipsesource.jaxrs.provider.moxy.feature ..... SKIPPED [INFO] com.eclipsesource.jaxrs.provider.gson.feature ..... SKIPPED [INFO] com.eclipsesource.jaxrs.repository ................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 41.042s [INFO] Finished at: Fri Nov 01 11:39:26 CET 2013 [INFO] Final Memory: 39M/95M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.18.1:compile (default-compi le) on project com.eclipsesource.jaxrs.consumer.test: Compilation failure: Compilation failure: [ERROR] E:\dev\java\osgi-jax-rs-connector\build\com.eclipsesource.rest.client.driver\com\github\rest driver\clientdriver\ClientDriverRequest.java:[186,0] [ERROR] params.put(key, new MatchesRegex(value)); [ERROR] ^^^ [ERROR] The method put(String, Matcher<? extends String>) in the type Multimap<String,Matcher<? exte nds String>> is not applicable for the arguments (String, MatchesRegex) [ERROR] E:\dev\java\osgi-jax-rs-connector\build\com.eclipsesource.rest.client.driver\com\github\rest driver\clientdriver\ClientDriverRequest.java:[213,0] [ERROR] this.params.put(key, new MatchesRegex((Pattern) value)); [ERROR] ^^^ [ERROR] The method put(String, Matcher<? extends String>) in the type Multimap<String,Matcher<? exte nds String>> is not applicable for the arguments (String, MatchesRegex) [ERROR] E:\dev\java\osgi-jax-rs-connector\build\com.eclipsesource.rest.client.driver\com\github\rest driver\clientdriver\ClientDriverRequest.java:[314,0] [ERROR] bodyContentMatcher = new MatchesRegex(withBodyContent); [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ERROR] Type mismatch: cannot convert from MatchesRegex to Matcher<? extends String> [ERROR] E:\dev\java\osgi-jax-rs-connector\build\com.eclipsesource.rest.client.driver\com\github\rest driver\clientdriver\ClientDriverRequest.java:[328,0] [ERROR] bodyContentMatcher = new MatchesRegex(withBodyContent); [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ERROR] Type mismatch: cannot convert from MatchesRegex to Matcher<? extends String> [ERROR] E:\dev\java\osgi-jax-rs-connector\build\com.eclipsesource.rest.client.driver\com\github\rest driver\matchers\MatchesRegex.java:[21,0] [ERROR] import org.hamcrest.TypeSafeMatcher; [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ERROR] The import org.hamcrest.TypeSafeMatcher cannot be resolved [ERROR] E:\dev\java\osgi-jax-rs-connector\build\com.eclipsesource.rest.client.driver\com\github\rest driver\matchers\MatchesRegex.java:[23,0] [ERROR] public class MatchesRegex extends TypeSafeMatcher {
[ERROR] ^^^^^^^^^^^^^^^
[ERROR] TypeSafeMatcher cannot be resolved to a type
[ERROR] E:\dev\java\osgi-jax-rs-connector\build\com.eclipsesource.rest.client.driver\com\github\rest
driver\matchers\MatchesRegex.java:[32,0]
[ERROR] public final void describeTo(Description description) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The method describeTo(Description) of type MatchesRegex must override or implement a superty
pe method
[ERROR] E:\dev\java\osgi-jax-rs-connector\build\com.eclipsesource.rest.client.driver\com\github\rest
driver\matchers\MatchesRegex.java:[37,0]
[ERROR] protected boolean matchesSafely(String item) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The method matchesSafely(String) of type MatchesRegex must override or implement a supertype
method
[ERROR] 8 problems (8 errors)
[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 arti
cles:
[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 :com.eclipsesource.jaxrs.consumer.test