Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] tycho demo "itp01" with maven build not working

Hello,

I upgraded to Maven 3.6.3 and it worked like a charm! Thank you very much. I spent so many hours trying to figure out why simple examples wouldn't work on my machine, when it could have been be so simple.

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for parent 1.0.0-SNAPSHOT:
[INFO]
[INFO] parent ............................................. SUCCESS [  0.140 s]
[INFO] tycho.demo.itp01 ................................... SUCCESS [  7.956 s]
[INFO] tycho.demo.itp01.tests ............................. SUCCESS [  4.865 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:17 min
[INFO] Finished at: 2020-03-04T20:24:21+01:00
[INFO] ------------------------------------------------------------------------


Cheers,
Denis

Am Mi., 4. März 2020 um 19:46 Uhr schrieb Jonah Graham <jonah@xxxxxxxxxxxxxxxx>:
Hi,

Maven 3.6.1 and 3.6.2 do not work with tycho. Can't remember nature of regressions, but this is likely cause. Either downgrade to 3.6.0 or upgrade to 3.6.3.

HTH, 
Jonah 

On Wed., Mar. 4, 2020, 13:35 Denis Knöpfle, <denisknoepfle@xxxxxxxxxxxxxx> wrote:
Hello,

I am trying to build any working example with tycho-maven-plugin for a while now, so I found this repository:
and I was trying to run the first demo "itp01" but I always get the same error message as in other demos trying to resolve from a p2-layouted Repository that request bundle dependencies as in that example:

usr@win10pc MINGW64 /c/dev/org.eclipse.tycho-demo/itp01 (master)
$ mvn clean install
[INFO] Scanning for projects...
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[INFO] Computing target platform for MavenProject: tycho.demo.itp01:tycho.demo.itp01:1.0.0-SNAPSHOT @ C:\dev\org.eclipse.tycho-demo\itp01\tycho.demo.itp01\pom.xml
[INFO] Resolving dependencies of MavenProject: tycho.demo.itp01:tycho.demo.itp01:1.0.0-SNAPSHOT @ C:\dev\org.eclipse.tycho-demo\itp01\tycho.demo.itp01\pom.xml
[INFO] {osgi.os=win32, osgi.ws=win32, org.eclipse.update.install.features=true, osgi.arch=x86_64}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: tycho.demo.itp01 1.0.0.qualifier
[ERROR]   Missing requirement: tycho.demo.itp01 1.0.0.qualifier requires 'osgi.bundle; org.eclipse.core.runtime 0.0.0' but it could not be found
[ERROR]
[ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
[ERROR] Cannot resolve dependencies of MavenProject: tycho.demo.itp01:tycho.demo.itp01:1.0.0-SNAPSHOT @ C:\dev\org.eclipse.tycho-demo\itp01\tycho.demo.itp01\pom.xml: See log for details -> [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/MavenExecutionException


My question: is this example running for you, or am I doing anything wrong? Any help on getting this work would be appreciated!
Locally I have installed maven 3.6.1:

$ mvn --version
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T21:00:29+02:00)
Maven home: C:\Program Files\apache-maven-3.6.1
Java version: 1.8.0_212, vendor: AdoptOpenJDK, runtime: C:\Program Files\Java\jdk8u212-b03\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"


Best regards,
Denis
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/tycho-user

Back to the top