Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-70813

remove shared tests and archunit dep from plugin-util-api-plugin

XMLWordPrintable

      several plugins use the analysis-pom as their parent and also rely on plugin-utils-api plugin.

      however the version of arch-unit is defined in the parent but is also required by plugin-utils-api tests (PluginArchitectureRules)

      This causes issues when testing compatability if the version of arch-unit has changed in an incompatable way between versions (the version in the parent that a plugin is using and the version used by plugin-api).

      This means that a test infra dependecny can prevent all testing of compatability of a plugin.

      e.g.

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M7:test (default-cli) on project checks-api: Execution default-cli of goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M7:test failed: org.junit.platform.commons.JUnitException: TestEngine with ID 'archunit' failed to discover tests: 'java.lang.Object com.tngtech.archunit.lang.syntax.elements.MethodsThat.areAnnotatedWith(java.lang.Class)' -> [Help 1]
       org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M7:test (default-cli) on project checks-api: Execution default-cli of goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M7:test failed: org.junit.platform.commons.JUnitException: TestEngine with ID 'archunit' failed to discover tests
           at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:347)
           at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:330)
           at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
           at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:175)
           at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:76)
           at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:163)
           at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
           at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:160)
           at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
           at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
           at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
           at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
           at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:260)
           at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:172)
           at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:100)
           at org.apache.maven.cli.MavenCli.execute (MavenCli.java:821)
           at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:270)
           at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
           at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
           at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
           at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke (Method.java:566)
           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.plugin.PluginExecutionException: Execution default-cli of goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M7:test failed: org.junit.platform.commons.JUnitException: TestEngine with ID 'archunit' failed to discover tests
           at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:133)
           at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:342)
           at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:330)
           at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
           at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:175)
           at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:76)
           at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:163)
           at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
           at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:160)
           at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
           at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
           at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
           at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
           at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:260)
           at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:172)
           at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:100)
           at org.apache.maven.cli.MavenCli.execute (MavenCli.java:821)
           at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:270)
           at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
           at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
           at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
           at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke (Method.java:566)
           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.surefire.api.util.SurefireReflectionException: org.junit.platform.commons.JUnitException: TestEngine with ID 'archunit' failed to discover tests
           at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray (ReflectionUtils.java:173)
           at org.apache.maven.surefire.api.util.ReflectionUtils.invokeGetter (ReflectionUtils.java:76)
           at org.apache.maven.surefire.api.util.ReflectionUtils.invokeGetter (ReflectionUtils.java:70)
           at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.getSuites (ProviderFactory.java:145)
           at org.apache.maven.plugin.surefire.booterclient.ForkStarter.getSuitesIterator (ForkStarter.java:751)
           at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet (ForkStarter.java:431)
           at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run (ForkStarter.java:327)
           at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run (ForkStarter.java:269)
           at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider (AbstractSurefireMojo.java:1334)
           at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1167)
           at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:931)
           at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
           at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:342)
           at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:330)
           at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
           at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:175)
           at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:76)
           at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:163)
           at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
           at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:160)
           at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
           at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
           at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
           at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
           at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:260)
           at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:172)
           at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:100)
           at org.apache.maven.cli.MavenCli.execute (MavenCli.java:821)
           at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:270)
           at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
           at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
           at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
           at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke (Method.java:566)
           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.junit.platform.commons.JUnitException: TestEngine with ID 'archunit' failed to discover tests
           at org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discoverEngineRoot (EngineDiscoveryOrchestrator.java:160)
           at org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discoverSafely (EngineDiscoveryOrchestrator.java:132)
           at org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discover (EngineDiscoveryOrchestrator.java:107)
           at org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discover (EngineDiscoveryOrchestrator.java:78)
           at org.junit.platform.launcher.core.DefaultLauncher.discover (DefaultLauncher.java:110)
           at org.junit.platform.launcher.core.DefaultLauncher.discover (DefaultLauncher.java:78)
           at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.discover (DefaultLauncherSession.java:81)
           at org.apache.maven.surefire.junitplatform.LazyLauncher.discover (LazyLauncher.java:48)
           at org.apache.maven.surefire.junitplatform.TestPlanScannerFilter.accept (TestPlanScannerFilter.java:56)
           at org.apache.maven.surefire.api.util.DefaultScanResult.applyFilter (DefaultScanResult.java:102)
           at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.scanClasspath (JUnitPlatformProvider.java:167)
           at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.getSuites (JUnitPlatformProvider.java:109)
           at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
           at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
           at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke (Method.java:566)
           at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray (ReflectionUtils.java:165)
           at org.apache.maven.surefire.api.util.ReflectionUtils.invokeGetter (ReflectionUtils.java:76)
           at org.apache.maven.surefire.api.util.ReflectionUtils.invokeGetter (ReflectionUtils.java:70)
           at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.getSuites (ProviderFactory.java:145)
           at org.apache.maven.plugin.surefire.booterclient.ForkStarter.getSuitesIterator (ForkStarter.java:751)
           at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet (ForkStarter.java:431)
           at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run (ForkStarter.java:327)
           at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run (ForkStarter.java:269)
           at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider (AbstractSurefireMojo.java:1334)
           at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1167)
           at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:931)
           at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
           at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:342)
           at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:330)
           at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
           at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:175)
           at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:76)
           at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:163)
           at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
           at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:160)
           at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
           at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
           at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
           at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
           at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:260)
           at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:172)
           at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:100)
           at org.apache.maven.cli.MavenCli.execute (MavenCli.java:821)
           at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:270)
           at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
           at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
           at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
           at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke (Method.java:566)
           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: java.lang.NoSuchMethodError: 'java.lang.Object com.tngtech.archunit.lang.syntax.elements.MethodsThat.areAnnotatedWith(java.lang.Class)'
           at io.jenkins.plugins.util.PluginArchitectureRules.<clinit> (PluginArchitectureRules.java:65)
           at io.jenkins.plugins.checks.ArchitectureTest.<clinit> (ArchitectureTest.java:21)
           at java.lang.Class.forName0 (Native Method)
           at java.lang.Class.forName (Class.java:398)
           at com.tngtech.archunit.base.ClassLoaders.loadClass (ClassLoaders.java:31)
           at com.tngtech.archunit.junit.ElementResolver.classOf (ElementResolver.java:107)
           at com.tngtech.archunit.junit.ElementResolver.resolveClass (ElementResolver.java:56)
           at com.tngtech.archunit.junit.ArchUnitTestDescriptor.resolve (ArchUnitTestDescriptor.java:60)
           at com.tngtech.archunit.junit.ArchUnitTestEngine.lambda$resolveRequestedClasses$3 (ArchUnitTestEngine.java:118)
           at java.util.stream.ForEachOps$ForEachOp$OfRef.accept (ForEachOps.java:183)
           at java.util.stream.ReferencePipeline$2$1.accept (ReferencePipeline.java:177)
           at java.util.stream.ReferencePipeline$3$1.accept (ReferencePipeline.java:195)
           at java.util.ArrayList$ArrayListSpliterator.forEachRemaining (ArrayList.java:1655)
           at java.util.stream.AbstractPipeline.copyInto (AbstractPipeline.java:484)
           at java.util.stream.AbstractPipeline.wrapAndCopyInto (AbstractPipeline.java:474)
           at java.util.stream.ForEachOps$ForEachOp.evaluateSequential (ForEachOps.java:150)
           at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential (ForEachOps.java:173)
           at java.util.stream.AbstractPipeline.evaluate (AbstractPipeline.java:234)
           at java.util.stream.ReferencePipeline.forEach (ReferencePipeline.java:497)
           at com.tngtech.archunit.junit.ArchUnitTestEngine.resolveRequestedClasses (ArchUnitTestEngine.java:118)
           at com.tngtech.archunit.junit.ArchUnitTestEngine.discover (ArchUnitTestEngine.java:80)
           at org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discoverEngineRoot (EngineDiscoveryOrchestrator.java:152)
           at org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discoverSafely (EngineDiscoveryOrchestrator.java:132)
           at org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discover (EngineDiscoveryOrchestrator.java:107)
           at org.junit.platform.launcher.core.EngineDiscoveryOrchestrator.discover (EngineDiscoveryOrchestrator.java:78)
           at org.junit.platform.launcher.core.DefaultLauncher.discover (DefaultLauncher.java:110)
           at org.junit.platform.launcher.core.DefaultLauncher.discover (DefaultLauncher.java:78)
           at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.discover (DefaultLauncherSession.java:81)
           at org.apache.maven.surefire.junitplatform.LazyLauncher.discover (LazyLauncher.java:48)
           at org.apache.maven.surefire.junitplatform.TestPlanScannerFilter.accept (TestPlanScannerFilter.java:56)
           at org.apache.maven.surefire.api.util.DefaultScanResult.applyFilter (DefaultScanResult.java:102)
           at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.scanClasspath (JUnitPlatformProvider.java:167)
           at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.getSuites (JUnitPlatformProvider.java:109)
           at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
           at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
           at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke (Method.java:566)
           at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray (ReflectionUtils.java:165)
           at org.apache.maven.surefire.api.util.ReflectionUtils.invokeGetter (ReflectionUtils.java:76)
           at org.apache.maven.surefire.api.util.ReflectionUtils.invokeGetter (ReflectionUtils.java:70)
           at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.getSuites (ProviderFactory.java:145)
           at org.apache.maven.plugin.surefire.booterclient.ForkStarter.getSuitesIterator (ForkStarter.java:751)
           at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet (ForkStarter.java:431)
           at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run (ForkStarter.java:327)
           at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run (ForkStarter.java:269)
           at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider (AbstractSurefireMojo.java:1334)
           at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1167)
           at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:931)
           at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
           at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:342)
           at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:330)
           at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
           at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:175)
           at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:76)
           at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:163)
           at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
           at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:160)
           at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
           at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
           at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
           at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
           at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:260)
           at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:172)
           at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:100)
           at org.apache.maven.cli.MavenCli.execute (MavenCli.java:821)
           at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:270)
           at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
           at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
           at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
           at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke (Method.java:566)
           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)
       [ERROR] 
      

      the test infra that relies on arch-unit should be externalized to a separate library that the parent can depend on with the correct scope.

            drulli Ulli Hafner
            teilo James Nord
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: