[INFO] [INFO] [deploy:deploy {execution: default-deploy}]
[INFO] Uploading:
http://maven.jenkins-ci.org:8081/content/repositories/releases//hudson/queueSorter/PrioritySorter/1.2/PrioritySorter-1.2.hpi
[INFO] 4/12K
[INFO] 8/12K
[INFO] 12/12K
[INFO] 12/12K
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] BUILD ERROR
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Error deploying artifact: Failed to transfer file:
http://maven.jenkins-ci.org:8081/content/repositories/releases/hudson/queueSorter/PrioritySorter/1.2/PrioritySorter-1.2.hpi.
Return code is: 401
[INFO]
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] For more information, run Maven with the -e switch
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 21 seconds
[INFO] [INFO] Finished at: Thu Feb 03 21:31:01 CST 2011
[INFO] [INFO] Final Memory: 55M/216M
[INFO] [INFO] ------------------------------------------------------------------------
What am I doing wrong?
Thanks!
Brad
Regards
Mirko
--
http://illegalstateexception.blogspot.com/
https://github.com/mfriedenhagen/
https://bitbucket.org/mfriedenhagen/
I had to go in an reset my password twice for some reason.
I succeeded accessing http://jenkins-ci.org/account, sending me a
temporary password and afterwards setting a new one, which allows
access to JIRA and confluence, however deploying to the maven-repo
still gets me the following:
[INFO] [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy
(default-deploy) on project jswidgets: Failed to deploy artifacts:
Could not transfer artifact org.jvnet.hudson.plugins:jswidgets:hpi:1.7
from/to java.net-m2-repository
(http://maven.jenkins-ci.org:8081/content/repositories/releases/):
Failed to transfer file:
http://maven.jenkins-ci.org:8081/content/repositories/releases/org/jvnet/hudson/plugins/jswidgets/1.7/jswidgets-1.7.hpi.
Return code is: 401 -> [Help 1]
Regards
Mirko
[INFO] [INFO] [hpi:upload]
[INFO] org.kohsuke.jnt.ProcessingException: unable to log in as user vjuranek
Fatal error
[INFO]
[INFO]
[INFO]
[INFO] Read timed out
[INFO] at org.kohsuke.jnt.Scraper.run(Scraper.java:39)
[INFO] at org.kohsuke.jnt.JavaNet.login(JavaNet.java:88)
[INFO] at org.kohsuke.jnt.JavaNet.connect(JavaNet.java:148)
[INFO] at org.kohsuke.jnt.JavaNet.connect(JavaNet.java:114)
[INFO] at
org.jvnet.hudson.maven.plugins.hpi.AbstractJavaNetMojo.connect(AbstractJavaNetMojo.java:36)
[INFO] at
org.jvnet.hudson.maven.plugins.hpi.UploadMojo.execute(UploadMojo.java:40)
[INFO] at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
[INFO] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
[INFO] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:513)
[INFO] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:483)
[INFO] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
[INFO] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292)
[INFO] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
[INFO] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
[INFO] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
[INFO] at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[INFO] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[INFO] at java.lang.reflect.Method.invoke(Method.java:597)
[INFO] at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
[INFO] at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
[INFO] at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
[INFO] at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] Caused by: org.kohsuke.jnt.ProcessingException: Fatal error
[INFO]
[INFO]
[INFO]
[INFO] Read timed out
[INFO] at org.kohsuke.jnt.JNObject.checkError(JNObject.java:49)
[INFO] at org.kohsuke.jnt.JavaNet$1.scrape(JavaNet.java:95)
[INFO] at org.kohsuke.jnt.Scraper.run(Scraper.java:29)
[INFO] ... 23 more
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [ERROR] BUILD ERROR
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] Failed to upload the artifact
[INFO]
[INFO] Embedded error: unable to log in as user vjuranek Fatal error
[INFO]
[INFO]
[INFO]
[INFO] Read timed out
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] For more information, run Maven with the -e switch
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] Total time: 1 minute 31 seconds
[INFO] [INFO] Finished at: Mon Feb 07 11:02:55 CET 2011
[INFO] [INFO] Final Memory: 58M/662M
I think you need to follow the "Override the maven release plugin
configuration" part.
The stack trace indicates that your Maven is hitting the old java.net to
post a release announcement. The feature no longer exists, and as such
it fails.
--
Kohsuke Kawaguchi | CloudBees, Inc. | http://cloudbees.com/
> See
> http://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins#HostingPlugins-P
> >> > ---- [INFO] [ERROR] BUILD ERROR
> >> > [INFO] [INFO]
> >> > --------------------------------------------------------------------
> >> > ---- [INFO] [INFO] Error deploying artifact: Connection failed:
> >> > Unable to connect to
> >> > https://svn.dev.java.net/svn/maven2-repository/trunk/repository/
> >> > [INFO]
> >> > [INFO] svn: authentication cancelled
> >> > [INFO] [INFO]
> >> > --------------------------------------------------------------------
> >> > ---- [INFO] [INFO] For more information, run Maven with the -e
> >> > switch [INFO] [INFO]
> >> > --------------------------------------------------------------------
> >> > ---- [INFO] [INFO] Total time: 25 seconds
> >> > [INFO] [INFO] Finished at: Thu Feb 03 18:33:44 CST 2011
> >> > [INFO] [INFO] Final Memory: 56M/201M
> >> > [INFO] [INFO]
> >> > --------------------------------------------------------------------
> >> > ---- [INFO]
> >> > --------------------------------------------------------------------
> >> > ---- [ERROR] BUILD ERROR
> >> > [INFO]
> >> > --------------------------------------------------------------------
> >> > ---- [INFO] Maven execution failed, exit code: '1'
> >> >
> >> > [INFO]
> >> > --------------------------------------------------------------------
> >> > ---- [INFO] For more information, run Maven with the -e switch
> >> > [INFO]
> >> > --------------------------------------------------------------------
> >> > ---- [INFO] Total time: 36 seconds