You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-commits@maven.apache.org by sv...@apache.org on 2019/01/01 23:13:39 UTC
svn commit: r1850141 - in /maven/website/content: maven-site-1.0-site.jar
repository/guide-central-repository-upload.html
Author: svn-site-role
Date: Tue Jan 1 23:13:39 2019
New Revision: 1850141
Log:
Site checkin for project Apache Maven Site
Modified:
maven/website/content/maven-site-1.0-site.jar
maven/website/content/repository/guide-central-repository-upload.html
Modified: maven/website/content/maven-site-1.0-site.jar
==============================================================================
Binary files - no diff available.
Modified: maven/website/content/repository/guide-central-repository-upload.html
==============================================================================
--- maven/website/content/repository/guide-central-repository-upload.html (original)
+++ maven/website/content/repository/guide-central-repository-upload.html Tue Jan 1 23:13:39 2019
@@ -9,7 +9,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Jason van Zyl
Brian Fox" />
- <meta name="Date-Creation-yyyymmdd" content="20141116" />
+ <meta name="Date-Creation-yyyymmdd" content="20181231" />
<meta name="Date-Revision-yyyymmdd" content="20190101" />
<meta http-equiv="Content-Language" content="en" />
<title>Maven – Guide to uploading artifacts to the Central Repository</title>
@@ -198,8 +198,8 @@ Brian Fox" />
<p>In that case only the POM for that dependency is required, listing where the dependency can be downloaded from. <a class="externalLink" href="http://repo.maven.apache.org/maven2/javax/activation/activation/1.0.2/activation-1.0.2.pom">See an example</a>.</p></li>
<li>I have a patched version of the foo project developed at foo.com, what <tt>groupId</tt> should I use?
<p>When you patch / modify a third party project, that patched version becomes your project and therefore should be distributed under a <tt>groupId</tt> you control as any project you would have developed, never under <tt>com.foo</tt>. See above considerations about <tt>groupId</tt>.</p></li>
-<li>My project is hosted at a project hosting service like SourceForge or dev.java.net, what should I use as groupId?
-<p>If your project name is <tt>foo</tt> at SourceForge, then <tt>net.sf.foo</tt>. If it's <tt>foo</tt> at dev.java.net, then <tt>net.java.dev.foo</tt></p></li></ul></div></div>
+<li>My project is hosted at a project hosting service like SourceForge or Github, what should I use as groupId?
+<p>If your project name is <tt>foo</tt> at SourceForge, you can use <tt>net.sf.foo</tt>. If your username is <tt>bar</tt> on Github, you can use <tt>com.github.bar</tt>. You can also use another reversed domain name you control. The group ID does not have to reflect the project host.</p></li></ul></div></div>
<div class="section">
<h2><a name="Publishing_your_artifacts_to_the_Central_Repository"></a>Publishing your artifacts to the Central Repository</h2>
<div class="section">