Skip to content

Commit 8cbcd83

Browse files
committed
Merge branch 'master' of github.com:eclipse-rcptt/org.eclipse.rcptt into tycho5
2 parents 9a317f2 + 17d9637 commit 8cbcd83

3 files changed

Lines changed: 84 additions & 4 deletions

File tree

.github/workflows/verify.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: Maven and Java version
4646
run: mvn --version
4747
- name: Build
48-
run: ./build.sh -DforceContextQualifier=`date '+%Y%m%d%H%M'` -DbuildUrl=file://`pwd` --errors --batch-mode --no-transfer-progress
48+
run: ./build.sh -DforceContextQualifier=`date '+%Y%m%d%H%M'` --errors --batch-mode --no-transfer-progress
4949
- name: List all files
5050
if: always()
5151
run: find . > files.txt
@@ -111,7 +111,7 @@ jobs:
111111
- name: Maven and Java version
112112
run: mvn --version
113113
- name: Build
114-
run: ./build.sh -PlatestPlatform -PforceContextQualifier -DforceContextQualifier=`date '+%Y%m%d%H%M'` -DbuildUrl=file://`pwd` --errors --batch-mode --no-transfer-progress
114+
run: ./build.sh -PlatestPlatform -PforceContextQualifier -DforceContextQualifier=`date '+%Y%m%d%H%M'` --errors --batch-mode --no-transfer-progress
115115
- name: List all files
116116
if: always()
117117
run: find . > files.txt

AGENTS.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Instructions for AI Agents
2+
3+
## Eclipse Contributor Requirements
4+
5+
This project follows the [Eclipse Contributor Agreement](CONTRIBUTING.md) requirements.
6+
All contributors — including AI agents acting on behalf of a user — **must** comply with the
7+
[Eclipse Project Handbook](https://www.eclipse.org/projects/handbook/#resources-commit),
8+
which requires every commit to identify the contributor by their legal name.
9+
10+
## Also-by Requirement
11+
12+
When an AI agent creates or co-authors a commit on behalf of a user, the commit message **must**
13+
include an `Also-by:` line with the user's **legal name** (as shown on their GitHub profile, not
14+
their GitHub handle) and their **real email address** (not GitHub's `noreply` placeholder address).
15+
16+
Format:
17+
18+
```
19+
Also-by: Full Legal Name <real-email@example.com>
20+
```
21+
22+
### How to obtain the user's information
23+
24+
Find the user's **name** and **email** from their recent commits in the repository.
25+
Look for commits authored directly by the user (not by bots).
26+
27+
- If GitHub MCP tools are available, use `github-mcp-server-list_commits` /
28+
`github-mcp-server-get_commit` — the `commit.author.name` and `commit.author.email`
29+
fields contain the required values.
30+
- Otherwise, use `git log --format='%aN <%aE>'` locally to extract the same information.
31+
32+
If no prior commits exist, prompt the user to provide their legal name and email.
33+
34+
### Example commit message
35+
36+
```
37+
Fix null pointer exception in ECL editor
38+
39+
Also-by: Jane Doe <jane.doe@example.com>
40+
```

releng/pom.xml

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<ajJavaTarget>1.8</ajJavaTarget>
4040
<ajJavaCompilance>1.8</ajJavaCompilance>
4141
<cbi-version>1.5.4</cbi-version>
42-
<buildUrl>file:/${user.dir}</buildUrl>
42+
<buildUrl>file://${maven.multiModuleProjectDirectory}</buildUrl> <!-- overridden by unix-build-url / windows-build-url profiles -->
4343
</properties>
4444
<prerequisites>
4545
<maven>3.9.0</maven>
@@ -215,7 +215,7 @@
215215
<plugin>
216216
<groupId>org.codehaus.mojo</groupId>
217217
<artifactId>build-helper-maven-plugin</artifactId>
218-
<version>3.0.0</version>
218+
<version>3.6.0</version>
219219
</plugin>
220220
<plugin>
221221
<groupId>org.codehaus.mojo</groupId>
@@ -225,6 +225,26 @@
225225
</plugins>
226226
</pluginManagement>
227227
<plugins>
228+
<plugin>
229+
<groupId>org.codehaus.mojo</groupId>
230+
<artifactId>build-helper-maven-plugin</artifactId>
231+
<executions>
232+
<execution>
233+
<id>set-build-url</id>
234+
<phase>initialize</phase>
235+
<goals>
236+
<goal>regex-property</goal>
237+
</goals>
238+
<configuration>
239+
<name>buildUrl</name>
240+
<value>${buildUrl}</value>
241+
<regex>\\</regex>
242+
<replacement>/</replacement>
243+
<failIfNoMatch>false</failIfNoMatch>
244+
</configuration>
245+
</execution>
246+
</executions>
247+
</plugin>
228248
<plugin>
229249
<groupId>org.eclipse.dash</groupId>
230250
<artifactId>license-tool-plugin</artifactId>
@@ -290,6 +310,26 @@
290310
</plugins>
291311
</build>
292312
<profiles>
313+
<profile>
314+
<!-- On Unix/Linux/macOS the path starts with /, so file:// + /path = file:///path -->
315+
<id>unix-build-url</id>
316+
<activation>
317+
<os><family>unix</family></os>
318+
</activation>
319+
<properties>
320+
<buildUrl>file://${maven.multiModuleProjectDirectory}</buildUrl>
321+
</properties>
322+
</profile>
323+
<profile>
324+
<!-- On Windows the path starts with a drive letter, so file:/// + C:/path = file:///C:/path -->
325+
<id>windows-build-url</id>
326+
<activation>
327+
<os><family>windows</family></os>
328+
</activation>
329+
<properties>
330+
<buildUrl>file:///${maven.multiModuleProjectDirectory}</buildUrl>
331+
</properties>
332+
</profile>
293333
<profile>
294334
<id>update-version</id>
295335
<modules>

0 commit comments

Comments
 (0)