Did you succeed with a simple 'mvn deploy' of a snapshot as I said
previously? That would prevent you from trying to release by first getting
the auth right with a simpler process than a release one. Because deploying
a snapshot already requires you get credentials config right (though the
pgp part is something else, IIRC).

>From the output above, nothing got actually uploaded. Maybe I missed a
line, what makes you think some parts made it through? (no line containing
'Uploaded [...]').

About the parent, I'm not sure I understand what you mean? The scm tag of
the parent pom describes itself, and it just has to be redefined in the
to-be-released mojos, is that your question?

Cheers


2014-04-22 22:20 GMT+02:00 Jörg Hohwiller <jo...@j-hohwiller.de>:

> Hi Robert,
>
> thanks. That solved this problem.
> BTW - could the SCM section of the parent POM be fixed, or is there some
> specific reason for this?
>
> Here is the next problem when I call "mvn release:perform":
>     [INFO] Installing C:\Users\hohwille\projects\OSS\flatten-maven-plugin\
> target\checkout\target\flatten-maven-plugin-1.0.0-beta-1-sources.jar.asc
> to C:\Projekte\content\conf\.m2\repository\org\codehaus\mojo\
> flatten-maven-plugin\1.0.0-beta-1\flatten-maven-plugin-1.
> 0.0-beta-1-sources.jar.asc
>     [INFO] Installing C:\Users\hohwille\projects\OSS\flatten-maven-plugin\
> target\checkout\target\flatten-maven-plugin-1.0.0-beta-1-javadoc.jar.asc
> to C:\Projekte\content\conf\.m2\repository\org\codehaus\mojo\
> flatten-maven-plugin\1.0.0-beta-1\flatten-maven-plugin-1.
> 0.0-beta-1-javadoc.jar.asc
>     [INFO]
>     [INFO] --- maven-deploy-plugin:2.8.1:deploy (default-deploy) @
> flatten-maven-plugin ---
>     Uploading: https://nexus.codehaus.org/service/local/staging/deploy/
> maven2/org/codehaus/mojo/flatten-maven-plugin/1.0.0-
> beta-1/flatten-maven-plugin-1.0.0-beta-1.jar
>     Uploading: https://nexus.codehaus.org/service/local/staging/deploy/
> maven2/org/codehaus/mojo/flatten-maven-plugin/1.0.0-
> beta-1/flatten-maven-plugin-1.0.0-beta-1.pom
>     [INFO] ------------------------------------------------------------
> ------------
>     [INFO] BUILD FAILURE
>     [INFO] ------------------------------------------------------------
> ------------
>     [INFO] Total time: 2:43.731s
>     [INFO] Finished at: Tue Apr 22 22:14:58 CEST 2014
>     [INFO] Final Memory: 21M/56M
>     [INFO] ------------------------------------------------------------
> ------------
>     [ERROR] Failed to execute goal org.apache.maven.plugins:
> maven-deploy-plugin:2.8.1:deploy (default-deploy) on project
> flatten-maven-plugin: Failed to deploy artifacts: Could not transfer
> artifact org.codehaus.mojo:flatten-maven-plugin:ja
> r:1.0.0-beta-1 from/to codehaus-nexus-staging (https://nexus.codehaus.org/
> service/local/staging/deploy/maven2/): Failed to transfer file:
> https://nexus.codehaus.org/service/local/staging/deploy/
> maven2/org/codehaus/mojo/flatten-maven-plugin/1.0.0-
> beta-1/flatten-maven-plugin-1.0.0-beta-1.jar. Return code is: 401,
> ReasonPhrase: Unauthorized. -> [Help 1]
>
> The uploads showed the bytes that had been transferred and appeared to
> work. Why do I get a 401 afterwards?
> Process is not as smooth as I hoped it to be...
>
> Thanks & regards
>   Jörg
>
> Am 12.04.2014 22:44, schrieb Robert Scholte:
>
>  Hi,
>>
>> Looks like the pom.xml is missing the scm-section, which is required for
>> all mojo projects. The value based on inheritence is invalid.
>>
>> Robert
>>
>> Op Sat, 12 Apr 2014 22:40:45 +0200 schreef Jörg Hohwiller <
>> jo...@j-hohwiller.de>:
>>
>>  Hi there,
>>>
>>> I am trying to release flatten-maven-plugin and follow the given
>>> processes.
>>> However it is simply not working. I made several tries but always get
>>> errors with release:prepare.
>>> All my last tries ended up with this error:
>>>
>>> [ERROR] svn: E160013:
>>> '/mojo/!svn/bc/19650/tags/mojo-parent-33/flatten-maven-plu
>>> gin' path not found
>>>
>>> I found this related thread but it does not seem to help me:
>>> http://mojo.10943.n7.nabble.com/Need-help-problem-tagging-
>>> a-release-after-rollback-tt28367.html#none
>>>
>>> I tried rollbacks and prepared again and now spammed the pom.xml SVN
>>> history.
>>>
>>> Does anybody have a hint for me?
>>>
>>> Thanks
>>>    Jörg
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>
>


-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

Reply via email to