Camel :: Diagram Generator :: Camel Loader

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Лицензия

Лицензия

Группа

Группа

com.github.rmannibucau
Идентификатор

Идентификатор

camel-loader
Последняя версия

Последняя версия

0.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Camel :: Diagram Generator :: Camel Loader
Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Скачать camel-loader

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.rmannibucau/camel-loader/ -->
<dependency>
    <groupId>com.github.rmannibucau</groupId>
    <artifactId>camel-loader</artifactId>
    <version>0.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.rmannibucau/camel-loader/
implementation 'com.github.rmannibucau:camel-loader:0.0.1'
// https://jarcasting.com/artifacts/com.github.rmannibucau/camel-loader/
implementation ("com.github.rmannibucau:camel-loader:0.0.1")
'com.github.rmannibucau:camel-loader:jar:0.0.1'
<dependency org="com.github.rmannibucau" name="camel-loader" rev="0.0.1">
  <artifact name="camel-loader" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.rmannibucau', module='camel-loader', version='0.0.1')
)
libraryDependencies += "com.github.rmannibucau" % "camel-loader" % "0.0.1"
[com.github.rmannibucau/camel-loader "0.0.1"]

Зависимости

compile (9)

Идентификатор библиотеки Тип Версия
net.sf.jung : jung-graph-impl jar 2.0.1
net.sf.jung : jung-visualization jar 2.0.1
log4j : log4j jar 1.2.16
org.slf4j : slf4j-api jar 1.7.5
org.slf4j : slf4j-log4j12 jar 1.7.5
org.apache.camel : camel-core jar 2.10.0
org.apache.camel : camel-spring jar 2.10.0
org.apache.xbean : xbean-finder-shaded jar 3.11
com.github.rmannibucau : loader-api jar 0.0.1

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11

Модули Проекта

Данный проект не имеет модулей.

Build Status

Introduction

A maven plugin to generate camel diagram from routes.

Screenshot

http://wiki.rmannibucau.googlecode.com/hg/images/camel.png

Usage

<build>
  <plugins>
    <plugin>
      <groupId>fr.rmannibucau</groupId>
      <artifactId>maven-diagram-generator-plugin</artifactId>
      <version>0.0.1-SNAPSHOT</version>
      <executions>
        <execution>
          <id>pack</id>
          <phase>package</phase>
          <goals>
            <goal>diagram</goal>
          </goals>
        </execution>
      </executions>
      <configuration>
        <input>src/main/resources/spring</input> <!-- or a qualified RouteBuilder name if you use java routes -->
        <view>false</view> <!-- default = false, true to show a window containing the diagram -->
        <width>480</width> <!-- default = 640  -->
        <height>640</height> <!-- default = 480 -->
        <output>target/diagram</output> <!-- default = target/diagram -->
        <type>camel</type> <!-- default = camel -->
        <fileType>xml</fileType> <!-- default = xml, other values = { java  }-->
        <format>png</format> <!-- default = png, you can set jpg ... -->
        <adjust>true</adjust> <!-- true allows to resize icons, false force to keep their original size; default: true -->
      </configuration>
      <dependencies>
        <dependency> <!-- to use camel generator -->
          <groupId>fr.rmannibucau</groupId>
          <artifactId>camel-loader</artifactId>
          <version>0.0.1-SNAPSHOT</version>
        </dependency>
        <!-- route dependencies if needed -->
      </dependencies>
    </plugin>
  </plugins>
</build>

Advanced

You can implement your own Loader (it follows java spi) and then use it in your pom.xml (you have to put it as dependency for your plugin).

Note

This plugin suppose you don't have cycles in your diagram and you have each endpoints only once. If you use the same endpoints twice try to change a bit its name during the generation.

License

This software is licensed under the terms you may find in the file named "LICENSE" in this directory.

Версии библиотеки

Версия
0.0.1