markdown-doc-lib
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>se.natusoft.tools.doc.markdowndoc</groupId>
<artifactId>markdown-doc-lib</artifactId>
<version>1.2.9</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>markdown-doc</artifactId>
<groupId>se.natusoft.tools.doc.markdowndoc</groupId>
<version><!--VER-->1.2.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>markdown-doc-lib</artifactId>
<name>MarkdownDoc Library</name>
<description>
Parses markdown and generates HTML and PDF.
</description>
<dependencies>
<dependency>
<groupId>com.itextpdf</groupId>
<artifactId>itextpdf</artifactId>
<version>5.3.4</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>2.0.5</version>
<scope>compile</scope>
</dependency>
</dependencies>
<build>
<sourceDirectory>src/main/groovy</sourceDirectory>
<testSourceDirectory>src/test/groovy</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>groovydoc</id>
<phase>deploy</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<taskdef name="groovydoc" classname="org.codehaus.groovy.ant.Groovydoc" classpathref="maven.compile.classpath" />
<groovydoc destdir="${project.reporting.outputDirectory}/groovydoc" sourcepath="${basedir}/src/main/groovy" use="true" windowtitle="${project.name}" doctitle="${project.name}">
<link packages="java.,org.xml.,javax.,org.xml." href="http://download.oracle.com/javase/6/docs/api" />
<link packages="org.apache.tools.ant." href="http://evgeny-goldin.org/javadoc/ant/api" />
<link packages="org.junit.,junit.framework." href="http://kentbeck.github.com/junit/javadoc/latest" />
<link packages="groovy.,org.codehaus.groovy." href="http://groovy.codehaus.org/api/" />
<link packages="org.codehaus.gmaven." href="http://evgeny-goldin.org/javadoc/gmaven" />
</groovydoc>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release-upload</id>
<build>
<plugins>
<plugin>
<groupId>se.natusoft.maven.plugin</groupId>
<artifactId>ftp-maven-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<id>upload</id>
<phase>deploy</phase>
<goals>
<goal>upload</goal>
</goals>
<configuration>
<baseDir>${basedir}/target/site/groovydoc</baseDir>
<files>**/.*</files>
<targetHost>${maven.repo.upload}</targetHost>
<targetPort>21</targetPort>
<targetPath>/apidoc.natusoft.se/public_html/MarkdownDoc</targetPath>
<userName>${web.server.user}</userName>
<password>${web.server.pw}</password>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>