Uploaded image for project: 'Confluence'
  1. Confluence
  2. CONF-8023

The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Resolved Locally
    • Affects Version/s: 2.3.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      Standalone, JDK 1.5, Windows Advanced Server 2003

    • Last commented by user?:
      true

      Description

      Using Maven 2 to build a plugin. Downloaded latest PDK. In running Maven 2, this is what we get:
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exi
      st or no valid version could be found
      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m
      aven.plugins:maven-resources-plugin' does not exist or no valid version could be
      found
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
      ultLifecycleExecutor.java:1286)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
      (DefaultLifecycleExecutor.java:1522)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForP
      ackaging(DefaultLifecycleExecutor.java:1016)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl
      eMappings(DefaultLifecycleExecutor.java:980)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
      ltLifecycleExecutor.java:458)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
      dleFailures(DefaultLifecycleExecutor.java:311)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
      ts(DefaultLifecycleExecutor.java:278)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
      fecycleExecutor.java:143)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      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 p

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Last commented:
                8 years, 36 weeks, 2 days ago