Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] Setup environment in relation to https://github.com/eclipse-m2e/m2e-core/issues/635

So, I repeated the same in Linux and it works:

$ mvn --version
Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0)
Maven home: /home/user/.sdkman/candidates/maven/current
Java version: 17.0.2, vendor: Eclipse Adoptium, runtime: /home/user/.sdkman/candidates/java/17.0.2-tem
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "5.18.5-arch1-1", arch: "amd64", family: "unix"

The problem is therefore specific to Windows.

I will move this to github discussions for resolution: https://github.com/eclipse-m2e/m2e-core/discussions/822 



On Saturday, 25 June 2022, 08:20:54 BST, Alexandros Karypidis <akarypid@xxxxxxxx> wrote:


> git clone git@xxxxxxxxxx:eclipse-m2e/m2e-core.git
Cloning into 'm2e-core'...
Enter passphrase for key '/c/Users/user/.ssh/id_github':
remote: Enumerating objects: 48388, done.
remote: Counting objects: 100% (454/454), done.
remote: Compressing objects: 100% (179/179), done.
remote: Total 48388 (delta 156), reused 388 (delta 132), pack-reused 47934
Receiving objects: 100% (48388/48388), 19.93 MiB | 7.58 MiB/s, done.
Resolving deltas: 100% (27334/27334), done.
 

Then I run the command to manually generate the missing file:

> cd .\m2e-core\
> mvn generate-sources -f m2e-maven-runtime -Pgenerate-osgi-metadata -Dtycho.mode=maven
[WARNING] org.eclipse.tycho.extras:tycho-pomless build extension will be replaced in a future version of Tycho by the new org.eclipse.tycho:tycho-build extension.
[WARNING] You can simply change your .mvn/extensions.xml to reference the new extension right now:
[WARNING] <extension>
[WARNING]    <groupId>org.eclipse.tycho</groupId>
[WARNING]    <artifactId>tycho-build</artifactId>
[WARNING]    <version>2.7.2</version>
[WARNING] </extension>
[INFO] Scanning for projects...
[ERROR] Internal error: org.eclipse.tycho.core.osgitools.OsgiManifestParserException: Exception parsing OSGi MANIFEST C:\Users\user\devroot\wc.git\github.com\eclipse\m2e-core\m2e-maven-runtime\org.eclipse.m2e.archetype.common\META-INF\MANIFEST.MF: Manifest file not found -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: org.eclipse.tycho.core.osgitools.OsgiManifestParserException: Exception parsing OSGi MANIFEST C:\Users\user\devroot\wc.git\github.com\eclipse\m2e-core\m2e-maven-runtime\org.eclipse.m2e.archetype.common\META-INF\MANIFEST.MF: Manifest file not found

At this point I have not used the Eclipse PDE, just command-line git/maven/java:

> git --version
git version 2.36.1.windows.1

> mvn --version
Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)
Maven home: C:\Users\user\scoop\apps\maven\current
Java version: 17.0.3, vendor: Eclipse Adoptium, runtime: C:\Users\user\scoop\apps\temurin-lts-jdk\current
Default locale: en_GB, platform encoding: Cp1252
OS name: "windows 11", version: "10.0", arch: "amd64", family: "windows"

Did you ever get to the bottom of this? How can I generate the missing file(s)?



On Tuesday, 19 April 2022, 15:26:04 BST, Mickael Istria <mistria@xxxxxxxxxx> wrote:


That file is supposed to be generated by the command-line you run.

_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/m2e-dev

Back to the top