-
Notifications
You must be signed in to change notification settings - Fork 125
Maven global settings and toolchains UI cleanup #1687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
G-Ork
wants to merge
8
commits into
eclipse-m2e:master
from
G-Ork:Maven_global_settings_and_toolchains_UI_cleanup
Closed
Changes from 5 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
4b28e4c
first wave
G-Ork c2c1284
fix
G-Ork 5ce3d72
Add missing settings arguments to maven launcher & UI redesign
G-Ork f6fb6a2
Merge branch 'Maven_global_settings_and_toolchains_UI_cleanup' of git…
G-Ork 5249bdb
Merge remote-tracking branch 'origin/master' into
G-Ork 6f443d2
Rename IConsumer & add missing global toolchains on context
G-Ork 2ef6b03
Use constants for Maven CLI arguments.
G-Ork 8e37c42
Bump Bundle-Version
G-Ork File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
org.eclipse.m2e.core.tests/resources/settings/empty_settings/settings_empty.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <settings/> |
2 changes: 2 additions & 0 deletions
2
org.eclipse.m2e.core.tests/resources/settings/empty_settings/settings_other.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <settings/> |
2 changes: 2 additions & 0 deletions
2
org.eclipse.m2e.core.tests/resources/settings/empty_settings/toolchains_empty.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <toolchains/> |
2 changes: 2 additions & 0 deletions
2
org.eclipse.m2e.core.tests/resources/settings/empty_settings/toolchains_other.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <toolchains/> |
44 changes: 44 additions & 0 deletions
44
org.eclipse.m2e.core.tests/src/org/eclipse/m2e/core/IBiConsumer.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| /******************************************************************************* | ||
| * Copyright (c) 2024 Georg Tsakumagos and others | ||
| * All rights reserved. This program and the accompanying materials | ||
| * are made available under the terms of the Eclipse Public License 2.0 | ||
| * which accompanies this distribution, and is available at | ||
| * https://www.eclipse.org/legal/epl-2.0/ | ||
| * | ||
| * SPDX-License-Identifier: EPL-2.0 | ||
| * | ||
| * Contributors: | ||
| * Georg Tsakumagos - initial declaration | ||
| *******************************************************************************/ | ||
| package org.eclipse.m2e.core; | ||
|
|
||
| import java.util.function.Consumer; | ||
|
|
||
| import org.eclipse.core.runtime.CoreException; | ||
|
|
||
| /** | ||
| * Represents an operation that accepts two input arguments, returns no | ||
| * result and throws a {@link CoreException}. | ||
| * This is the two-arity specialization of {@link Consumer}. | ||
| * Unlike most other functional interfaces, {@code BiConsumer} is expected | ||
| * to operate via side-effects. | ||
| * | ||
| * | ||
| * @param <T> the type of the first argument to the operation | ||
| * @param <U> the type of the second argument to the operation | ||
| * | ||
| * @see Consumer | ||
| * @author Georg Tsakumagos | ||
| */ | ||
| @FunctionalInterface | ||
| public interface IBiConsumer<T, U> { | ||
|
|
||
| /** | ||
| * Performs this operation on the given arguments. | ||
| * | ||
| * @param t the first input argument | ||
| * @param u the second input argument | ||
| * @throws CoreException If something went wrong. | ||
| */ | ||
| void accept(T t, U u) throws CoreException; | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay sounds better. Same applies to the supplier.