Perhaps a silly question, but are you certain these plugins (help,
clean) exist in your repo?

Wayne

On Thu, Sep 11, 2008 at 1:22 PM, Yaakov Chaikin
<[EMAIL PROTECTED]> wrote:
> Well, it's definitely connecting. I tried running this and I see it
> downloading at least some stuff:
> $ mvn help:effective-settings
> .....
> [INFO] Searching repository for plugin with prefix: 'help'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [INFO] org.codehaus.mojo: checking for updates from central
> Downloading: 
> https://xxx/maven//org/apache/maven/plugins/maven-compiler-plugin/2.0/maven-compiler-plugin-2.0.pom
> 1K downloaded
> Downloading: 
> https://xxx/maven//org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom
> 6K downloaded
> Downloading: 
> https://xxx/maven//org/apache/maven/plugins/maven-compiler-plugin/2.0/maven-compiler-plugin-2.0.jar
> 13K downloaded
> Downloading: 
> https://xxx/maven//org/apache/maven/plugins/maven-surefire-plugin/2.4.2/maven-surefire-plugin-2.4.2.pom
> 6K downloaded
> Downloading: 
> https://xxx/maven//org/apache/maven/surefire/surefire/2.4.2/surefire-2.4.2.pom
> 6K downloaded
> Downloading: 
> https:/xxx/maven//org/apache/maven/maven-parent/7/maven-parent-7.pom
> 20K downloaded
> Downloading: https://xxx/maven//org/apache/apache/4/apache-4.pom
> 4K downloaded
> Downloading: 
> https://zymurgy.raba.com/maven//org/apache/maven/plugins/maven-surefire-plugin/2.4.2/maven-surefire-plugin-2.4.2.jar
> ...
> Downloading: 
> https://xxx/maven//org/apache/maven/plugins/maven-assembly-plugin/2.1/maven-assembly-plugin-2.1.jar
> 90K downloaded
> [INFO] artifact org.apache.maven.plugins:maven-help-plugin: checking
> for updates from central
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does
> not exist or no valid version could be found
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 10 seconds
> [INFO] Finished at: Thu Sep 11 16:16:52 EDT 2008
> [INFO] Final Memory: 4M/8M
> [INFO] 
> ------------------------------------------------------------------------
>
>
> I also ran with the -X option, but I don't see anything that would
> point me in the right direction.
>
>
> $ mvn -X clean
> + Error stacktraces are turned on.
> Maven version: 2.0.8
> Java version: 1.6.0_07
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents
> and Settings\yaakov\.m2\plugin-registry.xml'
> [DEBUG] Building Maven global-level plugin registry from:
> 'e:\maven\apache-maven-2.0.8\conf\plugin-registry.xml'
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> ...
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building XXX Module
> [INFO]    task-segment: [clean]
> [INFO] 
> ------------------------------------------------------------------------
> [DEBUG] maven-clean-plugin: using locally installed snapshot
> [DEBUG] Artifact not found - using stub model: Unable to determine the
> latest version
>
>  org.apache.maven.plugins:maven-clean-plugin:pom:LATEST
>
>
> [DEBUG] Using defaults for missing POM
> org.apache.maven.plugins:maven-clean-plugin:pom:LATEST
> [DEBUG] maven-clean-plugin: using locally installed snapshot
> [DEBUG] Artifact not found - using stub model: Unable to determine the
> release version
>
>  org.apache.maven.plugins:maven-clean-plugin:pom:RELEASE
>
>
> [DEBUG] Using defaults for missing POM
> org.apache.maven.plugins:maven-clean-plugin:pom:RELEASE
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-clean-plugin' does
> not exist or no valid version could be found
> [INFO] 
> ------------------------------------------------------------------------
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
> 'org.apache.maven.plugins:maven-clean-plugin' does not exist or
>  no valid version could be found
>        at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1286)
>        at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1522)
>        at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:1016)
>        at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:980)
>        at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
>        at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
>        at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
>        at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>        at 
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException:
> The plugin 'org.apache.maven.plugins:maven-clean-plugin
> ' does not exist or no valid version could be found
>        at 
> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:229)
>        at 
> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:91)
>        at 
> org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:167)
>        at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1257)
>        ... 18 more
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Thu Sep 11 16:15:17 EDT 2008
> [INFO] Final Memory: 1M/4M
> [INFO] 
> ------------------------------------------------------------------------
>
>
>
> Do you see anything that would explain what's going on and what to do next?
>
> Thanks for the help,
> Yaakov.
>
>
>
>
> On Thu, Sep 11, 2008 at 2:45 PM, Wendy Smoak <[EMAIL PROTECTED]> wrote:
>> On Thu, Sep 11, 2008 at 11:27 AM, Yaakov Chaikin
>> <[EMAIL PROTECTED]> wrote:
>>
>>>> Try it with -U on the command line to force it to check again.  The
>>>> default update policy is once per day and it may have cached an error
>>>> from earlier today.
>>>
>>> Just tried it: 'mvn -U clean'
>>>
>>> Same thing.
>>>
>>> Any other ideas?
>>
>> Then it sounds like Maven really can't connect to that repository.
>> Can you watch the access logs on the repo side and see if it's getting
>> that far?
>>
>> Running with -X on the command line might give more information also.
>>
>> You mentioned certificates earlier, have you got them all installed in
>> the JDK Maven is using?
>>
>> --
>> Wendy
>>
>> ---------------------------------------------------------------------
>> 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]
>
>

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

Reply via email to