[
http://jira.codehaus.org/browse/MNG-2316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_89785
]
Andrew Williams commented on MNG-2316:
--------------------------------------
How would you be able to use such information if it was available?
Perhaps your example is bad, but javax.mail is not just an API - it is an
implementation, so including it on it's own is perfect;y valid, no extra
implementation is needed.
If there was a purely api jar and you implement it with another artifact how
would we know about it?
> Add info to the poms for dependencies that implement an API or provide other
> dependencies
> -----------------------------------------------------------------------------------------
>
> Key: MNG-2316
> URL: http://jira.codehaus.org/browse/MNG-2316
> Project: Maven 2
> Issue Type: New Feature
> Components: Dependencies
> Affects Versions: 2.0.4
> Reporter: Carlos Sanchez
> Priority: Critical
> Fix For: 2.1.x
>
>
> e.g.
> geronimo implementation of javamail could say
> <provides>
> <dependency>
> <groupId>javax.mail</groupId>
> <artifactId>mail</artifactId>
> <version>...</version>
> </dependency>
> </provides>
> spring.jar pom could say
> <provides>
> <dependency>
> <groupId>org.springframework</groupId>
> <artifactId>spring-webmvc</artifactId>
> <version>...</version>
> </dependency>
> <dependency>
> <groupId>org.springframework</groupId>
> <artifactId>spring-context</artifactId>
> <version>...</version>
> </dependency>
> ...
> </provides>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira