Author: hboutemy Date: Sun Apr 15 14:07:47 2018 New Revision: 1829207 URL: http://svn.apache.org/viewvc?rev=1829207&view=rev Log: move documentation related to central to /repository/
Added: maven/site/trunk/Maven Versions 2.odp (with props) maven/site/trunk/content/apt/repository/central-metadata.apt - copied, changed from r1829206, maven/site/trunk/content/apt/guides/mini/guide-maven-evangelism.apt maven/site/trunk/content/apt/repository/guide-central-repository-upload.apt - copied unchanged from r1829206, maven/site/trunk/content/apt/guides/mini/guide-central-repository-upload.apt Removed: maven/site/trunk/content/apt/guides/mini/guide-central-repository-upload.apt maven/site/trunk/content/apt/guides/mini/guide-maven-evangelism.apt Modified: maven/site/trunk/content/apt/guides/index.apt.vm maven/site/trunk/content/filtered-resources/.htaccess maven/site/trunk/content/site.xml maven/site/trunk/content/xdoc/repository/index.xml maven/site/trunk/pom.xml Added: maven/site/trunk/Maven Versions 2.odp URL: http://svn.apache.org/viewvc/maven/site/trunk/Maven%20Versions%202.odp?rev=1829207&view=auto ============================================================================== Binary file - no diff available. Propchange: maven/site/trunk/Maven Versions 2.odp ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Modified: maven/site/trunk/content/apt/guides/index.apt.vm URL: http://svn.apache.org/viewvc/maven/site/trunk/content/apt/guides/index.apt.vm?rev=1829207&r1=1829206&r2=1829207&view=diff ============================================================================== --- maven/site/trunk/content/apt/guides/index.apt.vm (original) +++ maven/site/trunk/content/apt/guides/index.apt.vm Sun Apr 15 14:07:47 2018 @@ -134,9 +134,11 @@ Documentation ** The Central Repository + * {{{/repository/}Introduction to the Central Repository}} + * {{{./mini/guide-central-repository-upload.html}Uploading Artifacts to the Central Repository}} - * {{{./mini/guide-maven-evangelism.html}Improving the Repository}} + * {{{/repository/central-metadata.html}Improving the Repository}} * References Copied: maven/site/trunk/content/apt/repository/central-metadata.apt (from r1829206, maven/site/trunk/content/apt/guides/mini/guide-maven-evangelism.apt) URL: http://svn.apache.org/viewvc/maven/site/trunk/content/apt/repository/central-metadata.apt?p2=maven/site/trunk/content/apt/repository/central-metadata.apt&p1=maven/site/trunk/content/apt/guides/mini/guide-maven-evangelism.apt&r1=1829206&r2=1829207&rev=1829207&view=diff ============================================================================== --- maven/site/trunk/content/apt/guides/mini/guide-maven-evangelism.apt (original) +++ maven/site/trunk/content/apt/repository/central-metadata.apt Sun Apr 15 14:07:47 2018 @@ -1,5 +1,5 @@ ------ - Guide to Maven Evangelism + Guide to Metadata in Central Maven Repository ------ Carlos Sanchez ------ @@ -26,9 +26,11 @@ ~~ NOTE: For help with the syntax of this file, see: ~~ http://maven.apache.org/doxia/references/apt-format.html -Guide to add, improve or fix metadata in the Central Maven repository +Guide to add, improve or fix metadata in the Central Maven Repository - There are artifacts in the {{{/repository/}Central Maven repository}} that don't have POMs. They come from projects with repositories that have +* POM Metadata + + There are artifacts in the {{{./}Central Maven repository}} that don't have POMs. They come from projects with repositories that have been synced into central without extra checks (particularly historical ones that were in <Maven 1> format). We know about the problems but can't do anything unless you provide a POM for it or you ask the project in question to add the POM when they add the artifacts. @@ -38,16 +40,19 @@ Guide to add, improve or fix metadata in would break previous builds that were using that artifact. An alternative is to create a new version with the fixes. If the broken artifact is <<<org.foo/bar/1.0>>> you can - provide a fixed POM,JAR,... under <<<org.foo/bar/1.0-1>>> (add a comment to the POM explaining what is being fixed + provide a fixed POM, JAR,... under <<<org.foo/bar/1.0-1>>> (add a comment to the POM explaining what is being fixed and why). See {{{./guide-central-repository-upload.html}Maven Repository Upload}} for the instructions to get this new version in the repository. You need to contact the original publisher of the metadata to make sure in next versions it will be fixed or improved before getting it into the repository. - For any other types of issues related to metadata in the repository, open an issue at +* Other Issues + + For any other types of issues related to metadata in the repository (POM related, or + {{{/ref/current/maven-repository-metadata/}<<<maven-metadata.xml>>>}}, or anything else), open an issue at {{{https://issues.sonatype.org/browse/MVNCENTRAL}MVNCENTRAL}} with the relevant information and explain the reasons why it is an issue. - *Important:* by default assume that we won't trust your info, so you must provide all links + <<Important:>> by default assume that we won't trust your info, so you must provide all links to the project documentation you can to convince us that your solution is right. Modified: maven/site/trunk/content/filtered-resources/.htaccess URL: http://svn.apache.org/viewvc/maven/site/trunk/content/filtered-resources/.htaccess?rev=1829207&r1=1829206&r2=1829207&view=diff ============================================================================== --- maven/site/trunk/content/filtered-resources/.htaccess (original) +++ maven/site/trunk/content/filtered-resources/.htaccess Sun Apr 15 14:07:47 2018 @@ -13,7 +13,9 @@ Redirect Permanent /maven-v4_0_0.xsd /xs Redirect Permanent /ant-tasks.html /ant-tasks/index.html Redirect Permanent /ant-tasks-release-notes.html /ant-tasks/release-notes.html -Redirect Permanent /guides/mini/guide-ibiblio-upload.html /guides/mini/guide-central-repository-upload.html +Redirect Permanent /guides/mini/guide-ibiblio-upload.html /repository/guide-central-repository-upload.html +Redirect Permanent /guides/mini/guide-maven-evangelism.html /repository/central-metadata.html +Redirect Permanent /guides/mini/guide-central-repository-upload.html /repository/guide-central-repository-upload.html Redirect Permanent /guides/development/guide-m2-development.html /guides/development/guide-maven-development.html Redirect Permanent /guides/development/guide-building-m2.html /guides/development/guide-building-maven.html Redirect Permanent /faq.html /general.html Modified: maven/site/trunk/content/site.xml URL: http://svn.apache.org/viewvc/maven/site/trunk/content/site.xml?rev=1829207&r1=1829206&r2=1829207&view=diff ============================================================================== --- maven/site/trunk/content/site.xml (original) +++ maven/site/trunk/content/site.xml Sun Apr 15 14:07:47 2018 @@ -146,8 +146,9 @@ under the License. </item> <item name="Maven Central Repository" href="/repository/index.html" collapse="true"> <item name="Maintaining your Metadata" href="/project-faq.html" /> - <item name="Guide to Uploading Artifacts" href="/guides/mini/guide-central-repository-upload.html" /> - <item name="Fixing Metadata" href="/guides/mini/guide-maven-evangelism.html" /> + <item name="Guide to Uploading Artifacts" href="/repository/guide-central-repository-upload.html" /> + <item name="Fixing Metadata" href="/repository/central-metadata.html" /> + <item name="Central Index" href="/repository/central-index.html" /> </item> <item name="Maven Developer Centre" href="/developers/index.html" collapse="true"> <item name="Guide to Helping with Maven" href="/guides/development/guide-helping.html" /> Modified: maven/site/trunk/content/xdoc/repository/index.xml URL: http://svn.apache.org/viewvc/maven/site/trunk/content/xdoc/repository/index.xml?rev=1829207&r1=1829206&r2=1829207&view=diff ============================================================================== --- maven/site/trunk/content/xdoc/repository/index.xml (original) +++ maven/site/trunk/content/xdoc/repository/index.xml Sun Apr 15 14:07:47 2018 @@ -31,14 +31,15 @@ <section name="Maven Central Repository"> - <p>This documentation is for those that need to use or contribute to the Maven central repository. This includes those + <p>This documentation is for those that need to use or contribute to the Maven <code>central</code> repository. This includes those that need dependencies for their own build or projects that wish to have - their releases added to the Maven central repository, even if they don't use Maven as their build tool.</p> + their releases added to the Maven <code>central</code> repository, even if they don't use Maven as their build tool.</p> <ul> <li><a href="../project-faq.html">Maintaining your Metadata</a> - Information for third-party projects</li> - <li><a href="../guides/mini/guide-central-repository-upload.html">Guide to uploading artifacts</a> - How to + <li><a href="./guide-central-repository-upload.html">Guide to uploading artifacts</a> - How to get things uploaded to the central repository</li> + <li><a href="./central-metadata.html">Fixing Central Metadata</a> - How to fix issues in content already uploaded</li> </ul> <!-- TODO: more documents to link to here. Use the navigation cues (how to upload, how to mirror, etc). --> Modified: maven/site/trunk/pom.xml URL: http://svn.apache.org/viewvc/maven/site/trunk/pom.xml?rev=1829207&r1=1829206&r2=1829207&view=diff ============================================================================== --- maven/site/trunk/pom.xml (original) +++ maven/site/trunk/pom.xml Sun Apr 15 14:07:47 2018 @@ -309,6 +309,9 @@ </profile> <profile> <id>java8-ant-ln</id> + <activation> + <jdk>[1.8,)</jdk> + </activation> <build> <pluginManagement> <plugins>