I tried few weeks ago to switch red5 to maven to generate a war and deploy it with maven-tomcat plugin, but i returned to ant as i had problem with dependencies and in

my structure was:
src/main/java  ==> red5 src
src/main/config
src/main/webapp   ==> red5 webapp & demos
src/main/ressources here is my pom.xml. It work once but i don't know why :-) then i had problem with dependencies (i think the once it work i kepts the build class and then should have done a clean)
hope it can help, feel free to make any suggestion or remarks :


<?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";>
 <modelVersion>4.0.0</modelVersion>
 <groupId>Red5ComAppMaven</groupId>
 <artifactId>Red5ComApp</artifactId>
 <packaging>war</packaging>
 <version>0.0.1</version>
 <description>Composant communication - forme WAR</description>
 <build>
   <sourceDirectory>src/main/java</sourceDirectory>
   <pluginManagement>
     <plugins>
       <plugin>
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
           <source>1.5</source>
           <target>1.5</target>
         </configuration>
       </plugin>
     </plugins>
   </pluginManagement>
   <plugins>
     <plugin>
       <groupId>org.codehaus.mojo</groupId>
       <artifactId>tomcat-maven-plugin</artifactId>
       <version>1.0-SNAPSHOT</version>
       <configuration>
         <server>serveurLocal</server>
       </configuration>
     </plugin>
   </plugins>
 </build>
 <repositories>
   <repository>
     <releases />
     <snapshots />
     <id>CodeHaus Snapshots</id>
     <url>http://dist.codehaus.org/mule/dependencies/maven2/</url>
   </repository>
   <repository>
     <releases />
     <snapshots />
     <id>Dotsrc Snapshots</id>
     <url>http://mirrors.dotsrc.org/maven2/</url>
   </repository>
   <repository>
     <releases />
     <snapshots />
     <id>Maven Snapshots</id>
     <url>http://snapshots.maven.codehaus.org/maven2/</url>
   </repository>
   <repository>
     <releases />
     <snapshots />
     <id>Mergere Snapshots</id>
     <url>http://repo.mergere.com/maven2/</url>
   </repository>
   <repository>
     <releases />
     <snapshots />
     <id>Cica.es Snapshots</id>
     <url>http://ftp.cica.es/mirrors/maven2/</url>
   </repository>
   <repository>
     <releases />
     <snapshots />
     <id>MvN Snapshots</id>
     <url>http://mvnrepository.com</url>
   </repository>
 </repositories>
 <pluginRepositories>
   <pluginRepository>
     <releases />
     <snapshots />
     <id>Maven Snapshots</id>
     <url>http://snapshots.maven.codehaus.org/maven2/</url>
   </pluginRepository>
   <pluginRepository>
     <releases />
     <snapshots />
     <id>Mergere Snapshots</id>
     <url>http://repo.mergere.com/maven2/</url>
   </pluginRepository>
 </pluginRepositories>
 <dependencies>
   <dependency>
     <groupId>org.springframework</groupId>
     <artifactId>spring-core</artifactId>
     <version>2.0.2</version>
   </dependency>
   <dependency>
     <groupId>org.springframework</groupId>
     <artifactId>spring-context</artifactId>
     <version>2.0.2</version>
   </dependency>
   <dependency>
     <groupId>commons-collections</groupId>
     <artifactId>commons-collections</artifactId>
     <version>3.2</version>
   </dependency>
   <dependency>
     <groupId>commons-httpclient</groupId>
     <artifactId>commons-httpclient</artifactId>
     <version>3.0.1</version>
   </dependency>
   <dependency>
     <groupId>org.apache.mina</groupId>
     <artifactId>mina-core</artifactId>
     <version>1.1.0</version>
   </dependency>
   <dependency>
     <groupId>tomcat</groupId>
     <artifactId>catalina</artifactId>
     <version>5.5.7</version>
   </dependency>
   <dependency>
     <groupId>commons-pool</groupId>
     <artifactId>commons-pool</artifactId>
     <version>1.3</version>
   </dependency>
   <dependency>
     <groupId>commons-beanutils</groupId>
     <artifactId>commons-beanutils</artifactId>
     <version>1.7.0</version>
   </dependency>
   <dependency>
     <groupId>commons-beanutils</groupId>
     <artifactId>commons-beanutils-core</artifactId>
     <version>1.7.0</version>
   </dependency>
   <dependency>
     <groupId>net.sf.ehcache</groupId>
     <artifactId>ehcache</artifactId>
     <version>1.2.4</version>
   </dependency>
   <dependency>
     <groupId>commons-lang</groupId>
     <artifactId>commons-lang</artifactId>
     <version>2.2</version>
   </dependency>
   <dependency>
     <groupId>org.mortbay.jetty</groupId>
     <artifactId>jetty</artifactId>
     <version>6.1.0</version>
   </dependency>
   <dependency>
     <groupId>groovy</groupId>
     <artifactId>groovy-all</artifactId>
     <version>1.0-jsr-04</version>
   </dependency>
   <dependency>
     <groupId>quartz</groupId>
     <artifactId>quartz</artifactId>
     <version>1.5.2</version>
   </dependency>
   <dependency>
     <groupId>org.springframework</groupId>
     <artifactId>spring</artifactId>
     <version>2.0.4</version>
   </dependency>
   <dependency>
     <groupId>com.whirlycott</groupId>
     <artifactId>whirlycache</artifactId>
     <version>0.7.1</version>
   </dependency>
   <dependency>
     <groupId>org.python</groupId>
     <artifactId>jython</artifactId>
     <version>2.2-beta2</version>
   </dependency>
   <dependency>
     <groupId>org.springframework</groupId>
     <artifactId>spring-jmx</artifactId>
     <version>2.0.2</version>
   </dependency>
   <dependency>
     <groupId>cocoon</groupId>
     <artifactId>cocoon-serializers</artifactId>
     <version>2.1.8</version>
   </dependency>
   <dependency>
     <groupId>org.apache.mina</groupId>
     <artifactId>mina-core</artifactId>
     <version>1.1.0</version>
   </dependency>
   <dependency>
     <groupId>org.apache.mina</groupId>
     <artifactId>mina-core</artifactId>
     <version>1.1.0</version>
   </dependency>
   <dependency>
     <groupId>org.apache.mina</groupId>
     <artifactId>mina-integration-spring</artifactId>
     <version>1.1.0</version>
   </dependency>
   <dependency>
     <groupId>com.sun.jdmk</groupId>
     <artifactId>jmxtools</artifactId>
     <version>1.2.1</version>
   </dependency>
   <dependency>
     <groupId>org.apache.xmlrpc</groupId>
     <artifactId>xmlrpc-server</artifactId>
     <version>3.0</version>
   </dependency>
 </dependencies>
</project>

Pierre

vlad a écrit :


On 6/25/07, *Thijs Triemstra | Collab* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    If you have suggestions or patches, please create a new Jira ticket.
    It never hurts to have maven2 support imho.. Do you think alot of the
    current build structure has to change with maven support?


I will try this week to evaluate the impact on the build process. If minimal, will submit a JIRA bug with my results

Thank you,
Vlad
------------------------------------------------------------------------

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to