Re: Maven Not Resolving Dependencies
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; modelVersion4.0.0/modelVersion groupIdtt/groupId artifactIdtt/artifactId packagingjar/packaging version1.0-SNAPSHOT/version nameMaven Quick Start Archetype/name urlhttp://maven.apache.org/url dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency dependency groupIdmyfaces/groupId artifactIdmyfaces-all/artifactId version1.1.1/version scoperuntime/scope /dependency /dependencies build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.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
Re: Maven Not Resolving Dependencies
Hi Ole myfaces dependency scope should be compile, not runtime: dependency groupIdmyfaces/groupId artifactIdmyfaces-all/artifactId version1.1.1/version scopecompile/scope /dependency or: dependency groupIdmyfaces/groupId artifactIdmyfaces-all/artifactId version1.1.1/version /dependency Greg - Original Message - From: Ole Ersoy [EMAIL PROTECTED] To: Maven Developers List dev@maven.apache.org 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; modelVersion4.0.0/modelVersion groupIdtt/groupId artifactIdtt/artifactId packagingjar/packaging version1.0-SNAPSHOT/version nameMaven Quick Start Archetype/name urlhttp://maven.apache.org/url dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency dependency groupIdmyfaces/groupId artifactIdmyfaces-all/artifactId version1.1.1/version scoperuntime/scope /dependency /dependencies build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.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
Re: Maven Not Resolving Dependencies
Yeah the runtime scope means the dependencies are only available at runtime (shipped in the archive) and not at compile time. On 5/18/06, Grzegorz Slowikowski [EMAIL PROTECTED] wrote: Hi Ole myfaces dependency scope should be compile, not runtime: dependency groupIdmyfaces/groupId artifactIdmyfaces-all/artifactId version1.1.1/version scopecompile/scope /dependency or: dependency groupIdmyfaces/groupId artifactIdmyfaces-all/artifactId version1.1.1/version /dependency Greg - Original Message - From: Ole Ersoy [EMAIL PROTECTED] To: Maven Developers List dev@maven.apache.org 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; modelVersion4.0.0/modelVersion groupIdtt/groupId artifactIdtt/artifactId packagingjar/packaging version1.0-SNAPSHOT/version nameMaven Quick Start Archetype/name urlhttp://maven.apache.org/url dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency dependency groupIdmyfaces/groupId artifactIdmyfaces-all/artifactId version1.1.1/version scoperuntime/scope /dependency /dependencies build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.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
Re: Maven Not Resolving Dependencies
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; modelVersion4.0.0/modelVersion groupIdtt/groupId artifactIdtt/artifactId packagingjar/packaging version1.0-SNAPSHOT/version nameMaven Quick Start Archetype/name urlhttp://maven.apache.org/url dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency dependency groupIdmyfaces/groupId artifactIdmyfaces-all/artifactId version1.1.1/version scoperuntime/scope /dependency /dependencies build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.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]
Re: Maven Not Resolving Dependencies
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 groupIdmyfaces/groupId artifactIdmyfaces-all/artifactId version1.1.1/version scopecompile/scope /dependency or: dependency groupIdmyfaces/groupId artifactIdmyfaces-all/artifactId version1.1.1/version /dependency Greg - Original Message - From: Ole Ersoy [EMAIL PROTECTED] To: Maven Developers List dev@maven.apache.org 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; modelVersion4.0.0/modelVersion groupIdtt/groupId artifactIdtt/artifactId packagingjar/packaging version1.0-SNAPSHOT/version nameMaven Quick Start Archetype/name urlhttp://maven.apache.org/url dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency dependency groupIdmyfaces/groupId artifactIdmyfaces-all/artifactId version1.1.1/version scoperuntime/scope /dependency /dependencies build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.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
Maven Not Resolving Dependencies
Hey Guys, I posted this on the users list, but I'm starting that maybe it's a bug. I'm running 2.0.4. Maven downloads dependencies fine from Ibiblio, and after running the eclipse plugin, eclipse can see them all. However maven does not and I get messages like: java:[4,29] package javax.faces.component does not exist. I recently upgraded to Java 1.5.06 and at first I thought maybe I should not have installed it as root, so I changed the owner and group to myself. However maven is still not able to see dependencies. Any ideas? It was working fine a day ago, and the only thing changed was upgrading the jdk from 1.5.02 to 06... Thanks in advance, - Ole __ 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]
Re: Maven Not Resolving Dependencies
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html Just use myfaces instead of the reference implementation. On 5/17/06, Ole Ersoy [EMAIL PROTECTED] wrote: Hey Guys, I posted this on the users list, but I'm starting that maybe it's a bug. I'm running 2.0.4. Maven downloads dependencies fine from Ibiblio, and after running the eclipse plugin, eclipse can see them all. However maven does not and I get messages like: java:[4,29] package javax.faces.component does not exist. I recently upgraded to Java 1.5.06 and at first I thought maybe I should not have installed it as root, so I changed the owner and group to myself. However maven is still not able to see dependencies. Any ideas? It was working fine a day ago, and the only thing changed was upgrading the jdk from 1.5.02 to 06... Thanks in advance, - Ole __ 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven Not Resolving Dependencies
Hi, I'm using myfaces...version 1.1.1. I thought it might be an issue with the myfaces download, but I have the same issue with other libraries as well. Thanks for trying though, - Ole --- Alexandre Poitras [EMAIL PROTECTED] wrote: http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html Just use myfaces instead of the reference implementation. On 5/17/06, Ole Ersoy [EMAIL PROTECTED] wrote: Hey Guys, I posted this on the users list, but I'm starting that maybe it's a bug. I'm running 2.0.4. Maven downloads dependencies fine from Ibiblio, and after running the eclipse plugin, eclipse can see them all. However maven does not and I get messages like: java:[4,29] package javax.faces.component does not exist. I recently upgraded to Java 1.5.06 and at first I thought maybe I should not have installed it as root, so I changed the owner and group to myself. However maven is still not able to see dependencies. Any ideas? It was working fine a day ago, and the only thing changed was upgrading the jdk from 1.5.02 to 06... Thanks in advance, - Ole __ 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ 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]
Re: Maven Not Resolving Dependencies
Can you attach a copy of your pom and the output from the build when you run with the -X switch? This will give us some clues to start helping you out. BTW, we've had some network trouble lately with the repository pointer ( repo1.maven.org), and it could be affecting you... Cheers, John On 5/17/06, Ole Ersoy [EMAIL PROTECTED] wrote: Hi, I'm using myfaces...version 1.1.1. I thought it might be an issue with the myfaces download, but I have the same issue with other libraries as well. Thanks for trying though, - Ole --- Alexandre Poitras [EMAIL PROTECTED] wrote: http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html Just use myfaces instead of the reference implementation. On 5/17/06, Ole Ersoy [EMAIL PROTECTED] wrote: Hey Guys, I posted this on the users list, but I'm starting that maybe it's a bug. I'm running 2.0.4. Maven downloads dependencies fine from Ibiblio, and after running the eclipse plugin, eclipse can see them all. However maven does not and I get messages like: java:[4,29] package javax.faces.component does not exist. I recently upgraded to Java 1.5.06 and at first I thought maybe I should not have installed it as root, so I changed the owner and group to myself. However maven is still not able to see dependencies. Any ideas? It was working fine a day ago, and the only thing changed was upgrading the jdk from 1.5.02 to 06... Thanks in advance, - Ole __ 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ 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]
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; modelVersion4.0.0/modelVersion groupIdtt/groupId artifactIdtt/artifactId packagingjar/packaging version1.0-SNAPSHOT/version nameMaven Quick Start Archetype/name urlhttp://maven.apache.org/url dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency dependency groupIdmyfaces/groupId artifactIdmyfaces-all/artifactId version1.1.1/version scoperuntime/scope /dependency /dependencies build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.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]