You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ca...@apache.org on 2005/07/13 23:44:28 UTC
svn commit: r216271 - in /maven/maven-1/core/trunk/xdocs/reference:
repository-upload.xml standard-sun-jar-names.xml
Author: carlos
Date: Wed Jul 13 14:44:26 2005
New Revision: 216271
URL: http://svn.apache.org/viewcvs?rev=216271&view=rev
Log:
Upgraded names to latest conventions
Modified:
maven/maven-1/core/trunk/xdocs/reference/repository-upload.xml
maven/maven-1/core/trunk/xdocs/reference/standard-sun-jar-names.xml
Modified: maven/maven-1/core/trunk/xdocs/reference/repository-upload.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/core/trunk/xdocs/reference/repository-upload.xml?rev=216271&r1=216270&r2=216271&view=diff
==============================================================================
--- maven/maven-1/core/trunk/xdocs/reference/repository-upload.xml (original)
+++ maven/maven-1/core/trunk/xdocs/reference/repository-upload.xml Wed Jul 13 14:44:26 2005
@@ -69,15 +69,23 @@
<li>id</li>
<li>name</li>
<li>currentVersion</li>
- <li>package</li>
<li>dependencies</li>
</ul>
<p>
Some considerations about the <b>groupId</b>: it will identify your project uniquely across all
- projects, so we need to enforce a naming schema. It should be equal to the domain name of
- the site where it's hosted (e.g. www.springframework.org should be groupId=springframework).
- If the project is hosted at a project hosting site (e.g. sourceforge) it should be equal
- to the project id (e.g. oness.sourceforge.net should be groupId=oness).
+ projects, so we need to enforce a naming schema. For packages already uploaded to ibiblio it can
+ be equal to the previous used, but for new packages it has to follow the package name rules, what
+ means that has to be at least as a domain name you control, and you can create as many subgroups
+ as you want.
+ <a href="http://java.sun.com/docs/books/jls/third_edition/html/packages.html#7.7">
+ More information about package names</a>.
+ </p>
+ <p>
+ Examples:
+ <ul>
+ <li>www.springframework.org -> org.springframework</li>
+ <li>oness.sf.net -> net.sf.oness</li>
+ </ul>
</p>
</subsection>
Modified: maven/maven-1/core/trunk/xdocs/reference/standard-sun-jar-names.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/core/trunk/xdocs/reference/standard-sun-jar-names.xml?rev=216271&r1=216270&r2=216271&view=diff
==============================================================================
--- maven/maven-1/core/trunk/xdocs/reference/standard-sun-jar-names.xml (original)
+++ maven/maven-1/core/trunk/xdocs/reference/standard-sun-jar-names.xml Wed Jul 13 14:44:26 2005
@@ -48,30 +48,52 @@
contact the <a href="../mail-lists.html">Developer's Mailing List</a> so that it can be added.
</p>
<p>
- The current list of JARs have been built up by convention - it's not a matter of what is right or wrong,
- but what is most common in this instance.
+ The current list of JARs have been built up by convention.
+ The rule is use the two first package levels as groupId and the name of the reference implementation
+ jar as artifactId
</p>
<table>
<tr>
<th>Product artifact</th><th>Group ID</th><th>Artifact ID</th>
</tr>
<tr>
- <td>JavaMail - mail.jar</td><td>javamail</td><td>javamail</td>
+ <td>Java Activation Framework</td><td>javax.activation</td><td>activation</td>
</tr>
<tr>
- <td>Java Activation Framework (required for Javamail) - activation.jar</td><td>jaf</td><td>activation</td>
+ <td>J2EE</td><td>javax.j2ee</td><td>j2ee</td>
</tr>
<tr>
- <td>Java Transaction API (JTA)</td><td>jta</td><td>jta</td>
+ <td>JDO</td><td>javax.jdo</td><td>jdo</td>
</tr>
<tr>
- <td>JDBC 2.0 Optional Package</td><td>jdbc</td><td>jdbc-stdext</td>
+ <td>JMS</td><td>javax.jms</td><td>jms</td>
</tr>
<tr>
- <td>J2EE Connector Architecture</td><td>jca</td><td>jca</td>
+ <td>JavaMail</td><td>javax.mail</td><td>mail</td>
</tr>
<tr>
- <td>JAAS</td><td>jaas</td><td>jaas</td>
+ <td>EJB 3</td><td>javax.persistence</td><td>ejb</td>
+ </tr>
+ <tr>
+ <td>J2EE Connector Architecture</td><td>javax.resource</td><td>connector-api</td>
+ </tr>
+ <tr>
+ <td>Java Authorization Contract for Containers</td><td>javax.security</td><td>jacc</td>
+ </tr>
+ <tr>
+ <td>Servlet</td><td>javax.servlet</td><td>servlet-api</td>
+ </tr>
+ <tr>
+ <td>Servlet JSP</td><td>javax.servlet</td><td>jsp-api</td>
+ </tr>
+ <tr>
+ <td>JDBC 2.0 Optional Package</td><td>javax.sql</td><td>jdbc-stdext</td>
+ </tr>
+ <tr>
+ <td>Java Transaction API (JTA)</td><td>javax.transaction</td><td>jta</td>
+ </tr>
+ <tr>
+ <td>Java XML RPC</td><td>javax.xml</td><td>jaxrpc</td>
</tr>
</table>
</section>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org