Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Error with pomless Tycho for features
  • From: "Keppler Michael (ETAS/ESW-CI)" <Michael.Keppler@xxxxxxxx>
  • Date: Fri, 18 Jun 2021 08:23:03 +0000
  • Accept-language: de-DE, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 139.15.153.203) smtp.rcpttodomain=eclipse.org smtp.mailfrom=etas.com; dmarc=pass (p=reject sp=none pct=100) action=none header.from=etas.com; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aQuHcCBvq5z4aWKLobjRxoHij0NbbMqezrC2XLgzJ2A=; b=CfAcv6Mm+PxplAsACO0J+ZCTk+cBZ3UCCFUR1AyDVAPWGA6MACXtdCVDwfPJY7ITUmfSnqxsX2eAVztMKQDX2jInFp2bGKgdlZlOcTu/c48EiYmM9O6lcUEllUWbKHcn2PbBmNT6Ux75R1jSZDTirV4KfjNphA8WDEMHjkWwalOprMsVCoIgPubFijW8q+zs4tVqubX4/+7HzRue8kMse/s/LjRD9JLQT8k0dOHYapJoaar/aWaYzHWFzlNZZDUmb97Va2yitFvMt7aanNlzrqzUB46xBJeXhVLbDjesmFnymAN842KDlSkvRn0jRUB/rv9CrmkWi/ByTAyNia2m7w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F4vwP1JHvB4tos+7GUZ9MdSa+X6Khoe4+0HDoFiwgLQjoVG3P94T6FeeCiQub5YoVHDnht6GJxZ8+SZUSpehqV7z+GPWsLNKD8lwwiCfyljkhef10e0n9S0W3yONb2URCu2TEeyUWKZSoKiRvXSZTSNX3Ym0bAdA28spttfkDWGO+duU36w4tAnbeGbbdqeF6a+/foOqi8cHfT1nMDze79rIqKqnwm8a0O8UTow7c1C4b+mxrbgY7Jo8+QfEAniEyTVVuQ0SePkWz8wzu4uVYTFnm0J1XJwgWb2SqTIUPdq5yman8fL9iKc9sXYKRQZagbPfr+8eNin7SrVN6+WvYQ==
  • Delivered-to: tycho-user@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/tycho-user/>
  • List-help: <mailto:tycho-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/tycho-user>, <mailto:tycho-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/tycho-user>, <mailto:tycho-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHXZBD7x2Xsa+RgEUihpHEuzyKG+asZbYsA
  • Thread-topic: [tycho-user] Error with pomless Tycho for features

There is a superfluous "d" in your generated pom.xml. I have seen similar "off by one strings" when tooling tried to generate/replace strings that actually contained \r\n, but the tooling only expected linux line endings.

Mit freundlichen Grüßen / Best regards

Michael Keppler
Engineering Application Software - Chapter CI/CD and Common Infrastructure Components

T +49 711 3423-2429
F +49 711 89661-0
Michael.Keppler@xxxxxxxx

ETAS GmbH, ETAS/ESW-CI
Borsigstraße 24, 70469 Stuttgart, Germany
www.etas.com

ETAS – Driving Embedded Excellence

Managing Directors: Christoph Hartung, Günter Gromeier, Götz Nigge
Chairman of the Supervisory Board: Dr. Walter Schirm
Registered Office: Stuttgart, Registration Court: Amtsgericht Stuttgart, HRB 19033
-----Ursprüngliche Nachricht-----
Von: tycho-user <tycho-user-bounces@xxxxxxxxxxx> Im Auftrag von Lars Vogel
Gesendet: Freitag, 18. Juni 2021 09:10
An: Tycho user list <tycho-user@xxxxxxxxxxx>
Betreff: [tycho-user] Error with pomless Tycho for features

Hi,

I'm trying to enable pomless builds for SWTBot, see
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.eclipse.org%2Fr%2Fc%2Fswtbot%2Forg.eclipse.swtbot%2F%2B%2F182151%2F1&amp;data=04%7C01%7Cmichael.keppler%40etas.com%7C9779c1fec4474f68f5c008d9322817d0%7C0ae51e1907c84e4bbb6d648ee58410f4%7C0%7C0%7C637595970039527256%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=OxtCkhTSiOULhwDcOQEGMnGHZkkuzoHzOrmcqrNslss%3D&amp;reserved=0

But a build with this change results in an error:

[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-parseable POM
C:\Users\Lars\git\org.eclipse.swtbot\org.eclipse.swtbot.ide\.polyglot.feature.xml:
expected START_TAG or END_TAG not TEXT (position: TEXT seen ...</plugin>\r\n\t\t\t\t</plugins>d\r\n\t\t\t</... @825:6)  @ line 825, column 6 [ERROR] Malformed POM C:\Users\Lars\git\org.eclipse.swtbot\pom.xml:
expected START_TAG or END_TAG not TEXT (position: TEXT seen ...</plugin>\r\n\t\t\t\t</plugins>d\r\n\t\t\t</... @825:6)  @ C:\Users\Lars\git\org.eclipse.swtbot\pom.xml, line 825, column 6  @ [ERROR] The build could not read 2 projects -> [Help 1] [ERROR]
[ERROR]   The project
(C:\Users\Lars\git\org.eclipse.swtbot\org.eclipse.swtbot.ide\.polyglot.feature.xml)
has 1 error
[ERROR]     Non-parseable POM
C:\Users\Lars\git\org.eclipse.swtbot\org.eclipse.swtbot.ide\.polyglot.feature.xml:
expected START_TAG or END_TAG not TEXT (position: TEXT seen ...</plugin>\r\n\t\t\t\t</plugins>d\r\n\t\t\t</... @825:6)  @ line 825, column 6 -> [Help 2] [ERROR]
[ERROR]   The project org.eclipse.swtbot:parent:3.1.0-SNAPSHOT
(C:\Users\Lars\git\org.eclipse.swtbot\pom.xml) has 1 error
[ERROR]     Malformed POM
C:\Users\Lars\git\org.eclipse.swtbot\pom.xml: expected START_TAG or END_TAG not TEXT (position: TEXT seen ...</plugin>\r\n\t\t\t\t</plugins>d\r\n\t\t\t</... @825:6)  @ C:\Users\Lars\git\org.eclipse.swtbot\pom.xml, line 825, column 6 -> [Help 2] [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]
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FMAVEN%2FProjectBuildingException&amp;data=04%7C01%7Cmichael.keppler%40etas.com%7C9779c1fec4474f68f5c008d9322817d0%7C0ae51e1907c84e4bbb6d648ee58410f4%7C0%7C0%7C637595970039527256%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=y5q5iAiMT%2BRIXnzt6r%2FTEKZTltMLXD9BpDL7H5e0FbA%3D&amp;reserved=0
[ERROR] [Help 2]
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FMAVEN%2FModelParseException&amp;data=04%7C01%7Cmichael.keppler%40etas.com%7C9779c1fec4474f68f5c008d9322817d0%7C0ae51e1907c84e4bbb6d648ee58410f4%7C0%7C0%7C637595970039527256%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=Wpjx0gy2m7UgJRL0W73pq%2BNO9S%2FcCFV7iMy0PT4SJBI%3D&amp;reserved=0

Btw. is there a way to access the generated pom files after a build?
Unfortunately after the build the generated file is gone.

Best regards, Lars
--
Eclipse Platform project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.vogella.com%2F&amp;data=04%7C01%7Cmichael.keppler%40etas.com%7C9779c1fec4474f68f5c008d9322817d0%7C0ae51e1907c84e4bbb6d648ee58410f4%7C0%7C0%7C637595970039527256%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=Q152A6EWeDv4QKoFGEaidcYonIyyZRJgEC1Q%2FgBPqoQ%3D&amp;reserved=0
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Ftycho-user&amp;data=04%7C01%7Cmichael.keppler%40etas.com%7C9779c1fec4474f68f5c008d9322817d0%7C0ae51e1907c84e4bbb6d648ee58410f4%7C0%7C0%7C637595970039527256%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=rQM%2BTQLyk1nZG8%2FSt%2BvsJh%2FylI3sSMEdJzI9F1Kt0DM%3D&amp;reserved=0

Back to the top