Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: VNC
run: vncserver $DISPLAY -localhost=1 -noxstartup -PasswordFile /root/.vnc/passwd
- name: Build
run: ./build.sh -DforceContextQualifier=`date '+%Y%m%d%H%M'` -DbuildUrl=file://`pwd` --errors --batch-mode --no-transfer-progress
run: ./build.sh -DforceContextQualifier=`date '+%Y%m%d%H%M'` --errors --batch-mode --no-transfer-progress
- name: List all files
if: always()
run: find . > files.txt
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
- name: VNC
run: vncserver $DISPLAY -localhost=1 -noxstartup -PasswordFile /root/.vnc/passwd
- name: Build
run: ./build.sh -PlatestPlatform -PforceContextQualifier -DforceContextQualifier=`date '+%Y%m%d%H%M'` -DbuildUrl=file://`pwd` --errors --batch-mode --no-transfer-progress
run: ./build.sh -PlatestPlatform -PforceContextQualifier -DforceContextQualifier=`date '+%Y%m%d%H%M'` --errors --batch-mode --no-transfer-progress
- name: List all files
if: always()
run: find . > files.txt
Expand Down
44 changes: 42 additions & 2 deletions releng/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<ajJavaTarget>1.8</ajJavaTarget>
<ajJavaCompilance>1.8</ajJavaCompilance>
<cbi-version>1.5.4</cbi-version>
<buildUrl>file:/${user.dir}</buildUrl>
<buildUrl>file://${maven.multiModuleProjectDirectory}</buildUrl> <!-- overridden by unix-build-url / windows-build-url profiles -->
</properties>
<prerequisites>
<maven>3.9.0</maven>
Expand Down Expand Up @@ -210,7 +210,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
<version>3.6.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand All @@ -220,6 +220,26 @@
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>set-build-url</id>
<phase>initialize</phase>
<goals>
<goal>regex-property</goal>
</goals>
<configuration>
<name>buildUrl</name>
<value>${buildUrl}</value>
<regex>\\</regex>
<replacement>/</replacement>
<failIfNoMatch>false</failIfNoMatch>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.dash</groupId>
<artifactId>license-tool-plugin</artifactId>
Expand Down Expand Up @@ -285,6 +305,26 @@
</plugins>
</build>
<profiles>
<profile>
<!-- On Unix/Linux/macOS the path starts with /, so file:// + /path = file:///path -->
<id>unix-build-url</id>
<activation>
<os><family>unix</family></os>
</activation>
<properties>
<buildUrl>file://${maven.multiModuleProjectDirectory}</buildUrl>
</properties>
</profile>
<profile>
<!-- On Windows the path starts with a drive letter, so file:/// + C:/path = file:///C:/path -->
<id>windows-build-url</id>
<activation>
<os><family>windows</family></os>
</activation>
<properties>
<buildUrl>file:///${maven.multiModuleProjectDirectory}</buildUrl>
</properties>
</profile>
<profile>
<id>update-version</id>
<modules>
Expand Down