You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2015/03/22 17:05:44 UTC

[52/54] camel git commit: CAMEL-7263: Remove old and unused/deprecated dot code that has not been in use or maintained for many years.

http://git-wip-us.apache.org/repos/asf/camel/blob/b67b6296/tooling/maven/guice-maven-plugin/src/main/java/org/apache/camel/guice/maven/RunMojo.java
----------------------------------------------------------------------
diff --git a/tooling/maven/guice-maven-plugin/src/main/java/org/apache/camel/guice/maven/RunMojo.java b/tooling/maven/guice-maven-plugin/src/main/java/org/apache/camel/guice/maven/RunMojo.java
index 4d1979f..2a338f3 100644
--- a/tooling/maven/guice-maven-plugin/src/main/java/org/apache/camel/guice/maven/RunMojo.java
+++ b/tooling/maven/guice-maven-plugin/src/main/java/org/apache/camel/guice/maven/RunMojo.java
@@ -91,23 +91,6 @@ public class RunMojo extends AbstractExecMojo {
     protected String duration;
 
     /**
-     * The DOT output directory name used to generate the DOT diagram of the
-     * route definitions
-     *
-     * @parameter default-value="${project.build.directory}/site/cameldoc"
-     * @readonly
-     */
-    protected String dotDir;
-
-    /**
-     * Allows the DOT file generation to be disabled
-     *
-     * @parameter property="true"
-     * @readonly
-     */
-    protected boolean dotEnabled;
-
-    /**
      * Allows to provide a custom properties file on the classpath to initialize
      * a {@link javax.naming.InitialContext} object with. This corresponds to
      * the {@link org.apache.camel.guice.Main#setJndiProperties(String)} API
@@ -174,13 +157,6 @@ public class RunMojo extends AbstractExecMojo {
     private boolean trace;
 
     /**
-     * Output all routes to the specified XML file
-     *
-     * @parameter property="camel.routesOutputFile"
-     */
-    private String routesOutputFile;
-
-    /**
      * The main class to execute.
      *
      * @parameter property="camel.mainClass"
@@ -334,10 +310,6 @@ public class RunMojo extends AbstractExecMojo {
 
         // lets create the command line arguments to pass in...
         List<String> args = new ArrayList<String>();
-        if (dotDir != null && dotEnabled) {
-            args.add("-o");
-            args.add(dotDir);
-        }
         if (jndiProperties != null) {
             args.add("-j");
             args.add(jndiProperties);
@@ -349,11 +321,6 @@ public class RunMojo extends AbstractExecMojo {
             args.add("-t");
         }
 
-        if (routesOutputFile != null) {
-            args.add("-output");
-            args.add(routesOutputFile);
-        }
-
         args.add("-d");
         args.add(duration);
         if (arguments != null) {

http://git-wip-us.apache.org/repos/asf/camel/blob/b67b6296/tooling/maven/guice-maven-plugin/src/main/resources/guice-maven-plugin.properties
----------------------------------------------------------------------
diff --git a/tooling/maven/guice-maven-plugin/src/main/resources/guice-maven-plugin.properties b/tooling/maven/guice-maven-plugin/src/main/resources/guice-maven-plugin.properties
deleted file mode 100644
index e8a757f..0000000
--- a/tooling/maven/guice-maven-plugin/src/main/resources/guice-maven-plugin.properties
+++ /dev/null
@@ -1,33 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#  http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-report.dot.name = Camel EIP Diagram
-report.dot.description = This report generates a graphical diagram of all the Enterprise Integration Patterns in this project
-report.dot.header=Dot Report
-
-report.converters.name = Camel TypeConverter(s)
-report.converters.description = This report generates a list of available type converters.
-report.converters.report.title = Apache Camel TypeConverters
-report.converters.report.header = TypeConverter(s)
-report.converters.report.table.caption = TypeConverter Table
-report.converters.report.table.head1 = From
-report.converters.report.table.head2 = To
-report.converters.report.table.head3 = Method
-report.converters.report.table.head4 = Class
-report.converters.report.table.head5 = Type
-report.converters.report.intro = List of available TypeConverters for on-the-fly transformation of Messages into another required format. 
-report.converters.report.seealso = See also: