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
0
votes
1 answer

maven-release-plugin:2.5:prepare fails with "Error writing POM: (Access is denied)"

I try to run mvn release:prepare (of course, after release:clean), and I get an error: Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5:prepare (default-cli) ...: Error writing POM: D:\\pom.xml (Access is denied) Caused by:…
OhadR
  • 8,276
  • 3
  • 47
  • 53
0
votes
2 answers

Jalopy to format return/throw statements

I would like Jalopy to format my return and throw statements such that they look like a method call since they are: return(true); throw(new IllegalArgumentException("You can't do that, what we you thinking?")); I have the rest of the code…
Walter White
0
votes
1 answer

En-dash converts to hyphen when using Maven ScmProvider.list method

The file object in Java is not supporting the character en-dash '–' (unicode \u2013). It is automatically converting the en-dash character to hyphen '-' (unicode \u002D). I am using the ScmProvider.list method: ListScmResult list(ScmRepository…
Harshdip Singh
  • 131
  • 1
  • 2
  • 15
0
votes
0 answers

maven release with interpolation of variables just on the fly but not saving replacements to the file

In our POM files we have the scm section where we define the url to our cvs repository, including a variable for the current system user from the environment…
0
votes
1 answer

Checking in pom files to SCM using maven

Using the maven versions plugin I update the version numbers of the pom files : versions:set -DnewVersion=1.0.2-SNAPSHOT I then check in the pom files manually prior to performing a build. I don't think the versions plugin can check in files…
user701254
  • 3,935
  • 7
  • 42
  • 53
0
votes
1 answer

use Maven to add info from MKS to Sonar

According to to the SCM Activity plugin info from the Sonar Webiste (http://docs.codehaus.org/display/SONAR/SCM+Activity+Plugin), a connection to MKS should be possible. On the Maven site, MKS provider code also exists. However, when I run mvn…
schuhmi2
  • 45
  • 7
-1
votes
2 answers

copy an existing job in jenkins which does 'clean publish'

I have a Jenkins job created and working fine where this job connects to a GIT repository and after that the Build task is 'clean publish' . Now I need to create a new job in same Jenkins where this new job connects to other GIT repository and run a…
ponni
  • 1
  • 1
1 2 3
8
9