Greg,

You are right!!!!

Thanks a gazillion.  It actually compiles and installs
fine.

Thanks again!
- Ole

--- Grzegorz Slowikowski <[EMAIL PROTECTED]> wrote:

> Hi Ole
> 
> myfaces dependency scope should be compile, not
> runtime:
> 
> <dependency>
> <groupId>myfaces</groupId>
> <artifactId>myfaces-all</artifactId>
> <version>1.1.1</version>
> <scope>compile</scope>
> </dependency>
> 
> or:
> 
> <dependency>
> <groupId>myfaces</groupId>
> <artifactId>myfaces-all</artifactId>
> <version>1.1.1</version>
> </dependency>
> 
> Greg
> 
> ----- Original Message ----- 
> From: "Ole Ersoy" <[EMAIL PROTECTED]>
> To: "Maven Developers List" <[email protected]>
> Sent: Thursday, May 18, 2006 5:15 AM
> Subject: Re: Maven Not Resolving Dependencies
> 
> 
> > John,
> >
> > I'd be extremely glad to do that at this point,
> > because I think I'm out of options.  I've tried
> > deleting .m2, installing an older version of java
> > (1.5.02), upgrading maven to 2.0.4...I could go
> back
> > to ant, but that would be like plowing a field
> with a
> > horse and buggie.
> >
> > OK - I setup a really simple project (tt) and
> here's
> > the pom:
> >
> > <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>tt</groupId>
> >  <artifactId>tt</artifactId>
> >  <packaging>jar</packaging>
> >  <version>1.0-SNAPSHOT</version>
> >  <name>Maven Quick Start Archetype</name>
> >  <url>http://maven.apache.org</url>
> >  <dependencies>
> >    <dependency>
> >      <groupId>junit</groupId>
> >      <artifactId>junit</artifactId>
> >      <version>3.8.1</version>
> >      <scope>test</scope>
> >    </dependency>
> > <dependency>
> > <groupId>myfaces</groupId>
> > <artifactId>myfaces-all</artifactId>
> > <version>1.1.1</version>
> > <scope>runtime</scope>
> > </dependency>
> >  </dependencies>
> >  <build>
> > <plugins>
> > <plugin>
> > <groupId>org.apache.maven.plugins</groupId>
> > <artifactId>maven-compiler-plugin</artifactId>
> > <configuration>
> > <source>1.5</source>
> > <target>1.5</target>
> > </configuration>
> > </plugin>
> > </plugins>
> > </build>
> > </project>
> >
> > I then created a really simple class that only
> depends
> > on UICompoentBase from myfaces.
> >
> > When I try to compile with -X I get this:
> > [/home/ole/workspaces/tt]#mvn -X compile
> > + Error stacktraces are turned on.
> > Maven version: 2.0.4
> > [DEBUG] Building Maven user-level plugin registry
> > from: '/root/.m2/plugin-registry.xml'
> > [DEBUG] Building Maven global-level plugin
> registry
> > from:
> >
>
'/usr/local/foundation/applications/maven-2.0.4/conf/plugin-registry.xml'
> > [INFO] Scanning for projects...
> > [INFO]
> >
>
----------------------------------------------------------------------------
> > [INFO] Building Maven Quick Start Archetype
> > [INFO]    task-segment: [compile]
> > [INFO]
> >
>
----------------------------------------------------------------------------
> > [DEBUG] maven-resources-plugin: resolved to
> version
> > 2.2 from repository central
> > [DEBUG] Retrieving parent-POM:
> > org.apache.maven.plugins:maven-plugins::1 for
> project:
> > null:maven-resources-plugin:maven-plugin:2.2 from
> the
> > repository.
> > [DEBUG] Retrieving parent-POM:
> > org.apache.maven:maven-parent::1 for project:
> > org.apache.maven.plugins:maven-plugins:pom:1 from
> the
> > repository.
> > [DEBUG] Retrieving parent-POM:
> org.apache:apache::1
> > for project: org.apache.maven:maven-parent:pom:1
> from
> > the repository.
> > [DEBUG] maven-compiler-plugin: resolved to version
> > 2.0.1 from repository central
> > [DEBUG] Retrieving parent-POM:
> > org.apache.maven.plugins:maven-plugins::1 for
> project:
> > null:maven-compiler-plugin:maven-plugin:2.0.1 from
> the
> > repository.
> > [DEBUG] Retrieving parent-POM:
> > org.apache.maven:maven-parent::1 for project:
> > org.apache.maven.plugins:maven-plugins:pom:1 from
> the
> > repository.
> > [DEBUG] Retrieving parent-POM:
> org.apache:apache::1
> > for project: org.apache.maven:maven-parent:pom:1
> from
> > the repository.
> > [DEBUG]
> >
>
org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.2:runtime
> > (selected for runtime)
> > [DEBUG] Retrieving parent-POM:
> > org.apache.maven:maven::2.0 for project:
> > org.apache.maven:maven-model:jar:2.0 from the
> > repository.
> > [DEBUG]  
> org.apache.maven:maven-model:jar:2.0:runtime
> > (selected for runtime)
> > [DEBUG]
> > org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime
> > (selected for runtime)
> > [DEBUG] Retrieving parent-POM:
> > org.apache.maven:maven::2.0 for project:
> > null:maven-project:jar:2.0 from the repository.
> > [DEBUG]
> > org.apache.maven:maven-project:jar:2.0:runtime
> > (selected for runtime)
> > [DEBUG]
> >
>
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime
> > (selected for runtime)
> > [DEBUG]
> > classworlds:classworlds:jar:1.1-alpha-2:runtime
> > (selected for runtime)
> > [DEBUG]       junit:junit:jar:3.8.1:runtime
> (selected
> > for runtime)
> > [DEBUG] Retrieving parent-POM:
> > org.apache.maven:maven::2.0 for project:
> > org.apache.maven:maven-artifact:jar:2.0 from the
> > repository.
> > [DEBUG]
> > org.apache.maven:maven-artifact:jar:2.0:runtime
> > (selected for runtime)
> > [DEBUG] Retrieving parent-POM:
> > org.apache.maven:maven::2.0 for project:
> > org.apache.maven:maven-artifact-manager:jar:2.0
> from
> > the repository.
> > [DEBUG]
> >
>
org.apache.maven:maven-artifact-manager:jar:2.0:runtime
> > (selected for runtime)
> > [DEBUG] Retrieving parent-POM:
> > org.apache.maven:maven::2.0 for project:
> > org.apache.maven:maven-repository-metadata:jar:2.0
> > from the repository.
> > [DEBUG]
> >
>
org.apache.maven:maven-repository-metadata:jar:2.0:runtime
> > (selected for runtime)
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to