Do not drop variant attributes in results based on maven artifacts FixedComponentArtifacts dropped the variant attributes (stored in ConfigurationMetadata) for no clear reason. Because of this, the attributes in the resolve result differed depending on whether the variant was constructed from pom or GMM. This is only affecting the attributes reported in the result. During matching, which happens earlier, all attributes were already considered.
Honor dependency attributes when they override configuration attributes This commit fixes artifact selection so that when we resolve artifacts, we also use the attributes defined on the dependency itself, if ever. Before, when we were resolving artifacts, only the consumer configuration attributes were used.