Smart remote repositories on Artifactory OSS - artifactory

I am trying to set up some Maven smart remote repositories on an Artifactory OSS instance (version is 5.4.5).
I am following the guide at https://www.jfrog.com/confluence/display/RTF/Smart+Remote+Repositories and configuring the remote repository as follows:
Package type: Maven
Repository key: foo-repo
URL: http://artifactory.mycompany.com/artifactory/api/foo-repo
All I get when I input that and click on "Test" to test the connection is a message telling me that there was a 404.
If I test the same values on an Artifactory Pro instance (also version 5.4.5), I get the expected "Artifact Remote Repository Detected" dialog, as described in the documentation.
So can anyone confirm that smart remote repositories are a "Pro" only feature? The tutorial page at https://www.jfrog.com/confluence/display/RTF/Smart+Remote+Repositories doesn't make this clear at all...

Yes, the "Smart Remote Repository" is a PRO version feature.

Related

Is it possible to make gradlew to work with nexus?

I have a build machine for Android app. This machine has no access to the Internet.
There is a local nexus repository. Application gradle set up to load dependencies from this nexus repository and it works fine.
But I also need gradlew to load from that nexus repository too.
I've tried to set distributionUrl to local nexus url and it works - distribution is installed and daemon is started.
But next it fails to load https://dl.google.com/android/repository/addons_list-5.xml with timeout
Is there a way to redirect all gradle requests to nexus repositories?
To redirect all Gradle requests to your Nexus repository, you can add the following to your gradle.properties file:
systemProp.http.proxyHost=<hostname>
systemProp.http.proxyPort=<port>
systemProp.http.nonProxyHosts=localhost|127.0.0.1
Replace and with the hostname and port of your Nexus repository. This will tell Gradle to use your local Nexus repository for all dependencies, including the addons_list-5.xml file that you are currently having trouble loading.
It's also a good idea to make sure that your Nexus repository is properly configured and has all the necessary dependencies. You can check the logs of your Nexus repository to see if there are any errors or issues that might be preventing Gradle from accessing the dependencies it needs.

Q. How can I get SUSE repositories from update.suse.com in artifactory?

It is needed to add repositories from SLES (updates.suse.com) as a remote repository to artifactory. I guess this would be done via "RPM" remote repository, but after entering the link (including token) there always be a 403. Would suspect that the problem is that the link should be accessed as a yum repo and the metadata should been read first.
How can I get this working?

How to create yum proxy repository with nexus OSS complete example

I have some question:
How to write the url of remote repository while creating proxy repository in nexus OSS.What is the value of $releasever and $basearch
- http://path/to/repo/releases/$releasever/server/$basearch/os/
There is a nexus alternative and more lightweight, named Repocache.

Artifactory remote repos and Terracota

I want to setup my maven settings.xml file to download all the external dependencies from Artifactory cache instead of download them directly from any of the public repositories like repo1, repo2 or Jboss. I followed the instructions at http://wiki.jfrog.org/confluence/display/RTF/Configuring+Artifacts+Resolution at but I'm stuck with an error with the terracota library, the error is:
Could not find artifact net.sf.ehcache:ehcache-terracotta:jar:2.5.0 in remote-repos
I tried adding terracota repository at the remote repositories section but this didn't worked either.
Please advice.
I can think of a couple of possibilities:
Your remote-repos cache isn't configured to point to the remote repository that contains the Terracotta files
Your build isn't using the correct organization or module name when resolving the dependency on Terracotta.
Could you add some info to your question detailing where exactly you are seeing the error message, and whether you can browse to ehcache-terracotta version 2.5.0 in Artifactory ?
Please add the terracotta repository to your artifactory
This is the URL= http://www.terracotta.org/download/reflector/releases
Don't worry if the test of the repo doesn't work...
The last step is to go to Edit Virtual Repository and add the new terracotta repo to the virtual repository called "Remote Repo".

How to build Flyway without all JDBC Drivers

I found an issue with FlyWay running in a Weblogic Server.
I cloned the source repository and added the unit test + fix. But I can't test my fix in Weblogic because of all the JDBC drivers needed by the maven build and that are not available in public repos.
Is there a simple way to bypass these dependencies ?
As decribed in the How To Contribute wiki page:
Disable the MediumTests Maven profile using -P-MediumTests.
Ex.: mvn clean install -P-MediumTests

Resources