You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2005/06/08 22:33:10 UTC

[jira] Commented: (MEV-4) Misnamed pom for Postgresql

     [ http://jira.codehaus.org/browse/MEV-4?page=comments#action_40821 ]
     
John Casey commented on MEV-4:
------------------------------

What differentiates 7.4.1-jdbc3 from 7.4.1? IMO 'jdbc3' is either:

1. a classifier, meaning that the -jdbc3 artifact is a derivative of plain old 7.4.1.

  In this case, it's appropriate that it's associated pom is 7.4.1.pom, since that's the master project used to produce it.

2. poorly named.

  In this case, maybe the artifact should be postgresql-jdbc3-7.4.1.jar instead. Then, the pom will easily be located alongside the artifact, since the artifactId is 'postgresql-jdbc3'. 


The conversion process has to parse an artifact's path into {groupId,artifactId,version[,classifier]} in order to make use of the repository layout components to locate the POM (this is done to ensure reusability when the time comes to process m2-based source repositories). In this case, 'jdbc3' looks like a classifier (much like the classifier used to mark an ejb-client, for instance). While I could add 'jdbc3' to the version pattern-set (used to find the end of a version and the beginning of a classifier), I'm sure you'll agree this isn't a common version part.

My opinion is that this artifact needs to be renamed properly, ideally on the repository-source side (wherever this artifact originated).

> Misnamed pom for Postgresql
> ---------------------------
>
>          Key: MEV-4
>          URL: http://jira.codehaus.org/browse/MEV-4
>      Project: Maven Evangelism
>         Type: Task
>     Reporter: Mark Hobson

>
>
> In http://www.ibiblio.org/maven2/postgresql/postgresql/7.4.1/ the pom is named:
>     postgresql-7.4.1.pom
> But should be called:
>     postgresql-7.4.1-jdbc3.pom
> To match the jar.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org