Hi, I'm looking for a way to determine what artifacts are NOT in my corporate repository (for a certain maven project) so that I can script their addition to the corporate repository.
So I started looking at the maven-dependency-plugin and was happy to see a goal called analyze that takes in a config param called outputXML. So that sounded just what I needed. But then I started looking closer and it seems that although the documentation of outputXML specifies "Output the xml for the missing dependencies", looking at the code (of http://svn.apache.org/viewvc/maven/plugins/tags/maven-dependency-plugin-2.1/src/main/java/org/apache/maven/plugin/dependency/AbstractAnalyzeMojo.java?view=markup AbstractAnalyzeMojo ), outputXML really outputs usedUndeclared dependencies NOT missing dependencies. I think there is a distinction drawn between declared (in the POM) and missing (from the accessible repos) and it seems that outputXML only dumps the used-but-undeclared-in-pom dependencies. My question is: Is there a way to dump (in XML preferably) the dependencies that are missing from accessible repositories? Maybe using some other plugin? Thanks in advance, all you mavenPeople! Pankaj -- View this message in context: http://old.nabble.com/XML-output-of-missing-dependencies-tp27768224p27768224.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
