Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-1592

XWiki's Remote Resources Plugin doesn't use any remote repository

    XMLWordPrintable

Details

    • Bug
    • Resolution: Solved By
    • Major
    • None
    • 10.5-rc-1
    • None
    • Unknown
    • N/A
    • N/A

    Description

      Leading to:

      [WARNING] The requested profile "integration-tests" could not be activated because it does not exist.
      [INFO] [jenkins-event-spy] Generated /root/workspace/VincentDockerTest/master@tmp/withMavenfb4ad90d/maven-spy-20190305-005610-7262857080849621273411.log
      [ERROR] Failed to execute goal org.xwiki.commons:xwiki-commons-tool-remote-resource-plugin:11.2-SNAPSHOT:process (xwiki-platform-tool-configuration-resources) on project xwiki-platform-distribution: Resources archive cannot be found. Could not find artifact org.xwiki.platform:xwiki-platform-tool-configuration-resources:jar:11.2-SNAPSHOT
      [ERROR] 
      [ERROR] Try downloading the file manually from the project website.
      [ERROR] 
      [ERROR] Then, install it using the command: 
      [ERROR]     mvn install:install-file -DgroupId=org.xwiki.platform -DartifactId=xwiki-platform-tool-configuration-resources -Dversion=11.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
      [ERROR] 
      [ERROR] Alternatively, if you host your own repository you can deploy the file there: 
      [ERROR]     mvn deploy:deploy-file -DgroupId=org.xwiki.platform -DartifactId=xwiki-platform-tool-configuration-resources -Dversion=11.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
      [ERROR] 
      [ERROR] 
      [ERROR]   org.xwiki.platform:xwiki-platform-tool-configuration-resources:jar:11.2-SNAPSHOT
      [ERROR] -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.xwiki.commons:xwiki-commons-tool-remote-resource-plugin:11.2-SNAPSHOT:process (xwiki-platform-tool-configuration-resources) on project xwiki-platform-distribution: Resources archive cannot be found.
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
          at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
          at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
          at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
          at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
          at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
          at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke (Method.java:498)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
      Caused by: org.apache.maven.plugin.MojoExecutionException: Resources archive cannot be found.
          at org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.downloadBundles (ProcessRemoteResourcesMojo.java:1079)
          at org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.execute (ProcessRemoteResourcesMojo.java:509)
      

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: