Re: undefined Dependecy automatically downloaded
Good day to you, yuubouna, You may also wan to take a look at [1] for more info about the Dependency Mechanism of Maven2. Cheers, Franz [1] http://docs.codehaus.org/display/MAVENUSER/Dependency+Mechanism yuubouna wrote: hello Maria, Thank for the info, really helps! I figure out how to use the exclusions attribute then. I do have an aggregate project, the exclusions attribute to exclude unnecessary dependencies. Thanks! yuubouna -- View this message in context: http://www.nabble.com/undefined-Dependecy-automatically-downloaded-tf3146370s177.html#a8819670 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: undefined Dependecy automatically downloaded
hello Maria, Thank for the info, really helps! I figure out how to use the exclusions attribute then. I do have an aggregate project, the exclusions attribute to exclude unnecessary dependencies. Thanks! yuubouna -- View this message in context: http://www.nabble.com/undefined-Dependecy-automatically-downloaded-tf3146370s177.html#a8801365 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
undefined Dependecy automatically downloaded
defining artifact needed in my project so I write dependencyManagement in parent pom.xml and so inherted by child pom. I am wonded, where does the undefined jar came from?? like the following: M2_REPO/relaxngDatatype/relaxngDatatype M2_REPO/icu4j/icu4j/3.2/icu4j-3.2.jar M2_REPO/msv/msv/20020414/msv-20020414.jar -I like to take this artifact in my dependency list, is the dependency exclusions attribute, concerns? -and how to know what is the dependency groupId (parent) where to write the exclude attribute? -- View this message in context: http://www.nabble.com/undefined-Dependecy-automatically-downloaded-tf3146370s177.html#a8722330 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: undefined Dependecy automatically downloaded
Hi Yuubouna, These undefined jars that you were saying were probably the transitive dependencies (dependencies of your dependencies). For more details about exclusions, please refer to http://maven.apache.org/pom.html (Pom Relationships -- Dependencies -- Exclusions) Hope this helps! :-) Thanks, Deng yuubouna wrote: defining artifact needed in my project so I write dependencyManagement in parent pom.xml and so inherted by child pom. I am wonded, where does the undefined jar came from?? like the following: M2_REPO/relaxngDatatype/relaxngDatatype M2_REPO/icu4j/icu4j/3.2/icu4j-3.2.jar M2_REPO/msv/msv/20020414/msv-20020414.jar -I like to take this artifact in my dependency list, is the dependency exclusions attribute, concerns? -and how to know what is the dependency groupId (parent) where to write the exclude attribute? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]