hapifhir / hapi-fhir

🔥 HAPI FHIR - Java API for HL7 FHIR Clients and Servers
http://hapifhir.io
Apache License 2.0
2.04k stars 1.33k forks source link

Not able to run mvn install #898 -- still seeing the same issue #958

Closed musicman43082 closed 6 years ago

musicman43082 commented 6 years ago

I've got Java 8 newest build and maven newest build. Still can't get a full build to work, similar to 898.

[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] HAPI-FHIR .......................................... SUCCESS [ 2.032 s] [INFO] HAPI FHIR - Deployable Artifact Parent POM ......... SUCCESS [ 0.093 s] [INFO] HAPI FHIR - Core Library ........................... SUCCESS [ 3.505 s] [INFO] HAPI FHIR - Utilities .............................. SUCCESS [ 0.294 s] [INFO] HAPI FHIR - Server Framework ....................... SUCCESS [ 0.296 s] [INFO] HAPI Tinder Plugin ................................. SUCCESS [ 2.246 s] [INFO] HAPI FHIR - Validation Resources (DSTU2) ........... SUCCESS [ 0.108 s] [INFO] HAPI FHIR - Client Framework ....................... SUCCESS [ 0.198 s] [INFO] HAPI FHIR Structures - DSTU2 (FHIR v1.0.0) ......... FAILURE [ 0.224 s] [INFO] HAPI FHIR - Validation Resources DSTU2.1 (2016May) . SKIPPED [INFO] HAPI FHIR Structures - DSTU2.1 (2016May) ........... SKIPPED [INFO] HAPI FHIR - Validation Resources (DSTU3) ........... SKIPPED [INFO] HAPI FHIR Structures - DSTU3 ....................... SKIPPED [INFO] HAPI FHIR Structures - HL7.org DSTU2 ............... SKIPPED [INFO] HAPI Tinder Plugin - Test Project .................. SKIPPED [INFO] HAPI FHIR - Validation Resources (FHIR R4) ......... SKIPPED [INFO] HAPI FHIR Structures - FHIR R4 ..................... SKIPPED [INFO] HAPI FHIR - Converter .............................. SKIPPED [INFO] HAPI FHIR - Validation ............................. SKIPPED [INFO] HAPI FHIR JPA Server ............................... SKIPPED [INFO] hapi-fhir-igpacks .................................. SKIPPED [INFO] HAPI FHIR JAX-RS Server ............................ SKIPPED [INFO] HAPI FHIR JAX-RS Server - Example .................. SKIPPED [INFO] HAPI FHIR JPA Server - ElasticSearch Integration ... SKIPPED [INFO] HAPI FHIR TestPage Overlay ......................... SKIPPED [INFO] HAPI FHIR JPA Server - Example ..................... SKIPPED [INFO] HAPI FHIR Sample RESTful Server .................... SKIPPED [INFO] HAPI FHIR Sample RESTful Server - Tests ............ SKIPPED [INFO] HAPI FHIR - fhirtest.uhn.ca Deployable WAR ......... SKIPPED [INFO] HAPI FHIR OkHttp Client ............................ SKIPPED [INFO] HAPI FHIR - Android ................................ SKIPPED [INFO] HAPI FHIR - Command Line Client - Base Project ..... SKIPPED [INFO] HAPI FHIR - Command Line Client - Server WAR ....... SKIPPED [INFO] HAPI FHIR - Command Line Client - API .............. SKIPPED [INFO] HAPI FHIR - Command Line Client - Application ...... SKIPPED [INFO] HAPI FHIR - Distribution Archive ................... SKIPPED [INFO] HAPI FHIR - Examples (for site) .................... SKIPPED [INFO] HAPI FHIR - Apache Karaf :: Features ............... SKIPPED [INFO] HAPI-FHIR Apache Karaf Integration Tests ........... SKIPPED [INFO] hapi-fhir-base-example-embedded-ws ................. SKIPPED [INFO] hapi-fhir-standalone-overlay-example ............... SKIPPED [INFO] HAPI FHIR JPA Clinical Decision Support Server - Example SKIPPED [INFO] HAPI FHIR JPA Server - Example for CHIP ............ SKIPPED [INFO] HAPI FHIR - Minimal Dependency Test - Client ....... SKIPPED [INFO] HAPI FHIR - Minimal Dependency Test - Server ....... SKIPPED [INFO] hapi-fhir-spring-boot-autoconfigure ................ SKIPPED [INFO] hapi-fhir-spring-boot-starter ...................... SKIPPED [INFO] hapi-fhir-spring-boot .............................. SKIPPED [INFO] hapi-fhir-spring-boot-samples ...................... SKIPPED [INFO] hapi-fhir-spring-boot-sample-client-apache ......... SKIPPED [INFO] hapi-fhir-spring-boot-sample-client-okhttp ......... SKIPPED [INFO] hapi-fhir-spring-boot-sample-server-jersey ......... SKIPPED [INFO] hapi-fhir-spring-boot-sample-server-jpa ............ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 17.803 s [INFO] Finished at: 2018-05-23T11:51:55-04:00 [INFO] Final Memory: 69M/521M [INFO] ------------------------------------------------------------------------ [ERROR] Plugin ca.uhn.hapi.fhir:hapi-tinder-plugin:3.4.0-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact ca.uhn.hapi.fhir:hapi-tinder-plugin:jar:3.4.0-SNAPSHOT in public-snapshots (http://na -nyc-xaw.na.tibco.com:8081/nexus/content/groups/public-snapshots/) -> [Help 1] org.apache.maven.plugin.PluginResolutionException: Plugin ca.uhn.hapi.fhir:hapi-tinder-plugin:3.4.0-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact ca.uhn.hapi.fhir:hapi-tinder-plugin:jar:3. 4.0-SNAPSHOT in public-snapshots (http://na-nyc-xaw.na.tibco.com:8081/nexus/content/groups/public-snapshots/) at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve (DefaultPluginDependenciesResolver.java:128) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor (DefaultMavenPluginManager.java:182) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor (DefaultMavenPluginManager.java:286) at org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor (DefaultBuildPluginManager.java:241) at org.apache.maven.lifecycle.internal.DefaultLifecycleMappingDelegate.calculateLifecycleMappings (DefaultLifecycleMappingDelegate.java:111) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateLifecycleMappings (DefaultLifecycleExecutionPlanCalculator.java:266) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions (DefaultLifecycleExecutionPlanCalculator.java:218) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan (DefaultLifecycleExecutionPlanCalculator.java:127) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan (DefaultLifecycleExecutionPlanCalculator.java:145) at org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan (BuilderCommon.java:97) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:111) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) 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.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact ca.uhn.hapi.fhir:hapi-tinder-plugin:jar:3.4.0-SNAPSHOT in public-snapshots (http://na-nyc-xaw.na.tibco.com:8081/nexus/content/group s/public-snapshots/) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:422) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:224) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact (DefaultArtifactResolver.java:201) at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact (DefaultRepositorySystem.java:260) at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve (DefaultPluginDependenciesResolver.java:124) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor (DefaultMavenPluginManager.java:182) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor (DefaultMavenPluginManager.java:286) at org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor (DefaultBuildPluginManager.java:241) at org.apache.maven.lifecycle.internal.DefaultLifecycleMappingDelegate.calculateLifecycleMappings (DefaultLifecycleMappingDelegate.java:111) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateLifecycleMappings (DefaultLifecycleExecutionPlanCalculator.java:266) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions (DefaultLifecycleExecutionPlanCalculator.java:218) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan (DefaultLifecycleExecutionPlanCalculator.java:127) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan (DefaultLifecycleExecutionPlanCalculator.java:145) at org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan (BuilderCommon.java:97) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:111) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) 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.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact ca.uhn.hapi.fhir:hapi-tinder-plugin:jar:3.4.0-SNAPSHOT in public-snapshots (http://na-nyc-xaw.na.tibco.com:8081/nexus/content/groups/pu blic-snapshots/) at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed (ArtifactTransportListener.java:48) at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run (BasicRepositoryConnector.java:365) at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run (RunnableErrorForwarder.java:75) at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute (BasicRepositoryConnector.java:583) at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get (BasicRepositoryConnector.java:259) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads (DefaultArtifactResolver.java:498) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:399) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:224) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact (DefaultArtifactResolver.java:201) at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact (DefaultRepositorySystem.java:260) at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve (DefaultPluginDependenciesResolver.java:124) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor (DefaultMavenPluginManager.java:182) at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor (DefaultMavenPluginManager.java:286) at org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor (DefaultBuildPluginManager.java:241) at org.apache.maven.lifecycle.internal.DefaultLifecycleMappingDelegate.calculateLifecycleMappings (DefaultLifecycleMappingDelegate.java:111) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateLifecycleMappings (DefaultLifecycleExecutionPlanCalculator.java:266) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions (DefaultLifecycleExecutionPlanCalculator.java:218) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan (DefaultLifecycleExecutionPlanCalculator.java:127) at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan (DefaultLifecycleExecutionPlanCalculator.java:145) at org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan (BuilderCommon.java:97) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:111) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) 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) [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/PluginResolutionException

D:\HAPIFHIRPlay\hapi-fhir> D:\HAPIFHIRPlay\hapi-fhir>set j JAVA_HOME=C:\Tools\Java\jdk1.8.0_151

D:\HAPIFHIRPlay\hapi-fhir>mvn -version Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T03:58:13-04:00) Maven home: C:\Tools\apache-maven-3.5.2\bin.. Java version: 1.8.0_151, vendor: Oracle Corporation Java home: C:\Tools\Java\jdk1.8.0_151\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

D:\HAPIFHIRPlay\hapi-fhir>where mvn C:\Tools\apache-maven-3.5.2\bin\mvn C:\Tools\apache-maven-3.5.2\bin\mvn.cmd

D:\HAPIFHIRPlay\hapi-fhir>where java C:\ProgramData\Oracle\Java\javapath\java.exe C:\Tools\Java\jdk1.8.0_151\bin\java.exe C:\Program Files\Common Files\Datawatch\Drivers\7.1.5\jre\bin\java.exe

D:\HAPIFHIRPlay\hapi-fhir>java -version java version "1.8.0_161" Java(TM) SE Runtime Environment (build 1.8.0_161-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)

D:\HAPIFHIRPlay\hapi-fhir>

patrick-werner commented 6 years ago

oss.sonatype was missing as pluginRepository. Therefore the hapi-tinder plugin couldn't be found during the build