iDempiere 9 - Issue with mvn verify - jetty

430 views
Skip to first unread message

Nicolas Micoud

unread,
Dec 9, 2022, 4:47:14 AM12/9/22
to iDempiere
Hi,

I'm encountering an issue while compiling iDempiere 9 sources.
My sources are based on commit a8eebd2 (https://github.com/idempiere/idempiere/commit/a8eebd22bec1888221b015bcb7e4c2b8899d1ae4)

[INFO] Resolving MavenDependencyRoots = [GroupId = org.eclipse.jetty, ArtifactId = jetty-servlets, Version = 10.0.7, ArtifactType = jar, IncludeDependencyScope = ], IncludeDependencyScope = [compile], MissingManifestStrategy = GENERATE, IncludeSource = true...
Downloading from zkoss: https://mavensync.zkoss.org/maven2/org/eclipse/jetty/tests/jetty-http-tools/10.0.7/jetty-http-tools-10.0.7.pom
[INFO] Failure detected.
[ERROR] Failed to resolve target definition file:/C:/Src/devExpertLightWIP/org.idempiere.p2.targetplatform/org.idempiere.p2.targetplatform.target: MavenDependency GroupId = org.eclipse.jetty, ArtifactId = jetty-servlets, Version = 10.0.7, ArtifactType = jar, IncludeDependencyScope =  of location MavenDependencyRoots = [GroupId = org.eclipse.jetty, ArtifactId = jetty-servlets, Version = 10.0.7, ArtifactType = jar, IncludeDependencyScope = ], IncludeDependencyScope = [compile], MissingManifestStrategy = GENERATE, IncludeSource = true could not be resolved: resolving org.eclipse.jetty:jetty-servlets:jar:10.0.7 failed! [org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to get dependency information for org.eclipse.jetty.tests:jetty-http-tools:jar:10.0.7: Failed to retrieve POM for org.eclipse.jetty.tests:jetty-http-tools:jar:10.0.7: Could not transfer artifact org.eclipse.jetty.tests:jetty-http-tools:pom:10.0.7 from/to zkoss (https://mavensync.zkoss.org/maven2): Transfer failed for https://mavensync.zkoss.org/maven2/org/eclipse/jetty/tests/jetty-http-tools/10.0.7/jetty-http-tools-10.0.7.pom 503 Service Temporarily Unavailable
[ERROR]   org.eclipse.jetty.tests:jetty-http-tools:jar:10.0.7
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR]   Central (https://repo1.maven.org/maven2, releases=true, snapshots=true),
[ERROR]   Redhat-GA (https://maven.repository.redhat.com/ga, releases=true, snapshots=true),
[ERROR]   OpenNMS (https://repo.opennms.org/maven2, releases=true, snapshots=true),
[ERROR]   jr-ce-releases (https://jaspersoft.jfrog.io/jaspersoft/jr-ce-releases, releases=true, snapshots=true),
[ERROR]   jp-third-party-ce (https://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts, releases=true, snapshots=true),
[ERROR]   Clojars (https://clojars.org/repo, releases=true, snapshots=true),
[ERROR]   atlassian-3rdparty (https://maven.atlassian.com/3rdparty, releases=true, snapshots=true),
[ERROR]   idempiere-zkoss (https://idempiere.github.io/binary.file/maven.zk/, releases=true, snapshots=true),
[ERROR]   zkoss (https://mavensync.zkoss.org/maven2, releases=true, snapshots=true),
[ERROR]   jenkins (https://repo.jenkins-ci.org/releases, releases=true, snapshots=true),
[ERROR]   central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[ERROR] Path to dependency:
[ERROR]         1) org.eclipse.jetty:jetty-servlets:jar:10.0.7
[ERROR]
[ERROR] ]
[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/MavenExecutionException

I happens locally and from our Jenkins server.

Any idea where to look ?

Thanks,

Nicolas

Nicolas Micoud

unread,
Dec 9, 2022, 5:52:47 AM12/9/22
to iDempiere
nb: adding -o (mvn verify -o) solves the issue

Nicolas Micoud

unread,
Dec 9, 2022, 10:15:32 AM12/9/22
to iDempiere
Issue gone ; mystery....

Tiago Ferreira Ceridorio

unread,
Dec 11, 2022, 1:08:01 PM12/11/22
to iDempiere
Hi,
I have same problem here, after start a fresh Workspace this show error on MVN VERIFY.
Any idea about problem?
Captura de tela_20221211_150718.png

Tks

Nicolas Micoud

unread,
Dec 12, 2022, 1:26:48 AM12/12/22
to iDempiere
Hi,

I've try again now and it went fine.
Is probably because of a temporary issue

Never tested but maybe the "-o"  can work in your case (if you previously did a mvn verify on your computer)?

Tiago Ferreira Ceridorio

unread,
Dec 12, 2022, 7:45:01 AM12/12/22
to iDempiere

Hi,
Still showing the problem, from what I understand there is something wrong in the repository where he tries to download Jetty, for some reason he tries to search in Maven from ZK, which returns the error.

Captura de tela 2022-12-12 094348.png
Tks

Nicolas Micoud

unread,
Dec 12, 2022, 10:57:13 AM12/12/22
to iDempiere
I can't help you, sorry :(

I've just done a build (v9) now and it worked fine

Alan Lescano

unread,
Dec 12, 2022, 1:36:38 PM12/12/22
to idem...@googlegroups.com
Tiago, seems that jetty-http-tools (jetty-servlets dependency) is not available anymore:

I was able to download it last week, but not today... using master branch here.

Alan



--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/81f9fc42-ba99-4024-98ca-33abc37ac240n%40googlegroups.com.

Alan Lescano

unread,
Dec 12, 2022, 2:35:55 PM12/12/22
to idem...@googlegroups.com
update: I connected to a VPN server (in England) and could find all the dependencies... maven dependency hell...

Martin Schönbeck

unread,
Dec 12, 2022, 2:52:49 PM12/12/22
to iDempiere
Hi Alan,

that seems to support my idea that it's dependent on the mirror used to access the repository. There seem to be mirrors which are not uptodate.

Regards,
Martin

Alan Lescano

unread,
Dec 12, 2022, 3:43:38 PM12/12/22
to idem...@googlegroups.com
Yes! would be nice if there was a way to avoid mirrors on the client side... meanwhile, it never hurts to warn devs that building idempiere (and other large projects) is a process that requires patience and some creativity to work around possible issues...



Reply all
Reply to author
Forward
0 new messages