You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Joerg Hohwiller <jo...@j-hohwiller.de> on 2009/05/16 23:19:28 UTC
Re: Extending the Pom
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Shane,
>
>> Something that I think would be useful is a language/platform element. Then
>> it's purely additions to the POM. If you could identify the
>> language/platform and it's version would that be enough for you?
>
>
> For this element, I think it would be better to have something more general.
> For example, I may want slightly different pom extensions for both Byldan
> and NMaven, both of which have the same platform.
>
> I do think, however, that also having a platform element within the pom is a
> good idea, as this would allow the artifact provider to specify target
> platform requirements for the artifact. This could then be matched against
> the Maven toolchain config, which would provide the build capabilities. I
> talked with Oleg yesterday about this and he said that we could define
> custom SAT rules for Mercury, allowing us to pull in different dependency
> chains, based on the toolchain/platform.
>
> Shane
>
Do you know the concept that we Java guyz use for picking the correct platform
specific dependency (e.g. when native code is involved).
If you are interested, have a look here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=199302
Some link is broken but the attached POM is showing the idea.
Regards
Jörg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkoPLeAACgkQmPuec2Dcv/+rvgCeInXXB8PmS+fCPkSHT4rzNS3J
hiYAoInA+/01uw81dttP4snGQN/qxAwq
=Pyb1
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org