ploigos / ploigos-step-runner

Ploigos Step Runner (PSR) implemented as a Python library.
GNU General Public License v3.0
20 stars 66 forks source link

disable-maven-central-repository #88

Open jflowers opened 4 years ago

jflowers commented 4 years ago

https://github.com/rhtconsulting/tssc-python-package/blob/3d41440a44c161839bba23bcdaad950013bc5a25/tssc/utils/maven.py#L36

https://stackoverflow.com/questions/12789488/how-do-you-stop-maven-from-trying-to-access-http-repo-maven-apache-org

https://stackoverflow.com/questions/4997219/disable-maven-central-repository

stop this from happening:

[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.acme.rest.json.FruitResourceTest
Downloading from central: https://repo.maven.apache.org/maven2/io/cucumber/messages/maven-metadata.xml
Downloading from internal-mirror: https://nexus-devsecops.apps.spartawest.rht-set.com/repository/maven-public/io/quarkus/quarkus-resteasy-jsonb-deployment/1.4.2.Final/quarkus-resteasy-jsonb-deployment-1.4.2.Final.pom
dwinchell commented 4 years ago

Pipeline steps that use maven are slow Connected, unit tests take 30s and packaging takes 20s Disconnected it is 5min and 2.5min

The jars do exist in nexus