[richfaces-svn-commits] JBoss Rich Faces SVN: r2208 - trunk/samples/richfaces-demo.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Fri Aug 10 17:38:39 EDT 2007


Author: alexsmirnov
Date: 2007-08-10 17:38:39 -0400 (Fri, 10 Aug 2007)
New Revision: 2208

Modified:
   trunk/samples/richfaces-demo/pom.xml
Log:
include bean sources in war

Modified: trunk/samples/richfaces-demo/pom.xml
===================================================================
--- trunk/samples/richfaces-demo/pom.xml	2007-08-10 19:22:16 UTC (rev 2207)
+++ trunk/samples/richfaces-demo/pom.xml	2007-08-10 21:38:39 UTC (rev 2208)
@@ -1,22 +1,24 @@
-<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">
-    <parent>
-        <artifactId>samples</artifactId>
-        <groupId>org.richfaces</groupId>
-        <version>3.1.0-SNAPSHOT</version>
-    </parent>
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>org.richfaces.samples</groupId>
-    <artifactId>richfaces-demo</artifactId>
+<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">
+	<parent>
+		<artifactId>samples</artifactId>
+		<groupId>org.richfaces</groupId>
+		<version>3.1.0-SNAPSHOT</version>
+	</parent>
+	<modelVersion>4.0.0</modelVersion>
+	<groupId>org.richfaces.samples</groupId>
+	<artifactId>richfaces-demo</artifactId>
 	<version>3.1.0-SNAPSHOT</version>
-    <packaging>war</packaging>
-    <name>richfaces-demo Maven Webapp</name>
-    <dependencies>
-	<dependency>
-		<groupId>org.richfaces.ui</groupId>
-		<artifactId>richfaces-ui</artifactId>
-		<version>3.1.0-SNAPSHOT</version>
-	</dependency>
+	<packaging>war</packaging>
+	<name>richfaces-demo Maven Webapp</name>
+	<dependencies>
 		<dependency>
+			<groupId>org.richfaces.ui</groupId>
+			<artifactId>richfaces-ui</artifactId>
+			<version>3.1.0-SNAPSHOT</version>
+		</dependency>
+		<dependency>
 			<groupId>com.uwyn</groupId>
 			<artifactId>jhighlight</artifactId>
 			<version>1.0</version>
@@ -27,20 +29,31 @@
 			<version>3.1.0-SNAPSHOT</version>
 			<scope>provided</scope>
 		</dependency>
-    </dependencies>
-    <build>
-        <finalName>richfaces-demo</finalName>
-		<pluginManagement>
-			<plugins>
-				<plugin>
-					<groupId>org.apache.maven.plugins</groupId>
-					<artifactId>maven-compiler-plugin</artifactId>
-					<configuration>
-						<source>1.5</source>
-						<target>1.5</target>
-					</configuration>
-				</plugin>
-			</plugins>
-		</pluginManagement>
-	</build>
+	</dependencies>
+	<build>
+		<finalName>richfaces-demo</finalName>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<configuration>
+					<source>1.5</source>
+					<target>1.5</target>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-war-plugin</artifactId>
+				<configuration>
+					<webResources>
+						<resource>
+							<!-- this is relative to the pom.xml directory -->
+							<directory>src/main/java</directory>
+							<targetPath>WEB-INF/src</targetPath>
+						</resource>
+					</webResources>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
 </project>
\ No newline at end of file




More information about the richfaces-svn-commits mailing list