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

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/master by this push:
     new b99f605  The website list of components is copied over via some ant 
magic in pom.xml
b99f605 is described below

commit b99f605a5c61b2d11bc157ca362dceec3a70d654
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Mon Feb 17 10:11:52 2020 +0100

    The website list of components is copied over via some ant magic in pom.xml
---
 .../maven/UpdateDocComponentsListMojo.java         | 59 ----------------------
 1 file changed, 59 deletions(-)

diff --git 
a/tooling/camel-spring-boot-docs-maven-plugin/src/main/java/org/apache/camel/springboot/maven/UpdateDocComponentsListMojo.java
 
b/tooling/camel-spring-boot-docs-maven-plugin/src/main/java/org/apache/camel/springboot/maven/UpdateDocComponentsListMojo.java
index 56681d8..023ed70 100644
--- 
a/tooling/camel-spring-boot-docs-maven-plugin/src/main/java/org/apache/camel/springboot/maven/UpdateDocComponentsListMojo.java
+++ 
b/tooling/camel-spring-boot-docs-maven-plugin/src/main/java/org/apache/camel/springboot/maven/UpdateDocComponentsListMojo.java
@@ -56,7 +56,6 @@ import static 
org.apache.camel.tooling.util.PackageHelper.writeText;
  * Updates the documentation in:
  *
  * - component-starter/readme.adoc
- * - docs/modules/ROOT/pages/list-of-camel-springboot-components.adoc
  *
  * to be up to date with all the component starters that Apache Camel Spring 
Boot ships.
  */
@@ -106,12 +105,6 @@ public class UpdateDocComponentsListMojo extends 
AbstractMojo {
     protected File websiteDocBaseDir;
 
     /**
-     * The website doc for extensions
-     */
-    @Parameter(defaultValue = 
"${project.directory}/../../../docs/modules/ROOT/pages/list-of-camel-spring-boot-components.adoc")
-    protected File websiteDocFile;
-
-    /**
      * Maven ProjectHelper.
      */
     @Component
@@ -199,19 +192,6 @@ public class UpdateDocComponentsListMojo extends 
AbstractMojo {
                 getLog().warn("No readme.adoc file: " + file);
             }
 
-            // update doc in the website dir
-            file = websiteDocFile;
-            exists = file.exists();
-            changed = templateComponents(components, count, deprecated);
-            updated = updateComponents(file, changed);
-            if (updated) {
-                getLog().info("Updated website doc file: " + file);
-            } else if (exists) {
-                getLog().debug("No changes to website doc file: " + file);
-            } else {
-                getLog().warn("No website doc file: " + file);
-            }
-
         } catch (IOException e) {
             throw new MojoFailureException("Error due " + e.getMessage(), e);
         }
@@ -273,19 +253,6 @@ public class UpdateDocComponentsListMojo extends 
AbstractMojo {
                 getLog().warn("No readme.adoc file: " + file);
             }
 
-            // update doc in the website dir
-            file = websiteDocFile;
-            exists = file.exists();
-            changed = templateDataFormats(dataFormats, count, deprecated);
-            updated = updateDataFormats(file, changed);
-            if (updated) {
-                getLog().info("Updated website doc file: " + file);
-            } else if (exists) {
-                getLog().debug("No changes to website doc file: " + file);
-            } else {
-                getLog().warn("No website doc file: " + file);
-            }
-
         } catch (IOException e) {
             throw new MojoFailureException("Error due " + e.getMessage(), e);
         }
@@ -341,19 +308,6 @@ public class UpdateDocComponentsListMojo extends 
AbstractMojo {
                 getLog().warn("No readme.adoc file: " + file);
             }
 
-            // update doc in the website dir
-            file = websiteDocFile;
-            exists = file.exists();
-            changed = templateLanguages(languages, count, deprecated);
-            updated = updateLanguages(file, changed);
-            if (updated) {
-                getLog().info("Updated website doc file: " + file);
-            } else if (exists) {
-                getLog().debug("No changes to website doc file: " + file);
-            } else {
-                getLog().warn("No website doc file: " + file);
-            }
-
         } catch (IOException e) {
             throw new MojoFailureException("Error due " + e.getMessage(), e);
         }
@@ -403,19 +357,6 @@ public class UpdateDocComponentsListMojo extends 
AbstractMojo {
                 getLog().warn("No readme.adoc file: " + file);
             }
 
-            // update doc in the website dir
-            file = websiteDocFile;
-            exists = file.exists();
-            changed = templateOthers(others, count, deprecated);
-            updated = updateOthers(file, changed);
-            if (updated) {
-                getLog().info("Updated website doc file: " + file);
-            } else if (exists) {
-                getLog().debug("No changes to website doc file: " + file);
-            } else {
-                getLog().warn("No website doc file: " + file);
-            }
-
         } catch (IOException e) {
             throw new MojoFailureException("Error due " + e.getMessage(), e);
         }

Reply via email to