Comments (14)
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.
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.
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.
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.
We don't have final ETA for the release but we hope it will be during the next few weeks.
from project-examples.
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.
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.
@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.
@doubleo2 thanks for the input, we will add an example and update.
from project-examples.
@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.
@romangurevitch @eyalbe4 Did you ever post an example? Overriding the repository configuration in a subproject has never worked for me
from project-examples.
@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.
@doubleo2, the latest Gradle Artifactory Plugin version includes a fix and a gradle-example-multi-repos example project has been added.
from project-examples.
Is there any method to only change repoKey
in subprojects without include the full artifactory closure in subprojects?
from project-examples.
Related Issues (20)
- use jenkins pipeline upload files timeout
- Gradle plugin: build promotion
- Dotnet artifactory creation HOT 6
- xray not showing any issue for Android APK artifact
- Jenkins Scripted Pipeline (maven-example) leads to errors. It could be minimalistic. HOT 2
- Unable to upload artifacts
- Unable to upload artifacts HOT 2
- springboot update,maven deploy artifactory problem HOT 5
- The Build Object name is not getting updated as expected in Artifactory while using the Artifactory Maven plugin.
- Support for downloading Gradle from Artifactory HOT 1
- Question of how to modify properites of an artifact
- kts-publish example: PublishBuildInfo HOT 2
- Unable to Publish build-info to Artifactory using JFrog CLI HOT 1
- Can we have documentation with example for terraform module usage published with Artifactory ? HOT 1
- Could not GET 'https://artifactoryexample.com/ZAID/TEST/v1.0.0/TEST-v1.0.0.jar'. Received status code 401 from server:
- Artifactory Gradle plugin uses deprecated Gradle API HOT 1
- fat-manifest-example does not work
- How to building with the mavend ?
- Unable to pull GO package after publishing HOT 2
- RT_TRIGGER_URL causes failure in pipeline if build triggered manually
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from project-examples.