You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by jiangshachina <ji...@gmail.com> on 2006/11/08 04:08:07 UTC
naming groupId and artifactId?
Hello,
As far as I know, artifactId doesn't include '.' and indicates the project
work.
Then how about groupId?
As package naming spec, we use the format:
org.apache.realProject.innerPackage...
We can regard org.apache as groupId, realProject as artifactId.
But at Maven central repository, http://www.ibiblio.org/maven2/
I don't find any accurate regular.
For example, Apache Commons projects aren't grouped as org.apache, or
org.apache.commons, or apache.commons, even not commons.
Each Commons project is individual groupId.
Why Maven central repo classifies jars as the regular?
And how do I name goupId for 3rd-part files not hosted by Maven central
repo?
a cup of Java, cheers!
Sha Jiang
--
View this message in context: http://www.nabble.com/naming-groupId-and-artifactId--tf2593023s177.html#a7232013
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: naming groupId and artifactId?
Posted by Gregory Kick <gk...@gmail.com>.
I know that this doesn't directly address the question, but I had been
working with the JAXB/Codemodel group on some decent naming standards
for artifactId/groupId combinations as they relate to projects and
sub-projects. Since the whole naming thing came up, I though that I'd
post my little writeup and see if I could get some feedback on what
everybody thinks in terms of the conventions.
http://kickstyle.net/pebble/2006/10/27/1162015380000.html
Thanks.
On 11/7/06, Wendy Smoak <ws...@gmail.com> wrote:
> On 11/7/06, jiangshachina <ji...@gmail.com> wrote:
>
> > But at Maven central repository, http://www.ibiblio.org/maven2/
> > I don't find any accurate regular.
> > For example, Apache Commons projects aren't grouped as org.apache, or
> > org.apache.commons, or apache.commons, even not commons.
> > Each Commons project is individual groupId.
>
> That (individual group ids) was the convention for Maven 1. Changing
> to org.apache.commons is under discussion on the Commons development
> list. Because the Commons libraries are so widely used, it needs to
> be done very carefully.
>
> > Why Maven central repo classifies jars as the regular?
> > And how do I name goupId for 3rd-part files not hosted by Maven central
> > repo?
>
> There are some suggestions for Sun's jars, here:
> http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
>
> If it's not one of those, I usually use the package name or the
> company's domain name (reversed) for the groupId.
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Gregory Kick
http://kickstyle.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: naming groupId and artifactId?
Posted by jiangshachina <ji...@gmail.com>.
Oh Dennis,
> http://mvnrepository.com/
The site is very helpful.
Thanks very much!
a cup of Java, cheers!
Sha Jiang
dennisl-2 wrote:
>
> Check out this site:
>
> http://mvnrepository.com/
>
> --
> Dennis Lundberg
>
> jiangshachina wrote:
>> Hello,
>> I think Maven official should give a tree list, which lists all of
>> artifacts
>> by groupId+artifactId+version.
>> Then users can search artifacts convinently
>> Although we can search artifacts from central repository site, the way
>> can
>> not browser all of artifacts quickly.
>>
>> a cup of Java, cheers!
>> Sha Jiang
>>
>>
>> Wendy Smoak-3 wrote:
>>> On 11/7/06, jiangshachina <ji...@gmail.com> wrote:
>>>
>>>> But at Maven central repository, http://www.ibiblio.org/maven2/
>>>> I don't find any accurate regular.
>>>> For example, Apache Commons projects aren't grouped as org.apache, or
>>>> org.apache.commons, or apache.commons, even not commons.
>>>> Each Commons project is individual groupId.
>>> That (individual group ids) was the convention for Maven 1. Changing
>>> to org.apache.commons is under discussion on the Commons development
>>> list. Because the Commons libraries are so widely used, it needs to
>>> be done very carefully.
>>>
>>>> Why Maven central repo classifies jars as the regular?
>>>> And how do I name goupId for 3rd-part files not hosted by Maven central
>>>> repo?
>>> There are some suggestions for Sun's jars, here:
>>> http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
>>>
>>> If it's not one of those, I usually use the package name or the
>>> company's domain name (reversed) for the groupId.
>>>
>>> --
>>> Wendy
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/naming-groupId-and-artifactId--tf2593023s177.html#a7250495
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: naming groupId and artifactId?
Posted by Dennis Lundberg <de...@apache.org>.
Check out this site:
http://mvnrepository.com/
--
Dennis Lundberg
jiangshachina wrote:
> Hello,
> I think Maven official should give a tree list, which lists all of artifacts
> by groupId+artifactId+version.
> Then users can search artifacts convinently
> Although we can search artifacts from central repository site, the way can
> not browser all of artifacts quickly.
>
> a cup of Java, cheers!
> Sha Jiang
>
>
> Wendy Smoak-3 wrote:
>> On 11/7/06, jiangshachina <ji...@gmail.com> wrote:
>>
>>> But at Maven central repository, http://www.ibiblio.org/maven2/
>>> I don't find any accurate regular.
>>> For example, Apache Commons projects aren't grouped as org.apache, or
>>> org.apache.commons, or apache.commons, even not commons.
>>> Each Commons project is individual groupId.
>> That (individual group ids) was the convention for Maven 1. Changing
>> to org.apache.commons is under discussion on the Commons development
>> list. Because the Commons libraries are so widely used, it needs to
>> be done very carefully.
>>
>>> Why Maven central repo classifies jars as the regular?
>>> And how do I name goupId for 3rd-part files not hosted by Maven central
>>> repo?
>> There are some suggestions for Sun's jars, here:
>> http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
>>
>> If it's not one of those, I usually use the package name or the
>> company's domain name (reversed) for the groupId.
>>
>> --
>> Wendy
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: naming groupId and artifactId?
Posted by jiangshachina <ji...@gmail.com>.
Hello,
I think Maven official should give a tree list, which lists all of artifacts
by groupId+artifactId+version.
Then users can search artifacts convinently
Although we can search artifacts from central repository site, the way can
not browser all of artifacts quickly.
a cup of Java, cheers!
Sha Jiang
Wendy Smoak-3 wrote:
>
> On 11/7/06, jiangshachina <ji...@gmail.com> wrote:
>
>> But at Maven central repository, http://www.ibiblio.org/maven2/
>> I don't find any accurate regular.
>> For example, Apache Commons projects aren't grouped as org.apache, or
>> org.apache.commons, or apache.commons, even not commons.
>> Each Commons project is individual groupId.
>
> That (individual group ids) was the convention for Maven 1. Changing
> to org.apache.commons is under discussion on the Commons development
> list. Because the Commons libraries are so widely used, it needs to
> be done very carefully.
>
>> Why Maven central repo classifies jars as the regular?
>> And how do I name goupId for 3rd-part files not hosted by Maven central
>> repo?
>
> There are some suggestions for Sun's jars, here:
> http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
>
> If it's not one of those, I usually use the package name or the
> company's domain name (reversed) for the groupId.
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/naming-groupId-and-artifactId--tf2593023s177.html#a7233686
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: naming groupId and artifactId?
Posted by Wendy Smoak <ws...@gmail.com>.
On 11/7/06, jiangshachina <ji...@gmail.com> wrote:
> But at Maven central repository, http://www.ibiblio.org/maven2/
> I don't find any accurate regular.
> For example, Apache Commons projects aren't grouped as org.apache, or
> org.apache.commons, or apache.commons, even not commons.
> Each Commons project is individual groupId.
That (individual group ids) was the convention for Maven 1. Changing
to org.apache.commons is under discussion on the Commons development
list. Because the Commons libraries are so widely used, it needs to
be done very carefully.
> Why Maven central repo classifies jars as the regular?
> And how do I name goupId for 3rd-part files not hosted by Maven central
> repo?
There are some suggestions for Sun's jars, here:
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
If it's not one of those, I usually use the package name or the
company's domain name (reversed) for the groupId.
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org