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:
copy dependencies transitive and not transitive
jetty-maven-plugin setting buffers sizes
Grails refresh-dependencies doesn't download snapshot dependency from local maven repository
Copy test resources from one submodule to the others
What is an uber jar?
Add jar file to Maven Reactor modules list
JAX-WS with Spring integration with Jetty server
POM for 'log4j:log4j:pom:1.2.15:compile' is invalid
Adding a set of dependencies in maven
Is it possible to get Maven dependencies in a property at run-time?
Correct way to maintain a company-wide POM
How to do websphere 7 deployment automation using maven?
Deploy war in multiple module project on maven
Bad version number in .class file
Getting ReportNG to generate its output in Maven's “site”?