Accès maven via nexus (proxy maven d'entreprise)


(Sekaijin) #1

Je tente en vain de configurer maven pour accéder au repo waarp afin de pouvoir développer mon outil de connexion à waarp.

Lorsque je mets l'url
https://raw.github.com/waarp/WaarpMaven2/master/maven2

j'ai l'erreur suivante
2017-06-22 11:26:34 WARN [pxpool-1-thread-5] org.sonatype.scheduling.DefaultScheduledTask - Exception in call method of scheduled task Creating initial index, repositoryId=WaarpMaven2
java.io.IOException: Provided input contains unexpected data (0x01 expected as 1st byte)!
at org.apache.maven.index.updater.IndexDataReader.readHeader(IndexDataReader.java:114) ~[na:na]
at org.apache.maven.index.updater.IndexDataReader.readIndex(IndexDataReader.java:76) ~[na:na]
at org.apache.maven.index.updater.DefaultIndexUpdater.unpackIndexData(DefaultIndexUpdater.java:515) ~[na:na]
at org.apache.maven.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:203) ~[na:na]
at org.apache.maven.index.updater.DefaultIndexUpdater.access$300(DefaultIndexUpdater.java:76) ~[na:na]
at org.apache.maven.index.updater.DefaultIndexUpdater$LuceneIndexAdaptor.setIndexFile(DefaultIndexUpdater.java:648) ~[na:na]
at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:877) ~[na:na]
at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:159) ~[na:na]
at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:1390) ~[na:na]
at org.sonatype.nexus.index.DefaultIndexerManager.access$900(DefaultIndexerManager.java:187) ~[na:na]
at org.sonatype.nexus.index.DefaultIndexerManager$IndexUpdateRunnable.run(DefaultIndexerManager.java:1130) ~[na:na]
at org.sonatype.nexus.index.DefaultIndexerManager.temporary(DefaultIndexerManager.java:2597) ~[na:na]
at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:1091) ~[na:na]
at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:1024) ~[na:na]
at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:1000) ~[na:na]
at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepository(ReindexTaskHandlerLegacy.java:54) ~[na:na]
at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:69) ~[na:na]
at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:179) ~[nexus-core-2.5.0-04.jar:2.5.0-04]
at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:463) ~[sisu-task-scheduler-1.8.1.jar:1.8.1]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_45]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_45]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) [na:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [na:1.7.0_45]
2017-06-22 11:26:34 INFO [pxpool-1-thread-5] org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Applying Nexus Configuration due to changes in [Scheduled Task Configuration]...
2017-06-22 11:27:12 INFO [RepositoryStatusChecker-WaarpMaven2] ****** org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry-WaarpMaven2 - Next attempt to auto-unblock the "WaarpMaven2" (id=WaarpMaven2) repository by checking its remote peer health will occur in 1 minute 20 seconds.
2017-06-22 11:28:32 INFO [RepositoryStatusChecker-WaarpMaven2] ****** org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry-WaarpMaven2 - Next attempt to auto-unblock the "WaarpMaven2" (id=WaarpMaven2) repository by checking its remote peer health will occur in 2 minutes.
2017-06-22 11:30:32 INFO [RepositoryStatusChecker-WaarpMaven2] ****** org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry-WaarpMaven2 - Next attempt to auto-unblock the "WaarpMaven2" (id=WaarpMaven2) repository by checking its remote peer health will occur in 3 minutes 20 seconds.
2017-06-22 11:32:55 WARN [ar-4-thread-2] org.sonatype.nexus.proxy.maven.routing.internal.RemoteContentDiscovererImpl - Remote strategy prefix-file error: RemoteAccessDeniedException / Forbidden
2017-06-22 11:33:52 INFO [RepositoryStatusChecker-WaarpMaven2] ****** org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry-WaarpMaven2 - Next attempt to auto-unblock the "WaarpMaven2" (id=WaarpMaven2) repository by checking its remote peer health will occur in 5 minutes 20 seconds.

A+JYT