summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/maven/tuscany-diagram-plugin
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2011-09-16 00:19:27 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2011-09-16 00:19:27 +0000
commitbb2ce1c766d81435a35cafdd02c7963b11dc5dc7 (patch)
tree97cc95bd1dd515886eb5b923dbe27ec1bbea012a /sca-java-2.x/trunk/maven/tuscany-diagram-plugin
parent5d97dad51802597583e07731e76577116d2836e2 (diff)
Add the ablity to generate links for the component/service/reference/property
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1171339 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/maven/tuscany-diagram-plugin')
-rw-r--r--sca-java-2.x/trunk/maven/tuscany-diagram-plugin/src/main/java/org/apache/tuscany/sca/diagram/maven/plugin/TuscanyDiagramMojo.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/maven/tuscany-diagram-plugin/src/main/java/org/apache/tuscany/sca/diagram/maven/plugin/TuscanyDiagramMojo.java b/sca-java-2.x/trunk/maven/tuscany-diagram-plugin/src/main/java/org/apache/tuscany/sca/diagram/maven/plugin/TuscanyDiagramMojo.java
index aa55be9618..c0cc6adeb0 100644
--- a/sca-java-2.x/trunk/maven/tuscany-diagram-plugin/src/main/java/org/apache/tuscany/sca/diagram/maven/plugin/TuscanyDiagramMojo.java
+++ b/sca-java-2.x/trunk/maven/tuscany-diagram-plugin/src/main/java/org/apache/tuscany/sca/diagram/maven/plugin/TuscanyDiagramMojo.java
@@ -70,6 +70,11 @@ public class TuscanyDiagramMojo extends AbstractMojo {
private File outputDirectory;
/**
+ * @parameter The base URL for the clickable blocks
+ */
+ private String baseURL;
+
+ /**
* @parameter
*/
private boolean generateSVG = true;
@@ -97,6 +102,7 @@ public class TuscanyDiagramMojo extends AbstractMojo {
try {
getLog().info("Generating diagram for " + f);
org.apache.tuscany.sca.diagram.main.Main.generate(outputDirectory,
+ baseURL,
generateSVG,
generateHTML,
generateJPG,