My problem is "simple" but I didn´t found the solution until now:
I have 2 projects.
- Project A built with a classifier (called dev or pro) with help of a specific profile
Project B with a dependency to A (using classifier dev or pro)
I execute install goal on A with a classifier (dev)
- I re-execute install goal with another classifier (pro)
Then I compile the B project (and i put the dependency to A, with classifier DEV)
It works well.
But when I do the same with artifactory (goal deploy) , it doesn´t work (and the repository is configured "unique")
It doesn´t work because artifactory? maven dependency? is trying to download A with classifier dev AND latest timestamp, buildnumber of whatever.
But this "logic" is wrong because the latest timestamp is valid for A classifier pro!!!
I read the metadata.xml between local repository and artifactory repository. There are similar (but not exactly the same)
What i´m wrong? Thanks guys!
- Maven version : 3.03
- Artifactory version : 2.3.4.1