Coder Social home page Coder Social logo

sigrist / maven-plantuml-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arnaudroques/maven-plantuml-plugin

0.0 2.0 0.0 127 KB

A maven plugin to generate UML diagrams using PlantUML syntax

License: Apache License 2.0

Java 100.00%

maven-plantuml-plugin's Introduction

This project is not maintained anymore

A maven plugin to generate UML diagrams using PlantUML syntax.

Important note

If you want to use versions of PlantUML greater than 8031 you have to use version 1.2 of this plugin.

Usage

To generate images from PlantUML description add following dependency to your pom.xml:

...
<build>
  <plugins>
    <plugin>
      <groupId>com.github.jeluard</groupId>
      <artifactId>plantuml-maven-plugin</artifactId>
      <version>1.2</version>
      <configuration>
        <sourceFiles>
          <directory>${basedir}</directory>
          <includes>
            <include>src/main/plantuml/**/*.txt</include>
          </includes>
        </sourceFiles>
      </configuration>
      <dependencies>
        <dependency>
          <groupId>net.sourceforge.plantuml</groupId>
          <artifactId>plantuml</artifactId>
          <version>7999</version>
        </dependency>
      </dependencies>
    </plugin>
  </plugins>
</build>

Note that you must explicitely define the PlantUML version you want to use.

Then execute command:

mvn clean com.github.jeluard:plantuml-maven-plugin:generate

Extra configuration options

outputDirectory Directory where generated images are generated. Defaults to ${basedir}/target/plantuml

outputInSourceDirectory Whether or not to generate images in same directory as the source file. Defaults to false.

format Output format. Defaults to png.

verbose Wether or not to output details during generation. Defaults to false.

Released under Apache 2 license.

maven-plantuml-plugin's People

Contributors

jeluard avatar arnaudroques avatar vanuan avatar barthel avatar esamson avatar matling avatar amercier avatar

Watchers

James Cloos avatar Paulo Sigrist avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.