commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <>
Subject Re: [Math] Name vs "artefactId" (Was: [jira] [Commented] (MATH-1057) ...)
Date Wed, 22 Jan 2014 23:57:43 GMT
Hi Gilles,

Gilles wrote:

> On Wed, 22 Jan 2014 14:54:49 -0800, Phil Steitz wrote:
>> On 1/22/14, 2:43 PM, Jörg Schaible wrote:
>>> Jörg Schaible wrote:
>>>> Phil Steitz wrote:
>>>>> On 1/22/14, 1:58 PM, Jörg Schaible wrote:
>>>>>> Hi Gilles,
>>>>>> Gilles wrote:
>>>>>> [snip]
>>>>>>> It's a convention; the "component" part could be the component's
>>>>>>> name
>>>>>>> i.e. Commons Math could give "commons-math" as a base name; then
>>>>>>> the
>>>>>>> artefacts (archives and JAR files) would be differentiated
>>>>>>> solely on
>>>>>>> the version number:
>>>>>>>    commons-math-3.3.tar.gz
>>>>>>>    commons-math-3.3.jar
>>>>>>> The current convention seems that the base name is derived from
>>>>>>> the
>>>>>>> top-level package name (which could indeed be mildly confusing,
>>>>>>> hence
>>>>>>> this thread):
>>>>>>>    commons-math3-3.3.jar
>>>>>>> But since the top-level package is renamed with each major
>>>>>>> version, it
>>>>>>> is redundant to have the major number present both in the name
>>>>>>> and in
>>>>>>> the version number.
>>>>>> Old discussion! Please stop and search the archives, it's a
>>>>>> technical
>>>>>> requirement. Both names for package and artifactId must be
>>>>>> changed.
> I did not mention modifying anything related to either the package name
> or
> the "artefactId".

I realized that in the meantime.

> It is neither obvious, nor so widely known it seems, that the file
> names
> absolutely must contain the "artefactId".

They have to, it's part of the repository "contract".

> Looking at an URL like
> I don't immediately see what would be the problem if the JAR file were
> named
>    commons-collections-4.0.jar
> rather than
>    commons-collections4-4.0.jar

Maven will only find the latter in the repo.

> Now, that there is a _convention_ to create such names by concatenating
> the
> "artefactId" and the version number, I can readily accept.

As said, it is not only convention.

Since the distribution area is not a Maven repo, it is possibly to rename 
the distribution artifacts, when moving them from the stage area to the 
download area, but that has to be done by the RM.

- Jörg

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message