Skip to content

Manifest generation for m2e-maven-runtime fails on Windows #822

Answered by karypid
karypid asked this question in General
Discussion options

You must be logged in to vote

I am attaching two files: linux.txt and windows.txt:

linux.txt
windows.txt

Both are the output of running the command on my Linux and Windows computers:

mvn generate-sources -f m2e-maven-runtime -Pgenerate-osgi-metadata -Dtycho.mode=maven -X -e > [OS].txt

The command works in Linux and fails on Windows. In the attached file, I have downgraded to Java 11 (just in case) on Windows but I get the same error when I try with Java 17 as well. It just fails on Windows.

If you search for the string THIS IS WHERE WINDOWS DEVIATES FROM LINUX in both, you will find the spot where Linux finishes parsing the pom and logs the reactor as it starts generation, whereas windows deviates and fails...


Argh!…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@laeubi
Comment options

@karypid
Comment options

@karypid
Comment options

Answer selected by karypid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants