scijava / pom-scijava

Friendly base POM for all SciJava-based software
https://imagej.net/BOM
The Unlicense
24 stars 33 forks source link

Investigate failures with kotlin 1.3.72 #124

Closed ctrueden closed 4 years ago

ctrueden commented 4 years ago

Updating scenery to use pom-scijava 29.0.0-beta-1 results in a failed build:

``` [INFO] Scanning for projects... [INFO] [INFO] ----------------------< graphics.scenery:scenery >---------------------- [INFO] Building scenery 0.7.0-beta-8-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ scenery --- [INFO] Deleting .../scenery/target [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-rules) @ scenery --- [INFO] Skipping Rule Enforcement. [INFO] [INFO] --- build-helper-maven-plugin:3.0.0:regex-property (sanitize-version) @ scenery --- [INFO] [INFO] --- build-helper-maven-plugin:3.0.0:regex-property (guess-package) @ scenery --- [INFO] No match to regex '[^a-z0-9_.]+' found in 'graphics.scenery.scenery'. The initial value 'graphics.scenery.scenery' is left as-is... [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ scenery --- [INFO] Executing: /bin/sh -c cd '.../scenery' && 'git' 'rev-parse' '--verify' 'HEAD' [INFO] Working directory: .../scenery [INFO] Storing buildNumber: 69c309ebef3a3bacf4876bbbc0fcb2158acced7f at timestamp: 1590762120827 [INFO] Storing buildScmBranch: master [INFO] [INFO] --- scijava-maven-plugin:2.0.0:set-rootdir (set-rootdir) @ scenery --- [INFO] Setting rootdir: .../scenery [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (jacoco-initialize) @ scenery --- [INFO] argLine set to -javaagent:/Users/curtis/.m2/repository/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar=destfile=.../scenery/target/jacoco.exec [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (default-prepare-agent) @ scenery --- [INFO] argLine set to -javaagent:/Users/curtis/.m2/repository/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar=destfile=.../scenery/target/jacoco.exec [INFO] [INFO] --- build-helper-maven-plugin:3.0.0:add-source (add-source) @ scenery --- [INFO] Source directory: .../scenery/src/main/kotlin added. [INFO] [INFO] --- build-helper-maven-plugin:3.0.0:add-test-source (add-test-source) @ scenery --- [INFO] Test Source directory: .../scenery/src/test/kotlin added. [INFO] [INFO] --- kotlin-maven-plugin:1.4-M1:kapt (kapt) @ scenery --- [WARNING] Source root doesn't exist: .../scenery/src/main/java [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ scenery --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 93 resources [INFO] [INFO] --- kotlin-maven-plugin:1.4-M1:compile (compile) @ scenery --- [WARNING] Source root doesn't exist: .../scenery/src/main/java [WARNING] Using experimental Kotlin incremental compilation [INFO] Non-incremental compilation will be performed: No information on previous build [INFO] Kotlin compile iteration: .../scenery/src/main/kotlin/graphics/scenery/Arrow.kt, .../scenery/src/main/kotlin/graphics/scenery/Arrow.kt, .../scenery/src/main/kotlin/graphics/scenery/Blending.kt, .../scenery/src/main/kotlin/graphics/scenery/Blending.kt, .../scenery/src/main/kotlin/graphics/scenery/BoundingGrid.kt, .../scenery/src/main/kotlin/graphics/scenery/BoundingGrid.kt, .../scenery/src/main/kotlin/graphics/scenery/Box.kt, .../scenery/src/main/kotlin/graphics/scenery/Box.kt, .../scenery/src/main/kotlin/graphics/scenery/BufferUtils.kt, .../scenery/src/main/kotlin/graphics/scenery/BufferUtils.kt, .../scenery/src/main/kotlin/graphics/scenery/Camera.kt, .../scenery/src/main/kotlin/graphics/scenery/Camera.kt, .../scenery/src/main/kotlin/graphics/scenery/CatmullRomSpline.kt, .../scenery/src/main/kotlin/graphics/scenery/CatmullRomSpline.kt, .../scenery/src/main/kotlin/graphics/scenery/Cone.kt, .../scenery/src/main/kotlin/graphics/scenery/Cone.kt, .../scenery/src/main/kotlin/graphics/scenery/Curve.kt, .../scenery/src/main/kotlin/graphics/scenery/Curve.kt, .../scenery/src/main/kotlin/graphics/scenery/Cylinder.kt, .../scenery/src/main/kotlin/graphics/scenery/Cylinder.kt, .../scenery/src/main/kotlin/graphics/scenery/DelegatesRendering.kt, .../scenery/src/main/kotlin/graphics/scenery/DelegatesRendering.kt, .../scenery/src/main/kotlin/graphics/scenery/DetachedHeadCamera.kt, .../scenery/src/main/kotlin/graphics/scenery/DetachedHeadCamera.kt, .../scenery/src/main/kotlin/graphics/scenery/DirectionalLight.kt, .../scenery/src/main/kotlin/graphics/scenery/DirectionalLight.kt, .../scenery/src/main/kotlin/graphics/scenery/GeometryType.kt, .../scenery/src/main/kotlin/graphics/scenery/GeometryType.kt, .../scenery/src/main/kotlin/graphics/scenery/Group.kt, .../scenery/src/main/kotlin/graphics/scenery/Group.kt, .../scenery/src/main/kotlin/graphics/scenery/HasGeometry.kt, .../scenery/src/main/kotlin/graphics/scenery/HasGeometry.kt, .../scenery/src/main/kotlin/graphics/scenery/Hub.kt, .../scenery/src/main/kotlin/graphics/scenery/Hub.kt, .../scenery/src/main/kotlin/graphics/scenery/Hubable.kt, .../scenery/src/main/kotlin/graphics/scenery/Hubable.kt, .../scenery/src/main/kotlin/graphics/scenery/Icosphere.kt, .../scenery/src/main/kotlin/graphics/scenery/Icosphere.kt, .../scenery/src/main/kotlin/graphics/scenery/Light.kt, .../scenery/src/main/kotlin/graphics/scenery/Light.kt, .../scenery/src/main/kotlin/graphics/scenery/Line.kt, .../scenery/src/main/kotlin/graphics/scenery/Line.kt, .../scenery/src/main/kotlin/graphics/scenery/Material.kt, .../scenery/src/main/kotlin/graphics/scenery/Material.kt, .../scenery/src/main/kotlin/graphics/scenery/Mesh.kt, .../scenery/src/main/kotlin/graphics/scenery/Mesh.kt, .../scenery/src/main/kotlin/graphics/scenery/Node.kt, .../scenery/src/main/kotlin/graphics/scenery/Node.kt, .../scenery/src/main/kotlin/graphics/scenery/NodeMetadata.kt, .../scenery/src/main/kotlin/graphics/scenery/NodeMetadata.kt, .../scenery/src/main/kotlin/graphics/scenery/OrientedBoundingBox.kt, .../scenery/src/main/kotlin/graphics/scenery/OrientedBoundingBox.kt, .../scenery/src/main/kotlin/graphics/scenery/Origin.kt, .../scenery/src/main/kotlin/graphics/scenery/Origin.kt, .../scenery/src/main/kotlin/graphics/scenery/Plane.kt, .../scenery/src/main/kotlin/graphics/scenery/Plane.kt, .../scenery/src/main/kotlin/graphics/scenery/PointCloud.kt, .../scenery/src/main/kotlin/graphics/scenery/PointCloud.kt, .../scenery/src/main/kotlin/graphics/scenery/PointLight.kt, .../scenery/src/main/kotlin/graphics/scenery/PointLight.kt, .../scenery/src/main/kotlin/graphics/scenery/Renderable.kt, .../scenery/src/main/kotlin/graphics/scenery/Renderable.kt, .../scenery/src/main/kotlin/graphics/scenery/Scene.kt, .../scenery/src/main/kotlin/graphics/scenery/Scene.kt, .../scenery/src/main/kotlin/graphics/scenery/SceneryBase.kt, .../scenery/src/main/kotlin/graphics/scenery/SceneryBase.kt, .../scenery/src/main/kotlin/graphics/scenery/SceneryElement.kt, .../scenery/src/main/kotlin/graphics/scenery/SceneryElement.kt, .../scenery/src/main/kotlin/graphics/scenery/Settings.kt, .../scenery/src/main/kotlin/graphics/scenery/Settings.kt, .../scenery/src/main/kotlin/graphics/scenery/ShaderMaterial.kt, .../scenery/src/main/kotlin/graphics/scenery/ShaderMaterial.kt, .../scenery/src/main/kotlin/graphics/scenery/ShaderProperty.kt, .../scenery/src/main/kotlin/graphics/scenery/ShaderProperty.kt, .../scenery/src/main/kotlin/graphics/scenery/Skybox.kt, .../scenery/src/main/kotlin/graphics/scenery/Skybox.kt, .../scenery/src/main/kotlin/graphics/scenery/Sphere.kt, .../scenery/src/main/kotlin/graphics/scenery/Sphere.kt, .../scenery/src/main/kotlin/graphics/scenery/Spline.kt, .../scenery/src/main/kotlin/graphics/scenery/Spline.kt, .../scenery/src/main/kotlin/graphics/scenery/State.kt, .../scenery/src/main/kotlin/graphics/scenery/State.kt, .../scenery/src/main/kotlin/graphics/scenery/TextBoard.kt, .../scenery/src/main/kotlin/graphics/scenery/TextBoard.kt, .../scenery/src/main/kotlin/graphics/scenery/UniformBSpline.kt, .../scenery/src/main/kotlin/graphics/scenery/UniformBSpline.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/Display.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/Display.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/RenderConfigReader.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/RenderConfigReader.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/RenderedImage.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/RenderedImage.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/Renderer.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/Renderer.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/RendererFlags.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/RendererFlags.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/ResizeHandler.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/ResizeHandler.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/SceneryWindow.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/SceneryWindow.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/ShaderCompilationException.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/ShaderCompilationException.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/ShaderConsistencyException.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/ShaderConsistencyException.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/ShaderNotFoundException.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/ShaderNotFoundException.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/ShaderPackage.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/ShaderPackage.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/ShaderType.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/ShaderType.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/Shaders.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/Shaders.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/SourceSPIRVPriority.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/SourceSPIRVPriority.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/UBO.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/UBO.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/opengl/OpenGLObjectState.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/opengl/OpenGLObjectState.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/opengl/OpenGLRenderer.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/opengl/OpenGLRenderer.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/opengl/OpenGLRenderpass.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/opengl/OpenGLRenderpass.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/opengl/OpenGLShaderModule.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/opengl/OpenGLShaderModule.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/opengl/OpenGLShaderProgram.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/opengl/OpenGLShaderProgram.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/opengl/OpenGLUBO.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/opengl/OpenGLUBO.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/HeadlessSwapchain.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/HeadlessSwapchain.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/OpenGLSwapchain.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/OpenGLSwapchain.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/Swapchain.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/Swapchain.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/SwapchainParameters.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/SwapchainParameters.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/SwingSwapchain.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/SwingSwapchain.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VU.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VU.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanBuffer.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanBuffer.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanBufferAllocation.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanBufferAllocation.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanBufferPool.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanBufferPool.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanCommandBuffer.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanCommandBuffer.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanDevice.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanDevice.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanFramebuffer.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanFramebuffer.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanObjectState.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanObjectState.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanPipeline.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanPipeline.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanRenderer.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanRenderer.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanRenderpass.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanRenderpass.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanShaderModule.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanShaderModule.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanSuballocation.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanSuballocation.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanSwapchain.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanSwapchain.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanTexture.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanTexture.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanUBO.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanUBO.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanValidationLayerException.kt, .../scenery/src/main/kotlin/graphics/scenery/backends/vulkan/VulkanValidationLayerException.kt, .../scenery/src/main/kotlin/graphics/scenery/compute/OpenCLContext.kt, .../scenery/src/main/kotlin/graphics/scenery/compute/OpenCLContext.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/CanHandleInputFor.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/CanHandleInputFor.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/GLFWMouseAndKeyHandler.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/GLFWMouseAndKeyHandler.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/Hololens.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/Hololens.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/InputHandler.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/InputHandler.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/JOGLMouseAndKeyHandler.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/JOGLMouseAndKeyHandler.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/MouseAndKeyHandlerBase.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/MouseAndKeyHandlerBase.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/OpenVRHMD.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/OpenVRHMD.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/ScreenConfig.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/ScreenConfig.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/SwingMouseAndKeyHandler.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/SwingMouseAndKeyHandler.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/TrackedStereoGlasses.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/TrackedStereoGlasses.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/TrackerInput.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/TrackerInput.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/VRPNTrackerInput.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/VRPNTrackerInput.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/behaviours/ArcballCameraControl.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/behaviours/ArcballCameraControl.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/behaviours/ControllerDrag.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/behaviours/ControllerDrag.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/behaviours/EnumCycleCommand.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/behaviours/EnumCycleCommand.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/behaviours/FPSCameraControl.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/behaviours/FPSCameraControl.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/behaviours/GamepadBehaviour.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/behaviours/GamepadBehaviour.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/behaviours/GamepadCameraControl.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/behaviours/GamepadCameraControl.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/behaviours/GamepadMovementControl.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/behaviours/GamepadMovementControl.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/behaviours/MovementCommand.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/behaviours/MovementCommand.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/behaviours/SelectCommand.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/behaviours/SelectCommand.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/behaviours/ToggleCommand.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/behaviours/ToggleCommand.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/eyetracking/CalibrationPointGenerator.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/eyetracking/CalibrationPointGenerator.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/eyetracking/CircleScreenSpaceCalibrationPointGenerator.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/eyetracking/CircleScreenSpaceCalibrationPointGenerator.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/eyetracking/EquidistributedScreenSpaceCalibrationPointGenerator.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/eyetracking/EquidistributedScreenSpaceCalibrationPointGenerator.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/eyetracking/LayeredCircleWorldSpaceCalibrationPointGenerator.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/eyetracking/LayeredCircleWorldSpaceCalibrationPointGenerator.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/eyetracking/PupilEyeTracker.kt, .../scenery/src/main/kotlin/graphics/scenery/controls/eyetracking/PupilEyeTracker.kt, .../scenery/src/main/kotlin/graphics/scenery/effectors/SlicingVolumeEffector.kt, .../scenery/src/main/kotlin/graphics/scenery/effectors/SlicingVolumeEffector.kt, .../scenery/src/main/kotlin/graphics/scenery/effectors/VolumeEffector.kt, .../scenery/src/main/kotlin/graphics/scenery/effectors/VolumeEffector.kt, .../scenery/src/main/kotlin/graphics/scenery/fonts/SDFFontAtlas.kt, .../scenery/src/main/kotlin/graphics/scenery/fonts/SDFFontAtlas.kt, .../scenery/src/main/kotlin/graphics/scenery/net/NodePublisher.kt, .../scenery/src/main/kotlin/graphics/scenery/net/NodePublisher.kt, .../scenery/src/main/kotlin/graphics/scenery/net/NodeSubscriber.kt, .../scenery/src/main/kotlin/graphics/scenery/net/NodeSubscriber.kt, .../scenery/src/main/kotlin/graphics/scenery/numerics/OpenSimplexNoise.kt, .../scenery/src/main/kotlin/graphics/scenery/numerics/OpenSimplexNoise.kt, .../scenery/src/main/kotlin/graphics/scenery/numerics/ProceduralNoise.kt, .../scenery/src/main/kotlin/graphics/scenery/numerics/ProceduralNoise.kt, .../scenery/src/main/kotlin/graphics/scenery/numerics/Random.kt, .../scenery/src/main/kotlin/graphics/scenery/numerics/Random.kt, .../scenery/src/main/kotlin/graphics/scenery/repl/REPL.kt, .../scenery/src/main/kotlin/graphics/scenery/repl/REPL.kt, .../scenery/src/main/kotlin/graphics/scenery/textures/Texture.kt, .../scenery/src/main/kotlin/graphics/scenery/textures/Texture.kt, .../scenery/src/main/kotlin/graphics/scenery/textures/UpdatableTexture.kt, .../scenery/src/main/kotlin/graphics/scenery/textures/UpdatableTexture.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/ExtractsNatives.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/ExtractsNatives.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/GPUStats.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/GPUStats.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/H264Encoder.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/H264Encoder.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/Image.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/Image.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/JsonDeserialisers.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/JsonDeserialisers.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/LazyLogger.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/LazyLogger.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/LogbackUtils.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/LogbackUtils.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/MaybeIntersects.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/MaybeIntersects.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/NvidiaGPUStats.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/NvidiaGPUStats.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/ParallelHelpers.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/ParallelHelpers.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/Profiler.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/Profiler.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/RemoteryProfiler.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/RemoteryProfiler.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/Renderdoc.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/Renderdoc.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/RingBuffer.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/RingBuffer.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/SceneryJPanel.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/SceneryJPanel.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/SceneryPanel.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/SceneryPanel.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/Statistics.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/Statistics.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/StickyBoolean.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/StickyBoolean.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/SystemHelpers.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/SystemHelpers.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/Timestamped.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/Timestamped.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/TimestampedConcurrentHashMap.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/TimestampedConcurrentHashMap.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/VideoEncodingQuality.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/VideoEncodingQuality.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/extensions/VectorMath.kt, .../scenery/src/main/kotlin/graphics/scenery/utils/extensions/VectorMath.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/BufferSource.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/BufferSource.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/BufferedSimpleStack3D.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/BufferedSimpleStack3D.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/BufferedVolume.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/BufferedVolume.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/Colormap.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/Colormap.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/RAIVolume.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/RAIVolume.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/SceneryContext.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/SceneryContext.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/SceneryStackManager.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/SceneryStackManager.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/TransferFunction.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/TransferFunction.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/TransformedBufferedSimpleStack3D.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/TransformedBufferedSimpleStack3D.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/TransformedMultiResolutionStack3D.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/TransformedMultiResolutionStack3D.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/TransformedSimpleStack3D.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/TransformedSimpleStack3D.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/Volume.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/Volume.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/VolumeManager.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/VolumeManager.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/VolumeShaderFactory.kt, .../scenery/src/main/kotlin/graphics/scenery/volumes/VolumeShaderFactory.kt [INFO] Exit code: COMPILATION_ERROR [ERROR] .../scenery/src/main/kotlin/graphics/scenery/controls/SwingMouseAndKeyHandler.kt: (332, 44) Type mismatch: inferred type is (KeyPressedManager.KeyPressedReceiver!, Int, Boolean) -> Unit but (KeyPressedManager.KeyPressedReceiver!, Int, Boolean, TIntSet!) -> Unit was expected [ERROR] .../scenery/src/main/kotlin/graphics/scenery/controls/SwingMouseAndKeyHandler.kt: (332, 46) Expected 4 parameters of types KeyPressedManager.KeyPressedReceiver!, Int, Boolean, TIntSet! [ERROR] .../scenery/src/main/kotlin/graphics/scenery/controls/SwingMouseAndKeyHandler.kt: (333, 63) Type mismatch: inferred type is KeyPressedManager.KeyPressedReceiver! but Int was expected [ERROR] .../scenery/src/main/kotlin/graphics/scenery/controls/SwingMouseAndKeyHandler.kt: (333, 69) Type mismatch: inferred type is Int but Boolean was expected [ERROR] .../scenery/src/main/kotlin/graphics/scenery/controls/SwingMouseAndKeyHandler.kt: (333, 82) Type mismatch: inferred type is Boolean but TIntSet was expected [ERROR] .../scenery/src/main/kotlin/graphics/scenery/controls/SwingMouseAndKeyHandler.kt: (335, 59) Type mismatch: inferred type is KeyPressedManager.KeyPressedReceiver! but Int was expected [ERROR] .../scenery/src/main/kotlin/graphics/scenery/controls/SwingMouseAndKeyHandler.kt: (335, 65) Type mismatch: inferred type is Int but Boolean was expected [ERROR] .../scenery/src/main/kotlin/graphics/scenery/controls/SwingMouseAndKeyHandler.kt: (335, 78) Type mismatch: inferred type is Boolean but TIntSet was expected [ERROR] .../scenery/src/main/kotlin/graphics/scenery/volumes/Volume.kt: (438, 64) Type mismatch: inferred type is String but Location! was expected [INFO] Compiled 162 Kotlin files using incremental compiler [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:02 min [INFO] Finished at: 2020-05-29T09:23:00-05:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.jetbrains.kotlin:kotlin-maven-plugin:1.4-M1:compile (compile) on project scenery: Compilation failure: Compilation failure: [ERROR] .../scenery/src/main/kotlin/graphics/scenery/controls/SwingMouseAndKeyHandler.kt:[332,44] Type mismatch: inferred type is (KeyPressedManager.KeyPressedReceiver!, Int, Boolean) -> Unit but (KeyPressedManager.KeyPressedReceiver!, Int, Boolean, TIntSet!) -> Unit was expected [ERROR] .../scenery/src/main/kotlin/graphics/scenery/controls/SwingMouseAndKeyHandler.kt:[332,46] Expected 4 parameters of types KeyPressedManager.KeyPressedReceiver!, Int, Boolean, TIntSet! [ERROR] .../scenery/src/main/kotlin/graphics/scenery/controls/SwingMouseAndKeyHandler.kt:[333,63] Type mismatch: inferred type is KeyPressedManager.KeyPressedReceiver! but Int was expected [ERROR] .../scenery/src/main/kotlin/graphics/scenery/controls/SwingMouseAndKeyHandler.kt:[333,69] Type mismatch: inferred type is Int but Boolean was expected [ERROR] .../scenery/src/main/kotlin/graphics/scenery/controls/SwingMouseAndKeyHandler.kt:[333,82] Type mismatch: inferred type is Boolean but TIntSet was expected [ERROR] .../scenery/src/main/kotlin/graphics/scenery/controls/SwingMouseAndKeyHandler.kt:[335,59] Type mismatch: inferred type is KeyPressedManager.KeyPressedReceiver! but Int was expected [ERROR] .../scenery/src/main/kotlin/graphics/scenery/controls/SwingMouseAndKeyHandler.kt:[335,65] Type mismatch: inferred type is Int but Boolean was expected [ERROR] .../scenery/src/main/kotlin/graphics/scenery/controls/SwingMouseAndKeyHandler.kt:[335,78] Type mismatch: inferred type is Boolean but TIntSet was expected [ERROR] .../scenery/src/main/kotlin/graphics/scenery/volumes/Volume.kt:[438,64] Type mismatch: inferred type is String but Location! was expected [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [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/MojoFailureException ```

Need to determine whether there is a problem with the pom-scijava-base build configuration, or if the issue is downstream in the scenery POM.

kephale commented 4 years ago

We are now using a beta release of Kotlin (1.4-M1). Kotlin 1.4 is going to be released in 2020, but I do not know when. @skalarproduktraum can probably chime in.

skalarproduktraum commented 4 years ago

Hey @kephale and @ctrueden,

the issue you're reporting are not related to Kotlin, but to an API changes in ui-behaviour scifio, which I discovered when switching scenery to 29.0.0-beta-1.

It is true that I have switched Kotlin to the preview version 1.4-M1, but at the moment I don't see a particular issue with that. 1.3 only had two milestone releases, and M2 should be just around the corner. If @ctrueden doesn't object I'd like to continue using 1.4-M1.

skalarproduktraum commented 4 years ago

Also, I'd probably need a hint from @ctrueden how to replace scifio's InitializerService.initializeReader(String) with InitializerService.initializeReader(Location), if I'd still like to feed a filename (String)/URL/Path to it :-)

skalarproduktraum commented 4 years ago

Already found, thanks!

skalarproduktraum commented 4 years ago

Okay, changes have been made, see https://github.com/scenerygraphics/scenery/pull/315 -- this should build now. Let me know if anything else is required!

ctrueden commented 4 years ago

Should we just update pom-scijava-base to use kotlin 1.4-M1, then? Would that be best?

skalarproduktraum commented 4 years ago

I think it would not hurt (too much), the only issue might be that it's not on central yet, but on a bintray repo, see https://kotlinlang.org/eap/configure-build-for-eap.html

skalarproduktraum commented 4 years ago

1.4-M2 seems to be out, at least IntelliJ is updating to that right now :-D It's also available on the Bintray repo (https://dl.bintray.com/kotlin/kotlin-eap/org/jetbrains/kotlin/kotlin-compiler/) but no official announcement yet.

ctrueden commented 4 years ago

Some time ago, I added https://dl.bintray.com/kotlin/kotlin-eap/ as a proxy to the SciJava Maven repository's public group. But it doesn't seem to be working—I can't see or access 1.4-M1 or 1.4-M2 from https://maven.scijava.org/content/groups/public 😢.

``` $ mvn dependency:get -Dartifact=org.jetbrains.kotlin:kotlin-maven-plugin:1.4-M1 [INFO] Scanning for projects... [INFO] [INFO] -------------------------< net.imagej:imagej >-------------------------- [INFO] Building ImageJ 2.0.0-rc-73-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-dependency-plugin:3.1.1:get (default-cli) @ imagej --- [INFO] Resolving org.jetbrains.kotlin:kotlin-maven-plugin:jar:1.4-M1 with transitive dependencies Downloading from scijava.public: https://maven.scijava.org/content/groups/public/org/jetbrains/kotlin/kotlin-maven-plugin/1.4-M1/kotlin-maven-plugin-1.4-M1.pom Downloading from central: https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-maven-plugin/1.4-M1/kotlin-maven-plugin-1.4-M1.pom [WARNING] The POM for org.jetbrains.kotlin:kotlin-maven-plugin:jar:1.4-M1 is missing, no dependency information available Downloading from scijava.public: https://maven.scijava.org/content/groups/public/org/jetbrains/kotlin/kotlin-maven-plugin/1.4-M1/kotlin-maven-plugin-1.4-M1.jar Downloading from central: https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-maven-plugin/1.4-M1/kotlin-maven-plugin-1.4-M1.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.601 s [INFO] Finished at: 2020-06-04T08:53:18-05:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:get (default-cli) on project imagej: Couldn't download artifact: org.eclipse.aether.resolution.DependencyResolutionException: Could not find artifact org.jetbrains.kotlin:kotlin-maven-plugin:jar:1.4-M1 in scijava.public (https://maven.scijava.org/content/groups/public) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [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/MojoExecutionException ```

I'll see if I can fix it; if so, we could certainly just update to 1.4-M1 or M2 in pom-scijava-base.

kephale commented 4 years ago

The kotlin-eap repository is pretty bad. I have issues with it frequently.

skalarproduktraum commented 4 years ago

What issues in particular? I think if there are issues that ought to be reported to Jetbrains.

skalarproduktraum commented 4 years ago

@ctrueden the mirror does not seem up-to-date anyway, for example https://maven.scijava.org/content/groups/public/org/jetbrains/kotlin/kotlin-compiler/ should contain version 1.3.70, 1.3.71, and 1.3.72, but doesn't.

ctrueden commented 4 years ago

@skalarproduktraum Just to clarify: it's not a mirror. It's a proxy. It only pulls things down on demand. So if artifacts appear missing while browsing, it's because (in theory) those artifacts were never requested. But if the proxy isn't set up right, or if the kotlin-eap repo doesn't play nicely as a proxy for some reason, then we may run into problems where even when artifacts are requested from content/groups/public, it still fails to find them from the correct proxy and cache them. @hinerm and I are planning to investigate this soon, since we really want kotlin-eap to be transparently available from the SciJava Maven repo's public group if at all possible.

hinerm commented 4 years ago

@ctrueden I was just playing around trying to manually download kotlin 1.4-M2, and the error it gave me pointed me to the kotlin mirror wasn't in our Public group.. I added it, and now I can get 1.4-M2 via

$ mvn org.apache.maven.plugins:maven-dependency-plugin:2.1:get -Dartifact=org.jetbrains.kotlin:kotlin-compiler:1.4-M2 -DrepoUrl=http://maven.scijava.org/content/groups/public

so... fixed I think?

ctrueden commented 4 years ago

@hinerm Oh! You mean kotlin-eap was there as a proxy, but not one of the repositories included in the public group? I didn't realize proxies had to be explicitly added!! That may explain some other problems we've been having with other proxy repositories as well!

Edit: Indeed, I had neglected to add any of the other recently added repository proxies, including Jitpack, to the public group. This explains so much. I can't believe I forgot about that step. I have now added all missing ones to the public group.

hinerm commented 4 years ago

@kephale @ctrueden @skalarproduktraum with the next pom-scijava release it should be possible to remove the various version property overrides and additional repositories from your kotlin projects. You can also use https://maven.scijava.org/content/groups/public as a single-provider for pluginRepositories