You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ws...@apache.org on 2007/06/03 07:24:13 UTC

svn commit: r543842 - /maven/archiva/trunk/archiva-web/archiva-webapp/pom.xml

Author: wsmoak
Date: Sat Jun  2 22:24:12 2007
New Revision: 543842

URL: http://svn.apache.org/viewvc?view=rev&rev=543842
Log:
Initial pass at configuring the Cargo plugin to start Archiva in Tomcat.
TODO: Investigate config for data sources.

Modified:
    maven/archiva/trunk/archiva-web/archiva-webapp/pom.xml

Modified: maven/archiva/trunk/archiva-web/archiva-webapp/pom.xml
URL: http://svn.apache.org/viewvc/maven/archiva/trunk/archiva-web/archiva-webapp/pom.xml?view=diff&rev=543842&r1=543841&r2=543842
==============================================================================
--- maven/archiva/trunk/archiva-web/archiva-webapp/pom.xml (original)
+++ maven/archiva/trunk/archiva-web/archiva-webapp/pom.xml Sat Jun  2 22:24:12 2007
@@ -397,6 +397,26 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+          <!-- TODO:  configure data sources -->
+          <groupId>org.codehaus.cargo</groupId>
+          <artifactId>cargo-maven2-plugin</artifactId>
+          <version>0.3.1</version>
+          <configuration>
+              <container>
+                  <containerId>tomcat5x</containerId>
+                  <home>${cargo.tomcat5x.home}</home>
+                  <log>${project.build.directory}/tomcat5x.log</log>
+                  <output>${project.build.directory}/tomcat5x.out</output>
+              </container>
+              <configuration>
+                  <home>${project.build.directory}/tomcat5x</home>
+                  <properties>
+                      <cargo.jvmargs> -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n </cargo.jvmargs>
+                  </properties>
+              </configuration>
+          </configuration>
+      </plugin>
     </plugins>
   </build>
   <profiles>



Re: svn commit: r543842 - /maven/archiva/trunk/archiva-web/archiva-webapp/pom.xml

Posted by Brett Porter <br...@apache.org>.
Yep.

On 04/06/2007, at 9:49 AM, Wendy Smoak wrote:

> On 6/3/07, Brett Porter <br...@apache.org> wrote:
>> You should be able to borrow the configuration from the selenium  
>> tests?
>
> Do they use Tomcat?  I didn't look but assumed everything else is  
> using Jetty...
>
> -- 
> Wendy

Re: svn commit: r543842 - /maven/archiva/trunk/archiva-web/archiva-webapp/pom.xml

Posted by Wendy Smoak <ws...@gmail.com>.
On 6/3/07, Brett Porter <br...@apache.org> wrote:
> You should be able to borrow the configuration from the selenium tests?

Do they use Tomcat?  I didn't look but assumed everything else is using Jetty...

-- 
Wendy

Re: svn commit: r543842 - /maven/archiva/trunk/archiva-web/archiva-webapp/pom.xml

Posted by Brett Porter <br...@apache.org>.
You should be able to borrow the configuration from the selenium tests?

On 03/06/2007, at 3:24 PM, wsmoak@apache.org wrote:

> Author: wsmoak
> Date: Sat Jun  2 22:24:12 2007
> New Revision: 543842
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=543842
> Log:
> Initial pass at configuring the Cargo plugin to start Archiva in  
> Tomcat.
> TODO: Investigate config for data sources.
>
> Modified:
>     maven/archiva/trunk/archiva-web/archiva-webapp/pom.xml
>
> Modified: maven/archiva/trunk/archiva-web/archiva-webapp/pom.xml
> URL: http://svn.apache.org/viewvc/maven/archiva/trunk/archiva-web/ 
> archiva-webapp/pom.xml?view=diff&rev=543842&r1=543841&r2=543842
> ====================================================================== 
> ========
> --- maven/archiva/trunk/archiva-web/archiva-webapp/pom.xml (original)
> +++ maven/archiva/trunk/archiva-web/archiva-webapp/pom.xml Sat Jun   
> 2 22:24:12 2007
> @@ -397,6 +397,26 @@
>            </execution>
>          </executions>
>        </plugin>
> +      <plugin>
> +          <!-- TODO:  configure data sources -->
> +          <groupId>org.codehaus.cargo</groupId>
> +          <artifactId>cargo-maven2-plugin</artifactId>
> +          <version>0.3.1</version>
> +          <configuration>
> +              <container>
> +                  <containerId>tomcat5x</containerId>
> +                  <home>${cargo.tomcat5x.home}</home>
> +                  <log>${project.build.directory}/tomcat5x.log</log>
> +                  <output>${project.build.directory}/tomcat5x.out</ 
> output>
> +              </container>
> +              <configuration>
> +                  <home>${project.build.directory}/tomcat5x</home>
> +                  <properties>
> +                      <cargo.jvmargs> -Xdebug - 
> Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n </ 
> cargo.jvmargs>
> +                  </properties>
> +              </configuration>
> +          </configuration>
> +      </plugin>
>      </plugins>
>    </build>
>    <profiles>
>