Skip to content

Commit

Permalink
Rename master > main
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Läubrich <[email protected]>
  • Loading branch information
laeubi committed Jan 29, 2025
1 parent c0014cc commit d9e4cca
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 21 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/licensecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ name: License vetting status check
on:
push:
branches:
- 'master'
- 'main'
- 'm2e-*'
pull_request:
branches:
- 'master'
- 'main'
- 'm2e-*'
issue_comment:
types: [created]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ name: Build M2Eclipse
on:
push:
branches:
- 'master'
- 'main'
pull_request:
branches:
- 'master'
- 'main'

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Java 17 and Maven 3.8.6 (only if you want to build from the command-line), or ne

### ⌨️ Setting up the Development Environment automatically, using the Eclipse Installer (Oomph)

[![Create Eclipse Development Environment for m2e](https://download.eclipse.org/oomph/www/setups/svg/m2e.svg)](https://www.eclipse.org/setups/installer/?url=https://raw.githubusercontent.com/eclipse-m2e/m2e-core/master/setup/m2eDevelopmentEnvironmentConfiguration.setup&show=true "Click to open Eclipse-Installer Auto Launch or drag into your running installer")
[![Create Eclipse Development Environment for m2e](https://download.eclipse.org/oomph/www/setups/svg/m2e.svg)](https://www.eclipse.org/setups/installer/?url=https://raw.githubusercontent.com/eclipse-m2e/m2e-core/main/setup/m2eDevelopmentEnvironmentConfiguration.setup&show=true "Click to open Eclipse-Installer Auto Launch or drag into your running installer")

Step by Step guide:

Expand Down
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pipeline {
options {
timeout(time: 45, unit: 'MINUTES')
buildDiscarder(logRotator(numToKeepStr:'5', artifactNumToKeepStr: 'master'.equals(env.BRANCH_NAME) ? '5' : '1' ))
buildDiscarder(logRotator(numToKeepStr:'5', artifactNumToKeepStr: 'main'.equals(env.BRANCH_NAME) ? '5' : '1' ))
disableConcurrentBuilds(abortPrevious: true)
timestamps()
}
Expand All @@ -27,7 +27,7 @@ pipeline {
xvnc(useXauthority: true) {
sh '''#!/bin/bash -x
mavenArgs="clean verify --batch-mode -Dmaven.test.failure.ignore=true -Dtycho.p2.baselineMode=failCommon"
if [[ ${BRANCH_NAME} == master ]] || [[ ${BRANCH_NAME} =~ m2e-[0-9]+\\.[0-9]+\\.x ]]; then
if [[ ${BRANCH_NAME} == main ]] || [[ ${BRANCH_NAME} =~ m2e-[0-9]+\\.[0-9]+\\.x ]]; then
mvn ${mavenArgs} -Peclipse-sign,its -Dtycho.pgp.signer.bc.secretKeys="${KEYRING}"
else
# Clear signing environment variables for PRs
Expand All @@ -50,7 +50,7 @@ pipeline {
}
stage('Deploy Snapshot') {
when {
branch 'master'
branch 'main'
}
steps {
sshagent(['projects-storage.eclipse.org-bot-ssh']) {
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
[![Build m2e-core](https://github.com/eclipse-m2e/m2e-core/actions/workflows/maven.yml/badge.svg)](https://github.com/eclipse-m2e/m2e-core/actions/workflows/maven.yml)

![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/eclipse-m2e/m2e-core?label=Version&sort=semver)
[![GitHub license](https://img.shields.io/github/license/eclipse-m2e/m2e-core?label=License)](https://github.com/eclipse-m2e/m2e-core/blob/master/LICENSE)
[![Jenkins](https://img.shields.io/jenkins/build?jobUrl=https%3A%2F%2Fci.eclipse.org%2Fm2e%2Fjob%2Fm2e%2Fjob%2Fmaster%2F&label=Build)](https://ci.eclipse.org/m2e/job/m2e/)
![Jenkins tests](https://img.shields.io/jenkins/tests?jobUrl=https%3A%2F%2Fci.eclipse.org%2Fm2e%2Fjob%2Fm2e%2Fjob%2Fmaster%2F&label=Tests)
[![GitHub license](https://img.shields.io/github/license/eclipse-m2e/m2e-core?label=License)](https://github.com/eclipse-m2e/m2e-core/blob/main/LICENSE)
[![Jenkins](https://img.shields.io/jenkins/build?jobUrl=https%3A%2F%2Fci.eclipse.org%2Fm2e%2Fjob%2Fm2e%2Fjob%2Fmain%2F&label=Build)](https://ci.eclipse.org/m2e/job/m2e/)
![Jenkins tests](https://img.shields.io/jenkins/tests?jobUrl=https%3A%2F%2Fci.eclipse.org%2Fm2e%2Fjob%2Fm2e%2Fjob%2Fmain%2F&label=Tests)

M2Eclipse provides tight integration for Apache Maven into the Eclipse IDE with the following features:
* Rich editor for pom.xml files leveraging
Expand Down Expand Up @@ -51,7 +51,7 @@ The variable `<version-under-development>` has to be replaced by the current ver
See [RELEASE_NOTES.md](RELEASE_NOTES.md)

## ⌨️ Contributing
[![Create Eclipse Development Environment for m2e](https://download.eclipse.org/oomph/www/setups/svg/m2e.svg)](https://www.eclipse.org/setups/installer/?url=https://raw.githubusercontent.com/eclipse-m2e/m2e-core/master/setup/m2eDevelopmentEnvironmentConfiguration.setup&show=true "Click to open Eclipse-Installer Auto Launch or drag into your running installer")
[![Create Eclipse Development Environment for m2e](https://download.eclipse.org/oomph/www/setups/svg/m2e.svg)](https://www.eclipse.org/setups/installer/?url=https://raw.githubusercontent.com/eclipse-m2e/m2e-core/main/setup/m2eDevelopmentEnvironmentConfiguration.setup&show=true "Click to open Eclipse-Installer Auto Launch or drag into your running installer")
&nbsp;&nbsp;&nbsp;or just&nbsp;&nbsp;&nbsp;
[![Clone to Eclipse IDE](https://mickaelistria.github.io/redirctToEclipseIDECloneCommand/cloneToEclipseBadge.png)](https://mickaelistria.github.io/redirctToEclipseIDECloneCommand/redirect.html)

Expand Down
4 changes: 2 additions & 2 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,9 @@ The connector for the `bnd-maven-plugin` and `maven-bundle-plugin`, which is inc
The M2E Maven-Console now also supports tracking of so called _polyglot_ Maven-projects. Those are projects that don't have a standard `pom.xml` and whose Maven-model is instead created from another source. One prominent example in the Eclipse world are Eclipse-PDE projects that are build with Tycho(-pomless).

Due to this new support, polyglot Maven projects now also benefit from the
[Improved links to JUnit test-reports and project file in the Console](https://github.com/eclipse-m2e/m2e-core/blob/master/RELEASE_NOTES.md#improved-links-to-junit-test-reports-and-project-pomxml-in-the-console-of-a-maven-build)
[Improved links to JUnit test-reports and project file in the Console](https://github.com/eclipse-m2e/m2e-core/blob/main/RELEASE_NOTES.md#improved-links-to-junit-test-reports-and-project-pomxml-in-the-console-of-a-maven-build)
as well as the capability to
[Automatically launch and attach Remote-Application-Debugger when Maven plug-in starts a forked JVM that waits for a debugger](https://github.com/eclipse-m2e/m2e-core/blob/master/RELEASE_NOTES.md#automatically-launch-and-attach-remote-application-debugger-when-maven-plug-in-starts-a-forked-jvm-that-waits-for-a-debugger) introduced in previous releases.
[Automatically launch and attach Remote-Application-Debugger when Maven plug-in starts a forked JVM that waits for a debugger](https://github.com/eclipse-m2e/m2e-core/blob/main/RELEASE_NOTES.md#automatically-launch-and-attach-remote-application-debugger-when-maven-plug-in-starts-a-forked-jvm-that-waits-for-a-debugger) introduced in previous releases.

## 2.0.2

Expand Down
1 change: 1 addition & 0 deletions m2e-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@
<ignore>META-INF/ECLIPSE_.SF</ignore>
<ignore>jars/*.jar</ignore>
<ignore>Eclipse-SourceReferences</ignore>
<ignore>*.MD</ignore>
</ignores>
<extensions>true</extensions>
</configuration>
Expand Down
2 changes: 1 addition & 1 deletion org.eclipse.m2e.editor.lemminx/HOWTO-DEV.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ In your development IDE, make sure the org.eclipse.m2e.editor.lemminx plugin is

Note that this process needs to be performed after any Maven build: running `mvn verify` will restore the maven-lemminx.jar to the version that's defined in the pom.xml, overriding your changes.

## How to build m2e master with the latest builds from lemminx-maven
## How to build m2e main with the latest builds from lemminx-maven

`mvn install` to install maven-lemminx then `mvn verify` on m2e-core does a nice part of the job for testing *from the IDE*.
Unfortunately, it's currently a bit more complex for the Tycho build because of Git-based qualifiers and baseline replacement replacing the newly built bundle (which contains local lemminx-maven jar) by the baseline one because they have the exact same version. To avoid this replacement and get the latest lemminx-maven cascading to a newer org.eclipse.m2e.editor.lemminx bundle and so on, you need to make an extra commit somewhere under the `org.eclipse.m2e.editor.lemminx` bundle. In Eclipse Platform, there is usually a file named `forceQualifierUpdate.txt` that's committed and updated whenever we want to enforce usage of local build vs baseline.
Expand Down
8 changes: 4 additions & 4 deletions setup/m2e.setup
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
source="http://www.eclipse.org/oomph/setup/BrandingInfo">
<detail
key="imageURI">
<value>https://raw.githubusercontent.com/eclipse-m2e/m2e-core/master/org.eclipse.m2e.core/m2eclipse.gif</value>
<value>https://raw.githubusercontent.com/eclipse-m2e/m2e-core/main/org.eclipse.m2e.core/m2eclipse.gif</value>
</detail>
<detail
key="siteURI">
Expand Down Expand Up @@ -120,7 +120,7 @@
<setupTask
xsi:type="setup:EclipseIniTask"
option="-Doomph.redirection.m2e.core"
value="=https://raw.githubusercontent.com/eclipse-m2e/m2e-core/master/setup/m2e.setup->${git.clone.m2e.core.location|uri}/setup/m2e.setup"
value="=https://raw.githubusercontent.com/eclipse-m2e/m2e-core/main/setup/m2e.setup->${git.clone.m2e.core.location|uri}/setup/m2e.setup"
vm="true">
<description>Set an Oomph redirection system property to redirect the logical location of this setup to its physical location in the Git clone.</description>
</setupTask>
Expand Down Expand Up @@ -189,8 +189,8 @@
xsi:type="projects:ProjectsBuildTask"
refresh="true"
clean="true"/>
<stream name="master"
label="master"/>
<stream name="main"
label="main"/>
<logicalProjectContainer
xsi:type="setup:ProjectCatalog"
href="index:/org.eclipse.setup#//@projectCatalogs[name='org.eclipse']"/>
Expand Down
4 changes: 2 additions & 2 deletions setup/m2eDevelopmentEnvironmentConfiguration.setup
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
source="http://www.eclipse.org/oomph/setup/BrandingInfo">
<detail
key="imageURI">
<value>https://raw.githubusercontent.com/eclipse-m2e/m2e-core/master/org.eclipse.m2e.core/m2eclipse.gif</value>
<value>https://raw.githubusercontent.com/eclipse-m2e/m2e-core/main/org.eclipse.m2e.core/m2eclipse.gif</value>
</detail>
<detail
key="siteURI">
Expand All @@ -26,7 +26,7 @@
name="m2e.development.environment.workspace"
label="m2e Development Environment Workspace">
<stream
href="index:/org.eclipse.setup#//@projectCatalogs[name='org.eclipse']/@projects[name='m2e']/@streams[name='master']"/>
href="index:/org.eclipse.setup#//@projectCatalogs[name='org.eclipse']/@projects[name='m2e']/@streams[name='main']"/>
<description>The m2e development environment workspace includes m2e-core and m2e-core-tests</description>
</workspace>
<description>
Expand Down

0 comments on commit d9e4cca

Please sign in to comment.