I apologize. I have posted the question on the users list as well.
-Original Message-
From: Hervé BOUTEMY [mailto:herve.bout...@free.fr]
Sent: Tuesday, October 18, 2016 11:57 AM
To: Gopalakrishnan, Gopal (CORP); dev@maven.apache.org
Subject: Re: [VOTE] Release Apache Maven PMD Plugin version 3.7
please use Maven users list
please don't hijack a mail thread
no idea of what happens: my next step would be to use command line instead of
magical run from an IDE
let's continue on users list
Regards,
Hervé
Le mardi 18 octobre 2016 13:24:00 vous avez écrit :
> Hi Maven Developers/Herve:
>
> Good day to you all. I am sending this out of desperation. My name is Gopal.
> I really could use some help.
> I am not an expert at maven. Here’s the scenario.
>
> My entire project compiles without any errors under jdk1.7 …. The pom works.
>
> I use artifactory to store common libraries. Under jdk 1.7, they got
> resolved without any problems. All I did was to change the jdk from
> 1.7 to 1.8. I am using intellij 2016. I change the jdk version using
Run à Edit
> Configuration -- > select the maven configuration à Runner tab à 1.8
> However, if change the jdk version to jdk 1.8, no other changes ...
>
> I get errors on dependency resolution …
>
> [ERROR] Failed to execute goal on project modulecore: Could not
> resolve dependencies for project
> com.adp.sass:modulecore:jar:1.0.0-SNAPSHOT: Failed to collect dependencies at
> com.adp.sass:sasscommon:jar:1.0.0-SNAPSHOT:
> Failed to read artifact descriptor for
> com.adp.sass:sasscommon:jar:1.0.0-SNAPSHOT: Failure to find
> com.adp.sass:sassbuild:pom:1.0.0 in
> http://avsf-depsvr01:8082/artifactory/Proper-Resolution was cached in
> the local repository, resolution will not be reattempted until the
> update interval of Proper-Resolution has elapsed or updates are forced
> -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute goal on project modulecore: Could not resolve dependencies for
> project com.adp.sass:modulecore:jar:1.0.0-SNAPSHOT: Failed to collect
> dependencies at com.adp.sass:sasscommon:jar:1.0.0-SNAPSHOT at
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDep
> enden
> cies(LifecycleDependencyResolver.java:221) at
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolv
> eProj
> ectDependencies(LifecycleDependencyResolver.java:127) at
> org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAre
> Resol
> ved(MojoExecutor.java:245) at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:
> 199) at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:
> 153) at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:
> 145) at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProjec
> t(Lif
> ecycleModuleBuilder.java:116) at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProjec
> t(Lif
> ecycleModuleBuilder.java:80) at
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThrea
> dedBu
> ilder.build(SingleThreadedBuilder.java:51) at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycle
> Start
> er.java:128) at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at
> org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at
> org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at
> org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:6
> 2) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImp
> l.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launc
> her.j
> ava:289) at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java
> :229)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Lau
> ncher
> .java:415) at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:3
> 56) at org.codehaus.classworlds.Launcher.main(Launcher.java:47) Caused
> by:
> org.apache.maven.project.DependencyResolutionException: Could not
> resolve dependencies for project
> com.adp.sass:modulecore:jar:1.0.0-SNAPSHOT: Failed to collect
> dependencies at com.adp.sass:sasscommon:jar:1.0.0-SNAPSHOT at
> org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(De
> fault
> ProjectDepende