Dear members, I think I stumbled upon an issue with Artifactory :(.
Consider the following maven pom (dependencies snippet) : <dependency> <groupId>org.neo4j</groupId> <artifactId>neo4j-kernel</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>org.neo4j</groupId> <artifactId>neo4j-lucene-index</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>org.neo4j</groupId> <artifactId>neo4j-graph-algo</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>org.neo4j</groupId> <artifactId>neo4j-udc</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>org.neo4j</groupId> <artifactId>neo4j-graph-matching</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>org.neo4j</groupId> <artifactId>neo4j-cypher</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>org.neo4j</groupId> <artifactId>neo4j-jmx</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>osgi_R4_core</artifactId> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>osgi_R4_compendium</artifactId> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.neo4j</groupId> <artifactId>neo4j-kernel</artifactId> <version>1.4</version> <type>test-jar</type> </dependency> (Full version is here: http://repo1.maven.org/maven2/org/neo4j/neo4j/1.4/neo4j-1.4.pom) It has two dependencies with same groupId and artifactId (neo4j-kernel) but the second one has a "type" attribute. It seems to be 'legal' in maven. What happens if I "depend" on this POM the artifactory brings me the dependency with <type> attribute 'shadowing' the one I really need. The question is how can I solve this? (Assuming I have no control over the 3rd party POM :) ). Thanks in advance for your prompt response. -- View this message in context: http://forums.jfrog.org/Maven-dependencies-and-type-test-type-attributes-tp6574876p6574876.html Sent from the Artifactory - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
