jira-importer commented on issue #663:
URL: https://github.com/apache/maven-scm/issues/663#issuecomment-2964612034

   **[Andreas 
Sewe](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=sewe)** 
commented
   
   AFAIK, version **1.5** of `maven-scm-provider-hg` does implement `branch`. 
However, I couldn't get it to work with version 1.2 of the 
`maven-release-plugin`:
   
   > \<plugin>
   > > >   \<groupId>org.apache.maven.plugins\</groupId>
   > > >   \<artifactId>maven-release-plugin\</artifactId>
   > > >   \<version>2.1\</version>
   > > >   \<dependencies>
   > > >     \<dependency>
   > > >       \<groupId>org.apache.maven.scm\</groupId>
   > > >       \<artifactId>maven-scm-provider-hg\</artifactId>
   > > >       \<version>1.5\</version>
   > > >     \</dependency>
   > > >   \</dependencies>
   > > > \</plugin>
   
   This fails complaining about a different command, `info`:
   
   > [ERROR] 1) Error injecting: org.apache.maven.scm.provider.hg.HgScmProvider
   > [ERROR] at 
ClassRealm[plugin>org.apache.maven.plugins:maven-release-plugin:2.1, parent: 
sun.misc.Launcher$AppClassLoader@d9f9c3]
   > [ERROR] at 
ClassRealm[plugin>org.apache.maven.plugins:maven-release-plugin:2.1, parent: 
sun.misc.Launcher$AppClassLoader@d9f9c3]
   > [ERROR] while locating org.apache.maven.scm.provider.ScmProvider annotated 
with `@com`.google.inject.name.Named(value=hg)
   > [ERROR]
   > [ERROR] 1 error: org/apache/maven/scm/command/info/InfoScmResult: 
org.apache.maven.scm.command.info.InfoScmResult
   > [ERROR] -> [Help 1]
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to