Maven Jboss Repository Issue - maven-3

I am using Maven3 for my project i am getting a weird issue , I dont know but it is searching CGLIB and giving this exception...
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException:
Could not transfer artifact cglib-nodep:cglib-nodep:pom:2.1_3 from/to
jboss (http://repository.jboss.com/maven2): Access denied to:
http://repository.jboss.com/maven2/cglib-nodep/cglib-nodep/2.1_3/cglib-nodep-2.1_3.pom,
ReasonPhrase:Forbidden. at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
at
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:281)
... 37 more
I do not know why it searching cglib in Jboss repository while i do not defined any such repository in my pom.xml filr. Can anyone have idea while it going to Jboss repository?
OutPut of mvn -X compile command
Apache Maven 3.0.4 (r1232337; 2012-01-17 14:14:56+0530) Maven home: C:\Java\apache-maven-3.0.4\bin.. Java version: 1.6.0_37, vendor: Sun
Microsystems Inc. Java home: C:\Program Files\Java\jdk1.6.0_37\jre
Default locale: en_IN, platform encoding: Cp1252 OS name: "windows 7",
------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] AMANDA Platform [INFO]
AMANDA Core API [INFO] AMANDA Shared API [INFO] AMANDA Web Application
[INFO] AMANDA WebServices [INFO] AMANDA WebServices Client [INFO] Pdf
Markup Tool [INFO] AMANDA Tomcat Installer [DEBUG] === REACTOR BUILD
PLAN ================================================ [DEBUG] Project:
com.csdcsystems:amanda:pom:7.0.0.0 [DEBUG] Tasks: [compile] [DEBUG]
Style: Regular [DEBUG]
----------------------------------------------------------------------- [DEBUG] Project: com.csdcsystems:amanda-core:jar:7.0.0.0 [DEBUG]
Tasks: [compile] [DEBUG] Style: Regular [DEBUG]
----------------------------------------------------------------------- [DEBUG] Project: com.csdcsystems:amanda-shared:jar:7.0.0.0 [DEBUG]
Tasks: [compile] [DEBUG] Style: Regular [DEBUG]
================================================ [DEBUG] Project: com.csdcsystems:amanda-core:7.0.0.0 [DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [compile] [DEBUG] Repositories
(dependencies): [central
(https://amandai.csdcsystems.com/artifactory/libs-release, releases),
snapshots (https://amandai.csdcsystems.com/artifactory/libs-snapshot,
releases+snapshots), JBoss
(https://repository.jboss.org/nexus/content/groups/public-jboss/,
releases+snapshots)] [DEBUG] Repositories (plugins) : [central
(https://amandai.csdcsystems.com/artifactory/plugins-release,
releases), snapshots
(https://amandai.csdcsystems.com/artifactory/plugins-snapshot,
releases+snapshots)] [DEBUG]
----------------------------------------------------------------------- [DEBUG] Goal:
org.apache.maven.plugins:maven-resources-plugin:2.5:resources
(default-resources) [DEBUG] Style: Regular [DEBUG]
Configuration:
${encoding}
${maven.resources.escapeString}
${maven.resources.escapeWindowsPaths}
${maven.resources.includeEmptyDirs}
${maven.resources.overwrite}
${maven.resources.supportMultiLineFiltering}
[DEBUG]
----------------------------------------------------------------------- [DEBUG] Goal:
org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
(default-compile) [DEBUG] Style: Regular [DEBUG]
Configuration:
${maven.compiler.compilerId}
${maven.compiler.compilerReuseStrategy}
${maven.compiler.compilerVersion}
${maven.compiler.debug}
${maven.compiler.debuglevel} ${encoding}
${maven.compiler.executable} ${maven.compiler.failOnError}
${maven.compiler.forceJavacCompilerUse}
${maven.compiler.fork}
${maven.compiler.maxmem}
${maven.compiler.meminitial}
${mojoExecution} ${maven.compiler.optimize}
${maven.compiler.showDeprecation}
${maven.compiler.showWarnings}
${maven.compiler.skipMultiThreadWarning}
1.6 ${lastModGranularityMs} 1.6 ${maven.compiler.verbose}
[DEBUG]
======================================================================= [DEBUG] Using connector WagonRepositoryConnector with priority 0 for
http://repository.jboss.com/maven2 Downloading:
http://repository.jboss.com/maven2/cglib-nodep/cglib-nodep/2.1_3/cglib-nodep-2.1_3.pom
[DEBUG] Writing resolution tracking file
C:\Users\sjoshi.m2\repository\cglib-nodep\cglib-nodep\2.1_3\cglib-nodep-2.1_3.pom.lastUpdated
[DEBUG] Using connector WagonRepositoryConnector with priority 0 for
http://repository.jboss.com/maven2 Downloading:
http://repository.jboss.com/maven2/jboss/jboss-jee/4.2.0.GA/jboss-jee-4.2.0.GA.pom
[DEBUG] Writing resolution tracking file
C:\Users\sjoshi.m2\repository\jboss\jboss-jee\4.2.0.GA\jboss-jee-4.2.0.GA.pom.lastUpdated
[INFO]
------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] AMANDA Platform
................................... SUCCESS [0.000s] [INFO] AMANDA
Core API ................................... FAILURE [3.521s] [INFO]
AMANDA Shared API ................................. SKIPPED [INFO]
AMANDA Web Application ............................ SKIPPED [INFO]
AMANDA WebServices ................................ SKIPPED [INFO]
AMANDA WebServices Client ......................... SKIPPED [INFO] Pdf
Markup Tool ................................... SKIPPED [INFO] AMANDA
Tomcat Installer ........................... SKIPPED [INFO]
------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO]
------------------------------------------------------------------------ [INFO] Total time: 3.826s [INFO] Finished at: Thu Feb 14 11:11:29 IST
2013 [INFO] Final Memory: 5M/73M [INFO]
------------------------------------------------------------------------ [ERROR] Failed to execute goal on project amanda-core: Could not
resolve dependencies for project
com.csdcsystems:amanda-core:jar:7.0.0.0: Failed to collect
dependencies for [javax.activation:activation:jar:1.1.1 (compile),
commons-beanutils:commons-beanutils:jar:1.8.3 (compile),
commons-codec:commons-codec:jar:1.7 (compile),
commons-collections:commons-collections:jar:3.2.1 (compile),
com.moneris:payment-moneris:jar:1.0 (compile),
com.cybersource:payment-cybsclients:jar:1.0 (compile),
com.cybersource:payment-cybssecurity:jar:1.0 (compile),
javax.servlet:servlet-api:jar:2.5 (provided),
javax.servlet:jsp-api:jar:2.1 (provided), junit:junit:jar:3.8.1
(test)] at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
at
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
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.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at
org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at
org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at
org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597) at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.project.DependencyResolutionException:
Could not resolve dependencies for project
com.csdcsystems:amanda-core:jar:7.0.0.0: Failed to collect
dependencies for [javax.activation:activation:jar:1.1.1 (compile),
commons-beanutils:commons-beanutils:jar:1.8.3 (compile),
commons-codec:commons-codec:jar:1.7 (compile),
commons-collections:commons-collections:jar:3.2.1 (compile),
commons-configuration:commons-configuration:jar:1.9 (compile),
commons-discovery:commons-discovery:jar:0.5 (compile),
commons-fileupload:commons-fileupload:jar:1.2.2 (compile),
commons-io:commons-io:jar:2.4 (compile),
commons-jexl:commons-jexl:jar:1.1 (compile),
commons-lang:commons-lang:jar:2.6 (compile),
commons-logging:commons-logging:jar:1.1.1 (compile),
commons-net:commons-net:jar:3.1 (compile),
org.apache.httpcomponents:httpclient:jar:4.2.1 (compile),
org.apache.httpcomponents:httpcore:jar:4.2.2 (compile),
oro:oro:jar:2.0.8 (compile), xalan:serializer:jar:2.7.1 (compile),
xerces:xercesImpl:jar:2.10.0 (compile), xml-apis:xml-apis:jar:2.0.2
(compile), org.apache.axis:axis:jar:1.4 (compile),
log4j:log4j:jar:1.2.17 (compile),
org.apache.ws.security:wss4j:jar:1.6.7 (compile),
org.apache.poi:poi:jar:3.8 (compile), org.apache.poi:poi-ooxml:jar:3.8
(compile), com.aspose:aspose-words:jar:10.4.0.0 (compile),
com.aspose:aspose-pdf-kit:jar:3.8.0 (compile),
bouncycastle:bcprov-jdk16:jar:140 (compile),
bouncycastle:bcmail-jdk15:jar:140 (compile),
org.xhtmlrenderer:core-renderer:jar:R8 (compile),
net.sf.ezmorph:ezmorph:jar:1.0.6 (compile),
com.lowagie:itext:jar:1.4.8 (compile), javax.mail:mail:jar:1.4.5
(compile), jcifs:jcifs:jar:1.3.17 (compile),
com.oracle:ojdbc6:jar:11.2.0.3.0 (compile),
com.microsoft.jdbc:sqljdbc4:jar:4.0 (compile),
net.sf.json-lib:json-lib:jar:jdk15:2.4 (compile),
com.mockrunner:mockrunner-jdk1.5-j2ee1.3:jar:0.4 (compile),
org.opensaml:opensaml1:jar:1.1 (compile),
javax.xml.soap:saaj-api:jar:1.3.4 (compile), wsdl4j:wsdl4j:jar:1.6.2
(compile), xpp3:xpp3:jar:1.1.4c (compile),
org.apache.santuario:xmlsec:jar:1.5.2 (compile),
taglibs:standard:jar:1.1.2 (compile),
gudusoft.gsqlparser:gsp:jar:1.4.3.9 (compile),
jgroups:jgroups-all:jar:2.4.1 (compile),
com.sun.xml.stream:sjsxp:jar:1.0.2 (compile),
javax.xml:jaxrpc-api:jar:1.1 (compile), javax.media:jai_core:jar:1.1.3
(compile), com.sun.media:jai_imageio:jar:1.1 (compile),
javax.media:jai_codec:jar:1.1.3 (compile),
com.businessobjects.sdks:CrystalCommon2:jar:12.2.213 (compile),
com.businessobjects.sdks:QueryBuilder:jar:12.2.213 (compile),
com.businessobjects.sdks:XMLConnector:jar:12.2.213 (compile),
com.businessobjects.sdks:com.azalea.ufl.barcode:jar:12.2.213
(compile), com.businessobjects.sdks:crystal-merged:jar:12.2.213
(compile), com.businessobjects.sdks:cvom:jar:12.2.213 (compile),
com.businessobjects.sdks:icu4j:jar:12.2.213 (compile),
com.businessobjects.sdks:jrcerom:jar:12.2.213 (compile),
com.businessobjects.sdks:keycodeDecoder:jar:12.2.213 (compile),
com.businessobjects.sdks:logging:jar:12.2.213 (compile),
com.businessobjects.sdks:pfjgraphics:jar:12.2.213 (compile),
com.businessobjects.sdks:webreporting:jar:12.2.213 (compile),
com.gnostice:pdfone:jar:5.0.0.79 (compile),
com.independentsoft:exchange-server:jar:1.0 (compile),
org.alfresco:alfresco-web-service-client:jar:1.0 (compile),
com.oracle.xmlns:oracle-bi-ws:jar:1.0 (compile),
oracle.charts:oracle-chartbuilder:jar:1.0 (compile),
com.rsa:rsa-authapi:jar:1.0 (compile),
com.keyoti:RapidSpellWeb:jar:3.0.2 (compile),
com.keyoti:RapidSpellMDict:jar:1.0 (compile),
javax.ejb:ejb-api:jar:3.0 (compile), com.cognos:cognos-axis:jar:8.0
(compile), com.cognos:cognos-client:jar:8.0 (compile),
com.cognos:cognos_cam_aaa_custom:jar:8.0 (compile),
com.businessobjects.cms:cecore:jar:2011 (compile),
com.businessobjects.cms:celib:jar:2011 (compile),
com.businessobjects.cms:cesession:jar:2011 (compile),
com.businessobjects.cms:cmslogon:jar:2011 (compile),
com.businessobjects.cms:corbaidl:jar:2011 (compile),
com.businessobjects.cms:ebus405:jar:2011 (compile),
paypal.payflow:payment_paypal:jar:1.0 (compile),
com.verisign:payment_verisign:jar:1.0 (compile),
usbankclient:payment-usbankclient:jar:1.0 (compile),
com.exact:payment-exact:jar:1.0 (compile),
com.okgov:payment-okgov:jar:1.0 (compile),
com.moneris:payment-moneris:jar:1.0 (compile),
com.cybersource:payment-cybsclients:jar:1.0 (compile),
com.cybersource:payment-cybssecurity:jar:1.0 (compile),
javax.servlet:servlet-api:jar:2.5 (provided),
javax.servlet:jsp-api:jar:2.1 (provided), junit:junit:jar:3.8.1
(test)] at
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:158)
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185)
... 22 more Caused by:
org.sonatype.aether.collection.DependencyCollectionException: Failed
(compile), com.businessobjects.sdks:cvom:jar:12.2.213 (compile),
com.businessobjects.sdks:icu4j:jar:12.2.213 (compile),
com.businessobjects.sdks:jrcerom:jar:12.2.213 (compile),
com.businessobjects.sdks:keycodeDecoder:jar:12.2.213 (compile),
com.businessobjects.sdks:logging:jar:12.2.213 (compile),
com.businessobjects.sdks:pfjgraphics:jar:12.2.213 (compile),
com.businessobjects.sdks:webreporting:jar:12.2.213 (compile),
com.gnostice:pdfone:jar:5.0.0.79 (compile),
com.independentsoft:exchange-server:jar:1.0 (compile),
org.alfresco:alfresco-web-service-client:jar:1.0 (compile),
com.oracle.xmlns:oracle-bi-ws:jar:1.0 (compile),
oracle.charts:oracle-chartbuilder:jar:1.0 (compile),
com.rsa:rsa-authapi:jar:1.0 (compile),
com.keyoti:RapidSpellWeb:jar:3.0.2 (compile),
com.keyoti:RapidSpellMDict:jar:1.0 (compile),
javax.ejb:ejb-api:jar:3.0 (compile), com.cognos:cognos-axis:jar:8.0
(compile), com.cognos:cognos-client:jar:8.0 (compile),
com.cognos:cognos_cam_aaa_custom:jar:8.0 (compile),
com.businessobjects.cms:cecore:jar:2011 (compile),
com.businessobjects.cms:celib:jar:2011 (compile),
com.businessobjects.cms:cesession:jar:2011 (compile),
com.businessobjects.cms:cmslogon:jar:2011 (compile),
com.businessobjects.cms:corbaidl:jar:2011 (compile),
com.businessobjects.cms:ebus405:jar:2011 (compile),
paypal.payflow:payment_paypal:jar:1.0 (compile),
com.verisign:payment_verisign:jar:1.0 (compile),
usbankclient:payment-usbankclient:jar:1.0 (compile),
com.exact:payment-exact:jar:1.0 (compile),
com.okgov:payment-okgov:jar:1.0 (compile),
com.moneris:payment-moneris:jar:1.0 (compile),
com.cybersource:payment-cybsclients:jar:1.0 (compile),
com.cybersource:payment-cybssecurity:jar:1.0 (compile),
javax.servlet:servlet-api:jar:2.5 (provided),
javax.servlet:jsp-api:jar:2.1 (provided), junit:junit:jar:3.8.1
(test)] at
org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:258)
at
org.sonatype.aether.impl.internal.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:308)
at
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:150)
... 23 more Caused by:
org.sonatype.aether.resolution.ArtifactDescriptorException: Failed to
read artifact descriptor for cglib-nodep:cglib-nodep:jar:2.1_3 at
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:296)
at
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:186)
at
org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:412)
at
org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:544)
at
org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:240)
... 25 more Caused by:
org.sonatype.aether.resolution.ArtifactResolutionException: Could not
transfer artifact cglib-nodep:cglib-nodep:pom:2.1_3 from/to jboss
(http://repository.jboss.com/maven2): Access denied to:
http://repository.jboss.com/maven2/cglib-nodep/cglib-nodep/2.1_3/cglib-nodep-2.1_3.pom,
ReasonPhrase:Forbidden. at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
at
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:281)
... 29 more Caused by:
org.sonatype.aether.transfer.ArtifactTransferException: Could not
transfer artifact cglib-nodep:cglib-nodep:pom:2.1_3 from/to jboss
(http://repository.jboss.com/maven2): Access denied to:
http://repository.jboss.com/maven2/cglib-nodep/cglib-nodep/2.1_3/cglib-nodep-2.1_3.pom,
ReasonPhrase:Forbidden. at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:951)
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:941)
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:669)
at
org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662) Caused by:
org.apache.maven.wagon.authorization.AuthorizationException: Access
denied to:
http://repository.jboss.com/maven2/cglib-nodep/cglib-nodep/2.1_3/cglib-nodep-2.1_3.pom,
ReasonPhrase:Forbidden. at
org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:835)
at
org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61) at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:601)
... 4 more [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
[ERROR] [ERROR] After correcting the problems, you can resume the
build with the command [ERROR] mvn -rf :amanda-core

Thanks #ANdyB i found the solution i just deleted the .m2 directory from systems and then again run
mvn eclipse:eclipse
command it run so issue with
.m2
directory where in some place maven store repository location .

Mock runner pom.xml refers JBoss repository hence you get the error.
Here you can view mock runner pom.xml. The best solution is not to use the mock runner.

Related

IoT Edge with certificate DPS provisioning fails on cert permissions error

I have set up Azure IoT Edge on Ubuntu 20.04 and configured it to provision via DPS with self-signed certificates. If I store the id cert and key in /home/[user]/certs it works fine. If I move the cert files to /var/certs and update /etc/aziot/config.toml accordingly, I get the following errors from sudo iotedge system logs:
systemd[1]: Started Azure IoT Identity Service.
aziot-identityd[5699]: 2021-12-20T03:46:33Z [INFO] - Starting service...
aziot-identityd[5699]: 2021-12-20T03:46:33Z [INFO] - Version - 1.2.4
aziot-identityd[5699]: 2021-12-20T03:46:33Z [INFO] - Provisioning starting. Reason: Startup
aziot-certd[2113]: 2021-12-20T03:46:33Z [INFO] - <-- GET /certificates/device-id?api-version=2020-09-01 {"host": "certd.sock"}
aziot-certd[2113]: 2021-12-20T03:46:33Z [ERR!] - !!! internal error
aziot-certd[2113]: 2021-12-20T03:46:33Z [ERR!] - !!! caused by: could not read cert file
aziot-certd[2113]: 2021-12-20T03:46:33Z [ERR!] - !!! caused by: Permission denied (os error 13)
aziot-certd[2113]: 2021-12-20T03:46:33Z [INFO] - --> 500 {"content-type": "application/json"}
aziot-keyd[2121]: 2021-12-20T03:46:33Z [INFO] - <-- POST /keypair?api-version=2020-09-01 {"content-type": "application/json", "host": "keyd.sock", "content-length": "56"}
aziot-keyd[2121]: 2021-12-20T03:46:33Z [ERR!] - Permission denied (os error 13)
aziot-keyd[2121]: 2021-12-20T03:46:33Z [ERR!] - !!! internal error
aziot-keyd[2121]: 2021-12-20T03:46:33Z [ERR!] - !!! caused by: could not create key pair
aziot-keyd[2121]: 2021-12-20T03:46:33Z [ERR!] - !!! caused by: could not create key pair: AZIOT_KEYS_RC_ERR_EXTERNAL
aziot-keyd[2121]: 2021-12-20T03:46:33Z [INFO] - --> 500 {"content-type": "application/json"}
aziot-identityd[5699]: 2021-12-20T03:46:33Z [ERR!] - Failed to provision with IoT Hub, and no valid device backup was found: internal error
aziot-identityd[5699]: 2021-12-20T03:46:33Z [ERR!] - service encountered an error
aziot-identityd[5699]: 2021-12-20T03:46:33Z [ERR!] - caused by: internal error
aziot-identityd[5699]: 2021-12-20T03:46:33Z [ERR!] - caused by: could not create certificate
aziot-identityd[5699]: 2021-12-20T03:46:33Z [ERR!] - caused by: internal error
aziot-identityd[5699]: 2021-12-20T03:46:33Z [ERR!] - 0: <unknown>
aziot-identityd[5699]: 1: <unknown>
systemd[1]: aziot-identityd.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: aziot-identityd.service: Failed with result 'exit-code'.
There is obviously a permissions error with the new certificate location, but I can't find proper documentation on what users/groups/services need which permissions. Some docs say the user iotedge needs read access, but even making iotedge the owner does not fix the problem. There also appear to be groups aziotid, aziotks, aziotcs which may or may not need access, but assigning ownership or read permissions to those groups doesn't fix the problem. If anyone can help with their experience or point me to valid up-to-date docs I'd appreciate it.

Cant run scm-server 2

I've downloaded scm-server 2 from Jenkins to run on my dedicated source code server. Unfortunately it won't start for some reason. It works on my desktop computer so probably there is just a package missing.
Using Ubuntu 18.04 with apache2 and jetty9 packages installed, which might be relevant.
Any ideas?
~/scm-server/bin$ ./scm-server
2019-09-16 10:33:58.689:INFO::main: Logging initialized #478ms to org.eclipse.jetty.util.log.StdErrLog
2019-09-16 10:33:59.595:INFO:oejs.Server:main: jetty-9.4.14.v20181114; built: 2018-11-14T21:20:31.478Z; git: c4550056e785fb5665914545889f21dc136ad9e6; jvm 12.0.2+10
2019-09-16 10:34:02.442:INFO:oejw.StandardDescriptorProcessor:main: NO JSP Support for /scm, did not find org.eclipse.jetty.jsp.JettyJspServlet
2019-09-16 10:34:02.514:INFO:oejs.session:main: DefaultSessionIdManager workerName=node0
2019-09-16 10:34:02.516:INFO:oejs.session:main: No SessionScavenger set, using defaults
2019-09-16 10:34:02.525:INFO:oejs.session:main: node0 Scavenging every 600000ms
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor (file:/home/klarre/scm-server/work/scm/webapp/WEB-INF/lib/classloader-leak-prevention-core-2.7.0.jar) to method java.lang.ClassLoader.isAncestor(java.lang.ClassLoader)
WARNING: Please consider reporting this to the maintainers of se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2019-09-16 10:34:04.105 [main] [ ] INFO sonia.scm.lifecycle.BootstrapContextFilter - register for restart events
2019-09-16 10:34:04.125 [main] [ ] INFO sonia.scm.event.LegmanScmEventBus - create new event bus ScmEventBus-1
2019-09-16 10:34:04.319:WARN:oejw.WebAppContext:main: Failed startup of context o.e.j.w.WebAppContext#4dc8caa7{SCM-Manager 2.0.0-SNAPSHOT,/scm,file:///home/klarre/scm-server/work/scm/webapp/,UNAVAILABLE}{/home/klarre/scm-server/var/webapp/scm-webapp.war}
java.util.ServiceConfigurationError: sonia.scm.event.ScmEventBus: Provider sonia.scm.event.LegmanScmEventBus could not be instantiated
at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:583)
at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:805)
at java.base/java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:723)
at java.base/java.util.ServiceLoader$3.next(ServiceLoader.java:1395)
at sonia.scm.util.ServiceUtil.getService(ServiceUtil.java:99)
at sonia.scm.event.ScmEventBus.getInstance(ScmEventBus.java:89)
at sonia.scm.lifecycle.BootstrapContextFilter.initializeContext(BootstrapContextFilter.java:75)
at sonia.scm.lifecycle.BootstrapContextFilter.init(BootstrapContextFilter.java:68)
at org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:136)
at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:750)
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734)
at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734)
at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:744)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:368)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1497)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1459)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:852)
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:278)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)
at org.eclipse.jetty.server.Server.start(Server.java:415)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:108)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.server.Server.doStart(Server.java:382)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at sonia.scm.server.ScmServer.init(ScmServer.java:139)
at sonia.scm.server.ScmServer.run(ScmServer.java:100)
at sonia.scm.server.ScmServerDaemon.main(ScmServerDaemon.java:62)
Caused by:
java.util.ServiceConfigurationError: com.github.legman.HandlerFindingStrategy: service type not accessible to unnamed module #2c78d320
at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:590)
at java.base/java.util.ServiceLoader.checkCaller(ServiceLoader.java:570)
at java.base/java.util.ServiceLoader.<init>(ServiceLoader.java:505)
at java.base/java.util.ServiceLoader.load(ServiceLoader.java:1647)
at com.github.legman.internal.ServiceLocator.locate(ServiceLocator.java:67)
at com.github.legman.internal.ServiceLocator.locate(ServiceLocator.java:92)
at com.github.legman.EventBus.<init>(EventBus.java:152)
at sonia.scm.event.LegmanScmEventBus.create(LegmanScmEventBus.java:79)
at sonia.scm.event.LegmanScmEventBus.<init>(LegmanScmEventBus.java:73)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:781)
at java.base/java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:723)
at java.base/java.util.ServiceLoader$3.next(ServiceLoader.java:1395)
at sonia.scm.util.ServiceUtil.getService(ServiceUtil.java:99)
at sonia.scm.event.ScmEventBus.getInstance(ScmEventBus.java:89)
at sonia.scm.lifecycle.BootstrapContextFilter.initializeContext(BootstrapContextFilter.java:75)
at sonia.scm.lifecycle.BootstrapContextFilter.init(BootstrapContextFilter.java:68)
at org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:136)
at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:750)
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734)
at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734)
at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:744)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:368)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1497)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1459)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:852)
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:278)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)
at org.eclipse.jetty.server.Server.start(Server.java:415)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:108)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.server.Server.doStart(Server.java:382)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at sonia.scm.server.ScmServer.init(ScmServer.java:139)
at sonia.scm.server.ScmServer.run(ScmServer.java:100)
at sonia.scm.server.ScmServerDaemon.main(ScmServerDaemon.java:62)
2019-09-16 10:34:04.377:INFO:oejw.StandardDescriptorProcessor:main: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
2019-09-16 10:34:04.382:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext#53d102a2{/,[file:///home/klarre/scm-server/var/webapp/docroot/],AVAILABLE}
2019-09-16 10:34:04.459:INFO:oejs.AbstractConnector:main: Started ServerConnector#18c49a9f{HTTP/1.1,[http/1.1]}{0.0.0.0:8088}
2019-09-16 10:34:04.460:INFO:oejs.Server:main: Started #6303ms
Changing from openjdk-12 to openjdk-8 solved the problem.
Took some time, but from version 2.0.0-rc4 on, SCM-Manager is compatible with Java 9 and above.
Here you can find out how to get the version: https://www.scm-manager.org/uncategorized/scm-manager-2-0-0-rc4/

Spring Security SAML build from source compilation error, dependency set to test not compile

I was trying to build 1.0.1.RELEASE from the source (grabbed the zip from github). I was experiencing the below errors. To get the build to succeed, I edited the dependencies and set commons-logging dependency from test to compile, so Log could be found by the compiler. Since this was a release tag, I'm wondering if there was actually an issue that is actually on my end for building it from the exact pom.xml which came from the tag.
Build log excerpt:
[INFO] Compiling 98 source files to /Users/jsimon/Documents/opensources/spring-security-saml-1.0.1.RELEASE/core/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/jsimon/Documents/opensources/spring-security-saml-1.0.1.RELEASE/core/src/main/java/org/springframework/security/saml/SAMLLogoutProcessingFilter.java:[135,22] error: cannot access Log
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.223s
[INFO] Finished at: Thu Jul 30 10:32:51 EDT 2015
[INFO] Final Memory: 13M/310M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project spring-security-saml2-core: Compilation failure
[ERROR] /Users/jsimon/Documents/opensources/spring-security-saml-1.0.1.RELEASE/core/src/main/java/org/springframework/security/saml/SAMLLogoutProcessingFilter.java:[135,22] error: cannot access Log
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project spring-security-saml2-core: Compilation failure
/Users/jsimon/Documents/opensources/spring-security-saml-1.0.1.RELEASE/core/src/main/java/org/springframework/security/saml/SAMLLogoutProcessingFilter.java:[135,22] error: cannot access Log
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
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.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
/Users/jsimon/Documents/opensources/spring-security-saml-1.0.1.RELEASE/core/src/main/java/org/springframework/security/saml/SAMLLogoutProcessingFilter.java:[135,22] error: cannot access Log
at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
[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/MojoFailureException
dependency snippet:
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1.1</version>
<scope>compile</scope>
</dependency
I had the same problem too and changed the scope of "commons-logging" dependency from test to compile and the problem resolved.
So it seems it is not an issue on your end but on the pom file.
The correct way to build is with gradle, it seems like you are using Maven? Run git clone git#github.com:spring-projects/spring-security-saml.git, git checkout tags/rb.1.0.1.RELEASE and gradlew build. This runs well on both continuous integration server and my machine.

I am unable to bulid Maven Project

Please I am very new when comes to maven project and wildfly (JBoss) Server. I have a Java EE 7 project which I developed with NetBeans for Apache Tomcat 8. For some good reason I want to migrate to WildFly 8.
I have recreated the project on JBoss Studio 7.1 with all the Maven Dependencies. First attempt to run the project returns "Forbidden".
I tried to be sure the project is complied and deployed by running
mvn clean package
Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ProjectName 1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) # ProjectName ---
[INFO] Deleting /path/to/the/ProjectName/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) # ProjectName ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) # ProjectName ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 74 source files to /path/to/the/ProjectName/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.062 s
[INFO] Finished at: 2014-11-18T10:58:47+01:00
[INFO] Final Memory: 8M/150M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project ProjectName: Compilation failure -> [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
I re-run the command with -e
------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project nants: Compilation failure -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project nants: Compilation failure
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
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.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
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:483)
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.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:862)
at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 19 more
[ERROR]
These tips contains my environment
Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T21:58:10+01:00)
Maven home: /path/to/maven
Java version: 1.8.0_20, vendor: Oracle Corporation
Java home: /usr/lib/jvm/oracle_jdk_8/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.16.0-24-generic", arch: "amd64", family: "unix"
I read the suggested wiki but could't solve the issue still. Maybe because I am still new.Please I will appreciate your help on resolving this errors.
You are using Java 8, please try on Java 7 as some components may not support Java 8.
Similar problem is described here: maven-compilation-fails-without-explaining-why
I finally found what problem for failed compilation was, I have fixed that by correcting my POM.xml there was an error on my JAVA_HOME settings. though I am still getting "Forbidden" from the url which will need a different question thread if I am unable to resolve it.
<maven.compiler.executable>/absolute/path/to/bin/javac</maven.compiler.executable>
TO:
<maven.compiler.executable>${JAVA_HOME}/bin/javac</maven.compiler.executable>

org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find artifact - when using mvn 3.0.4 (works with mvn 3.0.3!)

With some multi-module maven project we'r having the following exception when using maven 3.0.4:
[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:1.3.2.google:resources (default) on project genericapi: Execution default of goal org.codehaus.mojo:gwt-maven-plugin:1.3.2.google:resources failed: Plugin org.codehaus.mojo:gwt-maven-plugin:1.3.2.google or one of its dependencies could not be resolved: Could not find artifact dom4j:dom4j:jar:1.6.1 in gwt-plugin-repo (http://google-web-toolkit.googlecode.com/svn/2.1.0.M3/gwt/maven) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:1.3.2.google:resources (default) on project genericapi: Execution default of goal org.codehaus.mojo:gwt-maven-plugin:1.3.2.google:resources failed: Plugin org.codehaus.mojo:gwt-maven-plugin:1.3.2.google or one of its dependencies could not be resolved: Could not find artifact dom4j:dom4j:jar:1.6.1 in gwt-plugin-repo (http://google-web-toolkit.googlecode.com/svn/2.1.0.M3/gwt/maven)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
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.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal org.codehaus.mojo:gwt-maven-plugin:1.3.2.google:resources failed: Plugin org.codehaus.mojo:gwt-maven-plugin:1.3.2.google or one of its dependencies could not be resolved: Could not find artifact dom4j:dom4j:jar:1.6.1 in gwt-plugin-repo (http://google-web-toolkit.googlecode.com/svn/2.1.0.M3/gwt/maven)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:82)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: org.apache.maven.plugin.PluginResolutionException: Plugin org.codehaus.mojo:gwt-maven-plugin:1.3.2.google or one of its dependencies could not be resolved: Could not find artifact dom4j:dom4j:jar:1.6.1 in gwt-plugin-repo (http://google-web-toolkit.googlecode.com/svn/2.1.0.M3/gwt/maven)
at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:215)
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.createPluginRealm(DefaultMavenPluginManager.java:353)
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupPluginRealm(DefaultMavenPluginManager.java:321)
at org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm(DefaultBuildPluginManager.java:175)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:78)
... 20 more
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could not find artifact dom4j:dom4j:jar:1.6.1 in gwt-plugin-repo (http://google-web-toolkit.googlecode.com/svn/2.1.0.M3/gwt/maven)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:358)
at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:207)
... 24 more
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find artifact dom4j:dom4j:jar:1.6.1 in gwt-plugin-repo (http://google-web-toolkit.googlecode.com/svn/2.1.0.M3/gwt/maven)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:947)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:941)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:669)
at org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
[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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :genericapi
Note: I compared the logs of mvn3.0.3/mvn3.0.4, they look equal, the only different is the exception that only occurs with 3.0.4,
More to say, I checked out maven trunk and changed Aether from ver 1.13.1 to 1.12 and everything works just fine! that means it's probably a bug introduced in Aether 1.13 and above.
Any help would be highly appreciated !

Resources