How to see dependencies between artifacts in Artifactory?
I have installed Artifactory 3.2.0 (free version) on my computer and it is relatively easy to use but I am confused when it comes to viewing the dependencies between artifacts. As a trial run, I uploaded an artifact with default pom, but added in <dependencies> <dependency> <groupId>text</groupId> <artifactId>trial2</artifactId> <version>1.0</version> <type>txt</type> </dependency> </dependencies> which is the dependency declaration of another file. However I do not see anything indicating the two dependencies between the two artifacts. Is this what artifactory is like? Or is there something wrong with my installation of artifactory?
Typically, binary repository does not include dependency manager of its own, so it does not know about the dependencies between artifacts. This is due to the fact that there is a whole plead of dependency managers, each of them resolves dependencies a bit differently (specially, when it comes to transitive dependencies). Even one tool can switch the resolution strategy between versions. That means that doing static dependency analysis correctly is almost impossible, so when you just upload the files, Artifactory doesn't know about the dependencies. This changes, when Artifactory has a chance to do a runtime dependency analysis. If you run a build (effectively resolving the artifacts using the dependency manager of choice) and Artifactory is aware of it (by using one of the Build Integration plugins, Maven plugin or Gradle plugin), then boom! you can see all the dependencies in the build browser:
OWASP Dependency check : Adding modelVersion version to dependency check report
How to integrate maven with Protractor for CI/CD
Payara-Micro Embedded with Java EE
Determining the existence of a new SNAPSHOT version of dependencies in Nexus?
TestNG: Is it possible to break test Suites to run single parallel test Suites
CAS Server 5.0.x : Add new pages or features
How does Embed-Dependency from maven-bundle-plugin work in these cases?
Replace artifacts paths in TeamCity
Is it possible to build a apt-get cache for to be installed packages
Failed to deploy artifacts: Could not find artifact
Spring jpa BeanCreationException : Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument;
Exclude files from a submodule using maven is not working
Cannot generate surefire report for Soap UI suite when a test case fails : Maven
delete target directory in maven during mvn clean phase
Nebula, Gradle, Maven, Publishing can't find the artifact file
Selenium WebDriver. Reciving error: Failed to connect to binary FirefoxBinary(C:\Program Files (x86)\Mozilla Firefox\firefox.exe) on port 7055