You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/02/13 12:46:37 UTC
[GitHub] chetanmeh opened a new issue #3277: Use Maven based dependency instead of gradle project based dependency
chetanmeh opened a new issue #3277: Use Maven based dependency instead of gradle project based dependency
URL: https://github.com/apache/incubator-openwhisk/issues/3277
Currently other OpenWhisk repositories refer to OpenWhisk modules like common, core and test via Gradle project dependency. This creates a tight coupling between the repositories and poses problem as seen in #3249
With #3061 support was added to generate Maven artifacts and install them in local repositories. Other repositories should leverage these artifacts as dependency. This would later allow them to be pulled from Maven repositories.
the plan of action is to find out all other projects which rely on openwhisk core project via project dependency and then modify them in following way
Switch to Maven based dependency
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
compile "org.apache.openwhisk:openwhisk-common:${gradle.openwhisk.version}"
}
Modify travis build to perform Maven install
./gradlew install distDocker
Based on [this search][1] there are 7 such modules which need to be modified.
[1]: https://sourcegraph.com/search?q=%22project%28%27:common:scala%27%29%22+repo:%5Egithub%5C.com/apache/incubator-openwhisk*
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services