diffplug / diffplug/spotless

Using spotless-maven-plugin with Eclipse JDT behind custom P2 mirror

Offen
#2,456 2 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
5.7k
Forks
561
Ø Merge
1 T. 14 Std.
Gemergte PRs (30 T.)
43

Beschreibung

In our company we have the situation that we need to load the P2 artifacts required by Eclipse JDT from a custom JFrog Artifactory registry.
We have the following two issues:
1. The P2 mirror requires authentication. How can I set this via the plugin configuration?
2. We want to open source our Java project and therefore not include custom configuration in the `pom.xml`. When persons from outside the company pull our code from GitHub, they dont need the p2Mirror configuration. Is there a possibility to configure the P2 mirror via configuration files like `settings.xml` in Maven? Or maybe introduce environment variables the plugin checks to load from custom mirrors?

Thanks very much in advance!

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne mit der Überprüfung der Konfiguration von spotless-maven-plugin in pom.xml und der bestehenden p2Mirror-Behandlung. Vergleiche die angeforderten Authentifizierungs- und externen Konfigurationsoptionen mit Maven's settings.xml und den Mechanismen für Umgebungsvariablen. Die Arbeit ist abgeschlossen, wenn der unterstützte Konfigurationspfad dokumentiert ist und sowohl für authentifizierte benutzerdefinierte Mirrors als auch für Projekte ohne unternehmensspezifische Einstellungen funktioniert.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
build-system
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.