You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by sk...@apache.org on 2019/08/05 14:18:52 UTC

[netbeans-mavenutils-nb-repository-plugin] 02/02: Documentation update

This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nb-repository-plugin.git

commit dabc3f856314166fc5ffc04f65ffdac1bb9c5cf5
Author: Eric Barboni <sk...@apache.org>
AuthorDate: Mon Aug 5 16:18:43 2019 +0200

    Documentation update
---
 .../nbm/repository/PopulateRepositoryMojo.java       | 13 +++++++------
 src/site/apt/index.apt                               |  8 ++++++--
 src/site/apt/repository.apt                          | 20 +++++++++-----------
 3 files changed, 22 insertions(+), 19 deletions(-)

diff --git a/src/main/java/org/apache/netbeans/nbm/repository/PopulateRepositoryMojo.java b/src/main/java/org/apache/netbeans/nbm/repository/PopulateRepositoryMojo.java
index 2df5b2f..d033023 100644
--- a/src/main/java/org/apache/netbeans/nbm/repository/PopulateRepositoryMojo.java
+++ b/src/main/java/org/apache/netbeans/nbm/repository/PopulateRepositoryMojo.java
@@ -94,13 +94,14 @@ import org.codehaus.plexus.util.StringUtils;
  * A goal for identifying NetBeans modules from the installation and populating the local
  * repository with them. Optionally you can also deploy to a remote repository.
  * <p>
- * If you are looking for an existing remote repository for NetBeans artifacts, check out
+ * If you are looking for an existing remote repository for NetBeans artifacts, check out <a href="https://search.maven.org/">Maven Central</a>. 
  * <a href="http://bits.netbeans.org/nexus/content/groups/netbeans/">http://bits.netbeans.org/nexus/content/groups/netbeans/</a>,
- * it contains API artifacts for multiple releases.
- * <a href="http://bits.netbeans.org/netbeans/trunk/maven-snapshot/">http://bits.netbeans.org/netbeans/trunk/maven-snapshot/</a>
- * may also be used for <code>SNAPSHOT</code> artifacts if you wish to test development builds.
- * </p><p>
- * See this <a href="http://mojo.codehaus.org/nbm-maven/nbm-maven-plugin/repository.html">HOWTO</a> on how to generate the NetBeans binaries required
+ * contains contains API artifacts for older NetBeans releases.
+ * <a href="https://repository.apache.org/content/groups/snapshots">https://repository.apache.org/content/groups/snapshots</a>
+ * may also be used for <code>dev-SNAPSHOT</code> artifacts if you wish to test development builds.
+ * </p>
+ * <p>
+ * See this <a href="repository.html">HOWTO</a> on how to generate the NetBeans binaries required
  * by this goal.
  * </p>
  *
diff --git a/src/site/apt/index.apt b/src/site/apt/index.apt
index b9da158..5b5a4e2 100644
--- a/src/site/apt/index.apt
+++ b/src/site/apt/index.apt
@@ -29,8 +29,12 @@ NetBeans Repository plugin
 module development, modules with public APIs are separated from those without a public API.
 See the {{{./populate-mojo.html}<<<populate>>>}} goal and the {{{./repository.html}HOWTO document}} for details.
 
- To get access to a repository with NetBeans.org module artifacts and metadata, add {{{http://bits.netbeans.org/maven2/}http://bits.netbeans.org/maven2/}} repository to your project POM
-or the repository manager you are using. The repository hosts binaries of NetBeans 6.5 and later.
+ {{{https://search.maven.org/}Maven Central}} contains artefacts of Apache NetBeans 9.0 and later.
 
  Also see: {{{http://wiki.netbeans.org/NetBeansDeveloperFAQ#Mavenized_Builds}Maven NBM development FAQs}}
 
+Older NetBeans Version
+
+ To get access to a repository with NetBeans.org module artifacts and metadata, add {{{http://bits.netbeans.org/maven2/}http://bits.netbeans.org/maven2/}} repository to your project POM
+or the repository manager you are using. The repository hosts binaries from NetBeans 6.5 to NetBeans 8.2.
+
diff --git a/src/site/apt/repository.apt b/src/site/apt/repository.apt
index 66a64b1..4aa9a1c 100644
--- a/src/site/apt/repository.apt
+++ b/src/site/apt/repository.apt
@@ -30,9 +30,11 @@ HOWTO: Upload NetBeans release binaries to a Maven repository
 and is capable of uploading the module jar file, javadoc, sources and nbm files to local
 and remote repositories. See {{{./populate-mojo.html}<<<populate>>> goal}} description.
 
- For a binary-only upload (jar files and nbm files only), it's possible to download the bits from official sites. See below for URLs.
-For the complete upload, you will need to checkout the sources of the IDE/Platform you
-want to upload. See this FAQ entry on {{{http://wiki.netbeans.org/DevFaqAccessSourcesUsingMercurial}HowTo checkout sources from Hg}}
+ For a binary-only upload (jar files and nbm files only), it's possible to download the bits from official sites. 
+See this page {{{http://netbeans.apache.org/download/dev/index.html}Building from source}}
+
+ For the complete upload, you will need to checkout the sources of the IDE/Platform you
+want to upload. See this page {{{http://netbeans.apache.org/download/dev/index.html}Building from source}}
 
  To have external dependencies correctly identified by their real GAV, you will need to download the index from central (or other) repository. 
 See {{{./download-mojo.html}<<<download>>> goal}}
@@ -40,19 +42,15 @@ See {{{./download-mojo.html}<<<download>>> goal}}
  The goal has multiple input parameters that link the goal to binaries prepared beforehand.
 
    * <<netbeansInstallDirectory>> designates the base directory where resides the NetBeans installation
-that shall be uploaded. It can be either {{{http://www.netbeans.org/downloads/index.html}downloaded as zip}} or built from sources.
-Run <<<ant>>> in your local hg clone to build the distribution at <<<nbbuild/netbeans>>> sundirectory.
+that shall be uploaded. Run <<<ant>>> in your local git clone to build the distribution at <<<nbbuild/netbeans>>> subdirectory.
 
    * <<netbeansNbmDirectory>> designates the base directory where the nbm files are located.
-Run <<<ant build-nbms>>> in your local <<<hg clone>>> to build the nbms at <<<nbbuild/nbms>>> directory or download it from the
-{{{http://updates.netbeans.org/netbeans}http://updates.netbeans.org/netbeans}} space eg.
-final <<6.5>> version at {{{http://updates.netbeans.org/netbeans/6.5/final/uc/}http://updates.netbeans.org/netbeans/<<6.5>>/final/uc/}}.
-Use a tool like <<<wget>>> to download the complete directory tree to a directory designated by the <<netbeansNbmDirectory>> parameter.
+Run <<<ant build-nbms>>> in your local <<<git clone>>> to build the nbms at <<<nbbuild/nbms>>> directory.
 
-  * <<netbeansSourcesDirectory>> designates the base directory containing zip files with module jar sources.
+   * <<netbeansSourcesDirectory>> designates the base directory containing zip files with module jar sources.
 Run <<<ant build-source-zips>>> in your local hg clone to build the nbms at <<<nbbuild/build/source-zips>>> directory.
 
-  * <<netbeansJavadocDirectory>> designates the base directory containing zip files with javadoc zips for modules with public apis.
+   * <<netbeansJavadocDirectory>> designates the base directory containing zip files with javadoc zips for modules with public apis.
 Run <<<ant build-javadoc>>> in your local hg clone to build the nbms at <<<nbbuild/build/javadoc>>> directory.
 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists