Stefan,

The classpath does have the Maven2 Dependencies in it, but it's just not
picking them up at runtime. I attached the 3 config files

Kev

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
        <classpathentry kind="src" path="src/main/java"/>
        <classpathentry kind="src" path="src/test/java"/>
        <classpathentry excluding="**" output="src/main/resources" kind="src" 
path="src/main/resources"/>
        <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
        <classpathentry kind="con" 
path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache
 Tomcat v5.5 JDK 1.4"/>
        <classpathentry kind="con" 
path="org.eclipse.jst.j2ee.internal.web.container"/>
        <classpathentry kind="con" 
path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
        <classpathentry kind="output" path="src/main/webapp/WEB-INF/classes"/>
</classpath>

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
        <name>Newport</name>
        <comment></comment>
        <projects>
        </projects>
        <buildSpec>
                <buildCommand>
                        <name>org.eclipse.jdt.core.javabuilder</name>
                        <arguments>
                        </arguments>
                </buildCommand>
                <buildCommand>
                        
<name>org.eclipse.wst.common.project.facet.core.builder</name>
                        <arguments>
                        </arguments>
                </buildCommand>
                <buildCommand>
                        
<name>org.eclipse.wst.validation.validationbuilder</name>
                        <arguments>
                        </arguments>
                </buildCommand>
                <buildCommand>
                        <name>org.maven.ide.eclipse.maven2Builder</name>
                        <arguments>
                        </arguments>
                </buildCommand>
        </buildSpec>
        <natures>
                <nature>org.maven.ide.eclipse.maven2Nature</nature>
                
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
                <nature>org.eclipse.jdt.core.javanature</nature>
                
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
                <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
        </natures>
</projectDescription>

<?xml version="1.0"?>
<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>aib.dos.app</groupId>
  <artifactId>test-app</artifactId>
  <packaging>war</packaging>
  <name>Maven Webapp Archetype</name>
  <version>0.1-SNAPSHOT</version>
  <url>http://maven.apache.org</url>
  <build>
    <finalName>test-app</finalName>
  </build>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.0</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>commons-beanutils</groupId>
      <artifactId>commons-beanutils</artifactId>
      <version>1.7.0</version>
    </dependency>
    <dependency>
      <groupId>commons-codec</groupId>
      <artifactId>commons-codec</artifactId>
      <version>1.3</version>
    </dependency>
    <dependency>
      <groupId>commons-collections</groupId>
      <artifactId>commons-collections</artifactId>
      <version>3.1</version>
    </dependency>
    <dependency>
      <groupId>commons-dbutils</groupId>
      <artifactId>commons-dbutils</artifactId>
      <version>1.0</version>
    </dependency>
    <dependency>
      <groupId>commons-digester</groupId>
      <artifactId>commons-digester</artifactId>
      <version>1.6</version>
    </dependency>
    <dependency>
      <groupId>commons-el</groupId>
      <artifactId>commons-el</artifactId>
      <version>1.0</version>
    </dependency>
    <dependency>
      <groupId>commons-fileupload</groupId>
      <artifactId>commons-fileupload</artifactId>
      <version>1.0</version>
    </dependency>
    <dependency>
      <groupId>commons-lang</groupId>
      <artifactId>commons-lang</artifactId>
      <version>2.1</version>
    </dependency>
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
      <version>1.0.4</version>
    </dependency>
    <dependency>
      <groupId>jstl</groupId>
      <artifactId>jstl</artifactId>
      <version>1.1.0</version>
    </dependency>
    <dependency>
      <groupId>myfaces</groupId>
      <artifactId>tomahawk</artifactId>
      <version>1.1.3</version>
    </dependency>
    <dependency>
      <groupId>com.microsoft.jdbcdriver</groupId>
      <artifactId>msbase</artifactId>
      <version>2000.3</version>
    </dependency>
    <dependency>
      <groupId>com.microsoft.jdbcdriver</groupId>
      <artifactId>msutil</artifactId>
      <version>2000.3</version>
    </dependency>
    <dependency>
      <groupId>com.microsoft.jdbcdriver</groupId>
      <artifactId>mssqlserver</artifactId>
      <version>2000.3</version>
    </dependency>
    <dependency>
      <groupId>myfaces</groupId>
      <artifactId>myfaces-api</artifactId>
      <version>1.1.3</version>
    </dependency>
    <dependency>
      <groupId>myfaces</groupId>
      <artifactId>myfaces-impl</artifactId>
      <version>1.1.3</version>
    </dependency>
  </dependencies>
</project>

the classpath files should be generated automatically by the maven-eclipse 
plugin.
Have you added a setting for wtp support in your pom? (see eclipse plugin 
for details)

stefan

"Kev D'Arcy" <Kevin.A.D'[EMAIL PROTECTED]> skrev 31.07.2006 18:59:09:

> Hi,
> 
> I'm trying to set-up a dynamic web project in eclipse 3.2 using wtp 1.5
> and maven. I have everything in my project compiling correctly but the
> runtime classpath is missing all the dependencies that are defined
> in my pom.xml. Do they need to be defined in the .classpath file as well
> as in the pom.xml?
> 
> Kev



********************************************************************************
This document is strictly confidential and is intended for use by
 the addressee unless otherwise indicated.

This email has been scanned by an external Email Security System.

Allied Irish Banks
********************************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to