mirror of
https://github.com/octoleo/plantuml-server.git
synced 2025-02-03 02:58:25 +00:00
Configure jetty-maven-plugin, build final name, wtp context path.
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.
This commit is contained in:
parent
e489e631eb
commit
11a215ddd0
27
pom.xml
27
pom.xml
@ -4,13 +4,16 @@
|
|||||||
<groupId>org.sourceforge.plantuml</groupId>
|
<groupId>org.sourceforge.plantuml</groupId>
|
||||||
<artifactId>plantumlservlet</artifactId>
|
<artifactId>plantumlservlet</artifactId>
|
||||||
<version>1-SNAPSHOT</version>
|
<version>1-SNAPSHOT</version>
|
||||||
|
<name>PlantUML Servlet</name>
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
<build>
|
<build>
|
||||||
|
<finalName>plantuml</finalName>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-eclipse-plugin</artifactId>
|
<artifactId>maven-eclipse-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<wtpversion>1.5</wtpversion>
|
<wtpversion>1.5</wtpversion>
|
||||||
|
<wtpContextName>plantuml</wtpContextName>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
@ -20,8 +23,22 @@
|
|||||||
<target>1.6</target>
|
<target>1.6</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</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>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
<properties>
|
||||||
|
<jetty.version>8.0.4.v20111024</jetty.version>
|
||||||
|
</properties>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.sourceforge.plantuml</groupId>
|
<groupId>net.sourceforge.plantuml</groupId>
|
||||||
@ -36,7 +53,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>javax.servlet</groupId>
|
<groupId>javax.servlet</groupId>
|
||||||
<artifactId>servlet-api</artifactId>
|
<artifactId>servlet-api</artifactId>
|
||||||
<version>2.5</version>
|
<version>2.4</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -60,7 +77,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.eclipse.jetty.aggregate</groupId>
|
<groupId>org.eclipse.jetty.aggregate</groupId>
|
||||||
<artifactId>jetty-all</artifactId>
|
<artifactId>jetty-all</artifactId>
|
||||||
<version>7.5.4.v20111024</version>
|
<version>${jetty.version}</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -69,11 +86,5 @@
|
|||||||
<version>2.1.v20100127</version>
|
<version>2.1.v20100127</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>com.sun.jersey</groupId>
|
|
||||||
<artifactId>jersey-server</artifactId>
|
|
||||||
<version>1.10</version>
|
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user