Stefan, Myfaces has an equally named package. It's not just myfaces, but any dependency from the local repository.
Everything was working fine before, and then all of a sudden stopped working. Since eclipse resolves the dependencies in the repository fine, I'm guessing it is an issue in the maven compiler mojo. Maybe maven downloaded an update that had a bug in it. I've gone over all directory permissions, reinstalled java both as root and as a local user, deleted the whole .m2 maven repository and let maven repopulate it, and I'm maven is still not see dependencies that it downloads and writes to disk. I say downloads and writes to disk because if it can write it, it should be able to read it. Since eclipse is resolving the dependencies from the maven repository, we know that it's not a java issue. Thanks for the try though, - Ole --- Stefan Hübner <[EMAIL PROTECTED]> wrote: > Could it be possible, that in myfaces' dependencies > the "javax.faces" > artifact is missed out? Or does myfaces contain an > equally named > package "javax.faces..."? > > Stefan > > 2006/5/18, Ole Ersoy <[EMAIL PROTECTED]>: > > 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) > > [DEBUG] > > > org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime > > (selected for runtime) > > [DEBUG] Retrieving parent-POM: > > org.apache.maven:maven::2.0 for project: > > null:maven-profile:jar:2.0 from the repository. > > [DEBUG] > > org.apache.maven:maven-profile:jar:2.0:runtime > > (selected for runtime) > > [DEBUG] Retrieving parent-POM: > > org.apache.maven:maven::2.0 for project: > > org.apache.maven:maven-plugin-api:jar:2.0 from the > > repository. > > [DEBUG] > === 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]