Hi Robert, On windows odlparent 6.0.2 it failed with below error.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (patch-karaf-scripts) on project opendaylight-karaf-resources: An Ant BuildException has occured: 'patch' failed with exit code 1 [ERROR] around Ant part ...<patch patchfile="D:\dWorkspace\communityACL\codeVersionBump\odlparent\karaf\openda ylight-karaf-resources/src/main/patches/karaf-instance.patch" originalfile="D:\dWorkspace\communityACL\codeVersionBump\odlparent\karaf\ope ndaylight-karaf-resources\target/assembly/bin/instance" failonerror="true"/>... @ 5:300 in D:\dWorkspace\communityACL\codeVersionBump\odlparent\karaf\opendaylight-kara f-resources\target\antrun\build-main.xml [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/MojoExecutionException Maven used : 3.6.2 Java used: 11.0.4 Regards, Nishchya -----Original Message----- From: [email protected] <[email protected]> On Behalf Of Robert Varga Sent: 21 October 2019 16:23 To: Abhinav Gupta <[email protected]> Cc: Chetan Arakere Gowdru <[email protected]>; [email protected]; [email protected] Subject: Re: [netvirt-dev] Netvirt master builds failing in Windows env due to issue in odlparent v6.0.0 On 21/10/2019 12:24, Abhinav Gupta wrote: > Hi Robert, > > > > Netvirt builds are consistently failing on Windows env with Maven > 3.6.0+ with the following error: > > > > [ERROR] Failed to execute goal > org.opendaylight.odlparent:karaf-plugin:6.0.0:populate-local-repo > *(populate-local-repo)* on project karaf: Failed to execute: Could not > resolve URI: > file:C:\Users\egtaaav\odl_code\magnesium\netvirt\karaf\target\assembly/etc/2 599a14c-9a62-486e-b922-9a351c9428be.xml: > Illegal character in opaque part at index 7: > file:C:\Users\egtaaav\odl_code\magnesium\netvirt\karaf\target\assembly > /etc/2599a14c-9a62-486e-b922-9a351c9428be.xml > -> *[Help 1]* > > [ERROR] > > > > ODLPARENT-214 <https://jira.opendaylight.org/browse/ODLPARENT-214> > indicates that this has been fixed in v6.0.1, but Netvirt master > builds are using v6.0.0 and hence failing. I believe that we need to > update to now use v6.0.1 to enable successful builds. > How do you think we can best and soon resolve this? 1) confirm that current odlparent builds on windows -- I have not seen a confirmation yet 2) fix BGPCEP-880, as that's blocking yangtools-4.0.2 adoption 3) integrate odlparent-6.0.1/yangtools-4.0.2/mdsal-5.0.4 Probably two weeks, depending how the individual items go. If building on Windows is critical, I suggest working with LF/infra to get soem Windows builders, otherwise there is no way we can keep it supported beyond 'best effort'. Regards, Robert
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#1124): https://lists.opendaylight.org/g/infrastructure/message/1124 Mute This Topic: https://lists.opendaylight.org/mt/36335436/21656 Group Owner: [email protected] Unsubscribe: https://lists.opendaylight.org/g/infrastructure/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
