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

Hi,

thanks, Michael. I opened an issue for Tycho, as this sounds like a
bug to me: https://github.com/eclipse/tycho/issues/156

Thanks Ed for the suggestion.

Best regards, Lars

On Fri, Jun 18, 2021 at 10:23 AM Keppler Michael (ETAS/ESW-CI) via
tycho-user <tycho-user@xxxxxxxxxxx> wrote:
>
> 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
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user



-- 
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: http://www.vogella.com


Back to the top