You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Mark Hobson (JIRA)" <ji...@codehaus.org> on 2005/05/08 15:40:29 UTC

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

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


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

Posted by "Mark Hobson (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MEV-4?page=comments#action_40862 ]
     
Mark Hobson commented on MEV-4:
-------------------------------

I do see your point and would tend to agree, although looking at the following page which details the various versions of the PostgreSQL JDBC driver:

http://jdbc.postgresql.org/download.html

It seems that the various JDBC types are tied in with JDK versions, which I would have thought is a more common use-case.  It seems that JDK-classifiers are considered common-place, as mentioned in passing here:

http://docs.codehaus.org/display/MAVEN/Build+Profiles

So for example, would 'postgresql-8.0-311.jdbc3.jar' ideally become 'postgresql-8.0-311-jdk-1.4+.jar'?

> 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


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

Posted by "Mark Hobson (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MEV-4?page=comments#action_38697 ]
     
Mark Hobson commented on MEV-4:
-------------------------------

In fact, the version directory needs to be renamed from '7.4.1' to '7.4.1-jdbc3' too.

> 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


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

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MEV-4?page=all ]
     
Carlos Sanchez closed MEV-4:
----------------------------

     Assign To: Carlos Sanchez
    Resolution: Fixed

Fixed as 7.4.1-jdbc3

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

>     Reporter: Mark Hobson
>     Assignee: Carlos Sanchez

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


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

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ 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