소스 검색

Move handling of TooManyRequests errors to make sure packages aren't lost

wip/gradle-reposilite
Sindre Stephansen 2 년 전
부모
커밋
f3be5dda29
9개의 변경된 파일2136개의 추가작업 그리고 13개의 파일을 삭제
  1. +7
    -0
      pom.xml
  2. +14
    -0
      poms/net.java.dev.jna-jna-5.8.0/pom.xml
  3. +1440
    -0
      poms/org.apache.sshd-sshd-2.9.2/pom.xml
  4. +14
    -0
      poms/org.apache.sshd-sshd-common-2.9.2/pom.xml
  5. +14
    -0
      poms/org.apache.sshd-sshd-core-2.9.2/pom.xml
  6. +14
    -0
      poms/org.apache.sshd-sshd-scp-2.9.2/pom.xml
  7. +382
    -0
      poms/org.glassfish.corba-glassfish-corba-4.2.4/pom.xml
  8. +220
    -0
      poms/org.testcontainers-testcontainers-bom-1.16.2/pom.xml
  9. +31
    -13
      update-poms.py

+ 7
- 0
pom.xml 파일 보기

@@ -25,10 +25,15 @@
<module>poms/io.ktor-ktor-bom-2.2.2/pom.xml</module>
<module>poms/io.mockk-mockk-1.13.3/pom.xml</module>
<module>poms/io.mockk-mockk-jvm-1.13.3/pom.xml</module>
<module>poms/net.java.dev.jna-jna-5.8.0/pom.xml</module>
<module>poms/org.apache-apache-23/pom.xml</module>
<module>poms/org.apache-apache-26/pom.xml</module>
<module>poms/org.apache-apache-27/pom.xml</module>
<module>poms/org.apache.maven-maven-parent-34/pom.xml</module>
<module>poms/org.apache.sshd-sshd-2.9.2/pom.xml</module>
<module>poms/org.apache.sshd-sshd-common-2.9.2/pom.xml</module>
<module>poms/org.apache.sshd-sshd-core-2.9.2/pom.xml</module>
<module>poms/org.apache.sshd-sshd-scp-2.9.2/pom.xml</module>
<module>poms/org.asciidoctor-asciidoctorj-2.5.7/pom.xml</module>
<module>poms/org.asciidoctor-asciidoctorj-api-2.5.7/pom.xml</module>
<module>poms/org.asciidoctor-asciidoctorj-diagram-2.2.3/pom.xml</module>
@@ -38,6 +43,7 @@
<module>poms/org.asciidoctor-asciidoctorj-test-support-2.5.7/pom.xml</module>
<module>poms/org.asciidoctor-asciidoctor-maven-plugin-2.2.2/pom.xml</module>
<module>poms/org.eclipse.ee4j-project-1.0.6/pom.xml</module>
<module>poms/org.glassfish.corba-glassfish-corba-4.2.4/pom.xml</module>
<module>poms/org.glassfish.corba-glassfish-corba-asm-3.1.2-b002/pom.xml</module>
<module>poms/org.hibernate.reactive-hibernate-reactive-core-1.1.9.Final/pom.xml</module>
<module>poms/org.jboss-jboss-parent-39/pom.xml</module>
@@ -64,5 +70,6 @@
<module>poms/org.slf4j-slf4j-parent-2.0.6/pom.xml</module>
<module>poms/org.snmp4j-snmp4j-3.7.4/pom.xml</module>
<module>poms/org.sonatype.oss-oss-parent-7/pom.xml</module>
<module>poms/org.testcontainers-testcontainers-bom-1.16.2/pom.xml</module>
</modules>
</project>

+ 14
- 0
poms/net.java.dev.jna-jna-5.8.0/pom.xml 파일 보기

@@ -0,0 +1,14 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>tmp.net.java.dev.jna</groupId>
<artifactId>placeholder-jna</artifactId>
<version>5.8.0</version>
<name>Package jna</name>
<dependencies>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>5.8.0</version>
</dependency>
</dependencies>
</project>

+ 1440
- 0
poms/org.apache.sshd-sshd-2.9.2/pom.xml
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


+ 14
- 0
poms/org.apache.sshd-sshd-common-2.9.2/pom.xml 파일 보기

@@ -0,0 +1,14 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>tmp.org.apache.sshd</groupId>
<artifactId>placeholder-sshd-common</artifactId>
<version>2.9.2</version>
<name>Package sshd-common</name>
<dependencies>
<dependency>
<groupId>org.apache.sshd</groupId>
<artifactId>sshd-common</artifactId>
<version>2.9.2</version>
</dependency>
</dependencies>
</project>

+ 14
- 0
poms/org.apache.sshd-sshd-core-2.9.2/pom.xml 파일 보기

@@ -0,0 +1,14 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>tmp.org.apache.sshd</groupId>
<artifactId>placeholder-sshd-core</artifactId>
<version>2.9.2</version>
<name>Package sshd-core</name>
<dependencies>
<dependency>
<groupId>org.apache.sshd</groupId>
<artifactId>sshd-core</artifactId>
<version>2.9.2</version>
</dependency>
</dependencies>
</project>

+ 14
- 0
poms/org.apache.sshd-sshd-scp-2.9.2/pom.xml 파일 보기

@@ -0,0 +1,14 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>tmp.org.apache.sshd</groupId>
<artifactId>placeholder-sshd-scp</artifactId>
<version>2.9.2</version>
<name>Package sshd-scp</name>
<dependencies>
<dependency>
<groupId>org.apache.sshd</groupId>
<artifactId>sshd-scp</artifactId>
<version>2.9.2</version>
</dependency>
</dependencies>
</project>

+ 382
- 0
poms/org.glassfish.corba-glassfish-corba-4.2.4/pom.xml 파일 보기

@@ -0,0 +1,382 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.ee4j</groupId>
<artifactId>project</artifactId>
<version>1.0.6</version>
<relativePath />
</parent>
<groupId>tmp.org.glassfish.corba</groupId>
<artifactId>placeholder.glassfish-corba</artifactId>
<version>4.2.4</version>
<name>ORB Implementation</name>
<packaging>pom</packaging>
<description>A CORBA ORB for Glassfish</description>
<url>https://projects.eclipse.org/proposals/eclipse-orb</url>
<issueManagement>
<system>github</system>
<url>https://github.com/eclipse-ee4j/orb/issues</url>
</issueManagement>
<licenses>
<license>
<name>EDL 1.0</name>
<url>https://www.eclipse.org/org/documents/edl-v10.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<mailingLists>
<mailingList>
<name>ORB mailing list</name>
<post>orb-dev@eclipse.org</post>
<subscribe>https://dev.eclipse.org/mailman/listinfo/orb-dev</subscribe>
<unsubscribe>https://dev.eclipse.org/mailman/listinfo/orb-dev</unsubscribe>
<archive>https://dev.eclipse.org/mhonarc/lists/orb-dev</archive>
</mailingList>
</mailingLists>
<scm>
<connection>scm:git:https://github.com/eclipse-ee4j/orb.git</connection>
<developerConnection>scm:git:ssh://git@github.com/eclipse-ee4j/orb.git</developerConnection>
<url>https://github.com/eclipse-ee4j/orb</url>
<tag>HEAD</tag>
</scm>
<distributionManagement>
<site>
<id>github</id>
<url>scm:git:https://github.com/eclipse-ee4j/orb.git</url>
</site>
</distributionManagement>
<developers>
<developer>
<name>Russell Gold</name>
<email>russell.gold@oracle.com</email>
<id>russgold</id>
</developer>
<developer>
<name>Harshad Vilekar</name>
</developer>
</developers>
<modules>
<module>idlj</module>
<module>rmic</module>
<module>omgapi</module>
<module>csiv2-idl</module>
<module>exception-annotation-processor</module>
<module>orbmain</module>
<module>internal-api</module>
</modules>
<properties>
<copyright.exclude>make/copyright-information/copyright-exclude.txt</copyright.exclude>
<copyright.ignoreyear>false</copyright.ignoreyear>
<copyright.scmonly>true</copyright.scmonly>
<copyright.template>make/copyright-information/copyright.txt</copyright.template>
<copyright.update>false</copyright.update>
<jdkVersion>1.8</jdkVersion>
<maven.compiler.source>${jdkVersion}</maven.compiler.source>
<maven.compiler.target>${jdkVersion}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<sonar.dynamicAnalysis>false</sonar.dynamicAnalysis>
<pfl-version>4.1.2</pfl-version>
<gmbal-version>4.0.0</gmbal-version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.3</version>
<executions>
<execution>
<id>stage-for-scm-publish</id>
<phase>post-site</phase>
<goals>
<goal>stage</goal>
</goals>
</execution>
<execution>
<id>default-deploy</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-scm-publish-plugin</artifactId>
<version>1.1</version>
<configuration>
<scmBranch>gh-pages</scmBranch>
<pubScmUrl>scm:git:https://github.com/javaee/glassfish-corba.git</pubScmUrl>
</configuration>
</plugin>
<plugin>
<groupId>org.glassfish.copyright</groupId>
<artifactId>glassfish-copyright-maven-plugin</artifactId>
<configuration>
<templateFile>${copyright.template}</templateFile>
<excludeFile>${copyright.exclude}</excludeFile>
<scmOnly>${copyright.scmonly}</scmOnly>
<update>${copyright.update}</update>
<ignoreYear>${copyright.ignoreyear}</ignoreYear>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>4.1.0</version>
<extensions>true</extensions>
<executions>
<execution>
<goals>
<goal>manifest</goal>
<goal>install</goal>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>idlj-maven-plugin</artifactId>
<version>1.2.2</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>idlj</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<configuration>
<sources>
<source>
<compatible>false</compatible>
<defines>
<define>
<symbol>CORBA3</symbol>
</define>
</defines>
<additionalArguments>
<additionalArgument>-corba</additionalArgument>
<additionalArgument>3.0</additionalArgument>
</additionalArguments>
</source>
</sources>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>rmic-maven-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<goals>
<goal>test-rmic</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.glassfish.corba</groupId>
<artifactId>rmic</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<dependencies>
<dependency>
<groupId>ant</groupId>
<artifactId>ant-junit</artifactId>
<version>1.6.5</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.9</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.5</version>
<executions>
<execution>
<id>coverage-initialize</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>coverage-report</id>
<phase>post-integration-test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.glassfish.copyright</groupId>
<artifactId>glassfish-copyright-maven-plugin</artifactId>
<version>2.3</version>
</plugin>
</plugins>
</pluginManagement>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav-jackrabbit</artifactId>
<version>2.4</version>
</extension>
</extensions>
</build>
<reporting>
<plugins>


</plugins>
</reporting>
<profiles>
<profile>
<id>disable-java8-doclint</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<properties>
<additionalparam>-Xdoclint:none</additionalparam>
</properties>
</profile>
<profile>
<id>install-legal-files</id>
<activation>
<file>
<exists>src/main/java</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.coderplus.maven.plugins</groupId>
<artifactId>copy-rename-maven-plugin</artifactId>
<version>1.0.1</version>
<executions>
<execution>
<id>copy-legal-files</id>
<phase>generate-resources</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<fileSets>
<fileSet>
<sourceFile>${project.basedir}/../LICENSE.md</sourceFile>
<destinationFile>${project.build.outputDirectory}/META-INF/LICENSE</destinationFile>
</fileSet>
<fileSet>
<sourceFile>${project.basedir}/../NOTICE.md</sourceFile>
<destinationFile>${project.build.outputDirectory}/META-INF/NOTICE</destinationFile>
</fileSet>
</fileSets>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>legacy-functional-test</id>
<activation>
<jdk>(,1.8]</jdk>
</activation>
<modules>
<module>functional-tests</module>
</modules>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>com.meterware.simplestub</groupId>
<artifactId>simplestub</artifactId>
<version>1.2.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.glassfish.corba</groupId>
<artifactId>glassfish-corba</artifactId>
<version>4.2.4</version>
</dependency>
</dependencies>
</project>

+ 220
- 0
poms/org.testcontainers-testcontainers-bom-1.16.2/pom.xml 파일 보기

@@ -0,0 +1,220 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>tmp.org.testcontainers</groupId>
<artifactId>placeholder.testcontainers-bom</artifactId>
<version>1.16.2</version>
<packaging>pom</packaging>
<name>Testcontainers :: BOM</name>
<description>Isolated container management for Java code testing</description>
<url>https://testcontainers.org</url>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/testcontainers/testcontainers-java/issues</url>
</issueManagement>
<licenses>
<license>
<name>MIT</name>
<url>http://opensource.org/licenses/MIT</url>
</license>
</licenses>
<scm>
<url>https://github.com/testcontainers/testcontainers-java/</url>
<connection>scm:git:git://github.com/testcontainers/testcontainers-java.git</connection>
<developerConnection>scm:git:ssh://git@github.com/testcontainers/testcontainers-java.git</developerConnection>
</scm>
<developers>
<developer>
<id>rnorth</id>
<name>Richard North</name>
<email>rich.north@gmail.com</email>
</developer>
</developers>
<dependencies />
<dependencies>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>azure</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>cassandra</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>clickhouse</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>cockroachdb</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>couchbase</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>database-commons</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>db2</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>dynalite</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>elasticsearch</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>gcloud</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>influxdb</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>jdbc</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>kafka</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>localstack</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>mariadb</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>mockserver</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>mongodb</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>mssqlserver</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>mysql</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>neo4j</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>nginx</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>oracle-xe</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>orientdb</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>postgresql</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>presto</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>pulsar</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>r2dbc</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>rabbitmq</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>selenium</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>solr</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>spock</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>toxiproxy</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>trino</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>vault</artifactId>
<version>1.16.2</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers-bom</artifactId>
<version>1.16.2</version>
</dependency>
</dependencies>
</project>

+ 31
- 13
update-poms.py 파일 보기

@@ -379,31 +379,52 @@ def load_package_list(list_path: Path, queue: asyncio.Queue) -> None:
)
)


async def download(package: Package, queue: asyncio.Queue) -> None:
async with done_lock:
skip = str(package) in done
is_done = str(package) in done

async with in_progress_lock:
skip = skip or (str(package) in in_progress)
is_in_progress = str(package) in in_progress

if skip:
if is_done:
logger.info(f'{package}: Already downloaded. Skipping.')
elif is_in_progress:
logger.info(f'{package}: Already in progress. Skipping.')
else:
async with in_progress_lock:
in_progress.add(str(package))

if await package.verify():
pom_dir = base_pom_path / f'{package.groupId}-{package.artifactId}-{package.version}'
pom_path = pom_dir / 'pom.xml'

pom_dir.mkdir(exist_ok=True)
for _ in range(50):
try:
verified = await package.verify()
break
except TooManyRequestsException:
logger.info('Too many requests. Delaying next attempt')
await asyncio.sleep(3*random.random() + 0.2)
else:
logger.error(f'{package}: Verification failed after 50 tries')
exit(1)

pom = await package.pom
if verified:
while True:
try:
pom = await package.pom
break
except TooManyRequestsException:
logger.info('Too many requests. Delaying next attempt')
await asyncio.sleep(3*random.random() + 0.2)
else:
logger.error(f'{package}: Verification failed after 50 tries')
exit(1)

if not pom:
logger.warn(f'{package}: No pom')
return

pom_dir = base_pom_path / f'{package.groupId}-{package.artifactId}-{package.version}'
pom_path = pom_dir / 'pom.xml'

pom_dir.mkdir(exist_ok=True)
pom.write(pom_path)
logger.info(f'{package}: Downloaded')

@@ -438,9 +459,6 @@ async def worker(queue: asyncio.Queue) -> None:
try:
await download(package, queue)
break
except TooManyRequestsException:
logger.info('Too many requests. Delaying next attempt')
await asyncio.sleep(3*random.random() + 0.2)
except WaitForPackage as e:
logger.info(f'{package}: Waiting for {e.package}')
await queue.put(e.package)


불러오는 중...
취소
저장