You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by js...@apache.org on 2008/05/08 16:41:50 UTC
svn commit: r654538 - in /activemq/camel/trunk:
examples/camel-example-spring-xquery/pom.xml
tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/DotMojo.java
Author: jstrachan
Date: Thu May 8 07:41:50 2008
New Revision: 654538
URL: http://svn.apache.org/viewvc?rev=654538&view=rev
Log:
added a patch for CAMEL-412 https://issues.apache.org/activemq/browse/CAMEL-412 to support the DOT file execution being disbled via the pom.xml via the <configuration><useDot>false</useDot></configuration> option
Modified:
activemq/camel/trunk/examples/camel-example-spring-xquery/pom.xml
activemq/camel/trunk/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/DotMojo.java
Modified: activemq/camel/trunk/examples/camel-example-spring-xquery/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-spring-xquery/pom.xml?rev=654538&r1=654537&r2=654538&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-spring-xquery/pom.xml (original)
+++ activemq/camel/trunk/examples/camel-example-spring-xquery/pom.xml Thu May 8 07:41:50 2008
@@ -84,6 +84,10 @@
<plugin>
<groupId>org.apache.camel</groupId>
<artifactId>camel-maven-plugin</artifactId>
+ <configuration>
+ <!-- lets disable the DOT file conversion as a test -->
+ <useDot>false</useDot>
+ </configuration>
</plugin>
</plugins>
</reporting>
Modified: activemq/camel/trunk/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/DotMojo.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/DotMojo.java?rev=654538&r1=654537&r2=654538&view=diff
==============================================================================
--- activemq/camel/trunk/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/DotMojo.java (original)
+++ activemq/camel/trunk/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/DotMojo.java Thu May 8 07:41:50 2008
@@ -70,7 +70,6 @@
* milliseconds.
*
* @parameter expression="2s"
- * @readonly
*/
protected String duration;
/**
@@ -78,7 +77,6 @@
* generate the DOT file
*
* @parameter expression="true"
- * @readonly
*/
protected boolean runCamel;
/**
@@ -86,7 +84,6 @@
* generate images
*
* @parameter expression="true"
- * @readonly
*/
protected boolean useDot;
/**
@@ -102,14 +99,12 @@
*
* @parameter expression="${project.build.directory}"
* @required
- * @readonly
*/
private File buildDirectory;
/**
* Base output directory for reports.
*
* @parameter default-value="${project.build.directory}/site/cameldoc"
- * @readonly
* @required
*/
private File outputDirectory;
@@ -182,6 +177,14 @@
this.aggregate = aggregate;
}
+ public boolean isUseDot() {
+ return useDot;
+ }
+
+ public void setUseDot(boolean useDot) {
+ this.useDot = useDot;
+ }
+
/**
* @see org.apache.maven.plugin.Mojo#execute()
*/