Added maven-eclipse-plugin configuration options for generation of

eclipse wtp configuration files so the project is recognized as a "web
project" in eclipse and it can be run in eclipse managed servers.
This commit is contained in:
Pablo Lalloni
2011-11-12 16:22:48 -03:00
parent b66a774bc7
commit 1b9e92cc78

131
pom.xml
View File

@@ -1,56 +1,79 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <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"> 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> <modelVersion>4.0.0</modelVersion>
<groupId>org.sourceforge.plantuml</groupId> <groupId>org.sourceforge.plantuml</groupId>
<artifactId>plantumlservlet</artifactId> <artifactId>plantumlservlet</artifactId>
<version>1-SNAPSHOT</version> <version>1-SNAPSHOT</version>
<packaging>war</packaging> <packaging>war</packaging>
<dependencies> <build>
<dependency> <plugins>
<groupId>net.sourceforge.plantuml</groupId> <plugin>
<artifactId>plantuml</artifactId> <artifactId>maven-eclipse-plugin</artifactId>
<version>7481</version> <configuration>
</dependency> <wtpversion>1.5</wtpversion>
<dependency> </configuration>
<groupId>HTTPClient</groupId> </plugin>
<artifactId>HTTPClient</artifactId> <plugin>
<version>0.3-3</version> <artifactId>maven-compiler-plugin</artifactId>
</dependency> <configuration>
<dependency> <source>1.6</source>
<groupId>javax.servlet</groupId> <target>1.6</target>
<artifactId>servlet-api</artifactId> </configuration>
<version>2.5</version> </plugin>
<scope>provided</scope> </plugins>
</dependency> </build>
<dependency> <dependencies>
<groupId>junit</groupId> <dependency>
<artifactId>junit</artifactId> <groupId>net.sourceforge.plantuml</groupId>
<version>3.8.2</version> <artifactId>plantuml</artifactId>
<scope>test</scope> <version>7481</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>httpunit</groupId> <groupId>HTTPClient</groupId>
<artifactId>httpunit</artifactId> <artifactId>HTTPClient</artifactId>
<version>1.7</version> <version>0.3-3</version>
<scope>test</scope> </dependency>
</dependency> <dependency>
<dependency> <groupId>javax.servlet</groupId>
<groupId>rhino</groupId> <artifactId>servlet-api</artifactId>
<artifactId>js</artifactId> <version>2.5</version>
<version>1.7R2</version> <scope>provided</scope>
<scope>test</scope> </dependency>
</dependency> <dependency>
<dependency> <groupId>junit</groupId>
<groupId>org.eclipse.jetty.aggregate</groupId> <artifactId>junit</artifactId>
<artifactId>jetty-all</artifactId> <version>3.8.2</version>
<version>7.5.4.v20111024</version> <scope>test</scope>
<scope>test</scope> </dependency>
</dependency> <dependency>
<dependency> <groupId>httpunit</groupId>
<groupId>org.mortbay.jetty</groupId> <artifactId>httpunit</artifactId>
<artifactId>jsp-2.1-glassfish</artifactId> <version>1.7</version>
<version>2.1.v20100127</version> <scope>test</scope>
<scope>test</scope> </dependency>
</dependency> <dependency>
</dependencies> <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>7.5.4.v20111024</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>
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-server</artifactId>
<version>1.10</version>
<scope>test</scope>
</dependency>
</dependencies>
</project> </project>