You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by st...@apache.org on 2009/02/14 11:37:55 UTC
svn commit: r744472 - /incubator/openwebbeans/trunk/samples/guess/pom.xml
Author: struberg
Date: Sat Feb 14 10:37:55 2009
New Revision: 744472
URL: http://svn.apache.org/viewvc?rev=744472&view=rev
Log:
OWB-76 change dependency scopes to fit both J2EE and standalone requirements
Modified:
incubator/openwebbeans/trunk/samples/guess/pom.xml
Modified: incubator/openwebbeans/trunk/samples/guess/pom.xml
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/samples/guess/pom.xml?rev=744472&r1=744471&r2=744472&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/samples/guess/pom.xml (original)
+++ incubator/openwebbeans/trunk/samples/guess/pom.xml Sat Feb 14 10:37:55 2009
@@ -36,17 +36,6 @@
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.apache.myfaces.core</groupId>
- <artifactId>myfaces-api</artifactId>
- <version>1.2.5</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-servlet_2.5_spec</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>com.sun.facelets</groupId>
<artifactId>jsf-facelets</artifactId>
<version>1.1.11</version>
@@ -55,22 +44,65 @@
<groupId>org.apache.openwebbeans</groupId>
<artifactId>openwebbeans-api</artifactId>
<version>1.0.0-incubating-SNAPSHOT</version>
+ <scope>provided</scope>
</dependency>
- <dependency>
- <groupId>org.apache.openwebbeans</groupId>
- <artifactId>openwebbeans-impl</artifactId>
- <version>1.0.0-incubating-SNAPSHOT</version>
- </dependency>
+ <dependency>
+ <groupId>org.apache.myfaces.core</groupId>
+ <artifactId>myfaces-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-servlet_2.5_spec</artifactId>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
+ <properties>
+ <envlibscope>provided</envlibscope>
+ </properties>
+
<profiles>
<profile>
<id>jetty</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.openwebbeans</groupId>
+ <artifactId>openwebbeans-api</artifactId>
+ <version>1.0.0-incubating-SNAPSHOT</version>
+ <scope>compile</scope> <!-- we need this if we run in jetty! -->
+ </dependency>
+ <dependency>
+ <groupId>org.apache.openwebbeans</groupId>
+ <artifactId>openwebbeans-impl</artifactId>
+ <version>1.0.0-incubating-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.openjpa</groupId>
+ <artifactId>openjpa</artifactId>
+ <version>1.2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <version>1.8.0.7</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.myfaces.core</groupId>
+ <artifactId>myfaces-api</artifactId>
+ <scope>compile</scope> <!-- we need this if we run in jetty! -->
+ </dependency>
+ <dependency>
+ <groupId>org.apache.myfaces.core</groupId>
+ <artifactId>myfaces-impl</artifactId>
+ </dependency>
+ </dependencies>
<build>
<plugins>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
+ <version>6.1.14</version>
<configuration>
<scanIntervalSeconds>10</scanIntervalSeconds>
</configuration>
@@ -86,6 +118,9 @@
</url>
</pluginRepository>
</pluginRepositories>
+ <properties>
+ <envlibscope>compile</envlibscope>
+ </properties>
</profile>
</profiles>