Comments (8)
Hello there,
the URL should point to the repository directly, basically show a file list when you call it within a browser. It's the same URL you would use to include the repo within your Maven or Gradle project. I'm not sure how it'll look like, but my guess is it's https://hcldevopscoe.jfrog.io/hcldevopscoe/libs-release-local/ or something like this. Then the Group Id would be just com
. Can you check that?
from go-maven-poller.
Hi Sir,
I have put the URL as "https://hcldevopscoe.jfrog.io/hcldevopscoe/libs-release-local" in the MAVEN-REPO Repository Configuration and i am getting HTTP Status 200 Error Message.
As per my knowledge the URL should be given as "https://hcldevopscoe.jfrog.io/hcldevopscoe/" but i dont know where to provide the repository name(libs-release-local) in the arguments .
I have tried another plugin(Generic Artifactory Poller) but it has got some issues in downloading the artifacts.
from go-maven-poller.
Ok, sorry I'm unfamiliar with the jfrog.io
services, therefore it's hard for me to quickly help you. Basically you need to find the URL to a file called maven-metadata.xml
within the artifact directory of your repository. Have a look here as an example https://oss.sonatype.org/content/repositories/snapshots/com/oneandone/snmpman/. Here the group id is com.oneandone
and the artifact id is snmpman
. You'll see the maven-metadata.xml
listed there.
Maybe it's inside https://hcldevopscoe.jfrog.io/hcldevopscoe/com/ ? I'm not authorized to check that.. if so, just set the group id to com
.
Otherwise is there a way to get the base URL of your repository? Maybe by downloading some Maven settings.xml
and looking into it or something like that? Or is there some info or how-to page?
Can you browse for the AntSpringMVC artifact in the tree browser and check the URLs to the files?
from go-maven-poller.
Hi Sir,
I am able to see the maven-metadata.xml file in the AntSpringMVC folder.
I have attached the snapshot of my JFrog Artifactory instance which explains the group id and the artifact id structure.
The only challenge i have in configuring the artifactory instance is the plugin doesn't provide an option to mention the repository id(libs-releases-local)
The plugin currently supports only the onpremise version of Artifactory but not the cloud version.
Are there any chances of bringing the support to the cloud version.
from go-maven-poller.
As a last try, can you also check if you can access the remote browsing feature as described here https://www.jfrog.com/confluence/display/RTF/Browsing+Artifactory#BrowsingArtifactory-RemoteBrowsing ?
I'll have a look into the main differences with the cloud version and will get back to you.
EDIT
There's also a download option for the maven-metadata.xml
as you can see in the upper right corner of the screenshot, which will reveal some download URL. You may try to use that one without the /com/...
part as the base URL in your case.
from go-maven-poller.
Please try release 1.1.4-alpha1 with the URL https://hcldevopscoe.jfrog.io/hcldevopscoe/libs-release-local . I just discovered an issue with the HTTP request. In case that check fails, you will find more information in the file plugin-maven-repo.log
within the GoCD server directory / logging directory. I added some logging messages to debug the issue.
from go-maven-poller.
Hi Sir,
Thank you very much for providing the fix.
The alpha plugin now supports the cloud version of the JFROG Artifactory.
Now i am able to poll the artifacts and download them in to gocd agent machine.
from go-maven-poller.
Hi there,
I'm glad it worked and I could help you. 👍
I'll check the release for the other repos and if it'll work make a final build.
from go-maven-poller.
Related Issues (10)
- Only latest revision? HOT 4
- Support for hotfix versions HOT 1
- How to specify trackback information? HOT 2
- Include classifier with artifacts HOT 3
- Class [module-info] could not be loaded. Message: [module-info is not a class because access_flag ACC_MODULE is set]. HOT 2
- Fix building for JDK 16 HOT 1
- Fix "invalid proxy" problem with HTTP Client 5.2.2 HOT 2
- JUnit 3 & 4 style mixing HOT 2
- Redeployed snapshots ignored. HOT 29
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 go-maven-poller.