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
0 answers

Maven pass different property values to different goals for properties with the same name using command line

I need to execute sequence of two different maven goals that both accept argument with a same name, but I need to pass different value for this argument to each of these goals. To be more specific, I need to execute release:prepare followed by…
0
votes
1 answer

Its possible to have multiple scm section in my pom?

How can i have multiple configuration on my scm section in my pom. Currently, i have this : scm:git:ssh://xxxxx/xxx/xxx
Julien Baldy
  • 397
  • 2
  • 4
  • 14
0
votes
0 answers

Getting add failed with exit code: 127 while executing add file for SCM Manager

I am using SCM Manager for HG version control. And I am trying to add an existing sc.txt file to HG repo using Java API provided by maven-scm-provider-hg dependency. Method to add the file to HG repo: public void add(ScmRepository scmRepository,…
Diwakar
  • 1
  • 3
0
votes
0 answers

Maven SCM plugin, how set failOnError = false

How can I configure Maven SCM plugin for ignoring errors during scm checkout? (Errors like "Permission denied" or other). I know about configuration property false in other plugins, but this plugin does not have such…
0
votes
0 answers

Maven:I am mavenizing oracle service bus application using jdeveloper 12c

I have checked out code from SVN using SCM into my empty jdeveloper workspace. How Can I point in current pom which checked out code from SVN central repo to build my latest code from SVN. Can anyone help me? Right now I am using Command line to…
aspire96
  • 141
  • 2
  • 11
0
votes
1 answer

Maven perform error : SCM

I use maven-3.2.3 for my project. When I execute mvn release:prepare, everything is going well. but after execute mvn release:perform I have following error : No SCM URL was provided to perform the release from I have scm element in my pom.xml…
Valeriane
  • 936
  • 3
  • 16
  • 37
0
votes
1 answer

How to build a git branch with Maven scm:bootstrap

Is it possible to use the Maven scm:bootstrap goal of the scm plugin to build a specific git branch WITHOUT specifying this in the POM? I know I could do this by specifying the branch with the and parameters in the…
Steve Cohen
  • 4,679
  • 9
  • 51
  • 89
0
votes
1 answer

How to force Maven SCM Perforce provider version?

I am trying to reproduce an existing maven environment on another computer and when I try to use the release plugin it gives me an "password is required for the perforce scm plugin" The odd thing is I didn't make any changes to the pom.xml. I found…
Pyrolistical
  • 27,624
  • 21
  • 81
  • 106
0
votes
0 answers

maven scm CVS plugin scm:diff

I am trying to get the differences between revisions of the .sql files in the project as part of software release to execute the migration scripts. I am getting the empty out-put file when i execute the below command and i am not sure how to specify…
Dhorrairaajj
  • 55
  • 11
0
votes
2 answers

Maven scm git tag behaving strangely

I am not a Maven expert and so this might be obvious, but it defies everything that I've seen and read. I am using the git scm provider to create a tag. I can get it to work correctly, but I have to supply the tag on the command line and put the scm…
Alain P
  • 1,293
  • 8
  • 16
0
votes
1 answer

How to prevent artifactId from being appended to connection URI?

I am trying to define my connection tag in a parent pom. However, due to the provider I am using (Jazz) I do not wish my artifactId from being appended in the child artifact. I found reference to an old thread indicating that appending a…
Eric B.
  • 23,425
  • 50
  • 169
  • 316
0
votes
1 answer

Maven Mojo & SCM Plugin: Add file to ignore list / set SVN property

I'm using maven-scm-plugin from within an own Maven Mojo via an injected ScmManager object and am trying to figure out how to add a file to the SCM ignore list. The methods that ScmManager provides don't seem to support this. An ideal solution would…
Patrick Bergner
  • 623
  • 8
  • 23
0
votes
2 answers

Creating a scm browser for an RCP application

I have an RCP app that saves its project as an xml file and currently the user just selections a directory to save that file and then uses the open file dialog to open the project. We are thinking about enhancing it to allow users to check in/out…
mdamman
  • 45
  • 2
  • 6
0
votes
1 answer

I can not find any optional parameters to pass the RTC workitem number on command line

Error code as below: [ERROR] 'Deliver' failed. Preconditions have not been met: A work item must be associated with the change set. org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal…
Devloper_b5
  • 132
  • 1
  • 8
0
votes
1 answer

SVN Authentication and authorization

I have created a multi module maven project. Now I have shared the project with a internal SVN repository. Now I want to give authorization to user based on the module user is owner of. So if a user does not have right to a project; he/she will not…
vijay.shad
  • 2,444
  • 6
  • 27
  • 33
1 2 3
8
9