Author: echatellier Date: 2009-09-01 14:12:19 +0200 (Tue, 01 Sep 2009) New Revision: 2767 Modified: trunk/pollen-ui/pom.xml Log: Call final name "pollen-xxx.war" Add standalone jar with embedded container (winstone) Modified: trunk/pollen-ui/pom.xml =================================================================== --- trunk/pollen-ui/pom.xml 2009-08-27 16:29:23 UTC (rev 2766) +++ trunk/pollen-ui/pom.xml 2009-09-01 12:12:19 UTC (rev 2767) @@ -1,5 +1,6 @@ <?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/maven-v4_0_0.xsd"> +<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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> @@ -15,7 +16,7 @@ <groupId>org.chorem.pollen</groupId> <artifactId>pollen-ui</artifactId> - + <dependencies> <dependency> <groupId>${project.groupId}</groupId> @@ -62,7 +63,6 @@ <groupId>junit</groupId> <artifactId>junit</artifactId> </dependency> - </dependencies> <!-- ************************************************************* --> @@ -71,26 +71,43 @@ <name>Pollen Web Interface</name> <description>Interface Web Tapestry pour Pollen</description> - + <!-- ************************************************************* --> <!-- *** Build Settings ****************************************** --> <!-- ************************************************************* --> <packaging>war</packaging> - + <reporting> - <!-- Adds a report detailing the components, mixins and base classes defined by this module. --> - <!-- <plugins> + <!-- + Adds a report detailing the components, mixins and base + classes defined by this module. + --> + <!-- + <plugins> <plugin> <groupId>org.apache.tapestry</groupId> + <artifactId>tapestry-component-report</artifactId> + <version>${tapestry.version}</version> <configuration> + <rootPackage>org.chorem.pollen.ui</rootPackage> + </configuration> </plugin> </plugins> + --> + </reporting> + + <build> + <finalName>pollen-${project.version}</finalName> + <plugins> <plugin> - <groupId>org.apache.tapestry</groupId> - <artifactId>tapestry-component-report</artifactId> - <version>${tapestry.version}</version> - <configuration> - <rootPackage>org.chorem.pollen.ui</rootPackage> - </configuration> + <groupId>net.sf.alchim</groupId> + <artifactId>winstone-maven-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>embed</goal> + </goals> + <phase>package</phase> + </execution> + </executions> </plugin> - </plugins> --> - </reporting> - + </plugins> + </build> </project>
participants (1)
-
echatellier@users.chorem.org