From: Christian Femers Date: Wed, 23 Oct 2019 20:56:38 +0000 (+0200) Subject: Switched to Maven Tycho 1.5.0 X-Git-Url: https://mograsim.net/gitweb/?p=Mograsim.git;a=commitdiff_plain;h=17f8191344304db64bdc046bbdd4c4d8ba783ed5 Switched to Maven Tycho 1.5.0 --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 01080680..91f3a847 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,12 +35,6 @@ stages: - test - package_repo -default: - before_script: - - cd TempMavenTychoSnapshotWorkaround - - mvn $MAVEN_CLI_OPTS clean # This is only temporary to resolve TYCHO 1.5.0-SNAPSHOT for the main build - - cd .. - validate: stage: validate script: diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml index e06fb0e5..86e09820 100644 --- a/.mvn/extensions.xml +++ b/.mvn/extensions.xml @@ -4,6 +4,6 @@ org.eclipse.tycho.extras tycho-pomless - 1.5.0-SNAPSHOT + 1.5.0 \ No newline at end of file diff --git a/TempMavenTychoSnapshotWorkaround/.project b/TempMavenTychoSnapshotWorkaround/.project deleted file mode 100644 index 23af4a3c..00000000 --- a/TempMavenTychoSnapshotWorkaround/.project +++ /dev/null @@ -1,17 +0,0 @@ - - - net.mograsim.tycho-download - - - - - - org.eclipse.m2e.core.maven2Builder - - - - - - org.eclipse.m2e.core.maven2Nature - - diff --git a/TempMavenTychoSnapshotWorkaround/pom.xml b/TempMavenTychoSnapshotWorkaround/pom.xml deleted file mode 100644 index 8c6713f0..00000000 --- a/TempMavenTychoSnapshotWorkaround/pom.xml +++ /dev/null @@ -1,37 +0,0 @@ - - 4.0.0 - net.mograsim - net.mograsim.tycho-download - 1.0.0 - pom - - - - - - - tycho-snapshots - https://repo.eclipse.org/content/repositories/tycho-snapshots/ - - true - - - true - always - - - - - - - - org.eclipse.tycho.extras - tycho-pomless - 1.5.0-SNAPSHOT - - - - \ No newline at end of file diff --git a/docs/building_mograsim.md b/docs/building_mograsim.md index 420087bb..8ec990e9 100644 --- a/docs/building_mograsim.md +++ b/docs/building_mograsim.md @@ -61,18 +61,14 @@ Can be done via Git or via EGit (Eclipse Git). Note: After importing the projects, probably an automatic workspace build will start. Wait for it to finish before continuing. -## Do the Maven Tycho workaround: - -In the project explorer or package explorer, right-click on "net.mograsim.tycho-download", -click on "Run As" -> "Maven clean" and wait for it to finish. - ## Build the Update Site 1. In the project explorer or package explorer, right-click on "net.mograsim", click on "Run As" -> "Maven build...". -2. Next to "Goals", enter "clean verify"; click on "Run" and wait for it to finish +2. Make sure to run Maven with JDK 11 +3. Next to "Goals", enter "clean verify"; click on "Run" and wait for it to finish (this will take a while). -3. Select all projects, right-click, and click on "Refresh". +4. Select all projects, right-click, and click on "Refresh". The update site now should be built and is located in net.mograsim.plugin.updatesite/target/repository. In there you should see, among other files, a folder named "features", a folder named diff --git a/docs/development_environment.md b/docs/development_environment.md index 5e96b92d..50d8b4fe 100644 --- a/docs/development_environment.md +++ b/docs/development_environment.md @@ -149,14 +149,15 @@ A short guide to the [Maven goals (Maven Lifecycle)](https://maven.apache.org/gu - I recommend running `clean verify` or `verify`, this will do everything up to and including the testing. -Please note that Tycho 1.5.0 is not released yet, and thus requires a workaround. -More information can be found under [Maven Core Extension Problems](#mceps). - ## Challenges Not everything is as simple as it seems at first glance. -### Maven Core Extension Problems +### Maven Core Extension Problems + +Context: Tycho 1.5.0 was not released, and thus required a workaround. +This Problem may appear again, maybe with a different core extension, so this section +explains the problem, how to diagnose it and a fairly good workaround. The Tycho extra `tycho-pomless` is a Maven core extension allows for simpler structure and less redundancy. Maven core extensions must be available at [the central maven repository](http://repo.maven.apache.org/maven2/) diff --git a/releng/net.mograsim.configuration/pom.xml b/releng/net.mograsim.configuration/pom.xml index 7a58f171..49ee631e 100644 --- a/releng/net.mograsim.configuration/pom.xml +++ b/releng/net.mograsim.configuration/pom.xml @@ -13,24 +13,10 @@ -SNAPSHOT 11 - 1.5.0-SNAPSHOT + 1.5.0 UTF-8 - - - - tycho-snapshots - https://repo.eclipse.org/content/repositories/tycho-snapshots/ - - true - - - true - - - -