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
1
vote
1 answer

How to commit replaced properties by maven with release plugin

We having a problem trying to commit changes, which happens with maven. Because they are in target folder how could we do it? Replacing via resources filtering. In properties we've got version-1.0.0 that's our…
lummycoder
  • 588
  • 1
  • 7
  • 20
1
vote
2 answers

maven scm plugin deleting output folder in every execution

I need to download from 2 different svn locations to the same output directory. So i configured 2 different executions. But every time it executes a checkout deletes the output directory so it also deletes the already downloaded projects. Here…
ssedano
  • 8,322
  • 9
  • 60
  • 98
1
vote
1 answer

Maven Mojo: Taking complete control over logging / Forbid other plugins to log

I don't know if this is actually possible, but can I take complete control over logging from inside a Maven Mojo? With complete control I mean that only messages from my Mojo are logged or that I can decide wether a given message shall be…
Patrick Bergner
  • 623
  • 8
  • 23
1
vote
1 answer

Problems with maven release on git

I've got a very strange problem: Every time I want to release my open source project (hosted on github) maven is uploading a snapshot to my repository instead of the expected release. I've found out, the problem is that the pom of the release tag…
Thilo Schwarz
  • 640
  • 5
  • 24
1
vote
1 answer

maven scm does not listen to perforce trigger output

Hello Maven / Perforce Experts, I am trying to implement auto versioning of the maven artifacts for a project that uses Perforce as VCS. That made me choose maven-scm-plugin and maven-release-plugin to achieve my purpose. We use triggers in…
Ganga
  • 883
  • 12
  • 24
1
vote
1 answer

Maven release:prepare unable to commit to Git repository when using a CI

I am using Quickbuild as my CI. When using Maven's release management plugin and running the release:prepare command, I am getting an error committing the tag to my Git repository. This is most likely because of a permissions error. I've read…
1
vote
1 answer

How to use maven to export a project from subversion?

Maven has a plugin called maven-scm-plugin, which can interact with source control systems. According to the documentation, I should be able to export a project like this: mvn scm:export -DconnectionUrl=scm:svn:svn://url...…
SamS
  • 1,561
  • 2
  • 15
  • 22
1
vote
0 answers

MavenProject class, get SCM info

I'm writing a custom mojo to display some project information. Part of this info is SCM info, such as commit ID for which the build has been triggered as well as the repo branch, etc. In my mojo I'm using MavenProject however I'm struggling to find…
John S
  • 1,687
  • 6
  • 21
  • 28
1
vote
2 answers

Maven release of Github project fails for using wrong Github account

I'm performing a release of a project on Github using Maven. release:prepare fails with: [ERROR] Provider message: [ERROR] The git-push command failed. [ERROR] Command output: [ERROR] remote: Permission to FOO/BAR.git denied to BAZ. [ERROR] fatal:…
Sean Owen
  • 66,182
  • 23
  • 141
  • 173
1
vote
2 answers

How to configure Hudson/Maven2 to add SVN revision to name of EAR?

We use Hudson, Maven2 and maven-ear-plugin. Is it possible to have the built EAR files to contain SVN revision in their filename (something like project-1234.ear)?
tputkonen
  • 5,579
  • 16
  • 60
  • 88
1
vote
1 answer

How to checkout code from svn using maven?

I am trying to checkout code from svn. I have written a pom.xml to do the same. Below is my code. scm:svn:http://10.6.15.103/svn/PLM_Windchill_MidMarket/PLM_Windchill_MidMarket
galme
  • 603
  • 3
  • 10
  • 24
1
vote
2 answers

maven scm - Does maven creates tag automatically?

I have below configurations in place…
Shashi
  • 199
  • 1
  • 6
  • 19
1
vote
1 answer

create a versioned jar in maven

I want to create a maven goal which will create versioned jar like when I create a jar first time it will create a jar with version 1.0 then second time create a jar with version 1.1 then 1.2 and so on... means if latest jar version is 1.2 then next…
pbhle
  • 2,856
  • 13
  • 33
  • 40
1
vote
0 answers

ScmVersion version based checkout using scmManager

org.apache.maven.scm.manager.ScmManager We have a jface table displaying revisions in one of the column (revisions are just numbers), what we are trying to implement is: Select a row to select the revision. Right click and checkout based on the…
user1782807
  • 151
  • 3
  • 13
0
votes
2 answers

How do I run selected modules using parent pom in Maven like I have

APP_1 web_1 service_1 schema_1 APP_2 web_2 service_2 <schema_2 sometimes as developer if I want to build first…
user1137387
  • 1,933
  • 3
  • 18
  • 27
1 2 3
8 9