Questions tagged [maven-scm]

A plugin that allows you to perform Source Control Management operations through Maven.

Maven SCM Plugin

A plugin that allows you to perform Source Control Management common operations through Maven.

The SCM Plugin offers vendor independent access to common scm commands by offering a set of command mappings for the configured scm. Each command is implemented as a goal.

Official site : http://maven.apache.org/scm/plugins/

  • scm:add - command to add file
  • scm:bootstrap - command to checkout and build a project
  • scm:changelog - command to show the source code revisions
  • scm:checkin - command for commiting changes
  • scm:checkout - command for getting the source code
  • scm:diff - command for showing the difference of the working copy with the remote one
  • scm:edit - command for starting edit on the working copy
  • scm:status - command for showing the scm status of the working copy
  • scm:tag - command for tagging a certain revision
  • scm:unedit - command to stop editing the working copy
  • scm:update - command for updating the working copy with the latest changes
  • scm:validate - validates the scm information in the pom
127 questions
4
votes
2 answers

How can I add a Maven dependency to a project that needs to be checked out via svn?

I want to distribute my project that has a dependency to another project hosted on Google code that is only available in source code (there is no compiled jar version available.) I am aware of the Maven SCM plugin but have never used it. I'd like…
Jeff Axelrod
  • 27,676
  • 31
  • 147
  • 246
4
votes
1 answer

Maven-scm plugin: Why is the scmRevision not working as expected?

I'm using Maven 3.0.3, the Maven/SCM plugin (1.5) and Git 1.7.4.1. I want to run a maven command to check out a revision of git, but the plugin is treating my "scmVersion" parameter like a branch name instead of a revision number. So, for example,…
Dave
  • 8,667
  • 25
  • 72
  • 90
4
votes
1 answer

Checkout file from another repo using maven-scm plugin

I have a java application that is in git repo RepoA and has a scm configuration set up for this repo for maven-release plugin etc. I want to fetch one file from another RepoB (it is fine to checkout the whole repo also because there is only 1 file…
dbf
  • 6,399
  • 2
  • 38
  • 65
4
votes
1 answer

Maven auto increment release version

I am working on an initiative to auto increment the X.Y.Z version during the build process. In this case we are not removing the SNAPSHOT suffix (to make it a released version), rather increasing the minor part of the version: X.Y.Z-SNAPSHOT =>…
Ganga
  • 883
  • 12
  • 24
4
votes
3 answers

maven build error

when building a maven project. i am getting the following error. [ERROR]Runtime Exception thrown during execution [ERROR]The scm url cannot be null. Please hint me on how to resolve it. Thanks
TrustyCoder
  • 4,749
  • 10
  • 66
  • 119
4
votes
1 answer

Unable to deploy using SVN as Maven repo

I'm trying to use Subversion as Maven repo utilizing Maven wagon. If I declare snapshot location using http as protocol I get 409 error back from server when trying to deploy (mvn clean deploy)
Bostone
  • 36,858
  • 39
  • 167
  • 227
4
votes
1 answer

Maven: Commit single artifact to svn repository

How can I commit a single artifact like a file or a directory to an arbitrary location in a svn repository in the deploy lifecycle phase? With repository I mean a plain Subversion repository here, not a Maven repository held in a Subversion…
desolat
  • 4,123
  • 6
  • 36
  • 47
3
votes
1 answer

Eclipse sync with svn repo is not available for Maven import project

I have checked in a maven multi module project.If I check in in normal way, as "import - svn Checkout projects from svn" , then the main project is checked in as one folder and it is possible to team -> sync with repositary. But as the main project…
ghTvNath
  • 357
  • 2
  • 6
  • 25
3
votes
1 answer

Commit multiple files with maven scm plugin

I want to git commit two files in different folders with maven scm plugin (v1.9.4). Eg: abc/p.json and xyz\p.json. I dont want to commit any other files such as other/p.json According to the documentation for the chekin goal, a comma separated list…
Aruna Herath
  • 6,241
  • 1
  • 40
  • 59
3
votes
0 answers

statscm alternative

Is there an alternative to the maven plugin statscm? http://stat-scm.sourceforge.net/ Looking for something that has active development. Also there are some lingering bugs which are only available in the Snapshot. Though Maven doesn't allow Snapshot…
joshjdevl
  • 7,092
  • 12
  • 45
  • 57
3
votes
1 answer

What is the format of svn-settings.xml for use with Maven SCM plugin?

I'm trying to externalize my username and password but it seems the format of svn-settings.xml is incorrect. I can't find any resources on the web except this post here and following that gives an error. In my pom.xml I got
Koohoolinn
  • 1,427
  • 6
  • 20
  • 29
3
votes
0 answers

"Auth fail" error with maven-scm-provider-jgit during release:prepare

I am on a windows machine where git command line is not installed. I have installed GitExtensions and an EGit and this is sufficient for me (until now). Now I wanted to perform a maven release to BinTray, following this guide: Publishing releases…
Jmini
  • 9,189
  • 2
  • 55
  • 77
3
votes
1 answer

Not getting the coverage on new code in sonar dashboard

I am trying to use scm activity plugin 1.8 for clearcase and using sonar 4.3.3 and got the blame information in the sonar but did not getting the coverage on new code in dashboard
Akshay jain
  • 555
  • 1
  • 7
  • 22
3
votes
3 answers

How can I configure Maven to commit to a Mercurial repository when I install:install

Maven's SCM plug-in doesn't appear to provide a "commit" goal. scm:checkin performs a commit AND push. I need to avoid the push. I'm simply interested in doing an hg commit during install:install. I'm not using the release plugin and don't need it…
nicerobot
  • 9,145
  • 6
  • 42
  • 44
3
votes
0 answers

Maven SCM Section suppress artifactid

I would like to configure the SCM server in a shared Maven parent pom in my organization so that none of the project poms (children) need to define this configuration. The configuration I would like to add looks something like this:
smp7d
  • 4,947
  • 2
  • 26
  • 48
1
2
3
8 9