Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-976

MASSEMBLY-969 IT is not portable because it expects to be run on Linux

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.5.0
    • None
    • None
    • None

    Description

      See: https://issues.apache.org/jira/browse/MASSEMBLY-969?focusedCommentId=17639508&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17639508

      Verfication says:

      def expectedFilenames = [ "javafx-base-18.0.1.jar",
        "javafx-controls-18.0.1-linux.jar",
        "javafx-media-18.0.1-linux.jar",
        "javafx-web-18.0.1.jar",
        "javafx-base-18.0.1-linux.jar",
        "javafx-graphics-18.0.1-linux.jar",
        "javafx-swing-18.0.1.jar",
        "javafx-web-18.0.1-linux.jar",
        "javafx-controls-18.0.1.jar",
        "javafx-media-18.0.1.jar",
        "javafx-swing-18.0.1-linux.jar"
      ]
      

      and failure is

      [ERROR] Failed to execute goal on project massembly-969: Could not resolve dependencies for project test:massembly-969:jar:1: The following artifacts could not be resolved: org.openjfx:javafx-base:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-controls:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-web:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-media:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-swing:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-graphics:jar:${javafx.platform}:18.0.1: Could not find artifact org.openjfx:javafx-base:jar:${javafx.platform}:18.0.1 in local.central (file:///home/mosipov/.m2/repository) -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project massembly-969: Could not resolve dependencies for project test:massembly-969:jar:1: The following artifacts could not be resolved: org.openjfx:javafx-base:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-controls:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-web:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-media:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-swing:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-graphics:jar:${javafx.platform}:18.0.1: Could not find artifact org.openjfx:javafx-base:jar:${javafx.platform}:18.0.1 in local.central (file:///home/mosipov/.m2/repository)
          at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies (LifecycleDependencyResolver.java:269)
          at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies (LifecycleDependencyResolver.java:147)
          at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved (MojoExecutor.java:401)
          at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:347)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
          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:298)
          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:960)
          at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
          at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
          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:282)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
      Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project test:massembly-969:jar:1: The following artifacts could not be resolved: org.openjfx:javafx-base:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-controls:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-web:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-media:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-swing:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-graphics:jar:${javafx.platform}:18.0.1: Could not find artifact org.openjfx:javafx-base:jar:${javafx.platform}:18.0.1 in local.central (file:///home/mosipov/.m2/repository)
          at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve (DefaultProjectDependenciesResolver.java:214)
          at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies (LifecycleDependencyResolver.java:243)
          at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies (LifecycleDependencyResolver.java:147)
          at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved (MojoExecutor.java:401)
          at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:347)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
          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:298)
          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:960)
          at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
          at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
          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:282)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
      Caused by: org.eclipse.aether.resolution.DependencyResolutionException: The following artifacts could not be resolved: org.openjfx:javafx-base:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-controls:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-web:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-media:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-swing:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-graphics:jar:${javafx.platform}:18.0.1: Could not find artifact org.openjfx:javafx-base:jar:${javafx.platform}:18.0.1 in local.central (file:///home/mosipov/.m2/repository)
          at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies (DefaultRepositorySystem.java:357)
          at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve (DefaultProjectDependenciesResolver.java:207)
          at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies (LifecycleDependencyResolver.java:243)
          at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies (LifecycleDependencyResolver.java:147)
          at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved (MojoExecutor.java:401)
          at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:347)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
          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:298)
          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:960)
          at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
          at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
          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:282)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
      Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: The following artifacts could not be resolved: org.openjfx:javafx-base:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-controls:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-web:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-media:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-swing:jar:${javafx.platform}:18.0.1, org.openjfx:javafx-graphics:jar:${javafx.platform}:18.0.1: Could not find artifact org.openjfx:javafx-base:jar:${javafx.platform}:18.0.1 in local.central (file:///home/mosipov/.m2/repository)
          at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:425)
          at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:229)
          at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies (DefaultRepositorySystem.java:340)
          at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve (DefaultProjectDependenciesResolver.java:207)
          at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies (LifecycleDependencyResolver.java:243)
          at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies (LifecycleDependencyResolver.java:147)
          at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved (MojoExecutor.java:401)
          at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:347)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
          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:298)
          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:960)
          at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
          at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
          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:282)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
      Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.openjfx:javafx-base:jar:${javafx.platform}:18.0.1 in local.central (file:///home/mosipov/.m2/repository)
          at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed (ArtifactTransportListener.java:48)
          at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run (BasicRepositoryConnector.java:369)
          at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run (RunnableErrorForwarder.java:75)
          at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:624)
          at java.lang.Thread.run (Thread.java:750)
      [ERROR]
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
      Running post-build script: /var/mosipov/Projekte/maven-assembly-plugin/target/it/projects/dependency-sets/massembly-969/verify.groovy
      java.lang.NullPointerException: Cannot get property 'length' on null object
              at org.codehaus.groovy.runtime.NullObject.getProperty(NullObject.java:60)
              at org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.java:190)
              at org.codehaus.groovy.runtime.callsite.NullCallSite.getProperty(NullCallSite.java:46)
              at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:299)
              at Script1.run(Script1.groovy:37)
              at groovy.lang.GroovyShell.evaluate(GroovyShell.java:574)
      

      on

      $ mvn -v
      Apache Maven 3.8.7 (b89d5959fcde851dcb1c8946a785a163f14e1e29)
      Maven home: /usr/local/share/java/maven
      Java version: 1.8.0_352, vendor: OpenJDK BSD Porting Team, runtime: /usr/local/openjdk8/jre
      Default locale: de_DE, platform encoding: UTF-8
      OS name: "freebsd", version: "12.4-stable", arch: "amd64", family: "unix"
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            michael-o Michael Osipov

            Dates

              Created:
              Updated:

              Slack

                Issue deployment