Skip to content

Commit

Permalink
Introduce maven.config to unify/simplify the build arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesWell committed Oct 12, 2022
1 parent 88452df commit d52b667
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .mvn/extensions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
<extension>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pomless</artifactId>
<version>3.0.0</version>
<version>${tycho-version}</version>
</extension>
</extensions>
2 changes: 2 additions & 0 deletions .mvn/maven.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--fail-at-end
-Dtycho-version=3.0.0
2 changes: 0 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<tycho-version>3.0.0</tycho-version>

<tycho.testArgLine>-Xmx800m</tycho.testArgLine>
<tycho.surefire.timeout>900</tycho.surefire.timeout>
<tycho.surefire.useUIHarness>true</tycho.surefire.useUIHarness>
Expand Down
2 changes: 1 addition & 1 deletion setup/tychoSnapshotSettings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
<!-- This Maven-settings file allows to test Tycho snapshots without the need to install them into the local Maven repository
and thus makes it possible to test snapshots of Tycho's extension in the CI.
To use it, add the following arguments to the Maven command: -s setup/tychoSnapshotSettings.xml -U -->
To use it, add the following line of arguments to the '.mvn/maven.config' file: -s setup/tychoSnapshotSettings.xml -U -->
<profiles>
<profile>
<id>tycho-snapshots</id>
Expand Down

0 comments on commit d52b667

Please sign in to comment.