On Wednesday, 14 December 2016, Michael Osipov <[email protected]> wrote:
> Am 2016-12-14 um 00:46 schrieb Christian Schulte: > >> That's MRESOLVER-9. Fixed the POMs with this >> <https://git-wip-us.apache.org/repos/asf?p=maven-wagon.git; >> a=commit;h=f244ece2eee01500e4b1bc334b8dcd35b47f9422> >> commit. This is what is lacking documentation the most. Does the commit >> message clarify what is going on? >> > > I read that, so since test is not transitive by design, you are saying > that it makes difference when declaring a dep in the dep section as test > rather than the dep mngt section as test and omit the scope in the dep > section? > > If so, we relied a bug and did not manage the deps correctly. I was always under the impression that depMgmt was a version and exclusion injection logic... the other fields were all "matching" fields So if I have a depMgmt with GroupId: foo ArtifactId: bar Scope: test Version: 3.0 Then the version will *only* be injected when my dependency section specifies scope test. The dependency with scope unspecified should not get its scope changed to test That may be at odds with the code and docs but it is the only think that makes sense to me, depMgmt is about managing dependencies... the bit you want to manage is versions and exclusions, everything else is just the matching as I see it > > Michael > > Am 12/13/16 um 20:32 schrieb Michael Osipov: >> >>> Hi folks, >>> >>> current Wagon master cannot be built with >>> >>> Apache Maven 3.4.0-SNAPSHOT (33c79c6e4662abb836df95a5d70c236f2e5cda3d; >>> 2016-12-13T20:22:49+01:00) >>> Maven home: D:\Entwicklung\Programme\apache-maven-3.4.0-SNAPSHOT\bin\.. >>> Java version: 1.7.0_80, vendor: Oracle Corporation >>> Java home: C:\Program Files\Java\jdk1.7.0_80\jre >>> Default locale: de_DE, platform encoding: Cp1252 >>> OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "windows" >>> >>> The dependency tree is truncated for several modules. >>> >>> 3.4.0-SNAPSHOT: https://paste.apache.org/3MvD >>> 3.3.9: https://paste.apache.org/JBsj >>> >>> Especially wagon-file is broken completely, does not compile at all. >>> >>> Christian, can you have a look? It may, of course, be a sloppy dep >>> section Wagon. >>> >>> Michael >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Sent from my phone
