Hi Peter,

On 6/26/16 10:00 PM, Peter Hansson wrote:
I can't believe no one has pointed me to the 'project.scm.id' feature which was
> introduced with maven-release-plugin v2.3.
> This is exactly what I wanted.
See :
https://issues.apache.org/jira/browse/SCM-826?focusedCommentId=15350211&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15350211

I do not find this feature particularly well-documented.

For that I have opened https://issues.apache.org/jira/browse/MRELEASE-957

May be you can make a suggestions where it should be located and what should be part of it from a more user point of view...



>The only place I could find it documented was here :
> http://maven.apache.org/maven-release/maven-release-plugin/faq.html#credentials
> and that actually didn't ring any bells with me. Perhaps my fault.

Kind regards
Karl Heinz Marbaise




Kind regards
Peter

    On Saturday, June 11, 2016 9:12 AM, Peter Hansson 
<[email protected]> wrote:



 Ok, so adding <serverId> to <scm> section in POM would be an acceptable path 
to a solution?

Consider the following:
<scm>
        <connection>scm:hg:https://bitbucket.org/greatness/ambiance<connection>
        
<developerConnection>scm:hg:https://bitbucket.org/greatness/ambiance</developerConnection>
        <url>https://bitbucket.org/greatness/ambiance</url>

        <!-- optional -->        <serverId>bitbucket-ambiance</serverId>
</scm>
and then in settings.xml you would have
<servers>    <server>      <id>bitbucket-ambiance</id>      <username>john</username>    
  <password>67yhswpc</password
    </server>
</servers>
I find this to be least the intrusive solution and also the safest and most 
intuitive. If <serverId> isn't specified you would simply get today's 
functionality.

Peter

    On Thursday, June 9, 2016 9:31 AM, Andreas Sewe 
<[email protected]> wrote:



 Hi,

1. Running several *different* flavours of SCMs on the same host. Say you have a host 
called "repohost" which is both an SVN and a Git host. Ok, not very likely, but 
alas not something possible today.

FYI, Github does just that. In particular, they support "git clone" and
"svn checkout" under the same *URI*
(<https://github.com/$USER/$REPO.git>), not just the same host.

Best wishes,

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to