maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schulte ...@schulte.it>
Subject Re: Releasing maven-resources-plugin 3.0.2
Date Sun, 13 Nov 2016 18:42:56 GMT
Am 11/13/16 um 18:53 schrieb herve.boutemy@free.fr:
> seems you missed https://www.apache.org/dev/publishing-maven-artifacts.html#dev-env
> 

Settings should be fine. I already tried to increase the timeouts like
so in every server declaration.

      <configuration>
        <httpConfiguration>
          <all>
            <params>
              <property>
                <name>http.authentication.preemptive</name>
                <value>%b,true</value>
              </property>
            </params>
            <connectionTimeout>300000</connectionTimeout>
            <readTimeout>300000</readTimeout>
          </all>
        </httpConfiguration>
      </configuration>

It does upload the files. But it produces tons of stacktraces during
deployment. See below. Lots of "Operation timed out". The files are in
the staging repository. Just let it proceed that way?


[INFO] [INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @
maven-resources-plugin ---
[INFO] Uploading:
https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/maven/plugins/maven-resources-plugin/3.0.2/maven-resources-plugin-3.0.2.jar
[INFO] 2/31 KB
[INFO] 4/31 KB
[INFO] 6/31 KB
[INFO] 8/31 KB
[INFO] 10/31 KB
[INFO] 12/31 KB
[INFO] 14/31 KB
[INFO] 16/31 KB
[INFO] 18/31 KB
[INFO] 20/31 KB
[INFO] 22/31 KB
[INFO] 24/31 KB
[INFO] 26/31 KB
[INFO] 28/31 KB
[INFO] 30/31 KB
[INFO] 31/31 KB
[INFO] [WARNING] Failed to upload MD5 checksum for
/home/schulte/Sources/apache.org/plugins/maven-resources-plugin/target/checkout/target/maven-resources-plugin-3.0.2.jar:
Connect to repository.apache.org:443
[repository.apache.org/207.244.88.143] failed: Operation timed out
[INFO] org.apache.maven.wagon.TransferFailedException: Connect to
repository.apache.org:443 [repository.apache.org/207.244.88.143] failed:
Operation timed out
[INFO]  at
org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:646)
[INFO]  at
org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:541)
[INFO]  at
org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:523)
[INFO]  at
org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:517)
[INFO]  at
org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.putFromStream(AbstractHttpClientWagon.java:511)
[INFO]  at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$PutTask.uploadChecksum(WagonRepositoryConnector.java:886)
[INFO]  at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$PutTask.uploadChecksums(WagonRepositoryConnector.java:861)
[INFO]  at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$PutTask.run(WagonRepositoryConnector.java:818)
[INFO]  at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector.put(WagonRepositoryConnector.java:467)
[INFO]  at
org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:274)
[INFO]  at
org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:211)
[INFO]  at
org.sonatype.aether.impl.internal.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:443)
[INFO]  at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:137)
[INFO]  at
org.apache.maven.plugin.deploy.AbstractDeployMojo.deploy(AbstractDeployMojo.java:171)
[INFO]  at
org.apache.maven.plugin.deploy.DeployMojo.deployProject(DeployMojo.java:250)
[INFO]  at
org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:169)
[INFO]  at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
[INFO]  at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
[INFO]  at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
[INFO]  at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
[INFO]  at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
[INFO]  at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
[INFO]  at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
[INFO]  at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
[INFO]  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
[INFO]  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
[INFO]  at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
[INFO]  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
[INFO]  at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
[INFO]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO]  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[INFO]  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[INFO]  at java.lang.reflect.Method.invoke(Method.java:606)
[INFO]  at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
[INFO]  at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
[INFO]  at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
[INFO]  at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
[INFO] Caused by:
org.apache.maven.wagon.providers.http.httpclient.conn.HttpHostConnectException:
Connect to repository.apache.org:443
[repository.apache.org/207.244.88.143] failed: Operation timed out
[INFO]  at
org.apache.maven.wagon.providers.http.httpclient.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:140)
[INFO]  at
org.apache.maven.wagon.providers.http.httpclient.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:318)
[INFO]  at
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
[INFO]  at
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
[INFO]  at
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
[INFO]  at
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec.execute(RetryExec.java:86)
[INFO]  at
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
[INFO]  at
org.apache.maven.wagon.providers.http.httpclient.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
[INFO]  at
org.apache.maven.wagon.providers.http.httpclient.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
[INFO]  at
org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.execute(AbstractHttpClientWagon.java:832)
[INFO]  at
org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:592)
[INFO]  ... 36 more
[INFO] Caused by: java.net.ConnectException: Operation timed out
[INFO]  at java.net.PlainSocketImpl.socketConnect(Native Method)
[INFO]  at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
[INFO]  at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
[INFO]  at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
[INFO]  at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
[INFO]  at java.net.Socket.connect(Socket.java:579)
[INFO]  at
org.apache.maven.wagon.providers.http.httpclient.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:239)
[INFO]  at
org.apache.maven.wagon.providers.http.httpclient.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:123)
[INFO]  ... 46 more
[INFO]
[INFO] Uploaded:
https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/maven/plugins/maven-resources-plugin/3.0.2/maven-resources-plugin-3.0.2.jar
(31 KB at 0.4 KB/sec)
[INFO] Uploading:
https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/maven/plugins/maven-resources-plugin/3.0.2/maven-resources-plugin-3.0.2.pom
[INFO] 2/7 KB
[INFO] 4/7 KB
[INFO] 6/7 KB
[INFO] 7/7 KB


> Regards,
> 
> Hervé
> 
> ----- Mail original -----
> De: "Christian Schulte" <cs@schulte.it>
> À: "Maven Developers List" <dev@maven.apache.org>
> Envoyé: Dimanche 13 Novembre 2016 17:56:30
> Objet: Releasing maven-resources-plugin 3.0.2
> 
> Hi,
> 
> this is the first time I am releasing a plugin. I've read the release
> process documentation and am currently at the 'release:perform' step.
> It's not possible for me to deploy to the repository. I tried it several
> times now. It always fails with:
> 
> [INFO] [WARNING] Could not transfer metadata
> org.apache.maven.artifact.repository.metadata.MetadataBridge@5866389d
> from/to apache.releases.https
> (https://repository.apache.org/service/local/staging/deploy/maven2):
> Connect to repository.apache.org:443
> [repository.apache.org/207.244.88.143] failed: Operation timed out
> 
> [INFO] [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy
> (default-deploy) on project maven-resources-plugin: Failed to retrieve
> remote metadata
> org.apache.maven.artifact.repository.metadata.MetadataBridge@5866389d:
> Could not transfer metadata
> org.apache.maven.artifact.repository.metadata.MetadataBridge@5866389d
> from/to apache.releases.https
> (https://repository.apache.org/service/local/staging/deploy/maven2):
> Connect to repository.apache.org:443
> [repository.apache.org/207.244.88.143] failed: Operation timed out ->
> [Help 1]
> 
> Is there something else I need to know/do?
> 
> Regards,
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message