-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from riseclipse/develop
Tell Tycho to keep parents in child poms
- Loading branch information
Showing
12 changed files
with
114 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 63 additions & 0 deletions
63
fr.centralesupelec.edf.riseclipse.developer.documentation/BuildingOnGitHub.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
---- | ||
Copyright (c) 2023 CentraleSupélec & EDF. | ||
|
||
All rights reserved. This program and the accompanying materials | ||
are made available under the terms of the Eclipse Public License v2.0 | ||
which accompanies this distribution, and is available at | ||
https://www.eclipse.org/legal/epl-v20.html | ||
|
||
This file is part of the RiseClipse tool | ||
|
||
**Contributors:** | ||
* Computer Science Department, CentraleSupélec | ||
* EDF R&D | ||
|
||
**Contacts:** | ||
* [email protected] | ||
* [email protected] | ||
|
||
**Web site:** | ||
* https://riseclipse.github.io/ | ||
---- | ||
|
||
## Scenario | ||
|
||
This scenario corresponds to the building and deployment of RiseClipse components and tools on GitHub. It starts from the state after `BuildingOnLocalMachine`. | ||
|
||
|
||
|
||
## Process | ||
|
||
- Edit `riseclipse-developer/fr.centralesupelec.edf.riseclipse.developer.maven/pom.xml`: | ||
- Update `project.properties.*`: | ||
- Update `.riseclipse-target-platform-version` with `project.version` **without** `-SNAPSHOT` | ||
|
||
- Edit `riseclipse-developer/fr.centralesupelec.edf.riseclipse.developer.p2_to_m2/pom.xml` | ||
- Update `project.version` and `project.parent.version` to be the same as `project.version` from `fr.centralesupelec.edf.riseclipse.developer.maven/pom.xml` (**without** `-SNAPSHOT`) | ||
- The rationale for this is: `p2_to_m2` will not be deployed on Maven Central, but it will be used when building the validators, and the version used for this will be obtained from the `riseclipse-developer/fr.centralesupelec.edf.riseclipse.developer.maven/pom.xml` deployed on Maven Central | ||
|
||
- Commit to `develop` | ||
|
||
- Push to GitHub | ||
|
||
- Merge `develop` to `master` | ||
|
||
- Run workflow `Release on OSSRH and Maven Central` | ||
|
||
- Log in at [https://s01.oss.sonatype.org/](https://s01.oss.sonatype.org/) with the `riseclipse` account | ||
|
||
- Select **Staging Repositories**, then the `iogithubriseclipse-XXXX` repository (using **Refresh** may help) | ||
|
||
- Verify that everything seems OK, then **Close** and **Release** | ||
|
||
- Merge PR **prepare for next development iteration after release** on GitHub, deleting the `do_release` branch | ||
|
||
- For the next builds to succeed, the new version of `riseclipse-developer` must be available on [Maven Central](https://central.sonatype.com/artifact/io.github.riseclipse/riseclipse-developer/versions) | ||
|
||
- Edit `riseclipse-main/pom.xml`: | ||
- Update `project.parent.version` to be the same as `project.version` from `fr.centralesupelec.edf.riseclipse.developer.maven/pom.xml` (**without** `-SNAPSHOT`) | ||
|
||
- Commit to `develop` and continue like above | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters