maven


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:

Related Links

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

Categories

HOME
debugging
cookies
zeromq
image-processing
push-notification
comparison
appx
include
sd-card
android-4.4-kitkat
gis
serverspec
mouse
iggrid
node-pdfkit
visual-studio-cordova
django-simple-history
clojurescript
transformation
introduction
emulator
paging
orleans
mps
core-text
pass-by-reference
underflow
wpfdatagrid
brunch
gsoap
stormpath
key-value-observing
ioio
winrt-xaml-toolkit
typed.js
commit
fusionpbx
x11-forwarding
theano.scan
unspecified
unobtrusive-validation
hue
lumberjack
user-controls
graphenedb
websphere-mq-fte
wso2carbon
auto-update
google-datalayer
pubmed
boost-multi-index
yii2-extension
feeds
nsarray
spring-cache
root-framework
cubes
setuptools
google-feed-api
dstu2-fhir
intrusion-detection
google-web-starter-kit
plottable.js
ready-api
reactive-banana
msys
cartesian-product
retina
wordml
service-accounts
system32
csquery
jsonpickle
coldbox
tt-news
asp.net-dynamic-data
heisenbug
braille
terminal-services
back-stack
kyotocabinet
selected
simba
sublist
quickdialog
funscript
windows-phone-7.1.1
amazon-appstore
ohm
zpt
f#-powerpack
disclosure
mozilla-prism
xsdobjectgen
compiler-specific
xetex
phonon
nerddinner
msdev

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App