openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1673002 - /openwebbeans/trunk/samples/tomcat7-sample/pom.xml
Date Sun, 12 Apr 2015 11:18:47 GMT
Author: struberg
Date: Sun Apr 12 11:18:46 2015
New Revision: 1673002

URL: http://svn.apache.org/r1673002
Log:
fix owb tomcat7 samples on latest tc and owb version

Modified:
    openwebbeans/trunk/samples/tomcat7-sample/pom.xml

Modified: openwebbeans/trunk/samples/tomcat7-sample/pom.xml
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/samples/tomcat7-sample/pom.xml?rev=1673002&r1=1673001&r2=1673002&view=diff
==============================================================================
--- openwebbeans/trunk/samples/tomcat7-sample/pom.xml (original)
+++ openwebbeans/trunk/samples/tomcat7-sample/pom.xml Sun Apr 12 11:18:46 2015
@@ -31,6 +31,23 @@ under the License.
     <packaging>war</packaging>
     <name>Tomcat 7 Sample</name>
 
+    <!--
+     How to start the sample.
+
+     Either direct from the sources:
+     $> mvn clean install tomcat7:run
+
+     Or take the packaged war and deploy it to tomcat7.
+     You also have to add some OWB libraries to tomcats lib folder
+     (See the tomcat7-maven-plugin dependencies below for a full list).
+     Don't forget to add the tomcat7 listener. See the samples context.xml file.
+
+     When you open the webapp under
+     http://localhost:8080/tomcat7-sample
+     then use admin/admin as username/password to login.
+     See the provided tomcat-users.xml to change it.
+    -->
+
     <properties>
         <deploy.skip>true</deploy.skip>
     </properties>
@@ -50,12 +67,22 @@ under the License.
             <artifactId>geronimo-jcdi_1.1_spec</artifactId>
             <scope>provided</scope>
         </dependency>
-
         <dependency>
             <groupId>org.apache.geronimo.specs</groupId>
             <artifactId>geronimo-atinject_1.0_spec</artifactId>
             <scope>provided</scope>
         </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-interceptor_1.2_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-annotation_1.2_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+
     </dependencies>
 
     <build>
@@ -64,6 +91,7 @@ under the License.
             <plugin>
                 <groupId>org.apache.tomcat.maven</groupId>
                 <artifactId>tomcat7-maven-plugin</artifactId>
+                <version>2.2</version>
                 <configuration>
                     <tomcatUsers>${project.basedir}/src/main/tomcat/tomcat-users.xml</tomcatUsers>
                     <contextFile>${project.basedir}/src/main/tomcat/context.xml</contextFile>
@@ -194,6 +222,11 @@ under the License.
                         <artifactId>geronimo-interceptor_1.2_spec</artifactId>
                         <version>${geronimo_interceptor.version}</version>
                     </dependency>
+                    <dependency>
+                        <groupId>org.apache.geronimo.specs</groupId>
+                        <artifactId>geronimo-annotation_1.2_spec</artifactId>
+                        <version>${geronimo_annotation.version}</version>
+                    </dependency>
 
                 </dependencies>
             </plugin>



Mime
View raw message