mirror of
https://github.com/octoleo/plantuml-server.git
synced 2024-11-05 20:37:53 +00:00
11a215ddd0
Add project name to maven pom. Configure maven-eclipse-plugin wtp contextpath to "plantuml" for running from eclipse embedded servers. Add jetty-maven-plugin to maven pom allowing to run the webapp by executing jetty:run-exploded or jetty:run-war maven goals. Downgrade servlet-api dependency version to 2.4 to match web.xml setting. Remove development "leaked" dependency on jersey-server. Changed maven build final name to produce "plantuml.war" as the previous ant build.
91 lines
2.5 KiB
XML
91 lines
2.5 KiB
XML
<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">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>org.sourceforge.plantuml</groupId>
|
|
<artifactId>plantumlservlet</artifactId>
|
|
<version>1-SNAPSHOT</version>
|
|
<name>PlantUML Servlet</name>
|
|
<packaging>war</packaging>
|
|
<build>
|
|
<finalName>plantuml</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-eclipse-plugin</artifactId>
|
|
<configuration>
|
|
<wtpversion>1.5</wtpversion>
|
|
<wtpContextName>plantuml</wtpContextName>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>1.6</source>
|
|
<target>1.6</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
|
<version>${jetty.version}</version>
|
|
<configuration>
|
|
<scanIntervalSeconds>5</scanIntervalSeconds>
|
|
<webApp>
|
|
<contextPath>/plantuml</contextPath>
|
|
</webApp>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<properties>
|
|
<jetty.version>8.0.4.v20111024</jetty.version>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>net.sourceforge.plantuml</groupId>
|
|
<artifactId>plantuml</artifactId>
|
|
<version>7481</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>HTTPClient</groupId>
|
|
<artifactId>HTTPClient</artifactId>
|
|
<version>0.3-3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
<version>2.4</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>3.8.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>httpunit</groupId>
|
|
<artifactId>httpunit</artifactId>
|
|
<version>1.7</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>rhino</groupId>
|
|
<artifactId>js</artifactId>
|
|
<version>1.7R2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.aggregate</groupId>
|
|
<artifactId>jetty-all</artifactId>
|
|
<version>${jetty.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>jsp-2.1-glassfish</artifactId>
|
|
<version>2.1.v20100127</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|