Skip to content

Commit

Permalink
IGNITE-23382 Remove obsolete maven profiles mention: all-scala, all-o…
Browse files Browse the repository at this point in the history
…ther (#11572)
  • Loading branch information
vladnovoren authored Oct 15, 2024
1 parent c4deea4 commit 4b5b251
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/commit-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ jobs:
- name: Run codestyle and licenses checks
run: |
./mvnw test-compile -Pall-java,licenses,lgpl,checkstyle,examples,all-scala,scala,check-licenses -B -V
./mvnw test-compile -Pall-java,licenses,lgpl,checkstyle,examples,scala,check-licenses -B -V
- name: Run abandoned tests checks.
run : |
./mvnw test -Pcheck-test-suites,all-java,all-scala,scala -B -V
./mvnw test -Pcheck-test-suites,all-java,scala -B -V
- name: Check javadocs.
run : |
Expand Down
10 changes: 5 additions & 5 deletions DEVNOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ Apache Ignite Maven Build Instructions
======================================
1) Compile and install:

./mvnw clean install -Pall-java,all-scala,licenses -DskipTests
./mvnw clean install -Pall-java,licenses -DskipTests

or if you have to build .NET part as well, use the following command:
(Note that 'doxygen', `docfx`, '.NET Core SDK 3.1', 'PowerShell' should be installed before running this command.)

./mvnw clean install -Pall-java,all-scala,licenses,platforms -DskipTests -DclientDocs
./mvnw clean install -Pall-java,licenses,platforms -DskipTests -DclientDocs

2) Javadoc generation (optional):

Expand All @@ -42,12 +42,12 @@ Apache Ignite with LGPL Maven Build Instructions
================================================
1) Compile and install:

./mvnw clean install -Pall-java,all-scala,licenses -DskipTests
./mvnw clean install -Pall-java,licenses -DskipTests

or if you have to build .NET part as well, use the following command:
(Note that 'doxygen', `docfx`, '.NET Core SDK 3.1', 'PowerShell' should be installed before running this command.)

./mvnw clean install -Pall-java,all-scala,licenses,platforms -DskipTests -DclientDocs
./mvnw clean install -Pall-java,licenses,platforms -DskipTests -DclientDocs

2) Javadoc generation with LGPL (optional):

Expand Down Expand Up @@ -165,7 +165,7 @@ Ignite Release Instructions

3.1) Deploy Ignite to maven repository, prepares sources and binaries.

./mvnw deploy -Papache-release,gpg,all-java,all-scala,licenses,deploy-ignite-site -Dignite.edition=apache-ignite -DskipTests
./mvnw deploy -Papache-release,gpg,all-java,licenses,deploy-ignite-site -Dignite.edition=apache-ignite -DskipTests

3.2) Javadoc generation:

Expand Down
2 changes: 1 addition & 1 deletion examples/DEVNOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Ignite Examples Build Instructions
==================================
1) Compile and install Ignite from project root folder:

./mvnw clean install -Pall-java,all-scala,licenses -DskipTests
./mvnw clean install -Pall-java,licenses -DskipTests

(If needed, refer DEVNOTES.txt in project root folder for most up-to-date build instructions.)

Expand Down
2 changes: 1 addition & 1 deletion modules/platforms/dotnet/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ param (
[switch]$clean,
[ValidateSet("Release", "Debug")]
[string]$configuration="Release",
[string]$mavenOpts="-U -P-lgpl,-scala,-all-scala,-spark-2.4,-examples,-test,-benchmarks -Dmaven.javadoc.skip=true",
[string]$mavenOpts="-U -P-lgpl,-scala,-spark-2.4,-examples,-test,-benchmarks -Dmaven.javadoc.skip=true",
[string]$jarDirs="modules\indexing\target,modules\core\target,modules\spring\target",
[string]$version="",
[string]$versionSuffix=""
Expand Down
2 changes: 1 addition & 1 deletion modules/yardstick/DEVNOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Building from Ignite sources

Run

./mvnw clean package -Pall-java,all-other -pl modules/yardstick -am -DskipTests
./mvnw clean package -Pall-java -pl modules/yardstick -am -DskipTests

in the Apache Ignite root directory.

Expand Down
6 changes: 0 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,6 @@
</modules>
</profile>

<profile>
<id>all-other</id> <!-- used to update project versions and check all modules compilation -->
<modules> <!-- sorted alphabetically -->
</modules>
</profile>

<profile>
<id>ducktests</id>
<modules>
Expand Down
4 changes: 2 additions & 2 deletions scripts/build-module.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
# Usage: ./scripts/build-module.sh ducktests
#

mvn clean -Pall-java,all-scala
mvn package -pl :ignite-$1 -Pall-java,all-scala -DskipTests -Dmaven.javadoc.skip=true -am
mvn clean -Pall-java
mvn package -pl :ignite-$1 -Pall-java -DskipTests -Dmaven.javadoc.skip=true -am
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
# Usage: ./scripts/build.sh
#

mvn clean package -Pall-java,all-scala -DskipTests -Dmaven.javadoc.skip=true
mvn clean package -Pall-java -DskipTests -Dmaven.javadoc.skip=true

0 comments on commit 4b5b251

Please sign in to comment.