You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/03/24 11:07:45 UTC

[camel] branch master updated: Tooling: Fixed CS in EIP enrincher maven plugin

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

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 2d0dc01  Tooling: Fixed CS in EIP enrincher maven plugin
2d0dc01 is described below

commit 2d0dc0195a9ae665410d91573ec92527876e93f6
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Mar 24 12:07:16 2020 +0100

    Tooling: Fixed CS in EIP enrincher maven plugin
---
 .../apache/camel/maven/EipDocumentationEnricherMojo.java   | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/tooling/maven/camel-eip-documentation-enricher-maven-plugin/src/main/java/org/apache/camel/maven/EipDocumentationEnricherMojo.java b/tooling/maven/camel-eip-documentation-enricher-maven-plugin/src/main/java/org/apache/camel/maven/EipDocumentationEnricherMojo.java
index f490c3c..976a3d7 100644
--- a/tooling/maven/camel-eip-documentation-enricher-maven-plugin/src/main/java/org/apache/camel/maven/EipDocumentationEnricherMojo.java
+++ b/tooling/maven/camel-eip-documentation-enricher-maven-plugin/src/main/java/org/apache/camel/maven/EipDocumentationEnricherMojo.java
@@ -33,7 +33,6 @@ import javax.xml.transform.stream.StreamResult;
 import javax.xml.xpath.XPath;
 import javax.xml.xpath.XPathExpressionException;
 
-import org.apache.maven.project.MavenProject;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.NodeList;
@@ -48,6 +47,7 @@ import org.apache.maven.plugins.annotations.LifecyclePhase;
 import org.apache.maven.plugins.annotations.Mojo;
 import org.apache.maven.plugins.annotations.Parameter;
 import org.apache.maven.plugins.annotations.ResolutionScope;
+import org.apache.maven.project.MavenProject;
 
 /**
  * Injects EIP documentation to camel schema.
@@ -57,12 +57,6 @@ import org.apache.maven.plugins.annotations.ResolutionScope;
 public class EipDocumentationEnricherMojo extends AbstractMojo {
 
     /**
-     * The maven project.
-     */
-    @Parameter(property = "project", required = true, readonly = true)
-    protected MavenProject project;
-
-    /**
      * Path to camel EIP schema.
      */
     @Parameter(required = true)
@@ -122,6 +116,12 @@ public class EipDocumentationEnricherMojo extends AbstractMojo {
     @Parameter
     public String deleteFilesAfterRun;
 
+    /**
+     * The maven project.
+     */
+    @Parameter(property = "project", required = true, readonly = true)
+    protected MavenProject project;
+
     @Override
     public void execute() throws MojoExecutionException, MojoFailureException {
         if (pathToModelDir == null) {