-
Notifications
You must be signed in to change notification settings - Fork 6k
updated core versions #4881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updated core versions #4881
Conversation
@wing328 any ideas on this? I'll be able to look more shortly |
Taking a look... |
There's an issue with Travis CI at the moment:
and I couldn't get any details of the job (e.g log) |
thanks @wing328. I must have gotten lucky with the parser update |
I think there was a problem with the online petstore. Restarting the builds... |
The build failed with the following error:
Ref: https://api.travis-ci.org/jobs/206653633/log.txt?deansi=true I'm looking into the issue... |
<maven.compiler.source>${java.version}</maven.compiler.source> | ||
<maven.compiler.target>${java.version}</maven.compiler.target> | ||
<swagger-core-version>1.5.9</swagger-core-version> | ||
<swagger-core-version>1.5.12</swagger-core-version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fehguy This change results in the following errors:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project swagger-jaxrs-server: Compilation failure: Compilation failure:
[ERROR] /private/tmp/master/swagger-codegen/samples/server/petstore/jaxrs/jersey2/src/gen/java/io/swagger/api/JacksonJsonProvider.java:[6,43] package com.fasterxml.jackson.datatype.joda does not exist
[ERROR] /private/tmp/master/swagger-codegen/samples/server/petstore/jaxrs/jersey2/src/gen/java/io/swagger/api/JacksonJsonProvider.java:[7,40] package com.fasterxml.jackson.jaxrs.json does not exist
[ERROR] /private/tmp/master/swagger-codegen/samples/server/petstore/jaxrs/jersey2/src/gen/java/io/swagger/api/JacksonJsonProvider.java:[15,42] cannot find symbol
[ERROR] symbol: class JacksonJaxbJsonProvider
[ERROR] /private/tmp/master/swagger-codegen/samples/server/petstore/jaxrs/jersey2/src/gen/java/io/swagger/api/JacksonJsonProvider.java:[22,33] cannot find symbol
[ERROR] symbol: class JodaModule
[ERROR] location: class io.swagger.api.JacksonJsonProvider
[ERROR] /private/tmp/master/swagger-codegen/samples/server/petstore/jaxrs/jersey2/src/gen/java/io/swagger/api/JacksonJsonProvider.java:[25,9] cannot find symbol
[ERROR] symbol: method setMapper(com.fasterxml.jackson.databind.ObjectMapper)
[ERROR] location: class io.swagger.api.JacksonJsonProvider
[ERROR] -> [Help 1]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I manually add the following to the pom.xml, mvn test
does not throw any error:
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.8.7</version>
</dependency>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added back the dependency via f15267c
@wing328 Found another missing one. We'll see if it passes |
The Travis job passed: https://travis-ci.org/swagger-api/swagger-codegen/builds/206707978 |
@wing328 shippable is waiting (40 minutes now). Unless you object, I'm going to merge anyway |
No objection. Please go ahead. (The Shippable test aims to catch issue with mustache templates (e.g. missing close tab)). |
…ions updated core versions
Updated swagger-core, swagger-inflector to current releases