maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Gebal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SCM-839) scm:diff with GIT doesn't work
Date Wed, 21 Dec 2016 10:44:59 GMT

    [ https://issues.apache.org/jira/browse/SCM-839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15766729#comment-15766729
] 

Jacek Gebal commented on SCM-839:
---------------------------------

Here is the debug log from executing the command:
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00)
Maven home: C:\Users\a565281\apache-maven-3.3.9\bin\..
Java version: 1.8.0_92, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_92\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG]   Imported: javax.enterprise.inject.* < plexus.core
[DEBUG]   Imported: javax.enterprise.util.* < plexus.core
[DEBUG]   Imported: javax.inject.* < plexus.core
[DEBUG]   Imported: org.apache.maven.* < plexus.core
[DEBUG]   Imported: org.apache.maven.artifact < plexus.core
[DEBUG]   Imported: org.apache.maven.classrealm < plexus.core
[DEBUG]   Imported: org.apache.maven.cli < plexus.core
[DEBUG]   Imported: org.apache.maven.configuration < plexus.core
[DEBUG]   Imported: org.apache.maven.exception < plexus.core
[DEBUG]   Imported: org.apache.maven.execution < plexus.core
[DEBUG]   Imported: org.apache.maven.execution.scope < plexus.core
[DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG]   Imported: org.apache.maven.model < plexus.core
[DEBUG]   Imported: org.apache.maven.monitor < plexus.core
[DEBUG]   Imported: org.apache.maven.plugin < plexus.core
[DEBUG]   Imported: org.apache.maven.profiles < plexus.core
[DEBUG]   Imported: org.apache.maven.project < plexus.core
[DEBUG]   Imported: org.apache.maven.reporting < plexus.core
[DEBUG]   Imported: org.apache.maven.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG]   Imported: org.apache.maven.settings < plexus.core
[DEBUG]   Imported: org.apache.maven.toolchain < plexus.core
[DEBUG]   Imported: org.apache.maven.usability < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG]   Imported: org.codehaus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.* < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.component < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.container < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.context < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG]   Imported: org.eclipse.aether.* < plexus.core
[DEBUG]   Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG]   Imported: org.eclipse.aether.collection < plexus.core
[DEBUG]   Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG]   Imported: org.eclipse.aether.graph < plexus.core
[DEBUG]   Imported: org.eclipse.aether.impl < plexus.core
[DEBUG]   Imported: org.eclipse.aether.installation < plexus.core
[DEBUG]   Imported: org.eclipse.aether.internal.impl < plexus.core
[DEBUG]   Imported: org.eclipse.aether.metadata < plexus.core
[DEBUG]   Imported: org.eclipse.aether.repository < plexus.core
[DEBUG]   Imported: org.eclipse.aether.resolution < plexus.core
[DEBUG]   Imported: org.eclipse.aether.spi < plexus.core
[DEBUG]   Imported: org.eclipse.aether.transfer < plexus.core
[DEBUG]   Imported: org.eclipse.aether.version < plexus.core
[DEBUG]   Imported: org.slf4j.* < plexus.core
[DEBUG]   Imported: org.slf4j.helpers.* < plexus.core
[DEBUG]   Imported: org.slf4j.spi.* < plexus.core
[DEBUG] Populating class realm maven.api
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from C:\Users\a565281\apache-maven-3.3.9\bin\..\conf\settings.xml
[DEBUG] Reading user settings from C:\Users\a565281\.m2\settings.xml
[DEBUG] Reading global toolchains from C:\Users\a565281\apache-maven-3.3.9\bin\..\conf\toolchains.xml
[DEBUG] Reading user toolchains from C:\Users\a565281\.m2\toolchains.xml
[DEBUG] Using local repository at c:\dev\maven-repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for c:\dev\maven-repository
[INFO] Scanning for projects...
[DEBUG] Using mirror nexus (http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public)
for inhouse (https://imtlwebd3.fmrco.com:26205/proximity/repository/inhouse).
[DEBUG] Using mirror nexus (http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public)
for inhouse.snapshot (https://imtlwebd3.fmrco.com:26205/proximity/repository/inhouse.snapshot).
[DEBUG] Using mirror nexus (http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public)
for central (https://repo.maven.apache.org/maven2).
[DEBUG] Extension realms for project com.ezpaas.eit:di_cicd_eit:jar:1.0.0.1-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent:
null]
[DEBUG] Extension realms for project com.fimt.maven:fimt-jbp17-pom:pom:3.1: (none)
[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent:
null]
[DEBUG] Extension realms for project com.fimt.maven:fimt-pom:pom:3.1: (none)
[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent:
null]
[DEBUG] Resolving plugin prefix scm from [com.fimt.maven.plugins, com.atlassian.maven.plugins,
org.jvnet.hudson.tools, org.mortbay.jetty, org.mybatis.maven, org.codehaus.mojo, org.apache.maven.plugins]
[DEBUG] Using mirror nexus (http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public)
for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror nexus (http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public)
for codehaus.org (http://snapshots.repository.codehaus.org).
[DEBUG] Using mirror nexus (http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public)
for apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository).
[DEBUG] Using mirror nexus (http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public)
for apache-ws-snapshots2 (http://ws.zones.apache.org/repository2).
[DEBUG] Using mirror nexus (http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public)
for tomcat-repository (http://tomcat.apache.org/dev/dist/m2-repository).
[DEBUG] Using mirror nexus (http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public)
for eclipse-repo (http://repo1.maven.org/eclipse).
[DEBUG] Using mirror nexus (http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public)
for java.net (https://maven-repository.dev.java.net/nonav/repository/).
[DEBUG] Using mirror nexus (http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public)
for codehaus-snapshots (http://nexus.codehaus.org/snapshots/).
[DEBUG] Skipped remote request for com.fimt.maven.plugins/maven-metadata.xml, locally cached
metadata up-to-date.
[DEBUG] Could not find metadata com.atlassian.maven.plugins/maven-metadata.xml in local (c:\dev\maven-repository)
[DEBUG] Skipped remote request for com.atlassian.maven.plugins/maven-metadata.xml, locally
cached metadata up-to-date.
[DEBUG] Could not find metadata org.jvnet.hudson.tools/maven-metadata.xml in local (c:\dev\maven-repository)
[DEBUG] Skipped remote request for org.jvnet.hudson.tools/maven-metadata.xml, locally cached
metadata up-to-date.
[DEBUG] Could not find metadata org.mortbay.jetty/maven-metadata.xml in local (c:\dev\maven-repository)
[DEBUG] Skipped remote request for org.mortbay.jetty/maven-metadata.xml, locally cached metadata
up-to-date.
[DEBUG] Could not find metadata org.mybatis.maven/maven-metadata.xml in local (c:\dev\maven-repository)
[DEBUG] Skipped remote request for org.mybatis.maven/maven-metadata.xml, locally cached metadata
up-to-date.
[DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml in local (c:\dev\maven-repository)
[DEBUG] Skipped remote request for org.codehaus.mojo/maven-metadata.xml, locally cached metadata
up-to-date.
[DEBUG] Could not find metadata org.apache.maven.plugins/maven-metadata.xml in local (c:\dev\maven-repository)
[DEBUG] Skipped remote request for org.apache.maven.plugins/maven-metadata.xml, locally cached
metadata up-to-date.
[DEBUG] Resolved plugin prefix scm to org.apache.maven.plugins:maven-scm-plugin from repository
nexus
[DEBUG] Resolving plugin version for org.apache.maven.plugins:maven-scm-plugin
[DEBUG] Could not find metadata org.apache.maven.plugins:maven-scm-plugin/maven-metadata.xml
in local (c:\dev\maven-repository)
[DEBUG] Skipped remote request for org.apache.maven.plugins:maven-scm-plugin/maven-metadata.xml,
locally cached metadata up-to-date.
[DEBUG] Using mirror nexus (http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public)
for apache.snapshots (https://repository.apache.org/content/groups/snapshots-group/).
[DEBUG] Resolved plugin version for org.apache.maven.plugins:maven-scm-plugin to 1.9.5 from
repository nexus (http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public, default,
releases+snapshots)
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: com.ezpaas.eit:di_cicd_eit:jar:1.0.0.1-SNAPSHOT
[DEBUG] Tasks:   [scm:diff]
[DEBUG] Style:   Aggregating
[DEBUG] =======================================================================
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building dmtar 1.0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[DEBUG] Resolving plugin prefix scm from [com.fimt.maven.plugins, com.atlassian.maven.plugins,
org.jvnet.hudson.tools, org.mortbay.jetty, org.mybatis.maven, org.codehaus.mojo, org.apache.maven.plugins]
[DEBUG] Skipped remote request for com.fimt.maven.plugins/maven-metadata.xml, locally cached
metadata up-to-date.
[DEBUG] Could not find metadata com.atlassian.maven.plugins/maven-metadata.xml in local (c:\dev\maven-repository)
[DEBUG] Skipped remote request for com.atlassian.maven.plugins/maven-metadata.xml, locally
cached metadata up-to-date.
[DEBUG] Could not find metadata org.jvnet.hudson.tools/maven-metadata.xml in local (c:\dev\maven-repository)
[DEBUG] Skipped remote request for org.jvnet.hudson.tools/maven-metadata.xml, locally cached
metadata up-to-date.
[DEBUG] Could not find metadata org.mortbay.jetty/maven-metadata.xml in local (c:\dev\maven-repository)
[DEBUG] Skipped remote request for org.mortbay.jetty/maven-metadata.xml, locally cached metadata
up-to-date.
[DEBUG] Could not find metadata org.mybatis.maven/maven-metadata.xml in local (c:\dev\maven-repository)
[DEBUG] Skipped remote request for org.mybatis.maven/maven-metadata.xml, locally cached metadata
up-to-date.
[DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml in local (c:\dev\maven-repository)
[DEBUG] Skipped remote request for org.codehaus.mojo/maven-metadata.xml, locally cached metadata
up-to-date.
[DEBUG] Could not find metadata org.apache.maven.plugins/maven-metadata.xml in local (c:\dev\maven-repository)
[DEBUG] Skipped remote request for org.apache.maven.plugins/maven-metadata.xml, locally cached
metadata up-to-date.
[DEBUG] Resolved plugin prefix scm to org.apache.maven.plugins:maven-scm-plugin from repository
nexus
[DEBUG] Resolving plugin version for org.apache.maven.plugins:maven-scm-plugin
[DEBUG] Could not find metadata org.apache.maven.plugins:maven-scm-plugin/maven-metadata.xml
in local (c:\dev\maven-repository)
[DEBUG] Skipped remote request for org.apache.maven.plugins:maven-scm-plugin/maven-metadata.xml,
locally cached metadata up-to-date.
[DEBUG] Resolved plugin version for org.apache.maven.plugins:maven-scm-plugin to 1.9.5 from
repository nexus (http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public, default,
releases+snapshots)
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources,
generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources,
generate-test-resources, process-test-resources, test-compile, process-test-classes, test,
prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify,
install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project:       com.ezpaas.eit:di_cicd_eit:1.0.0.1-SNAPSHOT
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): []
[DEBUG] Repositories (dependencies): [nexus (http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public,
default, releases+snapshots)]
[DEBUG] Repositories (plugins)     : [nexus (http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public,
default, releases+snapshots)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-scm-plugin:1.9.5:diff (default-cli)
[DEBUG] Style:         Aggregating
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <basedir>${basedir}</basedir>
  <connectionType default-value="connection">${connectionType}</connectionType>
  <connectionUrl default-value="${project.scm.connection}">${connectionUrl}</connectionUrl>
  <developerConnectionUrl default-value="${project.scm.developerConnection}">${developerConnectionUrl}</developerConnectionUrl>
  <endScmVersion>${endScmVersion}</endScmVersion>
  <endScmVersionType>${endScmVersionType}</endScmVersionType>
  <excludes>${excludes}</excludes>
  <includes>${includes}</includes>
  <outputFile default-value="${project.artifactId}.diff">${outputFile}</outputFile>
  <passphrase>${passphrase}</passphrase>
  <password>${password}</password>
  <privateKey>${privateKey}</privateKey>
  <pushChanges default-value="true">${pushChanges}</pushChanges>
  <settings default-value="${settings}"/>
  <startScmVersion>${startScmVersion}</startScmVersion>
  <startScmVersionType>${startScmVersionType}</startScmVersionType>
  <tagBase>${tagBase}</tagBase>
  <username>${username}</username>
  <workItem>${workItem}</workItem>
  <workingDirectory>${workingDirectory}</workingDirectory>
</configuration>
[DEBUG] =======================================================================
[INFO] 
[INFO] --- maven-scm-plugin:1.9.5:diff (default-cli) @ di_cicd_eit ---
[DEBUG] Using mirror nexus (http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public)
for snapshots (http://snapshots.maven.codehaus.org/maven2).
[DEBUG] Using mirror nexus (http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public)
for jgit-repository (https://repo.eclipse.org/content/repositories/jgit-releases/).
[DEBUG] Using mirror nexus (http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public)
for sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots).
[DEBUG] Using mirror nexus (http://fimt-nexus-repository.fmrco.com/nexus/content/groups/public)
for apache.snapshots (http://cvs.apache.org/maven-snapshot-repository).
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=0,
ConflictMarker.nodeCount=145, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0,
ConflictIdSorter.conflictIdCount=59, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=16,
ConflictResolver.conflictItemCount=135, DefaultDependencyCollector.collectTime=625, DefaultDependencyCollector.transformTime=16}
[DEBUG] org.apache.maven.plugins:maven-scm-plugin:jar:1.9.5:
[DEBUG]    org.apache.maven:maven-project:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-profile:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-model:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
[DEBUG]          org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
[DEBUG]          backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
[DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
[DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
[DEBUG]       org.apache.maven:maven-artifact:jar:2.2.1:compile
[DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile
[DEBUG]          junit:junit:jar:4.11:compile
[DEBUG]             org.hamcrest:hamcrest-core:jar:1.3:compile
[DEBUG]          classworlds:classworlds:jar:1.1-alpha-2:compile
[DEBUG]    org.apache.maven:maven-settings:jar:2.2.1:compile
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.2.1:compile
[DEBUG]    org.apache.maven.scm:maven-scm-manager-plexus:jar:1.9.5:compile
[DEBUG]       org.apache.maven.scm:maven-scm-api:jar:1.9.5:compile
[DEBUG]    org.apache.maven.scm:maven-scm-providers-standard:pom:1.9.5:compile
[DEBUG]       org.apache.maven.scm:maven-scm-provider-accurev:jar:1.9.5:runtime
[DEBUG]       org.apache.maven.scm:maven-scm-provider-bazaar:jar:1.9.5:runtime
[DEBUG]       org.apache.maven.scm:maven-scm-provider-clearcase:jar:1.9.5:runtime
[DEBUG]       org.apache.maven.scm:maven-scm-provider-cvsexe:jar:1.9.5:runtime
[DEBUG]          org.apache.maven.scm:maven-scm-provider-cvs-commons:jar:1.9.5:runtime
[DEBUG]       org.apache.maven.scm:maven-scm-provider-cvsjava:jar:1.9.5:runtime
[DEBUG]          org.netbeans.lib:cvsclient:jar:20060125:runtime
[DEBUG]          ch.ethz.ganymed:ganymed-ssh2:jar:build210:runtime
[DEBUG]       org.apache.maven.scm:maven-scm-provider-gitexe:jar:1.9.5:runtime
[DEBUG]          commons-io:commons-io:jar:2.2:runtime
[DEBUG]          commons-lang:commons-lang:jar:2.6:runtime
[DEBUG]          org.apache.maven.scm:maven-scm-provider-git-commons:jar:1.9.5:runtime
[DEBUG]       org.apache.maven.scm:maven-scm-provider-jgit:jar:1.9.5:runtime
[DEBUG]          org.eclipse.jgit:org.eclipse.jgit:jar:3.7.1.201504261725-r:runtime
[DEBUG]             com.jcraft:jsch:jar:0.1.50:runtime
[DEBUG]             com.googlecode.javaewah:JavaEWAH:jar:0.7.9:runtime
[DEBUG]             org.apache.httpcomponents:httpclient:jar:4.1.3:runtime
[DEBUG]                org.apache.httpcomponents:httpcore:jar:4.1.4:runtime
[DEBUG]                commons-logging:commons-logging:jar:1.1.1:runtime
[DEBUG]                commons-codec:commons-codec:jar:1.4:runtime
[DEBUG]             org.slf4j:slf4j-api:jar:1.7.2:runtime
[DEBUG]       org.apache.maven.scm:maven-scm-provider-hg:jar:1.9.5:runtime
[DEBUG]       org.apache.maven.scm:maven-scm-provider-perforce:jar:1.9.5:runtime
[DEBUG]       org.apache.maven.scm:maven-scm-provider-starteam:jar:1.9.5:runtime
[DEBUG]       org.apache.maven.scm:maven-scm-provider-svnexe:jar:1.9.5:runtime
[DEBUG]       org.apache.maven.scm:maven-scm-provider-synergy:jar:1.9.5:runtime
[DEBUG]       org.apache.maven.scm:maven-scm-provider-vss:jar:1.9.5:runtime
[DEBUG]       org.apache.maven.scm:maven-scm-provider-tfs:jar:1.9.5:runtime
[DEBUG]       org.apache.maven.scm:maven-scm-provider-integrity:jar:1.9.5:runtime
[DEBUG]          com.mks.api:mksapi-jar:jar:4.10.9049:runtime
[DEBUG]          org.codehaus.groovy:groovy-all:jar:1.7.6:runtime
[DEBUG]       org.apache.maven.scm:maven-scm-provider-jazz:jar:1.9.5:runtime
[DEBUG]    org.apache.maven.scm:maven-scm-provider-local:jar:1.9.5:compile
[DEBUG]    org.apache.maven.scm:maven-scm-provider-svn-commons:jar:1.9.5:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0.15:compile
[DEBUG]    org.apache.maven.shared:file-management:jar:1.2.1:compile
[DEBUG]       org.apache.maven.shared:maven-shared-io:jar:1.1:compile
[DEBUG]          org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6:compile
[DEBUG]    org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG]       org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-scm-plugin:1.9.5
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-scm-plugin:1.9.5
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-scm-plugin:1.9.5
[DEBUG]   Included: org.apache.maven.plugins:maven-scm-plugin:jar:1.9.5
[DEBUG]   Included: backport-util-concurrent:backport-util-concurrent:jar:3.1
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.11
[DEBUG]   Included: junit:junit:jar:4.11
[DEBUG]   Included: org.hamcrest:hamcrest-core:jar:1.3
[DEBUG]   Included: org.apache.maven.scm:maven-scm-manager-plexus:jar:1.9.5
[DEBUG]   Included: org.apache.maven.scm:maven-scm-api:jar:1.9.5
[DEBUG]   Included: org.apache.maven.scm:maven-scm-providers-standard:pom:1.9.5
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-accurev:jar:1.9.5
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-bazaar:jar:1.9.5
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-clearcase:jar:1.9.5
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-cvsexe:jar:1.9.5
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-cvs-commons:jar:1.9.5
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-cvsjava:jar:1.9.5
[DEBUG]   Included: org.netbeans.lib:cvsclient:jar:20060125
[DEBUG]   Included: ch.ethz.ganymed:ganymed-ssh2:jar:build210
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-gitexe:jar:1.9.5
[DEBUG]   Included: commons-io:commons-io:jar:2.2
[DEBUG]   Included: commons-lang:commons-lang:jar:2.6
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-git-commons:jar:1.9.5
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-jgit:jar:1.9.5
[DEBUG]   Included: org.eclipse.jgit:org.eclipse.jgit:jar:3.7.1.201504261725-r
[DEBUG]   Included: com.jcraft:jsch:jar:0.1.50
[DEBUG]   Included: com.googlecode.javaewah:JavaEWAH:jar:0.7.9
[DEBUG]   Included: org.apache.httpcomponents:httpclient:jar:4.1.3
[DEBUG]   Included: org.apache.httpcomponents:httpcore:jar:4.1.4
[DEBUG]   Included: commons-logging:commons-logging:jar:1.1.1
[DEBUG]   Included: commons-codec:commons-codec:jar:1.4
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-hg:jar:1.9.5
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-perforce:jar:1.9.5
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-starteam:jar:1.9.5
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-svnexe:jar:1.9.5
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-synergy:jar:1.9.5
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-vss:jar:1.9.5
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-tfs:jar:1.9.5
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-integrity:jar:1.9.5
[DEBUG]   Included: com.mks.api:mksapi-jar:jar:4.10.9049
[DEBUG]   Included: org.codehaus.groovy:groovy-all:jar:1.7.6
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-jazz:jar:1.9.5
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-local:jar:1.9.5
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-svn-commons:jar:1.9.5
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:3.0.15
[DEBUG]   Included: org.apache.maven.shared:file-management:jar:1.2.1
[DEBUG]   Included: org.apache.maven.shared:maven-shared-io:jar:1.1
[DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-scm-plugin:1.9.5:diff from plugin
realm ClassRealm[plugin>org.apache.maven.plugins:maven-scm-plugin:1.9.5, parent: sun.misc.Launcher$AppClassLoader@5c647e05]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-scm-plugin:1.9.5:diff' with basic
configurator -->
[DEBUG]   (f) basedir = C:\Users\a565281\STASH\equity_pm_database
[DEBUG]   (f) connectionType = connection
[DEBUG]   (s) connectionUrl = scm:git:ssh://@stash.fmrco.com:7999/amd/equity_pm_database.git
[DEBUG]   (f) developerConnectionUrl = scm:git:ssh://@stash.fmrco.com:7999/amd/equity_pm_database.git
[DEBUG]   (f) endScmVersion = HEAD
[DEBUG]   (f) endScmVersionType = branch
[DEBUG]   (f) outputFile = C:\Users\a565281\STASH\equity_pm_database\di_cicd_eit.diff
[DEBUG]   (f) pushChanges = true
[DEBUG]   (f) settings = org.apache.maven.execution.SettingsAdapter@669d2b1b
[DEBUG]   (f) startScmVersion = master
[DEBUG]   (f) startScmVersionType = branch
[DEBUG] -- end configuration --
[INFO] Executing: cmd.exe /X /C "git diff master HEAD"
[INFO] Working directory: C:\Users\a565281\STASH\equity_pm_database
[INFO] Executing: cmd.exe /X /C "git diff --cached master HEAD"
[INFO] Working directory: C:\Users\a565281\STASH\equity_pm_database
[ERROR] Provider message:
[ERROR] The git-diff command failed.
[ERROR] Command output:
[ERROR] usage: git diff [<options>] [<commit> [<commit>]] [--] [<path>...]

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.813 s
[INFO] Finished at: 2016-12-21T10:37:44+00:00
[INFO] Final Memory: 16M/155M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-scm-plugin:1.9.5:diff (default-cli)
on project di_cicd_eit: Command failed.The git-diff command failed. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-scm-plugin:1.9.5:diff
(default-cli) on project di_cicd_eit: Command failed.The git-diff command failed.
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Command failed.The git-diff command
failed.
	at org.apache.maven.scm.plugin.AbstractScmMojo.checkResult(AbstractScmMojo.java:437)
	at org.apache.maven.scm.plugin.DiffMojo.execute(DiffMojo.java:86)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	... 20 more
[ERROR] 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException


> scm:diff with GIT doesn't work
> ------------------------------
>
>                 Key: SCM-839
>                 URL: https://issues.apache.org/jira/browse/SCM-839
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-gitexe
>    Affects Versions: 1.9.5
>         Environment: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00)
> Maven home: C:\Users\a565281\apache-maven-3.3.9\bin\..
> Java version: 1.8.0_92, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.8.0_92\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"
>            Reporter: Jacek Gebal
>
> When executing the maven command as below, I get an exception.
> mvn scm:diff -DstartScmVersion=master -DstartScmVersionType=branch -DendScmVersion=HEAD
-DendScmVersionType=branch
> Also the examples in documentation for mvn:diff do not seem to be OK:
> https://maven.apache.org/components/scm/maven-scm-plugin/examples/scm-advance-features.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message