You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Michael Vorburger (Jira)" <ji...@apache.org> on 2020/08/02 15:37:00 UTC
[jira] [Commented] (FINERACT-1101) Swagger CodeGen Test Build using
Gradle instead of Maven
[ https://issues.apache.org/jira/browse/FINERACT-1101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17169563#comment-17169563 ]
Michael Vorburger commented on FINERACT-1101:
---------------------------------------------
I've briefly locally tried this out, and looks like it's broken:
{noformat} $ ./gradlew build generateSwaggerCode
$ cd build/swagger-code-fineract/
$ chmod +x ./gradlew
$ ./gradlew build
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '11.0.8'.{noformat}
I suspect this is because of the ancient Gradle version that they use...
[~Grandolf49] would you like to raise a bug to the Swagger CodeGen project about this? (I don't even know where/which one.)
> Swagger CodeGen Test Build using Gradle instead of Maven
> --------------------------------------------------------
>
> Key: FINERACT-1101
> URL: https://issues.apache.org/jira/browse/FINERACT-1101
> Project: Apache Fineract
> Issue Type: Sub-task
> Reporter: Michael Vorburger
> Assignee: Chinmay Kulkarni
> Priority: Minor
>
> Looking at [https://travis-ci.org/github/apache/fineract/builds/714158191] for [https://github.com/apache/fineract/pull/1228] for FINERACT-838, I've noticed that the Swagger Client Code Generation seems to be built using Maven {{mvn}}... but on {{docs/developers/swagger/client.md}} we document the use of Gradle. This seems inconsistent, and requiring Fineract developers to have Maven installed just for this may be unnecessary?
> [~Grandolf49] was there a particular reason why you chose to build the client using Maven instead of Gradle on Travis in your PR? If none, would you be willing to raise a PR to change that?
> If that is not possible, the Travis CI should should at least use the Maven Wrapper {{./mvnw}} instead of {{mvn}}. And we should add Caching of Maven artifacts in addition to Gradle to the Travis CI configuration, to make it a bit faster.
> [~Manthan] [~ptuomola] FYI.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)