Git Product home page Git Product logo

Comments (14)

romangurevitch avatar romangurevitch commented on July 24, 2024 1

Hi @BhavikTanna, we have released Gradle Artifactory plugin version 4.2.0 which supports your need to define multiple Artifactory publication and resolve repositories in sub modules.
You are welcome to use it.
Gradle Artifactory Plugin

from project-examples.

adil-hussain-84 avatar adil-hussain-84 commented on July 24, 2024

I have a similar problem where I have a project consisting of two sub-modules and I'd like to publish artifacts from both sub-modules as part of the artifactoryPublish invocation. The plugin unfortunately only publishes artifacts from one of the sub-modules. See this question on Stack Overflow:

http://stackoverflow.com/questions/35851251

from project-examples.

romangurevitch avatar romangurevitch commented on July 24, 2024

Thanks for your input, we have fixed this issue.
You can see the resolution at:
GAP-249
If you like we can provide you unofficial release with the fix.

from project-examples.

BhavikTanna avatar BhavikTanna commented on July 24, 2024

Thanks for the update, I've moved back to the built in mavenPublish task for now, but will make a note of the fix and take the next formal release, any idea on when that will be? Or is it a long term thing?

from project-examples.

romangurevitch avatar romangurevitch commented on July 24, 2024

We don't have final ETA for the release but we hope it will be during the next few weeks.

from project-examples.

adil-hussain-84 avatar adil-hussain-84 commented on July 24, 2024

Thanks for the update @romangurevitch. I managed to get multi-module publishing with version 4.0.1 of the plugin. See my answer in this StackOverflow thread...

http://stackoverflow.com/questions/35851251

... but great to know regardless that it's possible to define Artifactory settings in the sub-modules.

from project-examples.

mkornipati avatar mkornipati commented on July 24, 2024

Hi @BhavikTanna, we got slightly different requirement. In our multi-project, each sub project may need to publish artifacts to multiple repository locations. Will that be possible with this release?

from project-examples.

doubleo2 avatar doubleo2 commented on July 24, 2024

@romangurevitch Is there any documentation for this feature? Do you have to recreate the entire artifactory closure in the subproject or can you just override artifactory.publish.repoKey?

from project-examples.

romangurevitch avatar romangurevitch commented on July 24, 2024

@doubleo2 thanks for the input, we will add an example and update.

from project-examples.

eyalbe4 avatar eyalbe4 commented on July 24, 2024

@doubleo2, configuring the artifactory closure with a different repoKey for your subprojects, will get the artifacts published to the configured subproject repository. As @romangurevitch mentioned above, we will post an example for this.

from project-examples.

doubleo2 avatar doubleo2 commented on July 24, 2024

@romangurevitch @eyalbe4 Did you ever post an example? Overriding the repository configuration in a subproject has never worked for me

from project-examples.

eyalbe4 avatar eyalbe4 commented on July 24, 2024

@doubleo2,
While looking into this today, we pinpointed the issue. We're currently working on a fix.
With the fix, we'll also publish a working example. My apologies for this.

from project-examples.

eyalbe4 avatar eyalbe4 commented on July 24, 2024

@doubleo2, the latest Gradle Artifactory Plugin version includes a fix and a gradle-example-multi-repos example project has been added.

from project-examples.

truebit avatar truebit commented on July 24, 2024

Is there any method to only change repoKey in subprojects without include the full artifactory closure in subprojects?

from project-examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.